Interface RealDenseTensorBinaryOperation

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RealDenseTensorBinaryOperation
Functional interface for creating a lambda which implements an operation acting on two real dense tensors.
  • Method Summary

    Modifier and Type
    Method
    Description
    double[]
    apply(double[] src1, Shape shape1, double[] src2, Shape shape2)
    Applies the specified binary operation on the two tensors.
  • Method Details

    • apply

      double[] apply(double[] src1, Shape shape1, double[] src2, Shape shape2)
      Applies the specified binary operation on the two tensors.
      Parameters:
      src1 - Entries of the first tensor.
      shape1 - Shape of the first tensor.
      src2 - Entries of the second tensor.
      shape2 - Shape of the second tensor.
      Returns:
      The result of applying the specified binary operation to the two tensors.