tensor.tensor

Undocumented in source. Be warned that the author may not have intended to support it.
  1. Tensor!(T, Shape, useGradient) tensor(T[] data)
  2. Tensor!(DeepElementType!T, Shape, useGradient) tensor(T[] data)
    template tensor(size_t[] Shape, UseGradient useGradient = Yes.gradient)
    Tensor!(DeepElementType!T, Shape, useGradient)
    tensor
    (
    T
    )
    (
    T[] data
    )
    if (
    !isNumeric!T
    )

Meta