Home
last modified time | relevance | path

Searched refs:grad_value (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libavcodec/
Datrac9dec.c112 int grad_value[2]; in parse_gradient() local
121 grad_value[0] = get_bits(gb, 5); in parse_gradient()
122 grad_value[1] = 31; in parse_gradient()
126 grad_value[0] = get_bits(gb, 5); in parse_gradient()
127 grad_value[1] = get_bits(gb, 5); in parse_gradient()
137 values = grad_value[1] - grad_value[0]; in parse_gradient()
139 base = grad_value[0] + sign; in parse_gradient()
144 b->gradient[i] = grad_value[i >= grad_range[0]]; in parse_gradient()
/third_party/mindspore/tests/st/fl/mobile/src/
Dadam.py136 grad_value = gradient.values
140 op_mul(F.tuple_to_array((1.0,)) - beta1, grad_value))
144 op_mul(F.tuple_to_array((1.0,)) - beta2, op_square(grad_value)))
151 op_mul(F.tuple_to_array((1.0,)) - beta1, grad_value))
/third_party/mindspore/tests/st/fl/albert/src/
Dadam.py137 grad_value = gradient.values
141 op_mul(F.tuple_to_array((1.0,)) - beta1, grad_value))
145 op_mul(F.tuple_to_array((1.0,)) - beta2, op_square(grad_value)))
152 op_mul(F.tuple_to_array((1.0,)) - beta1, grad_value))
/third_party/mindspore/tests/st/fl/hybrid_lenet/src/
Dadam.py136 grad_value = gradient.values
140 op_mul(F.tuple_to_array((1.0,)) - beta1, grad_value))
144 op_mul(F.tuple_to_array((1.0,)) - beta2, op_square(grad_value)))
151 op_mul(F.tuple_to_array((1.0,)) - beta1, grad_value))
/third_party/mindspore/mindspore/nn/optim/
Dadam.py121 grad_value = gradient.values
125 op_mul(F.tuple_to_array((1.0,)) - beta1, grad_value))
129 op_mul(F.tuple_to_array((1.0,)) - beta2, op_square(grad_value)))
136 op_mul(F.tuple_to_array((1.0,)) - beta1, grad_value))