Class ElementBinaryOperation<V>

  • Type Parameters:
    V - The type of the tensor values
    All Implemented Interfaces:
    java.io.Serializable, BinaryFunction<Tensor<V>,​Tensor<V>>, BinaryOperation<Tensor<V>>

    public class ElementBinaryOperation<V>
    extends ElementBinaryFunction<V,​V>
    implements BinaryOperation<Tensor<V>>
    A binary operations on tensors which can be decoupled into simple operations on an element of one tensor on the corresponding element on the second tensor (same position). Because of this simple relation, the operation is fully defined by a binary operation on individual tensor values.

    To decide on the resulting shape of the tensor, two strategies are used here:

    See Also:
    Serialized Form