reshape

final ComplexTensor reshape(IntArray newShape)

Reshape this tensor. From the current shape, it is possible to estimate the -1 part among newShape. One or less -1 in newShape is allowed.

Return

a new tensor with the newShape.

Parameters

newShape

must represent the same number of elements as the original.