Class SingleValueTensorCreationOperation<V>

  • Type Parameters:
    V - the type of the elements of the tensor to be created
    All Implemented Interfaces:
    java.io.Serializable, CreationOperation<Tensor<V>>

    public class SingleValueTensorCreationOperation<V>
    extends FunctionTensorCreationOperation<V>
    Uses one value and a given shape to create a tensor, which has the same values at all positions.
    See Also:
    Serialized Form
    • Constructor Detail

      • SingleValueTensorCreationOperation

        public SingleValueTensorCreationOperation​(Shape shape,
                                                  V value)