Tensor to matrix

Tensor to matrix

Converts a tensor to a matrix. This tool is a special case of reshape tensor that always produces a two-dimensional matrix.


The input tensor.
The shape of the output matrix. A 1-by-2 matrix, where the first column tells the number of rows and the second one the number of columns in the output matrix. If either value is non-positive (<= 0), that dimension will be automatically calculated so that all elements of the input tensor can be fit into the matrix.
  • - outputType - Type of the output matrix.
  • Outputs

    The output matrix

    Type of the output matrix