public abstract class SpoofOuterProduct extends SpoofOperator
| Modifier and Type | Class and Description |
|---|---|
static class |
SpoofOuterProduct.OutProdType |
SpoofOperator.SideInput, SpoofOperator.SideInputSparse| Modifier and Type | Field and Description |
|---|---|
protected SpoofOuterProduct.OutProdType |
_outerProductType |
PAR_MINFLOP_THRESHOLD, PAR_NUMCELL_THRESHOLD| Constructor and Description |
|---|
SpoofOuterProduct(SpoofOuterProduct.OutProdType type) |
| 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) |
org.apache.sysml.runtime.instructions.cp.ScalarObject |
execute(ArrayList<MatrixBlock> inputs,
ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects,
int numThreads) |
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 numThreads) |
protected abstract double |
genexecCellwise(double a,
double[] u,
int ui,
double[] v,
int vi,
double[][] b,
double[] scalars,
int m,
int n,
int k,
int rowIndex,
int colIndex) |
protected abstract void |
genexecDense(double a,
double[] u,
int ui,
double[] v,
int vi,
double[][] b,
double[] scalars,
double[] c,
int ci,
int m,
int n,
int k,
int rowIndex,
int colIndex) |
SpoofOuterProduct.OutProdType |
getOuterProdType() |
String |
getSpoofType() |
void |
setOuterProdType(SpoofOuterProduct.OutProdType type) |
createSparseSideInputs, getDenseMatrices, getTotalInputNnz, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getVector, getVector, prepInputMatrices, prepInputMatrices, prepInputMatrices, prepInputMatrices, prepInputMatrices, prepInputScalarsprotected SpoofOuterProduct.OutProdType _outerProductType
public SpoofOuterProduct(SpoofOuterProduct.OutProdType type)
public void setOuterProdType(SpoofOuterProduct.OutProdType type)
public SpoofOuterProduct.OutProdType getOuterProdType()
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) throws DMLRuntimeException
execute in class SpoofOperatorDMLRuntimeExceptionpublic org.apache.sysml.runtime.instructions.cp.ScalarObject execute(ArrayList<MatrixBlock> inputs, ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects, int numThreads) 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 numThreads) throws DMLRuntimeException
execute in class SpoofOperatorDMLRuntimeExceptionprotected abstract void genexecDense(double a,
double[] u,
int ui,
double[] v,
int vi,
double[][] b,
double[] scalars,
double[] c,
int ci,
int m,
int n,
int k,
int rowIndex,
int colIndex)
protected abstract double genexecCellwise(double a,
double[] u,
int ui,
double[] v,
int vi,
double[][] b,
double[] scalars,
int m,
int n,
int k,
int rowIndex,
int colIndex)
Copyright © 2017 The Apache Software Foundation. All rights reserved.