V - the type of the value of the tensorpublic class ElementUnaryOperation<V> extends java.lang.Object implements UnaryOperation<Tensor<V>>, java.io.Serializable
| Constructor and Description |
|---|
ElementUnaryOperation(UnaryOperation<V> elementOperation) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
Tensor<V> |
perform(Tensor<V> tensor)
performs the operation on the given value
|
java.lang.String |
toString() |
public ElementUnaryOperation(UnaryOperation<V> elementOperation)
public Tensor<V> perform(Tensor<V> tensor)
UnaryOperationperform in interface UnaryOperation<Tensor<V>>tensor - the input value, on which the operation shall be appliedpublic 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