Home
last modified time | relevance | path

Searched refs:_checkpoint_dependencies (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/python/training/tracking/
Dtracking_test.py72 (_, dep_object), = root._checkpoint_dependencies
81 self.assertEqual(1, len(root._checkpoint_dependencies))
82 self.assertIs(root._checkpoint_dependencies[0].ref, root.hasdep)
100 self.assertEqual(1, len(root._checkpoint_dependencies))
102 self.assertIs(root.a, root._checkpoint_dependencies[0].ref)
105 self.assertEqual(0, len(root._checkpoint_dependencies))
108 self.assertEqual(1, len(root._checkpoint_dependencies))
110 self.assertIs(root.a, root._checkpoint_dependencies[0].ref)
121 direct_a_dep, = a._checkpoint_dependencies
200 [dep.name for dep in a.attribute._checkpoint_dependencies])
Ddata_structures_test.py102 self.assertEqual(2, len(model._checkpoint_dependencies))
103 self.assertIs(model.layer_list, model._checkpoint_dependencies[0].ref)
105 model._checkpoint_dependencies[1].ref)
107 10, len(model._checkpoint_dependencies[0].ref._checkpoint_dependencies))
478 self.assertEqual(len(l._checkpoint_dependencies), 0) # pylint: disable=protected-access
507 self.assertEqual([("4", v)], l._checkpoint_dependencies)
514 self.assertEqual([("4", v), ("9", v)], l._checkpoint_dependencies)
531 return l._checkpoint_dependencies # pylint: disable=protected-access
566 self.assertEqual(1, len(model._checkpoint_dependencies))
567 self.assertIs(model.layer_dict, model._checkpoint_dependencies[0].ref)
[all …]
Dbase_test.py35 (current_name, current_dependency), = root._checkpoint_dependencies
42 (current_name, current_dependency), = root._checkpoint_dependencies
Ddata_structures.py498 def _checkpoint_dependencies(self): member in ListWrapper
520 return super(ListWrapper, self)._checkpoint_dependencies
775 def _checkpoint_dependencies(self): member in _DictWrapper
799 return super(_DictWrapper, self)._checkpoint_dependencies
994 def _checkpoint_dependencies(self): member in _TupleWrapper
1002 return super(_TupleWrapper, self)._checkpoint_dependencies
Dgraph_view.py111 if slot_variable._checkpoint_dependencies: # pylint: disable=protected-access
159 return obj._checkpoint_dependencies
Dutil_test.py1448 manual_dep, = manual_scope._checkpoint_dependencies
1473 self.assertLen(load_template._checkpoint_dependencies, 3)
1474 self.assertEqual("v", load_template._checkpoint_dependencies[0].name)
1475 self.assertEqual("v2", load_template._checkpoint_dependencies[1].name)
1477 load_template._checkpoint_dependencies[2].name)
1513 outer_template_dependencies = load_root.my_template._checkpoint_dependencies
1519 self.assertLen(inner_template_one._checkpoint_dependencies, 1)
1520 self.assertEqual("v", inner_template_one._checkpoint_dependencies[0].name)
1521 self.assertLen(inner_template_two._checkpoint_dependencies, 1)
1522 self.assertEqual("v", inner_template_two._checkpoint_dependencies[0].name)
Dutil_with_v1_optimizers_test.py765 manual_dep, = manual_scope._checkpoint_dependencies
787 self.assertEqual(3, len(load_template._checkpoint_dependencies))
788 self.assertEqual("v", load_template._checkpoint_dependencies[0].name)
789 self.assertEqual("v2", load_template._checkpoint_dependencies[1].name)
791 load_template._checkpoint_dependencies[2].name)
Dbase.py643 def _checkpoint_dependencies(self): member in Trackable
Dutil.py770 not trackable_object._checkpoint_dependencies):
/external/tensorflow/tensorflow/python/training/experimental/
Dloss_scale.py152 def _checkpoint_dependencies(self): member in LossScale
163 return super(LossScale, self)._checkpoint_dependencies + weights
/external/tensorflow/tensorflow/python/keras/layers/
Drnn_cell_wrapper_v2_test.py50 (name, dep), = wrapper_object._checkpoint_dependencies
93 (name, dep), = wrapped_cell._checkpoint_dependencies
/external/tensorflow/tensorflow/python/kernel_tests/
Dtemplate_test.py390 self.assertEqual(2, len(tmpl1._checkpoint_dependencies))
391 self.assertEqual("nested", tmpl1._checkpoint_dependencies[0].name)
392 self.assertEqual("nested_1", tmpl1._checkpoint_dependencies[1].name)
Drnn_cell_test.py240 (name, dep), = full_dropout_cell._checkpoint_dependencies
2589 self.assertEqual("cell-0", cell._checkpoint_dependencies[0].name)
2590 self.assertEqual("cell-1", cell._checkpoint_dependencies[1].name)
2836 (name, dep), = wrapper_object._checkpoint_dependencies
2879 (name, dep), = wrapped_cell._checkpoint_dependencies
/external/tensorflow/tensorflow/python/training/
Doptimizer.py846 def _checkpoint_dependencies(self): member in Optimizer
857 return (super(Optimizer, self)._checkpoint_dependencies
/external/tensorflow/tensorflow/python/keras/tests/
Dmodel_subclassing_test.py369 self.assertEqual(1, len(m._checkpoint_dependencies))
370 self.assertIs(m.isdep, m._checkpoint_dependencies[0].ref)
/external/tensorflow/tensorflow/python/keras/engine/
Dnetwork.py397 def _checkpoint_dependencies(self): member in Network
401 dependencies.extend(super(Network, self)._checkpoint_dependencies)
Dbase_layer_test.py807 {id(v) for _, v in layer._checkpoint_dependencies})