/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/ |
D | TestAbstractContainers.java | 34 @JsonSubTypes.Type(value = ListWrapper.class, name = "wrapper"), 36 static class ListWrapper { class in TestAbstractContainers 58 ListWrapper w = new ListWrapper(); in testAbstractLists() 62 Object o = MAPPER.readValue(json, ListWrapper.class); in testAbstractLists() 63 assertEquals(ListWrapper.class, o.getClass()); in testAbstractLists() 64 ListWrapper out = (ListWrapper) o; in testAbstractLists()
|
/external/tensorflow/tensorflow/python/training/tracking/ |
D | data_structures_test.py | 167 if list_method == getattr(data_structures.ListWrapper, name): 174 original = data_structures.ListWrapper([1, 2]) 182 nest.assert_same_structure(l, data_structures.ListWrapper(copy.copy(l))) 198 data_structures.ListWrapper([constant_op.constant(3.)])) 208 self.assertEqual(data_structures.ListWrapper([a, a]), 209 data_structures.ListWrapper([a, a])) 211 data_structures.ListWrapper([a, a])) 212 self.assertEqual(data_structures.ListWrapper([a, a]), 216 self.assertNotEqual(data_structures.ListWrapper([a, a]), 217 data_structures.ListWrapper([b, a])) [all …]
|
D | data_structures.py | 100 return ListWrapper(value) 430 class ListWrapper( class 462 super(ListWrapper, self).__init__(wrapped_list) 493 copied = super(ListWrapper, self).__copy__() 499 copied = super(ListWrapper, self).__deepcopy__(memo) 553 return super(ListWrapper, self)._checkpoint_dependencies 601 super(ListWrapper, self).append(value) 607 super(ListWrapper, self).extend(values) 620 return super(ListWrapper, self).__imul__(y) 672 value = super(ListWrapper, self)._track_value(value=value, name=name) [all …]
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/objectid/ |
D | TestAbstractWithObjectId.java | 27 static class ListWrapper<T extends BaseInterface> { class in TestAbstractWithObjectId 52 ListWrapper<BaseInterfaceImpl> myList = new ListWrapper<BaseInterfaceImpl>(); in testIssue877() 64 ListWrapper<BaseInterfaceImpl> result; in testIssue877() 66 result = om.readValue(json, new TypeReference<ListWrapper<BaseInterfaceImpl>>() { }); in testIssue877()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/failing/ |
D | DefaultTypingOverride1391Test.java | 14 static class ListWrapper { class in DefaultTypingOverride1391Test 30 String json = mapper.writeValueAsString(new ListWrapper()); in testCollectionWithOverride()
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | tf_utils.py | 201 class ListWrapper(object): class 233 if isinstance(nested, ListWrapper): 242 if isinstance(nested, ListWrapper): 245 return ListWrapper(nested) 248 if isinstance(nested, ListWrapper):
|
D | tf_utils_test.py | 167 data = tf_utils.convert_inner_node_data((tf_utils.ListWrapper(['l', 2, 3]), 168 tf_utils.ListWrapper(['l', 5, 6]))) 173 self.assertTrue(all(isinstance(ele, tf_utils.ListWrapper) for ele in data))
|
/external/tensorflow/tensorflow/python/keras/saving/saved_model/ |
D | save_impl.py | 118 variables=data_structures.ListWrapper(layer.variables), 119 trainable_variables=data_structures.ListWrapper( 121 non_trainable_variables=data_structures.ListWrapper( 123 layers=data_structures.ListWrapper(utils.list_all_layers(layer)), 124 metrics=data_structures.ListWrapper(layer.metrics), 125 regularization_losses=data_structures.ListWrapper( 127 layer_regularization_losses=data_structures.ListWrapper(
|
D | metric_serialization.py | 45 return (dict(variables=data_structures.ListWrapper(self.obj.variables)),
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/ |
D | TestJsonSerialize2.java | 184 ListWrapper<String> list = new ListWrapper<String>(); in testEmptyInclusionContainers() 187 assertEquals("{}", inclMapper.writeValueAsString(new ListWrapper<String>())); in testEmptyInclusionContainers()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/ |
D | TestConvertingSerializer.java | 101 static class ListWrapper { class in TestConvertingSerializer 210 String json = objectWriter().writeValueAsString(new ListWrapper()); in testConverterForList357()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ |
D | BaseMapTest.java | 111 protected static class ListWrapper<T> class in BaseMapTest 115 public ListWrapper(@SuppressWarnings("unchecked") T... values) { in ListWrapper() method in BaseMapTest.ListWrapper
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | node.py | 215 return tf_utils.ListWrapper(data)
|
D | functional.py | 1170 if isinstance(t, tf_utils.ListWrapper): 1377 tf_utils.ListWrapper([layer.name, new_node_index, tensor_index])) 1393 tf_utils.ListWrapper([layer.name, new_node_index, tensor_index]))
|
/external/tensorflow/tensorflow/python/keras/tests/ |
D | tracking_test.py | 237 l_wrapper = data_structures.ListWrapper(l)
|
/external/python/cpython3/Doc/faq/ |
D | design.rst | 510 class ListWrapper: 536 In the case of ListWrapper, whenever the wrapper object is in a dictionary the
|
/external/python/cpython2/Doc/faq/ |
D | design.rst | 592 class ListWrapper: 618 In the case of ListWrapper, whenever the wrapper object is in a dictionary the
|