public abstract class SpoofOperator extends Object implements Serializable
Constructor and Description |
---|
SpoofOperator() |
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> scalars) |
org.apache.sysml.runtime.instructions.cp.ScalarObject |
execute(ArrayList<MatrixBlock> inputs,
ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalars,
int k) |
abstract void |
execute(ArrayList<MatrixBlock> inputs,
ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalars,
MatrixBlock out) |
void |
execute(ArrayList<MatrixBlock> inputs,
ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalars,
MatrixBlock out,
int k) |
abstract String |
getSpoofType() |
protected static double |
getValue(double[] data,
int index) |
protected double[][] |
prepInputMatrices(ArrayList<MatrixBlock> inputs) |
protected double[][] |
prepInputMatrices(ArrayList<MatrixBlock> inputs,
int offset) |
protected double[][] |
prepInputMatrices(ArrayList<MatrixBlock> inputs,
int offset,
int len) |
protected double[] |
prepInputScalars(ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects) |
public abstract void execute(ArrayList<MatrixBlock> inputs, ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalars, MatrixBlock out) throws DMLRuntimeException
DMLRuntimeException
public void execute(ArrayList<MatrixBlock> inputs, ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalars, MatrixBlock out, int k) throws DMLRuntimeException
DMLRuntimeException
public abstract String getSpoofType()
public org.apache.sysml.runtime.instructions.cp.ScalarObject execute(ArrayList<MatrixBlock> inputs, ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalars) throws DMLRuntimeException
DMLRuntimeException
public org.apache.sysml.runtime.instructions.cp.ScalarObject execute(ArrayList<MatrixBlock> inputs, ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalars, int k) throws DMLRuntimeException
DMLRuntimeException
protected double[][] prepInputMatrices(ArrayList<MatrixBlock> inputs)
protected double[][] prepInputMatrices(ArrayList<MatrixBlock> inputs, int offset)
protected double[][] prepInputMatrices(ArrayList<MatrixBlock> inputs, int offset, int len)
protected double[] prepInputScalars(ArrayList<org.apache.sysml.runtime.instructions.cp.ScalarObject> scalarObjects)
protected static double getValue(double[] data, int index)
Copyright © 2017 The Apache Software Foundation. All rights reserved.