Searched refs:RealType (Results 1 – 11 of 11) sorted by relevance
/external/tensorflow/tensorflow/core/framework/ |
D | tensor_testutil.cc | 34 typedef decltype(Eigen::NumTraits<T>::epsilon()) RealType; in ExpectClose() typedef 35 const RealType kSlackFactor = static_cast<RealType>(5.0); in ExpectClose() 36 const RealType kDefaultTol = kSlackFactor * Eigen::NumTraits<T>::epsilon(); in ExpectClose() 37 const RealType typed_atol = in ExpectClose() 38 (atol < 0) ? kDefaultTol : static_cast<RealType>(atol); in ExpectClose() 39 const RealType typed_rtol = in ExpectClose() 40 (rtol < 0) ? kDefaultTol : static_cast<RealType>(rtol); in ExpectClose() 41 ASSERT_GE(typed_atol, static_cast<RealType>(0.0)) in ExpectClose() 43 ASSERT_GE(typed_rtol, static_cast<RealType>(0.0)) in ExpectClose()
|
D | tensor_util.h | 174 template <typename RealType> 175 struct CopyHelper<std::complex<RealType>> { 177 static void ToArray(SrcIter begin, SrcIter end, std::complex<RealType>* dst) { 179 RealType* real_dst = reinterpret_cast<RealType*>(dst); 187 const RealType* real_begin = reinterpret_cast<const RealType*>(&(*begin));
|
D | tensor_util.cc | 257 template <typename RealType> 258 inline bool PackedValuesNotEqual(const std::complex<RealType>& a, in PackedValuesNotEqual() 259 const std::complex<RealType>& b) { in PackedValuesNotEqual()
|
/external/tensorflow/tensorflow/cc/framework/ |
D | ops.h | 112 typedef typename RealType<T>::type RealT; in Initializer() 125 typedef typename RealType<T>::type RealT; in Initializer() 139 typedef typename RealType<T>::type RealT; in Initializer() 151 typedef typename RealType<T>::type RealT; in Initializer() 172 struct RealType { struct 177 struct RealType<T, false> {
|
/external/tensorflow/tensorflow/core/grappler/ |
D | utils.cc | 44 using RealType = typename Eigen::NumTraits<T>::Real; in SafeSetDoubleScalarTensorValue() typedef 45 if (value > static_cast<double>(Eigen::NumTraits<RealType>::highest()) || in SafeSetDoubleScalarTensorValue() 46 value < static_cast<double>(Eigen::NumTraits<RealType>::lowest())) { in SafeSetDoubleScalarTensorValue() 55 using RealType = typename Eigen::NumTraits<T>::Real; in SafeSetIntScalarTensorValue() typedef 56 if (value > static_cast<int>(Eigen::NumTraits<RealType>::highest()) || in SafeSetIntScalarTensorValue() 57 value < static_cast<int>(Eigen::NumTraits<RealType>::lowest())) { in SafeSetIntScalarTensorValue()
|
/external/clang/include/clang/Basic/ |
D | TargetInfo.h | 138 enum RealType { enum 278 RealType getRealTypeByWidth(unsigned BitWidth) const; 527 bool useObjCFPRetForRealType(RealType T) const { in useObjCFPRetForRealType()
|
/external/tensorflow/tensorflow/cc/ops/ |
D | const_op.h | 40 typedef typename Input::Initializer::RealType<T>::type DstT; in Const()
|
/external/tensorflow/tensorflow/core/lib/random/ |
D | random_distributions.h | 69 template <class Generator, typename RealType> 312 template <class Generator, typename RealType> 443 template <class SingleSampleGenerator, typename RealType>
|
/external/libcxx/include/ |
D | random | 431 template<class RealType, size_t bits, class URNG> 432 RealType generate_canonical(URNG& g); 496 template<class RealType = double> 501 typedef RealType result_type; 508 explicit param_type(RealType a = 0, 509 RealType b = 1); 519 explicit uniform_real_distribution(RealType a = 0.0, RealType b = 1.0); 838 template<class RealType = double> 843 typedef RealType result_type; 894 template<class RealType = double> [all …]
|
/external/clang/lib/Basic/ |
D | TargetInfo.cpp | 215 TargetInfo::RealType TargetInfo::getRealTypeByWidth(unsigned BitWidth) const { in getRealTypeByWidth()
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 8748 TargetInfo::RealType Ty = getTargetInfo().getRealTypeByWidth(DestWidth); in getRealTypeForBitwidth()
|