public abstract class SpoofCellwise extends SpoofOperator implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
SpoofCellwise.AggOp |
static class |
SpoofCellwise.CellType |
SpoofOperator.SideInput, SpoofOperator.SideInputSparsePAR_MINFLOP_THRESHOLD, PAR_NUMCELL_THRESHOLD| Constructor and Description |
|---|
SpoofCellwise(SpoofCellwise.CellType type,
boolean sparseSafe,
SpoofCellwise.AggOp aggOp) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.sysml.runtime.instructions.cp.ScalarObject |
execute(ArrayList<MatrixBlock> inputs,
ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects,
int k) |
MatrixBlock |
execute(ArrayList<MatrixBlock> inputs,
ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects,
MatrixBlock out) |
MatrixBlock |
execute(ArrayList<MatrixBlock> inputs,
ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects,
MatrixBlock out,
int k) |
protected abstract double |
genexec(double a,
SpoofOperator.SideInput[] b,
double[] scalars,
int m,
int n,
int rowIndex,
int colIndex) |
SpoofCellwise.AggOp |
getAggOp() |
SpoofCellwise.CellType |
getCellType() |
String |
getSpoofType() |
boolean |
isSparseSafe() |
createSparseSideInputs, execute, getDenseMatrices, getTotalInputNnz, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getVector, getVector, prepInputMatrices, prepInputMatrices, prepInputMatrices, prepInputMatrices, prepInputMatrices, prepInputScalarspublic SpoofCellwise(SpoofCellwise.CellType type, boolean sparseSafe, SpoofCellwise.AggOp aggOp)
public SpoofCellwise.CellType getCellType()
public SpoofCellwise.AggOp getAggOp()
public boolean isSparseSafe()
public String getSpoofType()
getSpoofType in class SpoofOperatorpublic org.apache.sysml.runtime.instructions.cp.ScalarObject execute(ArrayList<MatrixBlock> inputs, ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects, int k) throws DMLRuntimeException
execute in class SpoofOperatorDMLRuntimeExceptionpublic MatrixBlock execute(ArrayList<MatrixBlock> inputs, ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects, MatrixBlock out) throws DMLRuntimeException
execute in class SpoofOperatorDMLRuntimeExceptionpublic MatrixBlock execute(ArrayList<MatrixBlock> inputs, ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects, MatrixBlock out, int k) throws DMLRuntimeException
execute in class SpoofOperatorDMLRuntimeExceptionprotected abstract double genexec(double a,
SpoofOperator.SideInput[] b,
double[] scalars,
int m,
int n,
int rowIndex,
int colIndex)
Copyright © 2017 The Apache Software Foundation. All rights reserved.