V - the type of the elements of the tensor to be createdpublic class FunctionTensorCreationOperation<V> extends java.lang.Object implements CreationOperation<Tensor<V>>, java.io.Serializable
| Constructor and Description |
|---|
FunctionTensorCreationOperation(Shape shape,
java.util.function.Function<Position,V> function) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
Tensor<V> |
perform()
Performs the creation
|
java.lang.String |
toString() |
public Tensor<V> perform()
CreationOperationperform in interface CreationOperation<Tensor<V>>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object