Home
last modified time | relevance | path

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

1234

/external/tensorflow/tensorflow/python/keras/legacy_tf_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.py78 self.assertListEqual([5, 2], outputs.get_shape().as_list())
79 self.assertListEqual(dense.variables, [dense.kernel, dense.bias])
80 self.assertListEqual(dense.trainable_variables,
82 self.assertListEqual(dense.non_trainable_variables, [])
102 self.assertListEqual([5, 4, 2], outputs.get_shape().as_list())
109 self.assertListEqual(dense.variables, [dense.kernel])
110 self.assertListEqual(dense.trainable_variables, [dense.kernel])
111 self.assertListEqual(dense.non_trainable_variables, [])
123 self.assertListEqual(dense.variables, [dense.kernel, dense.bias])
124 self.assertListEqual(dense.non_trainable_variables,
[all …]
/external/oss-fuzz/infra/base-images/base-sanitizer-libs-builder/
Dcompiler_wrapper_test.py13 self.assertListEqual(
17 self.assertListEqual(
21 self.assertListEqual(
25 self.assertListEqual(
29 self.assertListEqual(
33 self.assertListEqual(
37 self.assertListEqual(
/external/tensorflow/tensorflow/python/autograph/converters/
Dcall_trees_test.py59 self.assertListEqual(mock.calls, [((), None)])
69 self.assertListEqual(mock.calls, [
82 self.assertListEqual(mock.calls, [
98 self.assertListEqual(mock.calls, [
111 self.assertListEqual(mock.calls, [((1,), None)])
121 self.assertListEqual(mock.calls, [((1, 20), None)])
131 self.assertListEqual(mock.calls, [((1,), {'c': 20})])
145 self.assertListEqual(mock.calls, [((1, 2, 3), {'b': 4, 'c': 5})])
159 self.assertListEqual(mock.calls, [((1, 20, 300), None)])
174 self.assertListEqual(mock.calls, [((1, 2, 3, 4), None)])
[all …]
Dvariables_test.py70 self.assertListEqual([2], tr([1, 2]))
80 self.assertListEqual([], tr([1, 2]))
147 self.assertListEqual([2], tr(1, 2, [1, 2]))
/external/tensorflow/tensorflow/python/tools/
Dprint_selective_registration_header_test.py113 self.assertListEqual(
130 self.assertListEqual(
150 self.assertListEqual([
159 self.assertListEqual([
168 self.assertListEqual([
176 self.assertListEqual([
186 self.assertListEqual([
207 self.assertListEqual(
219 self.assertListEqual(
276 self.assertListEqual(expected.split('\n'), header.split('\n'))
/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/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/autotest/client/cros/power/
Dpower_telemetry_utils_unittest.py20 self.assertListEqual(interp_data, expected_interp_data)
34 self.assertListEqual(interp_data, expected_interp_data)
41 self.assertListEqual(interp_data, expected_interp_data)
48 self.assertListEqual(interp_data, expected_interp_data)
55 self.assertListEqual(interp_data, expected_interp_data)
/external/tensorflow/tensorflow/python/autograph/operators/
Dpy_builtins_test.py206 self.assertListEqual(list(py_builtins.range_(3)), [0, 1, 2])
207 self.assertListEqual(list(py_builtins.range_(1, 3)), [1, 2])
208 self.assertListEqual(list(py_builtins.range_(2, 0, -1)), [2, 1])
227 self.assertListEqual(
229 self.assertListEqual(
231 self.assertListEqual(list(py_builtins.enumerate_([-8], -3)), [(-3, -8)])
243 self.assertListEqual(
245 self.assertListEqual(
264 self.assertListEqual(
266 self.assertListEqual(
[all …]
Dexceptions_test.py70 self.assertListEqual(side_effect_trace, [])
86 self.assertListEqual(side_effect_trace, [tracer])
Dlogical_test.py41 self.assertListEqual(logical.and_(lambda: True, lambda: [1]), [1])
60 self.assertListEqual(logical.or_(lambda: False, lambda: [1]), [1])
/external/tensorflow/tensorflow/python/keras/layers/
Dmerge_test.py46 self.assertListEqual(o.shape.as_list(), [None, 4, 5])
79 self.assertListEqual(o.shape.as_list(), [None, 4, 5])
112 self.assertListEqual(o.shape.as_list(), [None, 4, 5])
127 self.assertListEqual(o.shape.as_list(), [None, 4, 5])
141 self.assertListEqual(o.shape.as_list(), [None, 4, 5])
155 self.assertListEqual(o.shape.as_list(), [None, 4, 5])
170 self.assertListEqual(o.shape.as_list(), [None, 8, 5])
189 self.assertListEqual(unit_length_o.shape.as_list(), i1.shape.as_list())
205 self.assertListEqual(o.shape.as_list(), [None, 1])
221 self.assertListEqual(o.shape.as_list(), [None, 1])
[all …]
/external/tensorflow/tensorflow/python/keras/engine/
Dnode_test.py49 self.assertListEqual(node.inbound_layers, [])
50 self.assertListEqual(node.input_tensors, [a])
51 self.assertListEqual(node.input_shapes, [(None, 32)])
52 self.assertListEqual(node.output_tensors, [a])
53 self.assertListEqual(node.output_shapes, [(None, 32)])
Dfunctional_test.py308 self.assertListEqual(model.non_trainable_weights, [])
311 self.assertListEqual(model.trainable_weights, [])
316 self.assertListEqual(model.non_trainable_weights, [])
319 self.assertListEqual(model.trainable_weights, [])
328 self.assertListEqual(model.non_trainable_weights, [])
331 self.assertListEqual(model.trainable_weights, [])
336 self.assertListEqual(model.non_trainable_weights, [])
339 self.assertListEqual(model.trainable_weights, [])
372 self.assertListEqual(a.shape.as_list(), [None, 32])
380 self.assertListEqual(node.inbound_layers, [])
[all …]
/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.py147 self.assertListEqual(self.info.labels, original_labels)
156 self.assertListEqual(self.info.labels, ['extra_label'])
163 self.assertListEqual(self.info.labels, ['extra_label'])
170 self.assertListEqual(self.info.labels, ['extra', 'cros-version:Z',
177 self.assertListEqual(self.info.labels, ['extra', 'cheets-version:Y',
208 self.assertListEqual(host_info.labels, labels)
/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_reshape_op_test.py280 self.assertListEqual(sp_output.indices.get_shape().as_list(), [None, 3])
281 self.assertListEqual(sp_output.dense_shape.get_shape().as_list(), [3])
288 self.assertListEqual(sp_output.indices.get_shape().as_list(), [5, 3])
289 self.assertListEqual(sp_output.dense_shape.get_shape().as_list(), [3])
297 self.assertListEqual(sp_output.indices.get_shape().as_list(), [5, None])
298 self.assertListEqual(sp_output.dense_shape.get_shape().as_list(), [None])
Dmetrics_test.py189 self.assertListEqual(ops.get_collection(my_collection_name), [mean])
196 self.assertListEqual(ops.get_collection(my_collection_name), [update_op])
370 self.assertListEqual(ops.get_collection(my_collection_name), [mean])
377 self.assertListEqual(ops.get_collection(my_collection_name), [update_op])
576 self.assertListEqual(ops.get_collection(my_collection_name), [mean])
585 self.assertListEqual(ops.get_collection(my_collection_name), [update_op])
772 self.assertListEqual(ops.get_collection(my_collection_name), [mean])
781 self.assertListEqual(ops.get_collection(my_collection_name), [update_op])
972 self.assertListEqual(ops.get_collection(my_collection_name), [mean])
981 self.assertListEqual(ops.get_collection(my_collection_name), [update_op])
[all …]
/external/tensorflow/tensorflow/python/keras/preprocessing/
Dimage_test.py67 self.assertListEqual(list(output.shape), [50, 50, 3])
69 self.assertListEqual(list(output.shape), [10, 10, 3])
71 self.assertListEqual(list(output.shape), [100, 50, 3])
73 self.assertListEqual(list(output.shape), [5, 15, 3])
89 self.assertListEqual(list(sample.shape), [size[0], size[1], 3])
/external/toolchain-utils/llvm_tools/
Dupdate_chromeos_llvm_hash_unittest.py137 self.assertListEqual(file_contents_as_a_list, expected_file_contents)
176 self.assertListEqual(file_contents_as_a_list, expected_file_contents)
497 self.assertListEqual(
541 self.assertListEqual(
704 self.assertListEqual(packages, ['path/to'])
/external/webrtc/tools_webrtc/presubmit_checks_lib/
Dbuild_helpers_test.py27 self.assertListEqual(expected_errors,
/external/llvm-project/clang/bindings/python/tests/cindex/
Dtest_exception_specification_kind.py35 self.assertListEqual(declarations, expected)
/external/autotest/server/cros/tradefed/
Dtradefed_utils_unittest.py389 self.assertListEqual(list(perf_result), expected_result)
396 self.assertListEqual(list(perf_result), [])

1234