Home
last modified time | relevance | path

Searched refs:clip_by_value (Results 1 – 25 of 26) sorted by relevance

12

/external/tensorflow/tensorflow/python/kernel_tests/
Dclip_ops_test.py40 outputs_1 = clip_ops.clip_by_value(inputs, 0.5, 3.5)
43 outputs_2 = clip_ops.clip_by_value(inputs, min_val, max_val)
59 ans = clip_ops.clip_by_value(x, -clip_value, clip_value)
75 ans = clip_ops.clip_by_value(x, clip_value_min, clip_value_max)
92 ans = clip_ops.clip_by_value(x, clip_value_min, clip_value_max)
109 ans = clip_ops.clip_by_value(x, clip_value_min, clip_value_max)
127 ans = clip_ops.clip_by_value(x, clip_value_min, clip_value_max)
138 _ = clip_ops.clip_by_value(x, -clip, clip)
140 _ = clip_ops.clip_by_value(x, 1.0, clip)
148 ans = clip_ops.clip_by_value(x, -clip_value, clip_value)
[all …]
/external/tensorflow/tensorflow/contrib/distributions/python/ops/bijectors/
Dmasked_autoregressive.py556 which_clip = (math_ops.clip_by_value if log_scale_clip_gradient
575 clip_x = clip_ops.clip_by_value(x, clip_value_min, clip_value_max)
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/
Drnn_cells.py330 c = clip_ops.clip_by_value(c, -self._cell_clip, self._cell_clip)
342 m = clip_ops.clip_by_value(m, -self._proj_clip, self._proj_clip)
/external/tensorflow/tensorflow/python/ops/
Dhistogram_ops.py94 clip_ops.clip_by_value(indices, 0, nbins_float - 1), dtypes.int32)
Dclip_ops.py40 def clip_by_value(t, clip_value_min, clip_value_max, function
Drnn_cell_impl.py1034 c = clip_ops.clip_by_value(c, -self._cell_clip, self._cell_clip)
1046 m = clip_ops.clip_by_value(m, -self._proj_clip, self._proj_clip)
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_ResizeArea.pbtxt37 `tf.clip_by_value` to the output.
/external/tensorflow/tensorflow/python/training/
Doptimizer_test.py249 constraint_01 = lambda x: clip_ops.clip_by_value(x, -0.1, 0.)
250 constraint_0 = lambda x: clip_ops.clip_by_value(x, 0., 1.)
/external/tensorflow/tensorflow/contrib/optimizer_v2/
Doptimizer_v2_test.py226 constraint_01 = lambda x: clip_ops.clip_by_value(x, -0.1, 0.)
227 constraint_0 = lambda x: clip_ops.clip_by_value(x, 0., 1.)
/external/tensorflow/tensorflow/contrib/gan/python/estimator/python/
Dlatent_gan_estimator_impl.py105 constraint=lambda x: clip_ops.clip_by_value(x, -input_clip, input_clip))
/external/tensorflow/tensorflow/lite/experimental/examples/lstm/
Drnn_cell.py486 c = clip_ops.clip_by_value(c, -self._cell_clip, self._cell_clip)
499 m = clip_ops.clip_by_value(m, -self._proj_clip, self._proj_clip)
/external/tensorflow/tensorflow/contrib/rnn/python/ops/
Drnn_cell.py316 m = clip_ops.clip_by_value(m, -self._proj_clip, self._proj_clip)
457 c = clip_ops.clip_by_value(c, -self._cell_clip, self._cell_clip)
810 c_freq = clip_ops.clip_by_value(c_freq, -self._cell_clip,
842 c_time = clip_ops.clip_by_value(c_time, -self._cell_clip,
2716 c = clip_ops.clip_by_value(c, -self._cell_clip, self._cell_clip)
2729 m = clip_ops.clip_by_value(m, -self._proj_clip, self._proj_clip)
3059 new_c = clip_ops.clip_by_value(new_c, -self._cell_clip, self._cell_clip)
3073 new_h = clip_ops.clip_by_value(new_h, -self._proj_clip,
3598 parameters = clip_ops.clip_by_value(parameters, -self.clip_value,
3671 output = clip_ops.clip_by_value(output, -self.clip_value, self.clip_value)
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Doptimizer_v2.py337 clip_ops.clip_by_value(g, -self.clipvalue, self.clipvalue)
375 clip_ops.clip_by_value(g, -self.clipvalue, self.clipvalue)
Doptimizer_v2_test.py243 constraint_01 = lambda x: clip_ops.clip_by_value(x, -0.1, 0.)
244 constraint_0 = lambda x: clip_ops.clip_by_value(x, 0., 1.)
/external/tensorflow/tensorflow/python/keras/
Dbackend.py1884 x = clip_ops.clip_by_value(x, zero, inf)
1995 return clip_ops.clip_by_value(x, min_value, max_value)
3827 x = clip_ops.clip_by_value(x, zero, max_value)
3923 output = clip_ops.clip_by_value(output, epsilon_, 1. - epsilon_)
3960 output = clip_ops.clip_by_value(output, epsilon_, 1 - epsilon_)
4006 output = clip_ops.clip_by_value(output, epsilon_, 1. - epsilon_)
4051 x = clip_ops.clip_by_value(x, zero, one)
Doptimizers.py103 clip_ops.clip_by_value(g, -self.clipvalue, self.clipvalue)
/external/tensorflow/tensorflow/contrib/distributions/python/ops/
Dsample_stats.py352 index = clip_ops.clip_by_value(math_ops.cast(index, dtypes.int32), 0, d - 1)
Dstatistical_testing.py188 max_mean_contrib = clip_ops.clip_by_value(
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dmath_test.py149 math_ops.round(clip_ops.clip_by_value(y, 1, 10)),
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/optimization/
Dmap_vectorization_test.py144 math_ops.round(clip_ops.clip_by_value(y, 1, 10)), x * x + 1)
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_dispatch.py290 clip_ops.clip_by_value,
Dragged_dispatch_test.py194 {'op': clip_ops.clip_by_value,
/external/tensorflow/tensorflow/examples/speech_commands/
Dinput_data.py424 background_clamp = tf.clip_by_value(background_add, -1.0, 1.0)
/external/tensorflow/tensorflow/contrib/seq2seq/python/ops/
Dattention_wrapper.py1170 math_ops.log(clip_ops.clip_by_value(x, tiny, 1)), *args, **kwargs))
1243 clip_ops.clip_by_value(cumprod_1mp_choose_i, 1e-10, 1.), axis=1)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.pbtxt500 name: "clip_by_value"

12