Home
last modified time | relevance | path

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

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/
DTestAbstractContainers.java34 @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/
Ddata_structures_test.py167 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 …]
Ddata_structures.py100 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/
DTestAbstractWithObjectId.java27 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/
DDefaultTypingOverride1391Test.java14 static class ListWrapper { class in DefaultTypingOverride1391Test
30 String json = mapper.writeValueAsString(new ListWrapper()); in testCollectionWithOverride()
/external/tensorflow/tensorflow/python/keras/utils/
Dtf_utils.py201 class ListWrapper(object): class
233 if isinstance(nested, ListWrapper):
242 if isinstance(nested, ListWrapper):
245 return ListWrapper(nested)
248 if isinstance(nested, ListWrapper):
Dtf_utils_test.py167 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/
Dsave_impl.py118 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(
Dmetric_serialization.py45 return (dict(variables=data_structures.ListWrapper(self.obj.variables)),
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DTestJsonSerialize2.java184 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/
DTestConvertingSerializer.java101 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/
DBaseMapTest.java111 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/
Dnode.py215 return tf_utils.ListWrapper(data)
Dfunctional.py1170 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/
Dtracking_test.py237 l_wrapper = data_structures.ListWrapper(l)
/external/python/cpython3/Doc/faq/
Ddesign.rst510 class ListWrapper:
536 In the case of ListWrapper, whenever the wrapper object is in a dictionary the
/external/python/cpython2/Doc/faq/
Ddesign.rst592 class ListWrapper:
618 In the case of ListWrapper, whenever the wrapper object is in a dictionary the