public abstract class SpoofRowwise extends SpoofOperator
Modifier and Type | Class and Description |
---|---|
static class |
SpoofRowwise.RowType |
SpoofOperator.SideInput, SpoofOperator.SideInputSparseCell, SpoofOperator.SideInputSparseRow
Constructor and Description |
---|
SpoofRowwise(SpoofRowwise.RowType type,
long constDim2,
boolean tB1,
int reqVectMem) |
Modifier and Type | Method and Description |
---|---|
SpoofCUDAOperator |
createCUDAInstrcution(Integer opID,
SpoofCUDAOperator.PrecisionProxy ep) |
ScalarObject |
execute(ArrayList<MatrixBlock> inputs,
ArrayList<ScalarObject> scalarObjects,
int k) |
MatrixBlock |
execute(ArrayList<MatrixBlock> inputs,
ArrayList<ScalarObject> scalarObjects,
MatrixBlock out) |
MatrixBlock |
execute(ArrayList<MatrixBlock> inputs,
ArrayList<ScalarObject> scalarObjects,
MatrixBlock out,
boolean allocTmp,
boolean aggIncr,
long rix) |
MatrixBlock |
execute(ArrayList<MatrixBlock> inputs,
ArrayList<ScalarObject> scalarObjects,
MatrixBlock out,
int k) |
long |
getConstDim2() |
int |
getNumIntermediates() |
SpoofRowwise.RowType |
getRowType() |
String |
getSpoofType() |
static boolean |
hasMatrixObjectSideInput(ArrayList<MatrixObject> inputs) |
static boolean |
hasMatrixSideInput(ArrayList<MatrixBlock> inputs) |
execute, getDenseMatrices, getTotalInputNnz, getTotalInputSize
public SpoofRowwise(SpoofRowwise.RowType type, long constDim2, boolean tB1, int reqVectMem)
public SpoofRowwise.RowType getRowType()
public long getConstDim2()
public int getNumIntermediates()
public String getSpoofType()
getSpoofType
in class SpoofOperator
public SpoofCUDAOperator createCUDAInstrcution(Integer opID, SpoofCUDAOperator.PrecisionProxy ep)
createCUDAInstrcution
in class SpoofOperator
public ScalarObject execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalarObjects, int k)
execute
in class SpoofOperator
public MatrixBlock execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalarObjects, MatrixBlock out)
execute
in class SpoofOperator
public MatrixBlock execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalarObjects, MatrixBlock out, boolean allocTmp, boolean aggIncr, long rix)
public MatrixBlock execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalarObjects, MatrixBlock out, int k)
execute
in class SpoofOperator
public static boolean hasMatrixSideInput(ArrayList<MatrixBlock> inputs)
public static boolean hasMatrixObjectSideInput(ArrayList<MatrixObject> inputs)
Copyright © 2021 The Apache Software Foundation. All rights reserved.