DebugContext gathers the common external parameters of the context of an operation.
Definition: DebugContext.hpp:221
std::pair< poplar::Tensor, poplar::Tensor > spatialSoftMax2D(poplar::Graph &graph, poplar::program::Sequence &prog, const poplar::Tensor &fields, float temperature, bool disableSoftmax=false, const poplar::DebugContext &debugContext={})
Implements a spatial softmax specialised for 2D input fields.