Template Function mindspore::api::utils::isa
- Defined in File utils.h 
Function Documentation
- 
template<typename T, typename U = typename ImmTrait<T>::type::element_type>
 inline bool mindspore::api::utils::isa(const ValuePtr &ptr)
- Check whether the given object is an value of the given c++ type T. - 参数
- ptr – [in] The pointer to the given value object. 
- 返回
- True if the pointer is not null and it is an value of the given c++ type, false otherwise.