Home
last modified time | relevance | path

Searched defs:loss (Results 1 – 25 of 60) sorted by relevance

123

/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Doptimizer_v2_test.py75 loss = lambda: 5 * var0 + 3 * var1 # pylint: disable=cell-var-from-loop function
99 def loss(): function
145 loss = lambda: 5 * var0 + 3 * var1 # pylint: disable=cell-var-from-loop function
172 loss = lambda: 5 * var0 # pylint: disable=cell-var-from-loop function
187 loss = lambda: constant_op.constant(5.0) function
217 loss = lambda: 5 * var0 + 3 * var1 # pylint: disable=cell-var-from-loop function
277 loss = lambda: 5 * var0 + 3 * var1 function
311 loss = lambda: 3 * var0 function
340 loss = lambda: 3 * var0 function
354 loss = lambda: 3 * var function
[all …]
Dgradient_descent_test.py141 loss = lambda: math_ops.matmul(var0, x) + var1 # pylint: disable=cell-var-from-loop function
159 def loss(): function
199 loss = lambda: vars_[0] + vars_[1] # pylint: disable=cell-var-from-loop function
375 loss = lambda: 5 * var0 * var0 + 3 * var1 # pylint: disable=cell-var-from-loop function
437 def loss(): function
456 def loss(): function
673 loss = lambda: 3 * var0 function
Drmsprop_test.py330 def loss(): function
356 def loss(): function
562 def loss(): function
Dadadelta_test.py161 def loss(): function
Doptimizer_v2.py289 def minimize(self, loss, var_list, grad_loss=None, name=None): argument
320 def _compute_gradients(self, loss, var_list, grad_loss=None): argument
373 def get_gradients(self, loss, params): argument
501 def get_updates(self, loss, params): argument
/external/tensorflow/tensorflow/python/training/
Doptimizer_test.py46 def loss(): function
121 def loss(): function
142 def loss(): function
159 def loss(): function
189 def loss(): function
Dmomentum_test.py248 def loss(): function
276 def loss(): function
/external/tensorflow/tensorflow/python/training/experimental/
Dloss_scale_optimizer_test.py60 def get_gradients(opt, loss, params): argument
80 loss = lambda: grad_check_fn(var) / strategy.num_replicas_in_sync function
167 loss = lambda: var * 2.0 / strategy.num_replicas_in_sync function
178 loss = lambda: var * float('NaN') function
201 loss = lambda: var / strategy.num_replicas_in_sync function
Dloss_scale_optimizer.py81 loss, argument
128 def _scale_loss(self, loss): argument
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_gpu_test.py47loss = lambda y_true, y_pred: K.sparse_categorical_crossentropy( # pylint: disable=g-long-lambda function
52 loss = lambda y_true, y_pred: K.categorical_crossentropy( # pylint: disable=g-long-lambda function
57loss = lambda y_true, y_pred: K.binary_crossentropy(y_true, y_pred) # pylint: disable=unnecessary… function
/external/tensorflow/tensorflow/python/keras/mixed_precision/experimental/
Dloss_scale_optimizer_test.py80 loss = lambda: grad_check_fn(var) / strategy.num_replicas_in_sync function
187 loss = lambda: var * 2.0 / strategy.num_replicas_in_sync function
198 loss = lambda: var * float('NaN') function
219 def loss(): function
246 loss = lambda: var / strategy.num_replicas_in_sync function
324 loss = lambda: var * 2.0 function
382 loss = lambda: var * 2.0 function
Dloss_scale_optimizer.py152 def get_scaled_loss(self, loss): argument
207 def _compute_gradients(self, loss, var_list, grad_loss=None): argument
216 def get_gradients(self, loss, params): argument
/external/tensorflow/tensorflow/python/keras/
Doptimizers.py74 def get_updates(self, loss, params): argument
77 def get_gradients(self, loss, params): argument
182 def get_updates(self, loss, params): argument
249 def get_updates(self, loss, params): argument
318 def get_updates(self, loss, params): argument
393 def get_updates(self, loss, params): argument
475 def get_updates(self, loss, params): argument
566 def get_updates(self, loss, params): argument
652 def get_updates(self, loss, params): argument
727 def get_grads(self, loss, params): argument
[all …]
/external/tensorflow/tensorflow/examples/tutorials/mnist/
Dmnist.py86 def loss(logits, labels): function
101 def training(loss, learning_rate): argument
/external/tensorflow/tensorflow/python/saved_model/
Dsignature_def_utils_impl.py213 inputs, loss, predictions=None, metrics=None): argument
220 inputs, loss, predictions=None, metrics=None): argument
227 method_name, inputs, loss=None, predictions=None, argument
/external/tensorflow/tensorflow/python/framework/
Dauto_control_deps_test.py228 def loss(v): function
258 def loss(v): function
274 def loss(): function
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dsoftmax_op.cc134 auto loss = XlaHelpers::ConvertElementType(sum, type); in CrossEntropyWithLogits() local
157 xla::XlaOp loss, backprop; in Compile() local
224 xla::XlaOp loss, backprop; in Compile() local
/external/tensorflow/tensorflow/python/tpu/
Dtpu_embedding_gradient.py32 def get_gradients_through_compute_gradients(optimizer, loss, activations): argument
Dtpu_optimizer.py111 def compute_gradients(self, loss, var_list=None, **kwargs): argument
/external/tensorflow/tensorflow/python/debug/examples/v2/
Ddebug_mnist_v2.py202 def loss(logits, labels): function
/external/tensorflow/tensorflow/python/keras/premade/
Dwide_deep.py116 def _backwards(self, tape, loss): argument
/external/tensorflow/tensorflow/examples/tf2_showcase/
Dmnist.py125 def loss(logits, labels): function
/external/tensorflow/tensorflow/python/ops/losses/
Dutil.py179 def add_loss(loss, loss_collection=ops.GraphKeys.LOSSES): argument
/external/tensorflow/tensorflow/python/saved_model/model_utils/
Dexport_output.py250 def __init__(self, loss=None, predictions=None, metrics=None): argument
364 def loss(self): member in _SupervisedOutput
Dexport_utils.py251 mode, serving_export_outputs=None, predictions=None, loss=None, argument

123