Chalkboard - v3.0.1
    Preparing search index...

    Function toTensor

    • Converts a matrix to a tensor.

      Parameters

      • matr: ChalkboardMatrix

        The matrix

      • ...size: number[]

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

      Returns ChalkboardTensor