Home
last modified time | relevance | path

Searched refs:loss1 (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dcomposable_model_test.py138 loss1 = classifier.evaluate(input_fn=input_fn, steps=1)['loss']
141 self.assertLess(loss2, loss1)
164 loss1 = classifier.evaluate(input_fn=input_fn, steps=1)['loss']
167 self.assertLess(loss2, loss1)
Dlinear_test.py98 loss1 = classifier.evaluate(input_fn=input_fn, steps=1)['loss']
101 self.assertLess(loss2, loss1)
124 loss1 = classifier.evaluate(input_fn=input_fn, steps=1)['loss']
127 self.assertLess(loss2, loss1)
1091 loss1 = classifier.evaluate(input_fn=input_fn, steps=1)['loss']
1095 self.assertLess(loss2, loss1)
1911 loss1 = linear_estimator.evaluate(input_fn=input_fn, steps=1)['loss']
1915 self.assertLess(loss2, loss1)
1938 loss1 = linear_estimator.evaluate(input_fn=input_fn, steps=1)['loss']
1942 self.assertLess(loss2, loss1)
Ddnn_linear_combined_test.py1101 loss1 = classifier.evaluate(input_fn=input_fn, steps=1)['loss']
1104 self.assertLess(loss2, loss1)
1132 loss1 = classifier.evaluate(input_fn=input_fn, steps=1)['loss']
1135 self.assertLess(loss2, loss1)
/external/tensorflow/tensorflow/contrib/eager/python/examples/spinn/
Dspinn_test.py299 loss1 = trainer.loss(labels, logits)
300 self.assertEqual(tf.float32, loss1.dtype)
301 self.assertEqual((), loss1.shape)
310 self.assertNotEqual(loss1.numpy(), loss2.numpy())
/external/tensorflow/tensorflow/contrib/recurrent/python/kernel_tests/
Drecurrent_test.py176 loss1 = math_ops.reduce_sum(acc1) + math_ops.reduce_sum(final1)
178 loss1, [theta.w, theta.b, state0.h, inputs.x])
/external/tensorflow/tensorflow/contrib/training/python/training/
Dtraining_test.py609 loss1 = training.train(
617 self.assertIsNotNone(loss1)
618 self.assertLess(loss1, .5)
622 self.assertGreater(loss0, loss1)
/external/tensorflow/tensorflow/python/kernel_tests/
Dslice_op_test.py315 loss1 = math_ops.reduce_sum(x[:-1, :-1] * 1.0)
318 g1 = gradients_impl.gradients(loss1, x)[0]
Dlosses_test.py1220 loss1 = losses.mean_pairwise_squared_error(
1228 loss0, loss1, loss0_1 = session.run([loss0, loss1, loss0_1])
1231 self.assertTrue(loss1 > 0)
1232 self.assertAlmostEqual(loss0 + loss1, loss0_1, 5)
/external/tensorflow/tensorflow/contrib/losses/python/losses/
Dloss_ops_test.py1083 loss1 = loss_ops.mean_pairwise_squared_error(
1091 loss0, loss1, loss0_1 = session.run([loss0, loss1, loss0_1])
1094 self.assertTrue(loss1 > 0)
1095 self.assertAlmostEqual(loss0 + loss1, loss0_1, 5)
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Doptimizer_v2_test.py357 loss1 = lambda: 3 * var1 function
358 opt_op_1 = opt1.minimize(loss1, [var1])