Reshapes a tensor to a given shape.
the input tensor
an array of integers defining the output tensor shape
the reshaped tensor
Reshapes a tensor to a given shape.