Home
last modified time | relevance | path

Searched refs:assertListEqual (Results 1 – 25 of 80) 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])
97 self.assertListEqual(output.get_shape().as_list(),
99 self.assertListEqual(layer.kernel.get_shape().as_list(), [3, 3, 4, 32])
100 self.assertListEqual(layer.bias.get_shape().as_list(), [32])
[all …]
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(output.get_shape().as_list(), [5, 3, 3, 4, 4])
[all …]
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(dense.non_trainable_variables,
[all …]
/external/tensorflow/tensorflow/python/keras/_impl/keras/engine/
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(model.non_trainable_weights, [])
[all …]
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_model.trainable_weights, [])
[all …]
Dtraining_test.py768 self.assertListEqual(model.trainable_weights, [])
774 self.assertListEqual(model.trainable_weights, layer.trainable_weights)
776 self.assertListEqual(model.trainable_weights, [])
782 self.assertListEqual(model.trainable_weights, [])
789 self.assertListEqual(model.trainable_weights, layer.trainable_weights)
791 self.assertListEqual(model.trainable_weights, [])
800 self.assertListEqual(model.trainable_weights, [])
806 self.assertListEqual(model.trainable_weights, [])
817 self.assertListEqual(outer_model.trainable_weights,
820 self.assertListEqual(outer_model.trainable_weights, [])
[all …]
/external/antlr/antlr-3.4/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])
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])
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(),
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(),
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])
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/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/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/_impl/keras/layers/
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(mask.get_shape().as_list(), [None, 4])
[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/contrib/py2tf/impl/
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/tools/
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/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/lisa/tests/lisa/
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])

1234