Searched refs:clip_norm (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | clip_ops_test.py | 160 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/ |
D | clip_ops.py | 113 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/ |
D | multitask_optimizer_wrapper.py | 115 def clip_gradients_by_global_norm(gradients_variables, clip_norm=20.): argument 142 gradients, clip_norm, use_norm=fixed_global_norm)
|
D | multitask_optimizer_wrapper_test.py | 108 six.moves.zip(gradients, varlist), clip_norm=1.0))
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.pbtxt | 493 …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/ |
D | tensorflow.pbtxt | 945 …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=[…
|