Searched refs:keep_prob (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/python/ops/ |
D | nn_test.py | 344 for keep_prob in [0.1, 0.5, 0.8]: 346 dropout = nn_ops.dropout(t, rate=(1 - keep_prob)) 355 self.assertAllClose(1 / keep_prob, sorted_value[1]) 358 expected_count = x_dim * y_dim * keep_prob * num_iter 371 for keep_prob in [0.1, 0.5, 0.8]: 373 dropout = nn_ops.dropout(t, rate=(1 - keep_prob), noise_shape=[x_dim, 1]) 382 self.assertAllClose(1 / keep_prob, sorted_value[1]) 385 expected_count = x_dim * y_dim * keep_prob * num_iter 395 for keep_prob in [0.1, 0.5, 0.8]: 397 dropout = nn_ops.dropout(t, rate=(1 - keep_prob), noise_shape=[x_dim, 1]) [all …]
|
D | nn_ops.py | 5011 def dropout(x, keep_prob=None, noise_shape=None, seed=None, name=None, argument 5046 keep = 1. - keep_prob if keep_prob is not None else None 5049 "(got %r)" % keep_prob) 5161 keep_prob = 1 - rate 5162 scale = 1 / keep_prob
|
/external/tensorflow/tensorflow/python/keras/layers/legacy_rnn/ |
D | rnn_cell_wrapper_impl.py | 206 self, unused_index, value, noise, keep_prob): argument 209 random_tensor = keep_prob + noise 213 ret = math_ops.divide(value, keep_prob) * binary_tensor 221 keep_prob, argument 235 v, rate=1. - keep_prob, seed=self._gen_seed(salt_prefix, i)) 246 return self._variational_recurrent_dropout_value(i, v, n, keep_prob)
|
/external/tensorflow/tensorflow/core/kernels/ |
D | word2vec_kernels.cc | 155 float keep_prob = in NextExample() local 158 if (rng_.RandFloat() > keep_prob) { in NextExample()
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_dispatch.py | 461 def _ragged_nn_dropout_v1(x, keep_prob=None, noise_shape=None, seed=None, argument 467 return x.with_flat_values(nn_ops.dropout(x.flat_values, keep_prob=keep_prob,
|
/external/tensorflow/tensorflow/tools/compatibility/ |
D | tf_upgrade_v2.py | 1833 for keep_prob in node.keywords: 1834 if keep_prob.arg == "keep_prob": 1837 keep_prob.arg = "rate" 1838 _replace_keep_prob_node(keep_prob, keep_prob.value)
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.nn.pbtxt | 177 …argspec: "args=[\'x\', \'keep_prob\', \'noise_shape\', \'seed\', \'name\', \'rate\'], varargs=None…
|
/external/tensorflow/ |
D | RELEASE.md | 2683 * Dropout now takes `rate` argument, `keep_prob` is deprecated.
|