Poplar and PopLibs
|
A program to perform a function call to a previously stored program. More...
#include <Program.hpp>
Public Member Functions | |
Call (Function f, const DebugContext &debugContext={}) | |
Call the function. More... | |
Call (HostFunction f, ArrayRef< Tensor > inputs, ArrayRef< Tensor > outputs, const DebugContext &debugContext={}) | |
Call a function in the host. More... | |
A program to perform a function call to a previously stored program.
poplar::program::Call::Call | ( | Function | f, |
const DebugContext & | debugContext = {} |
||
) |
Call the function.
f | A program that has been added to the graph using Graph::addFunction. |
debugContext | Optional DebugId and program name. |
poplar::program::Call::Call | ( | HostFunction | f, |
ArrayRef< Tensor > | inputs, | ||
ArrayRef< Tensor > | outputs, | ||
const DebugContext & | debugContext = {} |
||
) |
Call a function in the host.
f | A program that has been added to the graph using Graph::addHostFunction |
inputs | Array of tensors containing the host function's input |
outputs | Array of tensors to transfer the result of each host function's output arguments. |
debugContext | Optional DebugId and program name. |