Home
last modified time | relevance | path

Searched refs:growth_factor (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/core/lib/monitoring/
Dsampler.cc66 ExponentialBuckets(double scale, double growth_factor, int bucket_count) in ExponentialBuckets() argument
68 ComputeBucketLimits(scale, growth_factor, bucket_count)) {} in ExponentialBuckets()
76 double growth_factor, in ComputeBucketLimits() argument
83 bound *= growth_factor; in ComputeBucketLimits()
103 double growth_factor, in Exponential() argument
106 new ExponentialBuckets(scale, growth_factor, bucket_count)); in Exponential()
Dmobile_sampler.h56 double growth_factor, in Exponential() argument
Dsampler.h85 double growth_factor,
/external/v8/src/
Dcollector.h25 template <typename T, int growth_factor = 2, int max_growth = 1 * MB>
134 DCHECK_GT(growth_factor, 1); in Grow()
139 new_capacity = min_capacity * growth_factor; in Grow()
142 int growth = current_length * (growth_factor - 1); in Grow()
180 template <typename T, int growth_factor = 2, int max_growth = 1 * MB>
181 class SequenceCollector : public Collector<T, growth_factor, max_growth> {
184 : Collector<T, growth_factor, max_growth>(initial_capacity), in SequenceCollector()
213 this->Collector<T, growth_factor, max_growth>::Reset(); in Reset()
224 this->Collector<T, growth_factor, max_growth>::NewChunk(new_capacity); in NewChunk()
/external/tensorflow/tensorflow/contrib/metrics/python/ops/
Dmetric_ops.py3544 def _next_array_size(required_size, growth_factor=1.5): argument
3557 math_ops.cast(growth_factor, dtypes.float32)))
3558 return math_ops.cast(math_ops.ceil(growth_factor**exponent), dtypes.int32)
Dmetric_ops_test.py6744 self.assertEqual(next_array_size(2, growth_factor=2).eval(), 2)
6745 self.assertEqual(next_array_size(3, growth_factor=2).eval(), 4)
6746 self.assertEqual(next_array_size(4, growth_factor=2).eval(), 4)
6747 self.assertEqual(next_array_size(5, growth_factor=2).eval(), 8)
6748 self.assertEqual(next_array_size(6, growth_factor=2).eval(), 8)