Searched refs:assertListEqual (Results 1 - 25 of 73) sorted by relevance

123

/external/v8/tools/ignition/
H A 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, [
H A Dlinux_perf_bytecode_annotate_test.py72 self.assertListEqual(offsets, [18, 25, 18, 18])
78 self.assertListEqual(disassembly, [
H A Dlinux_perf_report_test.py55 self.assertListEqual(callchains, [
72 self.assertListEqual(callchains, [
134 self.assertListEqual(callchains, [
/external/tensorflow/tensorflow/python/layers/
H A Dpooling_test.py58 self.assertListEqual(output.get_shape().as_list(), [5, 3, 4, 4])
65 self.assertListEqual(output.get_shape().as_list(), [5, 3, 4, 4])
74 self.assertListEqual(output.get_shape().as_list(), [5, 2, 6, 8])
84 self.assertListEqual(output.get_shape().as_list(), [3, 4, 4, 5])
95 self.assertListEqual(output.get_shape().as_list(), [None, 4, 4, 5])
103 self.assertListEqual(output.get_shape().as_list(),
112 self.assertListEqual(output.get_shape().as_list(),
122 self.assertListEqual(output.get_shape().as_list(),
132 self.assertListEqual(output.get_shape().as_list(),
140 self.assertListEqual(outpu
[all...]
H A 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])
97 self.assertListEqual(output.get_shape().as_list(),
99 self.assertListEqual(layer.kernel.get_shape().as_list(), [3, 3, 4, 32])
100 self.assertListEqual(laye
[all...]
H A Dcore_test.py75 self.assertListEqual([5, 2], outputs.get_shape().as_list())
76 self.assertListEqual(dense.variables, [dense.kernel, dense.bias])
77 self.assertListEqual(dense.trainable_variables,
79 self.assertListEqual(dense.non_trainable_variables, [])
91 self.assertListEqual([5, 4, 2], outputs.get_shape().as_list())
98 self.assertListEqual(dense.variables, [dense.kernel])
99 self.assertListEqual(dense.trainable_variables, [dense.kernel])
100 self.assertListEqual(dense.non_trainable_variables, [])
112 self.assertListEqual(dense.variables, [dense.kernel, dense.bias])
113 self.assertListEqual(dens
[all...]
/external/antlr/antlr-3.4/runtime/Python/tests/
H A 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(debugge
[all...]
/external/tensorflow/tensorflow/python/keras/_impl/keras/engine/
H A Dtopology_test.py55 self.assertListEqual(dense_layer.get_updates_for(a), [update_1])
56 self.assertListEqual(dense_layer.get_updates_for(None), [update_2])
67 self.assertListEqual(dense_layer.get_losses_for(a), [loss_1])
68 self.assertListEqual(dense_layer.get_losses_for(None), [loss_2])
76 self.assertListEqual(model.trainable_weights, weights)
77 self.assertListEqual(model.non_trainable_weights, [])
80 self.assertListEqual(model.trainable_weights, [])
81 self.assertListEqual(model.non_trainable_weights, weights)
84 self.assertListEqual(model.trainable_weights, weights)
85 self.assertListEqual(mode
[all...]
H A Dtraining_eager_test.py583 self.assertListEqual(model.trainable_weights, [])
589 self.assertListEqual(model.trainable_weights, layer.trainable_weights)
591 self.assertListEqual(model.trainable_weights, [])
597 self.assertListEqual(model.trainable_weights, [])
604 self.assertListEqual(model.trainable_weights, layer.trainable_weights)
606 self.assertListEqual(model.trainable_weights, [])
614 self.assertListEqual(model.trainable_weights, [])
620 self.assertListEqual(model.trainable_weights, [])
631 self.assertListEqual(outer_model.trainable_weights,
634 self.assertListEqual(outer_mode
[all...]
/external/tensorflow/tensorflow/python/tools/
H A Dprint_selective_registration_header_test.py96 self.assertListEqual(
112 self.assertListEqual(
135 self.assertListEqual(
147 self.assertListEqual(
203 self.assertListEqual(expected.split('\n'), header.split('\n'))
/external/tensorflow/tensorflow/contrib/slim/python/slim/nets/
H A 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(prediction
[all...]
H A 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(),
H A 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(),
H A 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_poo
[all...]
H A 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])
H A 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(lis
[all...]
H A Dresnet_v1_test.py279 self.assertListEqual(logits.get_shape().as_list(), [2, 1, 1, num_classes])
281 self.assertListEqual(end_points['predictions'].get_shape().as_list(),
299 self.assertListEqual(end_points[endpoint].get_shape().as_list(), shape)
316 self.assertListEqual(end_points[endpoint].get_shape().as_list(), shape)
337 self.assertListEqual(end_points[endpoint].get_shape().as_list(), shape)
359 self.assertListEqual(end_points[endpoint].get_shape().as_list(), shape)
401 self.assertListEqual(logits.get_shape().as_list(),
416 self.assertListEqual(output.get_shape().as_list(), [batch, None, None, 32])
432 self.assertListEqual(output.get_shape().as_list(), [batch, None, None, 32])
H A Dresnet_v2_test.py283 self.assertListEqual(logits.get_shape().as_list(), [2, 1, 1, num_classes])
285 self.assertListEqual(end_points['predictions'].get_shape().as_list(),
303 self.assertListEqual(end_points[endpoint].get_shape().as_list(), shape)
320 self.assertListEqual(end_points[endpoint].get_shape().as_list(), shape)
341 self.assertListEqual(end_points[endpoint].get_shape().as_list(), shape)
363 self.assertListEqual(end_points[endpoint].get_shape().as_list(), shape)
405 self.assertListEqual(logits.get_shape().as_list(),
420 self.assertListEqual(output.get_shape().as_list(), [batch, None, None, 32])
436 self.assertListEqual(output.get_shape().as_list(), [batch, None, None, 32])
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/
H A 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/contrib/py2tf/impl/
H A Dapi_test.py59 self.assertListEqual([0, 1], sess.run(x).tolist())
79 self.assertListEqual([0, 1], sess.run(x).tolist())
100 self.assertListEqual([0, 1], sess.run(x).tolist())
123 self.assertListEqual([0, 1], sess.run(x).tolist())
145 self.assertListEqual([0, 1], sess.run(x).tolist())
165 self.assertListEqual([0, 1], sess.run(x).tolist())
177 self.assertListEqual([1, 2], sess.run(x).tolist())
/external/tensorflow/tensorflow/python/keras/_impl/keras/layers/
H A Dmerge_test.py37 self.assertListEqual(o.get_shape().as_list(), [None, 4, 5])
53 self.assertListEqual(o.get_shape().as_list(), [None, 4, 5])
55 self.assertListEqual(mask.get_shape().as_list(), [None, 4])
81 self.assertListEqual(o.get_shape().as_list(), [None, 4, 5])
96 self.assertListEqual(o.get_shape().as_list(), [None, 4, 5])
110 self.assertListEqual(o.get_shape().as_list(), [None, 4, 5])
124 self.assertListEqual(o.get_shape().as_list(), [None, 4, 5])
138 self.assertListEqual(o.get_shape().as_list(), [None, 8, 5])
151 self.assertListEqual(o.get_shape().as_list(), [None, 4, 10])
153 self.assertListEqual(mas
[all...]
/external/lisa/tests/lisa/
H A Dtest_trace.py186 self.assertListEqual(df.index.tolist(), exp_index)
187 self.assertListEqual(df.cpu.tolist(), exp_cpus)
191 self.assertListEqual(df.index.tolist(), [519.022643])
192 self.assertListEqual(df.cpu.tolist(), [2])
/external/tensorflow/tensorflow/contrib/slim/python/slim/data/
H A 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/
H A Dtest_mailcap.py100 self.assertListEqual(expected, actual)
110 self.assertListEqual(expected, actual)
115 self.assertListEqual(expected, actual)
/external/tensorflow/tensorflow/contrib/layers/python/layers/
H A 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(outpu
[all...]

Completed in 440 milliseconds

123