public abstract class SpoofRowwise extends SpoofOperator
| Modifier and Type | Class and Description |
|---|---|
static class |
SpoofRowwise.RowType |
| Modifier and Type | Field and Description |
|---|---|
protected int |
_reqVectMem |
protected SpoofRowwise.RowType |
_type |
| Constructor and Description |
|---|
SpoofRowwise(SpoofRowwise.RowType type,
int reqVectMem) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(ArrayList<MatrixBlock> inputs,
ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects,
MatrixBlock out) |
void |
execute(ArrayList<MatrixBlock> inputs,
ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects,
MatrixBlock out,
boolean allocTmp,
boolean aggIncr) |
void |
execute(ArrayList<MatrixBlock> inputs,
ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects,
MatrixBlock out,
int k) |
protected abstract void |
genexecRowDense(double[] a,
int ai,
double[][] b,
double[] scalars,
double[] c,
int len,
int rowIndex) |
protected abstract void |
genexecRowSparse(double[] avals,
int[] aix,
int ai,
double[][] b,
double[] scalars,
double[] c,
int len,
int rowIndex) |
int |
getNumIntermediates() |
SpoofRowwise.RowType |
getRowType() |
String |
getSpoofType() |
execute, execute, getValue, prepInputMatrices, prepInputMatrices, prepInputMatrices, prepInputScalarsprotected final SpoofRowwise.RowType _type
protected final int _reqVectMem
public SpoofRowwise(SpoofRowwise.RowType type, int reqVectMem)
public SpoofRowwise.RowType getRowType()
public int getNumIntermediates()
public String getSpoofType()
getSpoofType in class SpoofOperatorpublic void execute(ArrayList<MatrixBlock> inputs, ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects, MatrixBlock out) throws DMLRuntimeException
execute in class SpoofOperatorDMLRuntimeExceptionpublic void execute(ArrayList<MatrixBlock> inputs, ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects, MatrixBlock out, boolean allocTmp, boolean aggIncr) throws DMLRuntimeException
DMLRuntimeExceptionpublic void execute(ArrayList<MatrixBlock> inputs, ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects, MatrixBlock out, int k) throws DMLRuntimeException
execute in class SpoofOperatorDMLRuntimeExceptionprotected abstract void genexecRowDense(double[] a,
int ai,
double[][] b,
double[] scalars,
double[] c,
int len,
int rowIndex)
protected abstract void genexecRowSparse(double[] avals,
int[] aix,
int ai,
double[][] b,
double[] scalars,
double[] c,
int len,
int rowIndex)
Copyright © 2017 The Apache Software Foundation. All rights reserved.