Function reshape

  • Reshapes a tensor to a given shape.

    Returns

    the reshaped tensor

    Parameters

    • t: Tensor

      the input tensor

    • shape: number[]

      an array of integers defining the output tensor shape

    Returns Tensor

Generated using TypeDoc