Home
last modified time | relevance | path

Searched refs:v_t (Results 1 – 25 of 42) sorted by relevance

12

/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Dnadam.py153 v_t = beta_2_t * v + (1 - beta_2_t) * math_ops.square(grad)
154 v_t = state_ops.assign(v, v_t, use_locking=self._use_locking)
155 v_t_prime = v_t / (1. - math_ops.pow(beta_2_t, local_step))
185 v_t = state_ops.assign(v, v * beta_2_t, use_locking=self._use_locking)
186 with ops.control_dependencies([v_t]):
187 v_t = self._resource_scatter_add(v, indices, v_scaled_g_values)
188 v_t_slice = array_ops.gather(v_t, indices)
195 return control_flow_ops.group(*[var_update, m_t_bar, v_t])
Dadam.py225 v_t = state_ops.assign(v, v * beta_2_t, use_locking=self._use_locking)
226 with ops.control_dependencies([v_t]):
227 v_t = self._resource_scatter_add(v, indices, v_scaled_g_values)
230 v_sqrt = math_ops.sqrt(v_t)
233 return control_flow_ops.group(*[var_update, m_t, v_t])
236 v_hat_t = math_ops.maximum(v_hat, v_t)
245 return control_flow_ops.group(*[var_update, m_t, v_t, v_hat_t])
Dadam_test.py50 v_t = beta2 * v + (1 - beta2) * g_t * g_t
52 param_t = param - lr_t * m_t / (np.sqrt(v_t) + epsilon)
53 return param_t, m_t, v_t
69 v_t = beta2 * v + (1 - beta2) * g_t * g_t
70 vhat_t = np.maximum(vhat, v_t)
73 return param_t, m_t, v_t, vhat_t
87 m_t, v_t, vhat_t, param_t = (np.copy(m), np.copy(v), np.copy(vhat),
93 v_t[indices] = v_t_slice
94 v_hat_t = np.maximum(vhat_t, v_t)
99 return param_t, m_t, v_t, vhat_t
Dadamax_test.py46 v_t = np.maximum(beta2 * v, np.abs(g_t))
47 param_t = param - (alpha / (1 - beta1**(t + 1))) * (m_t / (v_t + epsilon))
48 return param_t, m_t, v_t
61 m_t, v_t, param_t = np.copy(m), np.copy(v), np.copy(param)
67 v_t[indices] = v_t_slice
69 return param_t, m_t, v_t
/external/tensorflow/tensorflow/contrib/opt/python/training/
Dnadam_optimizer.py91 v_t = state_ops.assign(v, v * beta2_t, use_locking=self._use_locking)
92 with ops.control_dependencies([v_t]):
93 v_t = scatter_add(v, indices, v_scaled_g_values)
94 v_t_slice = array_ops.gather(v_t, indices)
97 return control_flow_ops.group(*[var_update, m_bar, v_t])
Dadam_gs_optimizer.py197 v_t = state_ops.assign(v, v * beta2_t, use_locking=self._use_locking)
198 with ops.control_dependencies([v_t]):
199 v_t = scatter_add(v, indices, v_scaled_g_values)
200 v_sqrt = math_ops.sqrt(v_t)
203 return control_flow_ops.group(*[var_update, m_t, v_t])
Dlazy_adam_optimizer.py69 v_t = state_ops.scatter_update(v, grad.indices,
76 v_t_slice = array_ops.gather(v_t, grad.indices)
81 return control_flow_ops.group(var_update, m_t, v_t)
Dlazy_adam_gs_optimizer.py69 v_t = state_ops.scatter_update(v, grad.indices,
76 v_t_slice = array_ops.gather(v_t, grad.indices)
81 return control_flow_ops.group(var_update, m_t, v_t)
Dadamax_test.py47 v_t = np.maximum(beta2 * v, np.abs(g_t))
48 param_t = param - (alpha / (1 - beta1**t)) * (m_t / (v_t + epsilon))
49 return param_t, m_t, v_t
62 m_t, v_t, param_t = np.copy(m), np.copy(v), np.copy(param)
68 v_t[indices] = v_t_slice
70 return param_t, m_t, v_t
Dnadam_optimizer_test.py44 v_t = beta2 * v + (1 - beta2) * g_t * g_t
48 param_t = param - alpha_t * m_bar / (np.sqrt(v_t) + epsilon)
49 return param_t, m_t, v_t
Dweight_decay_optimizers_test.py42 v_t = beta2 * v + (1 - beta2) * g_t * g_t
44 param_t = (param - lr_t * m_t / (np.sqrt(v_t) + epsilon) -
46 return param_t, m_t, v_t
/external/tensorflow/tensorflow/contrib/optimizer_v2/
Dadam.py167 v_t = state_ops.assign(v, v * beta2_t, use_locking=self._use_locking)
168 with ops.control_dependencies([v_t]):
169 v_t = scatter_add(v, indices, v_scaled_g_values)
170 v_sqrt = math_ops.sqrt(v_t)
173 return control_flow_ops.group(*[var_update, m_t, v_t])
/external/clang/test/PCH/
Dcxx-member-init.cpp17 struct v_t { }; struct
21 struct { v_t v; };
/external/tensorflow/tensorflow/python/training/
Dadam.py197 v_t = state_ops.assign(v, v * beta2_t, use_locking=self._use_locking)
198 with ops.control_dependencies([v_t]):
199 v_t = scatter_add(v, indices, v_scaled_g_values)
200 v_sqrt = math_ops.sqrt(v_t)
203 return control_flow_ops.group(*[var_update, m_t, v_t])
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/
D2009-03-09-AddrModeBug.ll3 %struct.hit_t = type { %struct.v_t, double }
5 %struct.v_t = type { double, double, double }
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/
D2009-03-09-AddrModeBug.ll3 %struct.hit_t = type { %struct.v_t, double }
5 %struct.v_t = type { double, double, double }
/external/llvm/test/CodeGen/ARM/
D2009-03-09-AddrModeBug.ll3 %struct.hit_t = type { %struct.v_t, double }
5 %struct.v_t = type { double, double, double }
/external/tensorflow/tensorflow/compiler/tests/
Dadamax_test.py43 v_t = np.maximum(beta2 * v, np.abs(g_t))
44 param_t = param - (alpha / (1 - beta1**t)) * (m_t / (v_t + epsilon))
45 return param_t, m_t, v_t
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_ApplyAdaMax.pbtxt75 v_t <- max(beta2 * v_{t-1}, abs(g))
76 variable <- variable - learning_rate / (1 - beta1^t) * m_t / (v_t + epsilon)
Dapi_def_ResourceApplyAdaMax.pbtxt69 v_t <- max(beta2 * v_{t-1}, abs(g))
70 variable <- variable - learning_rate / (1 - beta1^t) * m_t / (v_t + epsilon)
Dapi_def_ResourceApplyAdam.pbtxt81 $$v_t := beta_2 * v_{t-1} + (1 - beta_2) * g * g$$
82 $$variable := variable - lr_t * m_t / (\sqrt{v_t} + \epsilon)$$
Dapi_def_ResourceApplyAdamWithAmsgrad.pbtxt81 $$v_t := beta_2 * v_{t-1} + (1 - beta_2) * g * g$$
82 $$vhat_t := max{vhat_{t-1}, v_t}$$
Dapi_def_ApplyAdam.pbtxt87 $$v_t := beta_2 * v_{t-1} + (1 - beta_2) * g * g$$
88 $$variable := variable - lr_t * m_t / (\sqrt{v_t} + \epsilon)$$
/external/llvm/unittests/Support/
DPath.cpp666 typedef std::vector<std::string> v_t; in TEST_F() typedef
667 v_t visited; in TEST_F()
680 v_t::const_iterator a0 = std::find(visited.begin(), visited.end(), "a0"); in TEST_F()
681 v_t::const_iterator aa1 = std::find(visited.begin(), visited.end(), "aa1"); in TEST_F()
682 v_t::const_iterator ab1 = std::find(visited.begin(), visited.end(), "ab1"); in TEST_F()
683 v_t::const_iterator dontlookhere = std::find(visited.begin(), visited.end(), in TEST_F()
685 v_t::const_iterator da1 = std::find(visited.begin(), visited.end(), "da1"); in TEST_F()
686 v_t::const_iterator z0 = std::find(visited.begin(), visited.end(), "z0"); in TEST_F()
687 v_t::const_iterator za1 = std::find(visited.begin(), visited.end(), "za1"); in TEST_F()
688 v_t::const_iterator pop = std::find(visited.begin(), visited.end(), "pop"); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DPath.cpp791 typedef std::vector<std::string> v_t; in TEST_F() typedef
792 v_t visited; in TEST_F()
805 v_t::const_iterator a0 = find(visited, "a0"); in TEST_F()
806 v_t::const_iterator aa1 = find(visited, "aa1"); in TEST_F()
807 v_t::const_iterator ab1 = find(visited, "ab1"); in TEST_F()
808 v_t::const_iterator dontlookhere = find(visited, "dontlookhere"); in TEST_F()
809 v_t::const_iterator da1 = find(visited, "da1"); in TEST_F()
810 v_t::const_iterator z0 = find(visited, "z0"); in TEST_F()
811 v_t::const_iterator za1 = find(visited, "za1"); in TEST_F()
812 v_t::const_iterator pop = find(visited, "pop"); in TEST_F()
[all …]

12