DebugContext gathers the common external parameters of the context of an operation.
Definition: DebugContext.hpp:221
void logSoftmaxInPlace(poplar::Graph &graph, poplar::Tensor t, poplar::program::Sequence &prog, const poplar::DebugContext &debugContext={})
Update tensor t by computing log of softmax in-place.
poplar::Tensor logSoftmax(poplar::Graph &graph, poplar::Tensor t, poplar::program::Sequence &prog, const poplar::DebugContext &debugContext={})
Compute the log of the softmax to tensor t and return the result.