public abstract class SpoofOuterProduct extends SpoofOperator
Modifier and Type | Class and Description |
---|---|
static class |
SpoofOuterProduct.OutProdType |
SpoofOperator.SideInput, SpoofOperator.SideInputSparseCell, SpoofOperator.SideInputSparseRow
Constructor and Description |
---|
SpoofOuterProduct(SpoofOuterProduct.OutProdType type) |
Modifier and Type | Method and Description |
---|---|
SpoofCUDAOperator |
createCUDAInstrcution(Integer opID,
SpoofCUDAOperator.PrecisionProxy ep) |
ScalarObject |
execute(ArrayList<MatrixBlock> inputs,
ArrayList<ScalarObject> scalarObjects) |
ScalarObject |
execute(ArrayList<MatrixBlock> inputs,
ArrayList<ScalarObject> scalarObjects,
int numThreads) |
MatrixBlock |
execute(ArrayList<MatrixBlock> inputs,
ArrayList<ScalarObject> scalarObjects,
MatrixBlock out) |
MatrixBlock |
execute(ArrayList<MatrixBlock> inputs,
ArrayList<ScalarObject> scalarObjects,
MatrixBlock out,
int numThreads) |
SpoofOuterProduct.OutProdType |
getOuterProdType() |
String |
getSpoofType() |
void |
setOuterProdType(SpoofOuterProduct.OutProdType type) |
getDenseMatrices, getTotalInputNnz, getTotalInputSize
public SpoofOuterProduct(SpoofOuterProduct.OutProdType type)
public void setOuterProdType(SpoofOuterProduct.OutProdType type)
public SpoofOuterProduct.OutProdType getOuterProdType()
public SpoofCUDAOperator createCUDAInstrcution(Integer opID, SpoofCUDAOperator.PrecisionProxy ep)
createCUDAInstrcution
in class SpoofOperator
public String getSpoofType()
getSpoofType
in class SpoofOperator
public ScalarObject execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalarObjects)
execute
in class SpoofOperator
public ScalarObject execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalarObjects, int numThreads)
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, int numThreads)
execute
in class SpoofOperator
Copyright © 2021 The Apache Software Foundation. All rights reserved.