DebugContext gathers the common external parameters of the context of an operation.
Definition: DebugContext.hpp:221
Common functions, such as elementwise and reductions.
Definition: AllTrue.hpp:15
poplar::Tensor selectScalarFromRows(poplar::Graph &graph, const poplar::Tensor ¶ms, const poplar::Tensor &indices, poplar::program::Sequence &prog, const poplar::DebugContext &debugContext={})
For each row in the 2D tensor params, select a single scalar value.