V - the type the values of the tensorTB - the type of the tensor backed objectpublic class ElementTensorBackedUnaryOperation<V,TB extends Tensorbacked<V>> extends java.lang.Object implements TensorBackedUnaryOperation<V,TB>, java.io.Serializable
| Constructor and Description |
|---|
ElementTensorBackedUnaryOperation(UnaryOperation<V> elementOperation) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
TB |
perform(TB value)
performs the operation on the given value
|
java.lang.String |
toString() |
public ElementTensorBackedUnaryOperation(UnaryOperation<V> elementOperation)
public TB perform(TB value)
UnaryOperationperform in interface UnaryOperation<TB extends Tensorbacked<V>>value - 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