Poplar and PopLibs
NaN.hpp File Reference

Test for NaN values in a tensor. More...

#include <poplar/Graph.hpp>
#include <poplar/Program.hpp>
#include <poplar/Tensor.hpp>

Go to the source code of this file.

Namespaces

namespace  popops
 Common functions, such as elementwise and reductions.
 

Functions

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

Detailed Description

Test for NaN values in a tensor.