/external/tensorflow/tensorflow/contrib/distributions/python/ops/ |
D | moving_stats.py | 36 mean_var, variance_var, value, decay, name=None): argument 81 [variance_var, mean_var, value, decay]): 95 decay = ops.convert_to_tensor(decay, dtype=base_dtype, name="decay") 100 (1. - decay) * delta) 103 (1. - decay) * (variance_var - decay * math_ops.square(delta))) 108 log_mean_exp_var, log_value, decay, name=None): argument 151 [log_mean_exp_var, log_value, decay]): 166 decay = ops.convert_to_tensor(decay, dtype=base_dtype, name="decay") 169 math_ops.log(decay) * array_ops.ones_like(delta), 170 delta + math_ops.log1p(-decay) [all …]
|
/external/libopus/celt/tests/ |
D | test_unit_laplace.c | 45 int ec_laplace_get_start_freq(int decay) in ec_laplace_get_start_freq() argument 48 int fs = (ft*(16384-decay))/(16384+decay); in ec_laplace_get_start_freq() 59 int val[10000], decay[10000]; in main() local 64 val[0] = 3; decay[0] = 6000; in main() 65 val[1] = 0; decay[1] = 5800; in main() 66 val[2] = -1; decay[2] = 5600; in main() 70 decay[i] = rand()%11000+5000; in main() 74 ec_laplace_get_start_freq(decay[i]), decay[i]); in main() 83 ec_laplace_get_start_freq(decay[i]), decay[i]); in main()
|
/external/tensorflow/tensorflow/python/training/ |
D | moving_averages.py | 35 def assign_moving_average(variable, value, decay, zero_debias=True, name=None): argument 82 def update_fn(v, value, decay=decay): argument 83 decay = ops.convert_to_tensor(1.0 - decay, name="decay") 84 if decay.dtype != v.dtype.base_dtype: 85 decay = math_ops.cast(decay, v.dtype.base_dtype) 87 update_delta = _zero_debias(v, value, decay) 89 update_delta = (v - value) * decay 93 [variable, value, decay]) as scope: 110 decay, argument 147 [value, weight, decay]) as scope: [all …]
|
D | rmsprop_test.py | 61 def _rmsprop_update_numpy(self, var, g, mg, rms, mom, lr, decay, momentum, argument 63 rms_t = rms * decay + (1 - decay) * g * g 66 mg_t = mg * decay + (1 - decay) * g 75 lr, decay, momentum, epsilon, centered): argument 83 rms_t[gindex] = rms[gindex] * decay + (1 - decay) * gvalue * gvalue 86 mg_t[gindex] = mg_t[gindex] * decay + (1 - decay) * gvalue 95 for (dtype, learning_rate, decay, momentum, 114 decay=decay, 152 decay, momentum, epsilon, centered) 155 decay, momentum, epsilon, centered) [all …]
|
D | moving_averages_test.py | 42 decay = 0.25 46 var, val, decay, zero_debias=False) 52 var, val, decay, zero_debias=False) 65 decay = 0.25 68 assign = moving_averages.assign_moving_average(var, val, decay) 73 assign = moving_averages.assign_moving_average(var, val, decay) 110 decay = 0.5 114 wma = moving_averages.weighted_moving_average(val, decay, weight) 121 numerator_1 = val_1 * weight_1 * (1.0 - decay) 122 denominator_1 = weight_1 * (1.0 - decay) [all …]
|
/external/jemalloc_new/src/ |
D | arena.c | 52 arena_decay_t *decay, extents_t *extents, bool all, size_t npages_limit, 419 arena_decay_ms_read(arena_decay_t *decay) { in arena_decay_ms_read() argument 420 return atomic_load_zd(&decay->time_ms, ATOMIC_RELAXED); in arena_decay_ms_read() 424 arena_decay_ms_write(arena_decay_t *decay, ssize_t decay_ms) { in arena_decay_ms_write() argument 425 atomic_store_zd(&decay->time_ms, decay_ms, ATOMIC_RELAXED); in arena_decay_ms_write() 429 arena_decay_deadline_init(arena_decay_t *decay) { in arena_decay_deadline_init() argument 434 nstime_copy(&decay->deadline, &decay->epoch); in arena_decay_deadline_init() 435 nstime_add(&decay->deadline, &decay->interval); in arena_decay_deadline_init() 436 if (arena_decay_ms_read(decay) > 0) { in arena_decay_deadline_init() 439 nstime_init(&jitter, prng_range_u64(&decay->jitter_state, in arena_decay_deadline_init() [all …]
|
D | background_thread.c | 60 arena_decay_t *decay, size_t npages_new) NOT_REACHED in background_thread_create() 104 decay_npurge_after_interval(arena_decay_t *decay, size_t interval) { 108 sum += decay->backlog[i] * h_steps[i]; 111 sum += decay->backlog[i] * (h_steps[i] - h_steps[i - interval]); 118 arena_decay_compute_purge_interval_impl(tsdn_t *tsdn, arena_decay_t *decay, 120 if (malloc_mutex_trylock(tsdn, &decay->mtx)) { 126 ssize_t decay_time = atomic_load_zd(&decay->time_ms, ATOMIC_RELAXED); 133 uint64_t decay_interval_ns = nstime_ns(&decay->interval); 139 if (decay->backlog[i] > 0) { 167 npurge_lb = decay_npurge_after_interval(decay, lb); [all …]
|
/external/tensorflow/tensorflow/contrib/training/python/training/ |
D | sgdr_learning_rate_decay_test.py | 68 decay = sgdr_decay(lr, step, initial_period_steps, t_mul) 71 lr_values.append(decay.eval(feed_dict={step: i})) 103 decay = sgdr_decay(lr, step, t_e, t_mul, m_mul) 106 self.assertAllClose(decay.eval(feed_dict={step: test_step}), 110 self.assertAllClose(decay.eval(feed_dict={step: test_step}), 114 self.assertAllClose(decay.eval(feed_dict={step: test_step}), 118 self.assertAllClose(decay.eval(feed_dict={step: test_step}), 130 decay = sgdr_decay(lr, step, t_e, t_mul) 133 self.assertAllClose(decay.eval(feed_dict={step: test_step}), lr) 136 self.assertAllClose(decay.eval(feed_dict={step: test_step}), lr/2) [all …]
|
/external/tensorflow/tensorflow/python/keras/ |
D | optimizers.py | 175 def __init__(self, lr=0.01, momentum=0., decay=0., nesterov=False, **kwargs): argument 181 self.decay = K.variable(decay, name='decay') 182 self.initial_decay = decay 192 1. / (1. + self.decay * math_ops.cast(self.iterations, 193 K.dtype(self.decay)))) 218 'decay': float(K.get_value(self.decay)), 243 def __init__(self, lr=0.001, rho=0.9, epsilon=None, decay=0., **kwargs): argument 248 self.decay = K.variable(decay, name='decay') 253 self.initial_decay = decay 264 1. / (1. + self.decay * math_ops.cast(self.iterations, [all …]
|
/external/libopus/celt/ |
D | laplace.c | 44 static unsigned ec_laplace_get_freq1(unsigned fs0, int decay) in ec_laplace_get_freq1() argument 48 return ft*(opus_int32)(16384-decay)>>15; in ec_laplace_get_freq1() 51 void ec_laplace_encode(ec_enc *enc, int *value, unsigned fs, int decay) in ec_laplace_encode() argument 63 fs = ec_laplace_get_freq1(fs, decay); in ec_laplace_encode() 69 fs = (fs*(opus_int32)decay)>>15; in ec_laplace_encode() 94 int ec_laplace_decode(ec_dec *dec, unsigned fs, int decay) in ec_laplace_decode() argument 105 fs = ec_laplace_get_freq1(fs, decay)+LAPLACE_MINP; in ec_laplace_decode() 111 fs = ((fs-2*LAPLACE_MINP)*(opus_int32)decay)>>15; in ec_laplace_decode()
|
D | laplace.h | 39 void ec_laplace_encode(ec_enc *enc, int *value, unsigned fs, int decay); 48 int ec_laplace_decode(ec_dec *dec, unsigned fs, int decay);
|
/external/tensorflow/tensorflow/contrib/distribute/python/ |
D | moving_averages_test.py | 50 decay = 0.25 52 var, val, decay, zero_debias=False) 77 decay = 0.25 78 assign = moving_averages.assign_moving_average(var, val, decay) 96 decay = 0.25 100 var, val, decay, zero_debias=False) 125 decay = 0.25 128 assign = moving_averages.assign_moving_average(var, val, decay) 149 decay = 0.25 151 var, val, decay, zero_debias=False)
|
/external/tensorflow/tensorflow/contrib/optimizer_v2/ |
D | rmsprop_test.py | 57 def _rmsprop_update_numpy(self, var, g, mg, rms, mom, lr, decay, momentum, argument 59 rms_t = rms * decay + (1 - decay) * g * g 61 mg_t = mg * decay + (1 - decay) * g 71 lr, decay, momentum, centered): argument 79 rms_t[gindex] = rms[gindex] * decay + (1 - decay) * gvalue * gvalue 82 mg_t[gindex] = mg_t[gindex] * decay + (1 - decay) * gvalue 92 (learning_rate, decay, momentum, epsilon, centered, use_resource) = tuple( 111 decay=decay, 149 decay, momentum, centered) 152 decay, momentum, centered) [all …]
|
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/ |
D | moving_stats_test.py | 46 mean_var, variance_var, x, decay=0.99) 92 x, decay=0.99) 113 decay = 0.99 121 log_mean_exp_var, x, decay=decay) 125 expected_ = np.log(decay * np.exp(expected_) + (1 - decay) * np.exp(x_))
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
D | optimizers.py | 312 def _adaptive_max_norm(norm, std_factor, decay, global_step, epsilon, name): argument 317 def moving_average(name, value, decay): argument 325 moving_average_variable, value, decay, zero_debias=False) 330 decay = math_ops.minimum(decay, n / (n + 1.)) 333 mean = moving_average("mean", log_norm, decay) 334 sq_mean = moving_average("sq_mean", math_ops.square(log_norm), decay) 343 decay=0.95, argument 380 max_norm, log_mean = _adaptive_max_norm(norm, std_factor, decay,
|
/external/tensorflow/tensorflow/core/framework/ |
D | variant_encode_decode.h | 42 template <typename T, bool = std::is_pod<typename std::decay<T>::type>::value, 43 bool = std::is_same<typename std::decay<T>::type, 46 typename std::decay<T>::type>::value> 131 template <typename T, bool = has_type_name<typename std::decay<T>::type>::value, 132 bool = std::is_same<typename std::decay<T>::type, 135 typename std::decay<T>::type>::value> 190 bool = has_debug_string<typename std::decay<T>::type>::value, 191 bool = can_strcat<typename std::decay<T>::type>::value>
|
/external/libcxx/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/ |
D | ostream_joiner.op.assign.pass.cpp | 57 typedef exp::ostream_joiner<typename std::decay<Delim>::type, CharT, Traits> Joiner; in test() 59 …_constructible<Joiner>::value == std::is_copy_constructible<typename std::decay<Delim>::type>::val… in test() 60 …_constructible<Joiner>::value == std::is_move_constructible<typename std::decay<Delim>::type>::val… in test() 61 …opy_assignable<Joiner> ::value == std::is_copy_assignable<typename std::decay<Delim>::type> ::… in test() 62 …ove_assignable<Joiner> ::value == std::is_move_assignable<typename std::decay<Delim>::type> ::… in test()
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | rmsprop_test.py | 40 decay=0.9, argument 44 rms_t = rms * decay + (1 - decay) * g * g 47 mg_t = mg * decay + (1 - decay) * g
|
/external/Reactive-Extensions/RxCpp/Rx/v2/test/operators/ |
D | lift.cpp | 8 typedef typename std::decay<Predicate>::type test_type; 17 …struct filter_observer : public rx::observer_base<typename std::decay<Subscriber>::type::value_typ… 20 typedef rx::observer_base<typename std::decay<Subscriber>::type::value_type> base_type; 22 typedef typename std::decay<Subscriber>::type dest_type; 69 -> detail::liftfilter<typename std::decay<Predicate>::type> { in liftfilter() 70 return detail::liftfilter<typename std::decay<Predicate>::type>(std::forward<Predicate>(p)); in liftfilter()
|
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/ |
D | digital_agc.c | 311 int16_t decay; in WebRtcAgc_ProcessDigital() local 357 decay = -65; in WebRtcAgc_ProcessDigital() 360 decay = 0; in WebRtcAgc_ProcessDigital() 367 decay = (int16_t)(tmp32 >> 10); in WebRtcAgc_ProcessDigital() 376 decay = 0; in WebRtcAgc_ProcessDigital() 380 tmp32 = (stt->vadNearend.stdLongTerm - 4000) * decay; in WebRtcAgc_ProcessDigital() 381 decay = (int16_t)(tmp32 >> 12); in WebRtcAgc_ProcessDigital() 386 decay = 0; in WebRtcAgc_ProcessDigital() 395 decay, in WebRtcAgc_ProcessDigital() 436 = AGC_SCALEDIFF32(decay, stt->capacitorSlow, stt->capacitorSlow); in WebRtcAgc_ProcessDigital()
|
/external/tensorflow/tensorflow/core/graph/ |
D | quantize_training_test.cc | 437 const float decay = 0.999; in TEST_F() local 438 const float expected_min = 0.0 * decay + 1.0 * (1.0 - decay); in TEST_F() 439 const float expected_max = 3.0 * decay + 4.0 * (1.0 - decay); in TEST_F() 531 const float decay = 0.999; in TEST_F() local 532 const float expected_min = 0.0 * decay + 1.0 * (1.0 - decay); in TEST_F() 533 const float expected_max = 3.0 * decay + 4.0 * (1.0 - decay); in TEST_F()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_ResourceApplyCenteredRMSProp.pbtxt | 70 mean_square = decay * mean_square + (1-decay) * gradient ** 2 71 mean_grad = decay * mean_grad + (1-decay) * gradient
|
D | api_def_ResourceSparseApplyCenteredRMSProp.pbtxt | 76 mean_square = decay * mean_square + (1-decay) * gradient ** 2 77 mean_grad = decay * mean_grad + (1-decay) * gradient
|
D | api_def_ApplyCenteredRMSProp.pbtxt | 76 mean_square = decay * mean_square + (1-decay) * gradient ** 2 77 mean_grad = decay * mean_grad + (1-decay) * gradient
|
D | api_def_SparseApplyCenteredRMSProp.pbtxt | 82 mean_square = decay * mean_square + (1-decay) * gradient ** 2 83 mean_grad = decay * mean_grad + (1-decay) * gradient
|