public class TensorTensorBinaryOpPartitionFunction extends Object implements org.apache.spark.api.java.function.PairFlatMapFunction<Iterator<scala.Tuple2<TensorIndexes,TensorBlock>>,TensorIndexes,TensorBlock>
Constructor and Description |
---|
TensorTensorBinaryOpPartitionFunction(BinaryOperator op,
PartitionedBroadcast<TensorBlock> binput,
boolean[] replicateDim) |
Modifier and Type | Method and Description |
---|---|
LazyIterableIterator<scala.Tuple2<TensorIndexes,TensorBlock>> |
call(Iterator<scala.Tuple2<TensorIndexes,TensorBlock>> arg0) |
public TensorTensorBinaryOpPartitionFunction(BinaryOperator op, PartitionedBroadcast<TensorBlock> binput, boolean[] replicateDim)
public LazyIterableIterator<scala.Tuple2<TensorIndexes,TensorBlock>> call(Iterator<scala.Tuple2<TensorIndexes,TensorBlock>> arg0) throws Exception
call
in interface org.apache.spark.api.java.function.PairFlatMapFunction<Iterator<scala.Tuple2<TensorIndexes,TensorBlock>>,TensorIndexes,TensorBlock>
Exception
Copyright © 2020 The Apache Software Foundation. All rights reserved.