Class TensorTensorBinaryOpPartitionFunction
java.lang.Object
org.apache.sysds.runtime.instructions.spark.functions.TensorTensorBinaryOpPartitionFunction
- All Implemented Interfaces:
Serializable,org.apache.spark.api.java.function.PairFlatMapFunction<Iterator<scala.Tuple2<TensorIndexes,TensorBlock>>, TensorIndexes, TensorBlock>
public class TensorTensorBinaryOpPartitionFunction
extends Object
implements org.apache.spark.api.java.function.PairFlatMapFunction<Iterator<scala.Tuple2<TensorIndexes,TensorBlock>>,TensorIndexes,TensorBlock>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTensorTensorBinaryOpPartitionFunction(BinaryOperator op, PartitionedBroadcast<TensorBlock> binput, boolean[] replicateDim) -
Method Summary
Modifier and TypeMethodDescriptionLazyIterableIterator<scala.Tuple2<TensorIndexes,TensorBlock>> call(Iterator<scala.Tuple2<TensorIndexes, TensorBlock>> arg0)
-
Constructor Details
-
TensorTensorBinaryOpPartitionFunction
public TensorTensorBinaryOpPartitionFunction(BinaryOperator op, PartitionedBroadcast<TensorBlock> binput, boolean[] replicateDim)
-
-
Method Details
-
call
public LazyIterableIterator<scala.Tuple2<TensorIndexes,TensorBlock>> call(Iterator<scala.Tuple2<TensorIndexes, TensorBlock>> arg0) throws Exception- Specified by:
callin interfaceorg.apache.spark.api.java.function.PairFlatMapFunction<Iterator<scala.Tuple2<TensorIndexes,TensorBlock>>, TensorIndexes, TensorBlock> - Throws:
Exception
-