Chalkboard - v3.0.1
    Preparing search index...

    Function toTensor

    • Converts an array to a tensor.

      Parameters

      • arr: number[]

        The array

      • ...size: number[]

        The size of the tensor

      Returns ChalkboardTensor