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.SideInputSparseCell, SpoofOperator.SideInputSparseRow
PAR_MINFLOP_THRESHOLD, PAR_NUMCELL_THRESHOLD
Constructor and Description |
---|
SpoofCellwise(SpoofCellwise.CellType type,
boolean sparseSafe,
boolean containsSeq,
SpoofCellwise.AggOp aggOp) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsSeq() |
org.apache.sysml.runtime.instructions.cp.ScalarObject |
execute(ArrayList<MatrixBlock> inputs,
ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects,
int k) |
org.apache.sysml.runtime.instructions.cp.ScalarObject |
execute(ArrayList<MatrixBlock> inputs,
ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects,
int k,
long rix) |
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) |
MatrixBlock |
execute(ArrayList<MatrixBlock> inputs,
ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects,
MatrixBlock out,
int k,
long rix) |
protected double |
genexec(double a,
SpoofOperator.SideInput[] b,
double[] scalars,
int m,
int n,
int rix,
int cix) |
protected abstract double |
genexec(double a,
SpoofOperator.SideInput[] b,
double[] scalars,
int m,
int n,
long gix,
int rix,
int cix) |
SpoofCellwise.AggOp |
getAggOp() |
SpoofCellwise.CellType |
getCellType() |
String |
getSpoofType() |
boolean |
isSparseSafe() |
createSparseSideInputs, createSparseSideInputs, execute, getDenseMatrices, getTotalInputNnz, getTotalInputSize, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getVector, getVector, prepInputMatrices, prepInputMatrices, prepInputMatrices, prepInputMatrices, prepInputMatrices, prepInputScalars
public SpoofCellwise(SpoofCellwise.CellType type, boolean sparseSafe, boolean containsSeq, SpoofCellwise.AggOp aggOp)
public SpoofCellwise.CellType getCellType()
public SpoofCellwise.AggOp getAggOp()
public boolean isSparseSafe()
public boolean containsSeq()
public String getSpoofType()
getSpoofType
in class SpoofOperator
public org.apache.sysml.runtime.instructions.cp.ScalarObject execute(ArrayList<MatrixBlock> inputs, ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects, int k)
execute
in class SpoofOperator
public org.apache.sysml.runtime.instructions.cp.ScalarObject execute(ArrayList<MatrixBlock> inputs, ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects, int k, long rix)
public MatrixBlock execute(ArrayList<MatrixBlock> inputs, ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects, MatrixBlock out)
execute
in class SpoofOperator
public MatrixBlock execute(ArrayList<MatrixBlock> inputs, ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects, MatrixBlock out, int k)
execute
in class SpoofOperator
public MatrixBlock execute(ArrayList<MatrixBlock> inputs, ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects, MatrixBlock out, int k, long rix)
protected final double genexec(double a, SpoofOperator.SideInput[] b, double[] scalars, int m, int n, int rix, int cix)
protected abstract double genexec(double a, SpoofOperator.SideInput[] b, double[] scalars, int m, int n, long gix, int rix, int cix)
Copyright © 2018 The Apache Software Foundation. All rights reserved.