Function ones

  • Creates a tensor filled with ones.

    Returns

    the filled tensor

    Parameters

    • shape: number[]

      the shape of the tensor

    Returns Tensor

Generated using TypeDoc