Home
last modified time | relevance | path

Searched refs:loss_op (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/contrib/learn/python/learn/
Dgraph_actions_test.py474 loss_op = constant_op.constant(2.0)
477 g, output_dir=None, train_op=train_op, loss_op=loss_op)
483 loss_op=constant_op.constant(2.0))
486 g, output_dir=self._output_dir, train_op=None, loss_op=loss_op)
492 loss_op=None)
498 loss_op=loss_op)
515 loss_op=constant_op.constant(2.0),
532 loss_op=constant_op.constant(2.0),
545 loss_op=constant_op.constant(2.0),
559 loss_op=constant_op.constant(2.0),
[all …]
Dgraph_actions.py132 loss_op, argument
217 loss_op,
241 loss_op, argument
264 if loss_op is None:
285 loss_op=loss_op,
336 session, last_step + 1, [train_op, loss_op], feed_dict, monitors)
338 loss_value = outputs[loss_op.name]
Dmonitors.py831 def get_default_monitors(loss_op=None, argument
850 if loss_op is not None:
851 monitors.append(PrintTensor(tensor_names={"loss": loss_op.name}))
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/
Dstate_management.py180 (loss_op, end_state, batch_predictions) = self._update_cached_states(
191 loss=loss_op,
264 loss_op = array_ops.identity(model_loss)
265 return loss_op, end_state, batch_predictions
Dar_model.py458 def loss_op(self, targets, prediction_ops): member in ARModel
464 loss_op = -math_ops.reduce_sum(
468 loss_op = math_ops.reduce_sum(
470 loss_op /= math_ops.cast(
471 math_ops.reduce_prod(array_ops.shape(targets)), loss_op.dtype)
472 return loss_op
707 loss = self.loss_op(
711 loss = self.loss_op(targets, prediction_ops)
975 def loss_op(self, targets, prediction_ops): member in AnomalyMixtureARModel
991 loss_op = -math_ops.reduce_sum(mixed_log_prob)
[all …]
/external/tensorflow/tensorflow/contrib/tensor_forest/client/
Drandom_forest.py75 loss_op=None): argument
78 self.loss_op = loss_op
86 loss = (self.loss_op if self.loss_op is not None else
271 loss_op=model_ops.loss))
307 loss_op=estimator_spec.loss))
/external/tensorflow/tensorflow/contrib/sparsemax/python/kernel_tests/
Dsparsemax_loss_test.py205 loss_op = sparsemax_loss(logits, sparsemax_op, q)
209 logits, z.shape, loss_op, (test_obs,), x_init_value=z, delta=1e-9)
221 loss_op = sparsemax_loss(logits, sparsemax_op, q.astype(dtype))
222 loss_grad_op = gradients_impl.gradients(loss_op, [logits])[0]
/external/tensorflow/tensorflow/contrib/factorization/python/ops/
Dgmm_ops_test.py125 loss_op, scores, assignments, training_op, init_op, _ = gmm_ops.gmm(
130 first_loss = sess.run(loss_op)
134 end_loss = sess.run(loss_op)
/external/tensorflow/tensorflow/python/training/
Devaluation_test.py91 loss_op = losses.log_loss(labels=tf_labels, predictions=tf_predictions)
94 train_op = optimizer.minimize(loss_op,
102 _, loss = session.run([train_op, loss_op])
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dtarget_column_test.py134 loss_op, update_op = eval_dict["loss"]
140 self.assertAlmostEqual(1.5514446, sess.run(loss_op))
/external/tensorflow/tensorflow/python/grappler/
Dmemory_optimizer_test.py236 loss_op = graph.get_tensor_by_name(loss_op_name)
241 return self.evaluate(loss_op)
/external/tensorflow/tensorflow/contrib/cudnn_rnn/python/kernel_tests/
Dcudnn_rnn_test.py924 loss_op = losses.log_loss(
927 train_op = optimizer.minimize(loss_op)