mxnet
Functions
mshadow::isinf_typed Namespace Reference

determines if the given floating point number is a positive or negative infinity More...

Functions

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

Detailed Description

determines if the given floating point number is a positive or negative infinity

Function Documentation

template<typename DType >
MSHADOW_XINLINE bool mshadow::isinf_typed::IsInf ( volatile DType  val)
template<>
MSHADOW_XINLINE bool mshadow::isinf_typed::IsInf ( volatile float  val)
template<>
MSHADOW_XINLINE bool mshadow::isinf_typed::IsInf ( volatile double  val)
template<>
MSHADOW_XINLINE bool mshadow::isinf_typed::IsInf ( volatile long double  val)
template<>
MSHADOW_XINLINE bool mshadow::isinf_typed::IsInf ( volatile mshadow::half::half_t  val)