Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/kernel_tests/
Dclip_ops_test.py160 clip_norm = 4.0
161 ans = clip_ops.clip_by_norm(x, clip_norm)
164 ans = clip_ops.clip_by_norm(x, clip_norm)
192 clip_norm = 6.0
193 ans = clip_ops.clip_by_norm(x, clip_norm)
204 clip_norm = 6.0
205 ans = clip_ops.clip_by_norm(x, clip_norm)
216 clip_norm = 4.0
217 ans = clip_ops.clip_by_norm(x, clip_norm, [0])
228 clip_norm = 4.0
[all …]
/external/tensorflow/tensorflow/python/ops/
Dclip_ops.py113 def clip_by_norm(t, clip_norm, axes=None, name=None): argument
146 with ops.name_scope(name, "clip_by_norm", [t, clip_norm]) as name:
156 intermediate = values * clip_norm
161 intermediate / math_ops.maximum(l2norm, clip_norm), name=name)
220 def clip_by_global_norm(t_list, clip_norm, use_norm=None, name=None): argument
274 t_list + [clip_norm]) as name:
276 scale = clip_norm * math_ops.minimum(
278 constant_op.constant(1.0, dtype=use_norm.dtype) / clip_norm)
311 def clip_by_average_norm(t, clip_norm, name=None): argument
336 with ops.name_scope(name, "clip_by_average_norm", [t, clip_norm]) as name:
[all …]
/external/tensorflow/tensorflow/contrib/opt/python/training/
Dmultitask_optimizer_wrapper.py115 def clip_gradients_by_global_norm(gradients_variables, clip_norm=20.): argument
142 gradients, clip_norm, use_norm=fixed_global_norm)
Dmultitask_optimizer_wrapper_test.py108 six.moves.zip(gradients, varlist), clip_norm=1.0))
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.pbtxt493 …argspec: "args=[\'t_list\', \'clip_norm\', \'use_norm\', \'name\'], varargs=None, keywords=None, d…
497 …argspec: "args=[\'t\', \'clip_norm\', \'axes\', \'name\'], varargs=None, keywords=None, defaults=[…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.pbtxt945 …argspec: "args=[\'t\', \'clip_norm\', \'name\'], varargs=None, keywords=None, defaults=[\'None\'],…
949 …argspec: "args=[\'t_list\', \'clip_norm\', \'use_norm\', \'name\'], varargs=None, keywords=None, d…
953 …argspec: "args=[\'t\', \'clip_norm\', \'axes\', \'name\'], varargs=None, keywords=None, defaults=[…