Home
last modified time | relevance | path

Searched refs:assertListEqual (Results 1 – 25 of 89) sorted by relevance

1234

/external/tensorflow/tensorflow/python/layers/
Dconvolutional_test.py70 self.assertListEqual(output.get_shape().as_list(),
72 self.assertListEqual(layer.kernel.get_shape().as_list(), [3, 3, 4, 32])
73 self.assertListEqual(layer.bias.get_shape().as_list(), [32])
79 self.assertListEqual(output.get_shape().as_list(),
87 self.assertListEqual(output.get_shape().as_list(),
89 self.assertListEqual(layer.kernel.get_shape().as_list(), [3, 3, 4, 32])
90 self.assertListEqual(layer.bias.get_shape().as_list(), [32])
98 self.assertListEqual(output.get_shape().as_list(),
100 self.assertListEqual(layer.kernel.get_shape().as_list(), [3, 3, 4, 32])
101 self.assertListEqual(layer.bias.get_shape().as_list(), [32])
[all …]
Dpooling_test.py59 self.assertListEqual(output.get_shape().as_list(), [5, 3, 4, 4])
66 self.assertListEqual(output.get_shape().as_list(), [5, 3, 4, 4])
76 self.assertListEqual(output.get_shape().as_list(), [5, 2, 6, 8])
87 self.assertListEqual(output.get_shape().as_list(), [3, 4, 4, 5])
99 self.assertListEqual(output.get_shape().as_list(), [None, 4, 4, 5])
107 self.assertListEqual(output.get_shape().as_list(),
116 self.assertListEqual(output.get_shape().as_list(),
126 self.assertListEqual(output.get_shape().as_list(),
136 self.assertListEqual(output.get_shape().as_list(),
144 self.assertListEqual(output.get_shape().as_list(), [5, 3, 3, 4, 4])
[all …]
Dcore_test.py76 self.assertListEqual([5, 2], outputs.get_shape().as_list())
77 self.assertListEqual(dense.variables, [dense.kernel, dense.bias])
78 self.assertListEqual(dense.trainable_variables,
80 self.assertListEqual(dense.non_trainable_variables, [])
100 self.assertListEqual([5, 4, 2], outputs.get_shape().as_list())
107 self.assertListEqual(dense.variables, [dense.kernel])
108 self.assertListEqual(dense.trainable_variables, [dense.kernel])
109 self.assertListEqual(dense.non_trainable_variables, [])
121 self.assertListEqual(dense.variables, [dense.kernel, dense.bias])
122 self.assertListEqual(dense.non_trainable_variables,
[all …]
/external/v8/tools/ignition/
Dbytecode_dispatches_report_test.py15 self.assertListEqual(top_counters, [
30 self.assertListEqual(xlabels, ['a', 'b', 'c'])
31 self.assertListEqual(ylabels, ['c', 'b', 'a'])
39 self.assertListEqual(top_dispatch_sources, [
53 self.assertListEqual(top_sources, [
59 self.assertListEqual(top_sources, [
Dlinux_perf_report_test.py55 self.assertListEqual(callchains, [
72 self.assertListEqual(callchains, [
134 self.assertListEqual(callchains, [
Dlinux_perf_bytecode_annotate_test.py72 self.assertListEqual(offsets, [18, 25, 18, 18])
78 self.assertListEqual(disassembly, [
/external/antlr/runtime/Python3/tests/
Dt059debug.py139 self.assertListEqual(found, expected)
174 self.assertListEqual(debugger.events, expected)
218 self.assertListEqual(debugger.events, expected)
256 self.assertListEqual(debugger.events, expected)
331 self.assertListEqual(debugger.events, expected)
406 self.assertListEqual(debugger.events, expected)
448 self.assertListEqual(debugger.events, expected)
505 self.assertListEqual(debugger.events, expected)
557 self.assertListEqual(debugger.events, expected)
601 self.assertListEqual(debugger.events, expected)
[all …]
/external/antlr/runtime/Python/tests/
Dt059debug.py135 self.assertListEqual(found, expected)
170 self.assertListEqual(debugger.events, expected)
214 self.assertListEqual(debugger.events, expected)
252 self.assertListEqual(debugger.events, expected)
327 self.assertListEqual(debugger.events, expected)
402 self.assertListEqual(debugger.events, expected)
444 self.assertListEqual(debugger.events, expected)
501 self.assertListEqual(debugger.events, expected)
553 self.assertListEqual(debugger.events, expected)
597 self.assertListEqual(debugger.events, expected)
[all …]
/external/tensorflow/tensorflow/contrib/slim/python/slim/nets/
Dvgg_test.py41 self.assertListEqual(logits.get_shape().as_list(),
52 self.assertListEqual(logits.get_shape().as_list(),
113 self.assertListEqual(logits.get_shape().as_list(),
116 self.assertListEqual(predictions.get_shape().as_list(), [batch_size])
128 self.assertListEqual(logits.get_shape().as_list(),
135 self.assertListEqual(logits.get_shape().as_list(),
162 self.assertListEqual(logits.get_shape().as_list(),
173 self.assertListEqual(logits.get_shape().as_list(),
247 self.assertListEqual(logits.get_shape().as_list(),
250 self.assertListEqual(predictions.get_shape().as_list(), [batch_size])
[all …]
Dinception_v3_test.py46 self.assertListEqual(logits.get_shape().as_list(),
49 self.assertListEqual(end_points['Predictions'].get_shape().as_list(),
59 self.assertListEqual(final_endpoint.get_shape().as_list(),
119 self.assertListEqual(end_points[endpoint_name].get_shape().as_list(),
141 self.assertListEqual(logits.get_shape().as_list(),
145 self.assertListEqual(aux_logits.get_shape().as_list(),
149 self.assertListEqual(pre_pool.get_shape().as_list(),
153 self.assertListEqual(pre_logits.get_shape().as_list(),
217 self.assertListEqual(logits.get_shape().as_list(),
220 self.assertListEqual(pre_pool.get_shape().as_list(),
[all …]
Dinception_v1_test.py46 self.assertListEqual(logits.get_shape().as_list(),
49 self.assertListEqual(end_points['Predictions'].get_shape().as_list(),
59 self.assertListEqual(mixed_6c.get_shape().as_list(),
117 self.assertListEqual(end_points[endpoint_name].get_shape().as_list(),
137 self.assertListEqual(mixed_5c.get_shape().as_list(),
151 self.assertListEqual(logits.get_shape().as_list(),
157 self.assertListEqual(list(pre_pool_out.shape), [batch_size, 7, 7, 1024])
167 self.assertListEqual(logits.get_shape().as_list(), [None, num_classes])
217 self.assertListEqual(list(logits_out.shape), [1, 1, 1, num_classes])
Doverfeat_test.py40 self.assertListEqual(logits.get_shape().as_list(),
51 self.assertListEqual(logits.get_shape().as_list(),
104 self.assertListEqual(logits.get_shape().as_list(),
107 self.assertListEqual(predictions.get_shape().as_list(), [batch_size])
119 self.assertListEqual(logits.get_shape().as_list(),
126 self.assertListEqual(logits.get_shape().as_list(),
Dalexnet_test.py40 self.assertListEqual(logits.get_shape().as_list(),
51 self.assertListEqual(logits.get_shape().as_list(),
104 self.assertListEqual(logits.get_shape().as_list(),
107 self.assertListEqual(predictions.get_shape().as_list(), [batch_size])
119 self.assertListEqual(logits.get_shape().as_list(),
126 self.assertListEqual(logits.get_shape().as_list(),
Dinception_v2_test.py46 self.assertListEqual(logits.get_shape().as_list(),
49 self.assertListEqual(end_points['Predictions'].get_shape().as_list(),
59 self.assertListEqual(mixed_5c.get_shape().as_list(),
113 self.assertListEqual(end_points[endpoint_name].get_shape().as_list(),
187 self.assertListEqual(logits.get_shape().as_list(),
190 self.assertListEqual(pre_pool.get_shape().as_list(),
204 self.assertListEqual(logits.get_shape().as_list(),
210 self.assertListEqual(list(pre_pool_out.shape), [batch_size, 7, 7, 1024])
220 self.assertListEqual(logits.get_shape().as_list(), [None, num_classes])
270 self.assertListEqual(list(logits_out.shape), [1, 1, 1, num_classes])
Dresnet_v1_test.py287 self.assertListEqual(logits.get_shape().as_list(), [2, 1, 1, num_classes])
289 self.assertListEqual(end_points['predictions'].get_shape().as_list(),
307 self.assertListEqual(end_points[endpoint].get_shape().as_list(), shape)
324 self.assertListEqual(end_points[endpoint].get_shape().as_list(), shape)
345 self.assertListEqual(end_points[endpoint].get_shape().as_list(), shape)
367 self.assertListEqual(end_points[endpoint].get_shape().as_list(), shape)
409 self.assertListEqual(logits.get_shape().as_list(),
424 self.assertListEqual(output.get_shape().as_list(), [batch, None, None, 32])
440 self.assertListEqual(output.get_shape().as_list(), [batch, None, None, 32])
Dresnet_v2_test.py291 self.assertListEqual(logits.get_shape().as_list(), [2, 1, 1, num_classes])
293 self.assertListEqual(end_points['predictions'].get_shape().as_list(),
311 self.assertListEqual(end_points[endpoint].get_shape().as_list(), shape)
328 self.assertListEqual(end_points[endpoint].get_shape().as_list(), shape)
349 self.assertListEqual(end_points[endpoint].get_shape().as_list(), shape)
371 self.assertListEqual(end_points[endpoint].get_shape().as_list(), shape)
413 self.assertListEqual(logits.get_shape().as_list(),
428 self.assertListEqual(output.get_shape().as_list(), [batch, None, None, 32])
444 self.assertListEqual(output.get_shape().as_list(), [batch, None, None, 32])
/external/tensorflow/tensorflow/python/autograph/converters/
Dcall_trees_test.py37 self.assertListEqual(self.dynamic_calls, [((), {})])
48 self.assertListEqual(self.dynamic_calls, [((1,), {'c': 2})])
59 self.assertListEqual(self.dynamic_calls, [((1, 2, 3), {'b': 4, 'c': 5})])
74 self.assertListEqual(self.dynamic_calls, [((1, 2, 3), {})])
85 self.assertListEqual(self.dynamic_calls, [((1,), {'b': 2, 'c': 3})])
98 self.assertListEqual(self.dynamic_calls, [((1,), {})])
111 self.assertListEqual(self.dynamic_calls, [((1,), {})])
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/
Dlayers_test.py52 self.assertListEqual(masks[0].get_shape().as_list(),
57 self.assertListEqual(masked_weight[0].get_shape().as_list(),
78 self.assertListEqual(masks[ix].get_shape().as_list(), [
86 self.assertListEqual(masked_weight[ix].get_shape().as_list(), [
101 self.assertListEqual(masks[0].get_shape().as_list(),
106 self.assertListEqual(masked_weight[0].get_shape().as_list(),
126 self.assertListEqual(masks[ix].get_shape().as_list(), [
133 self.assertListEqual(masked_weight[ix].get_shape().as_list(), [
/external/tensorflow/tensorflow/python/keras/engine/
Dtopology_test.py317 self.assertListEqual(model.trainable_weights, weights)
318 self.assertListEqual(model.non_trainable_weights, [])
321 self.assertListEqual(model.trainable_weights, [])
322 self.assertListEqual(model.non_trainable_weights, weights)
325 self.assertListEqual(model.trainable_weights, weights)
326 self.assertListEqual(model.non_trainable_weights, [])
329 self.assertListEqual(model.trainable_weights, [])
330 self.assertListEqual(model.non_trainable_weights, weights)
337 self.assertListEqual(model.trainable_weights, weights)
338 self.assertListEqual(model.non_trainable_weights, [])
[all …]
/external/tensorflow/tensorflow/python/keras/layers/
Dmerge_test.py41 self.assertListEqual(o.shape.as_list(), [None, 4, 5])
74 self.assertListEqual(o.shape.as_list(), [None, 4, 5])
107 self.assertListEqual(o.shape.as_list(), [None, 4, 5])
122 self.assertListEqual(o.shape.as_list(), [None, 4, 5])
136 self.assertListEqual(o.shape.as_list(), [None, 4, 5])
150 self.assertListEqual(o.shape.as_list(), [None, 4, 5])
165 self.assertListEqual(o.shape.as_list(), [None, 8, 5])
196 self.assertListEqual(o.shape.as_list(), [None, 1])
212 self.assertListEqual(o.shape.as_list(), [None, 1])
285 self.assertListEqual(o.shape.as_list(), [None, 4, 5])
[all …]
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dlayers_test.py70 self.assertListEqual(output.get_shape().as_list(), [5, 1, 2, 3])
76 self.assertListEqual(output.get_shape().as_list(), [5, 2, 1, 2])
91 self.assertListEqual(output.get_shape().as_list(), [5, 1, 2, 3])
103 self.assertListEqual(output.get_shape().as_list(), [5, 2, 3, 3])
110 self.assertListEqual(output.get_shape().as_list(), [5, 3, 2, 3])
116 self.assertListEqual(output.get_shape().as_list(), [5, height, width, 3])
122 self.assertListEqual(output.get_shape().as_list(), [5, 1, 1, 3])
139 self.assertListEqual(output.get_shape().as_list(), [5, 1, 2, 4, 3])
146 self.assertListEqual(output.get_shape().as_list(), [5, 2, 1, 2, 4])
162 self.assertListEqual(output.get_shape().as_list(), [5, 1, 2, 4, 3])
[all …]
/external/tensorflow/tensorflow/python/tools/
Dprint_selective_registration_header_test.py110 self.assertListEqual(
128 self.assertListEqual(
153 self.assertListEqual(
165 self.assertListEqual(
222 self.assertListEqual(expected.split('\n'), header.split('\n'))
/external/tensorflow/tensorflow/contrib/slim/python/slim/data/
Ddataset_data_provider_test.py104 self.assertListEqual([height, width, 3], list(image.shape))
105 self.assertListEqual([1], list(label.shape))
124 self.assertListEqual([height, width, 3], list(image.shape))
125 self.assertListEqual([1], list(label.shape))
/external/python/cpython3/Lib/test/
Dtest_mailcap.py100 self.assertListEqual(expected, actual)
110 self.assertListEqual(expected, actual)
115 self.assertListEqual(expected, actual)
/external/autotest/server/hosts/
Dhost_info_unittest.py144 self.assertListEqual(self.info.labels, original_labels)
153 self.assertListEqual(self.info.labels, ['extra_label'])
160 self.assertListEqual(self.info.labels, ['extra_label'])
167 self.assertListEqual(self.info.labels, ['extra', 'cros-version:Z',
174 self.assertListEqual(self.info.labels, ['extra', 'cheets-version:Y',
187 self.assertListEqual(host_info.labels, labels)

1234