Searched refs:single_ (Results 1 - 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/lib/random/
H A Dsimple_philox.h33 explicit SimplePhilox(PhiloxRandom* gen) : single_(gen) {}
36 PHILOX_DEVICE_INLINE uint32 Rand32() { return single_(); }
40 const uint32 lo = single_(), hi = single_();
45 PHILOX_DEVICE_INLINE float RandFloat() { return Uint32ToFloat(single_()); }
49 const uint32 x0 = single_(), x1 = single_();
70 SingleSampleAdapter<PhiloxRandom> single_; member in class:tensorflow::random::SimplePhilox
/external/tensorflow/tensorflow/core/lib/gtl/
H A Dcompactptrset.h74 : bigrep_(false), single_(reinterpret_cast<T>(rep)) {}
76 : bigrep_(true), single_(nullptr), iter_(iter) {}
82 DCHECK(single_ != nullptr);
83 single_ = nullptr;
93 return single_ == other.single_;
102 DCHECK(single_ != nullptr);
103 return single_;
110 T single_; member in class:tensorflow::gtl::CompactPointerSet::iterator

Completed in 122 milliseconds