Interface DenseSemiringTensorBinaryOperation


public interface DenseSemiringTensorBinaryOperation
This interface specifies a binary operation on two dense Semiring tensors.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends Semiring<T>>
    void
    apply(T[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest)
    Applies the specified binary operation on the two dense tensors.
  • Method Details

    • apply

      <T extends Semiring<T>> void apply(T[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest)
      Applies the specified binary operation on the two dense 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.
      dest - Array to store the result of the binary operation of the two tensors in.