Lua function returning tuple of values
<p>I have seen the following python code:</p>

<pre><code>W_grads, _ = backward_gradient(X, S, grad_out, wRec)
</code></pre>

<p>And in the function backward_gradient, I have the following return statement:</p>

<pre><code>return (wx_grad, wRec_grad), grad_over_time
</code></pre>

<p>How can I return a tuple similar to the above in lua so that it can be implemented in torch?</p>