public class EvalFunction extends PackageFunction
Constructor and Description |
---|
EvalFunction() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Method that will be executed to perform this function.
|
void |
execute(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
Method that will be executed to perform this function.
|
FunctionParameter |
getFunctionOutput(int pos)
Method to get a specific output of this package function.
|
int |
getNumFunctionOutputs()
Method to get the number of outputs of this package function.
|
createOutputFilePathAndName, getBaseDir, getConfiguration, getFunctionInput, getNumFunctionInputs, hasVarNumFunctionOutputs, setBaseDir, setConfiguration, setFunctionInputs, setInput, setNumFunctionInputs
public int getNumFunctionOutputs()
PackageFunction
getNumFunctionOutputs
in class PackageFunction
public FunctionParameter getFunctionOutput(int pos)
PackageFunction
getFunctionOutput
in class PackageFunction
pos
- function positionpublic void execute(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
PackageFunction
execute
in class PackageFunction
ec
- execution context with access to the program
e.g., for access to other dml-bodied or external functions.public void execute()
PackageFunction
execute
in class PackageFunction
Copyright © 2018 The Apache Software Foundation. All rights reserved.