Class SingleValueTensorCreationOperation<V>
- java.lang.Object
-
- org.tensorics.core.tensor.operations.FunctionTensorCreationOperation<V>
-
- org.tensorics.core.tensor.operations.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 Summary
Constructors Constructor Description SingleValueTensorCreationOperation(Shape shape, V value)
-
Method Summary
-
Methods inherited from class org.tensorics.core.tensor.operations.FunctionTensorCreationOperation
equals, hashCode, perform, toString
-
-