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 hasNaN(poplar::Graph &graph, const poplar::Tensor &src, poplar::program::Sequence &prog, const poplar::DebugContext &debugContext={})
Test for NaN values in a tensor.
poplar::Tensor hasNaNOrInf(poplar::Graph &graph, const poplar::Tensor &src, poplar::program::Sequence &prog, const poplar::DebugContext &debugContext={})
Test for NaN or Inf values in a tensor.