Initializes a tensor filled with one number.

  • Parameters

    • element: number

      The number to fill the elements with

    • ...size: number[]

      The size

    Returns ChalkboardTensor