|
poplar::Tensor | popnn::rnn::createInitialState (poplar::Graph &graph, const RnnParams ¶ms, bool isOutput, unsigned multiple, unsigned numShards, const poplar::DebugContext &debugContext={}) |
| Create state tensor to be used in all recurrences of the RNN. More...
|
|
poplar::Tensor | popnn::rnn::createRecurrentTensor (poplar::Graph &graph, const RnnParams ¶ms, unsigned size, unsigned numShards, const poplar::DebugContext &debugContext={}) |
| Create recurrent tensor of shape [timeSteps , batchSize , size ] suitable for slicing and/or sharding of the outermost dimension. More...
|
|
poplar::Tensor | popnn::rnn::createInputTensor (poplar::Graph &graph, const RnnParams ¶ms, unsigned numShards, const poplar::DebugContext &debugContext={}) |
| Create input tensor of shape [timeSteps , batchSize , inputSize ] suitable for slicing and/or sharding of the outermost dimension. More...
|
|
poplar::Tensor | popnn::rnn::createOutputTensor (poplar::Graph &graph, const RnnParams ¶ms, unsigned numShards, const poplar::DebugContext &debugContext={}) |
| Create a standard output tensor of shape [timeSteps , batchSize , outputSize ] suitable for slicing and/or sharding of the outermost dimension. More...
|
|
poplar::Tensor | popnn::rnn::createOutputTensor (poplar::Graph &graph, const RnnParams ¶ms, unsigned multiple, unsigned numShards, const poplar::DebugContext &debugContext={}) |
| Create a single output tensor with multiple (standard) output tensors concatenated along the outermost (timeSteps ) dimension. More...
|
|
poplar::Tensor | popnn::rnn::shiftRnnTensor (poplar::Graph &graph, const RnnParams ¶ms, const poplar::Tensor &tBase, const poplar::Tensor &tSingle, poplar::program::Sequence &prog, unsigned numShards, const poplar::DebugContext &debugContext={}) |
| Create a single-step shifted RNN tensor from an input tensor. More...
|
|
std::vector< poplar::Tensor > | popnn::rnn::Rnn (poplar::Graph &graph, const RnnParams ¶ms, bool reverse, const std::vector< poplar::Tensor > &initState, const StateSequence &stateSequence, const std::vector< poplar::Tensor > &inputs, const poplar::Tensor *interimIn, poplar::Tensor *interimOut, const std::vector< poplar::Tensor > &outputs, const std::vector< poplar::Tensor > &created, poplar::program::Sequence &prog, const LoopBodyType &loopFn, unsigned numShards, poplar::OptionFlags &options, const poplar::DebugContext &debugContext={}) |
| Run custom Recurrent Neural Net cell implementation recurrently. More...
|
|
std::vector< poplar::Tensor > | popnn::rnn::Rnn (poplar::Graph &graph, const RnnParams ¶ms, const std::vector< poplar::Tensor > &initState, const StateSequence &stateSequence, const std::vector< poplar::Tensor > &inputs, const poplar::Tensor &interimIn, const unsigned numTemps, poplar::program::Sequence &prog, const LoopBodyType &loopFn, const std::vector< poplar::Tensor > &gatherInputs, const GatherBodyType &gatherFn, unsigned numShards, unsigned stepsPerGather, poplar::OptionFlags &options, const poplar::DebugContext &debugContext={}) |
| Run custom Recurrent Neural Net cell callback at every time step in decrementing order. More...
|
|
Functions for recurrent neural networks (RNN).