• Converts a matrix to a tensor.

    Parameters

    • matr: ChalkboardMatrix

      The matrix

    • Rest ...size: number[]

      The number of rows, columns, tubes, etc. of the tensor represented as a single array or a sequence of arguments

    Returns ChalkboardTensor

Generated using TypeDoc