mxnet
Functions
mshadow::isnan_typed Namespace Reference

determines if the given floating point number is not a number More...

Functions

template<typename DType >
MSHADOW_XINLINE bool IsNan (volatile DType val)
 
template<>
MSHADOW_XINLINE bool IsNan (volatile float val)
 
template<>
MSHADOW_XINLINE bool IsNan (volatile double val)
 
template<>
MSHADOW_XINLINE bool IsNan (volatile long double val)
 
template<>
MSHADOW_XINLINE bool IsNan (volatile mshadow::half::half_t val)
 
template<>
MSHADOW_XINLINE bool IsNan (volatile mshadow::bfloat::bf16_t val)
 

Detailed Description

determines if the given floating point number is not a number

Function Documentation

◆ IsNan() [1/6]

template<>
MSHADOW_XINLINE bool mshadow::isnan_typed::IsNan ( volatile double  val)

◆ IsNan() [2/6]

template<typename DType >
MSHADOW_XINLINE bool mshadow::isnan_typed::IsNan ( volatile DType  val)

◆ IsNan() [3/6]

template<>
MSHADOW_XINLINE bool mshadow::isnan_typed::IsNan ( volatile float  val)

◆ IsNan() [4/6]

template<>
MSHADOW_XINLINE bool mshadow::isnan_typed::IsNan ( volatile long double  val)

◆ IsNan() [5/6]

template<>
MSHADOW_XINLINE bool mshadow::isnan_typed::IsNan ( volatile mshadow::bfloat::bf16_t  val)

◆ IsNan() [6/6]

template<>
MSHADOW_XINLINE bool mshadow::isnan_typed::IsNan ( volatile mshadow::half::half_t  val)