Home
last modified time | relevance | path

Searched refs:get_losses (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/python/ops/losses/
Dutil.py193 def get_losses(scope=None, loss_collection=ops.GraphKeys.LOSSES): function
263 losses = get_losses(scope=scope)
/external/tensorflow/tensorflow/python/kernel_tests/
Dlosses_test.py1350 self.assertFalse(util.get_losses())
1356 self.assertFalse(util.get_losses())
1377 self.assertEqual(0, len(util.get_losses()))
1398 self.assertEqual(9, len(util.get_losses()))
1416 self.assertEqual(0, len(util.get_losses()))
1426 self.assertEqual(3, len(util.get_losses()))
1443 self.assertEqual(0, len(util.get_losses()))
1447 self.assertEqual(1, len(util.get_losses()))
1454 self.assertEqual(0, len(util.get_losses()))
1465 self.assertEqual(1, len(util.get_losses()))
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.losses.pbtxt24 name: "get_losses"
/external/tensorflow/tensorflow/python/keras/engine/
Dbase_layer_test.py1394 def get_losses(t): function
1400 assert_graph(get_losses(constant_op.constant(2.)))
1401 assert_graph(get_losses(constant_op.constant(0.5)))
Dtraining_test.py1009 def get_losses(): function
1013 self.evaluate(layer.losses), self.evaluate(get_losses()))