Searched refs:_ListWrapper (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/python/training/tracking/ |
D | data_structures_test.py | 281 if list_method == getattr(data_structures._ListWrapper, name): 294 self.assertEqual(data_structures._ListWrapper([a, a]), 295 data_structures._ListWrapper([a, a])) 297 data_structures._ListWrapper([a, a])) 298 self.assertEqual(data_structures._ListWrapper([a, a]), 302 self.assertNotEqual(data_structures._ListWrapper([a, a]), 303 data_structures._ListWrapper([b, a])) 305 data_structures._ListWrapper([b, a])) 307 self.assertLess(data_structures._ListWrapper([a]), 308 data_structures._ListWrapper([a, b])) [all …]
|
D | data_structures.py | 74 return _ListWrapper(value) 356 class _ListWrapper(List, collections.MutableSequence, class 386 super(_ListWrapper, self).__init__(wrapped_list) 391 copied = super(_ListWrapper, self).__copy__() 397 copied = super(_ListWrapper, self).__deepcopy__(memo) 444 return super(_ListWrapper, self)._checkpoint_dependencies 483 super(_ListWrapper, self).append(value) 489 super(_ListWrapper, self).extend(values) 533 value = super(_ListWrapper, self)._track_value(value=value, name=name) 851 lambda obj: isinstance(obj, _ListWrapper), [all …]
|