Home
last modified time | relevance | path

Searched refs:assertItemsEqual (Results 1 – 25 of 84) sorted by relevance

1234

/external/tensorflow/tensorflow/python/debug/lib/
Dcommon_test.py36 self.assertItemsEqual(["a:0"], loaded[0])
37 self.assertItemsEqual(["b:0"], loaded[1])
45 self.assertItemsEqual(["a:0"], loaded[0])
46 self.assertItemsEqual(["a:0", "b:0"], loaded[1])
57 self.assertItemsEqual([], loaded[0])
58 self.assertItemsEqual(["a:0", "b:0", "c:0", "d:0"], loaded[1])
Dstepper_test.py104 self.assertItemsEqual(["a/read:0", "b/read:0"],
114 self.assertItemsEqual(["a/read:0", "b/read:0", "d:0"],
144 self.assertItemsEqual(["a/read:0", "b/read:0"],
158 self.assertItemsEqual(["a/read:0", "b/read:0", "d:0"],
168 self.assertItemsEqual(["a/read:0", "b/read:0"],
186 self.assertItemsEqual(["a/read:0", "b/read:0"],
623 self.assertItemsEqual(["v/read:0", "p:0"],
633 self.assertItemsEqual(["v:0"], stepper.dirty_variables())
636 self.assertItemsEqual(["delta:0"], stepper.intermediate_tensor_names())
652 self.assertItemsEqual(["v/read:0", "p:0"],
[all …]
Ddebug_data_test.py224 self.assertItemsEqual(
234 self.assertItemsEqual(["node_foo_1", "node_foo_1", "node_foo_1"],
236 self.assertItemsEqual(
/external/python/cpython2/Lib/test/
Dtest_cgi.py145 self.assertItemsEqual(expect.keys(), fcd.keys())
146 self.assertItemsEqual(expect.values(), fcd.values())
147 self.assertItemsEqual(expect.items(), fcd.items())
150 self.assertItemsEqual(sd.keys(), fs.keys())
156 self.assertItemsEqual(fcd[key], expect[key])
172 self.assertItemsEqual(sd.getlist(key), expect_val)
174 self.assertItemsEqual(sd.values(),
176 self.assertItemsEqual(sd.items(),
188 self.assertItemsEqual(expect.values(), d.values())
Dtest_glob.py52 self.assertItemsEqual(glob.iglob(p), res)
54 self.assertItemsEqual(glob.glob(fsdecode(p)), ures)
55 self.assertItemsEqual(glob.iglob(fsdecode(p)), ures)
/external/v8/tools/ignition/
Dlinux_perf_report_test.py87 self.assertItemsEqual(counters, [
99 self.assertItemsEqual(counters, [
111 self.assertItemsEqual(counters, [
122 self.assertItemsEqual(counters, [("bar", 3)])
/external/tensorflow/tensorflow/python/autograph/core/
Dnaming_test.py31 self.assertItemsEqual(('tf__bar', 'tf__foo'), namer.generated_names)
58 self.assertItemsEqual(('temp',), namer.generated_names)
64 self.assertItemsEqual(('temp', 'temp_1'), namer.generated_names)
72 self.assertItemsEqual(('temp_1', 'temp_3'), namer.generated_names)
/external/tensorflow/tensorflow/python/kernel_tests/random/
Drandom_shuffle_queue_test.py94 self.assertItemsEqual([(1, [5]), (2, [6]), (3, [7]), (4, [8]), (9, [10])],
121 self.assertItemsEqual(elems, results)
145 self.assertItemsEqual(elems, results)
158 self.assertItemsEqual(elems, vals)
187 self.assertItemsEqual(elems, results)
204 self.assertItemsEqual(elems, results)
236 self.assertItemsEqual(elems + elems, results)
329 self.assertItemsEqual(expected, results)
342 self.assertItemsEqual(elems, results)
355 self.assertItemsEqual(elems, results)
[all …]
/external/python/cpython2/Lib/unittest/test/
Dtest_case.py709 self.assertItemsEqual([1, 2, 3], [3, 2, 1])
710 self.assertItemsEqual(['foo', 'bar', 'baz'], ['bar', 'baz', 'foo'])
711 self.assertItemsEqual([a, a, 2, 2, 3], (a, 2, 3, a, 2))
712 self.assertItemsEqual([1, "2", "a", "a"], ["a", "2", True, "a"])
713 self.assertRaises(self.failureException, self.assertItemsEqual,
715 self.assertRaises(self.failureException, self.assertItemsEqual,
717 self.assertRaises(self.failureException, self.assertItemsEqual,
719 self.assertRaises(self.failureException, self.assertItemsEqual,
721 self.assertRaises(self.failureException, self.assertItemsEqual,
725 self.assertItemsEqual([[1, 2], [3, 4], 0], [False, [3, 4], [1, 2]])
[all …]
/external/tensorflow/tensorflow/python/lib/io/
Dfile_io_test.py147 self.assertItemsEqual(
150 self.assertItemsEqual(file_io.get_matching_files(tuple()), [])
154 self.assertItemsEqual(
254 self.assertItemsEqual(files + ["sub_dir"], dir_list)
288 self.assertItemsEqual(all_dirs, [dir_path] + [
297 self.assertItemsEqual(all_subdirs[1:5], [[], ["subdir2"], [], []])
298 self.assertItemsEqual(all_subdirs[0],
300 self.assertItemsEqual(all_files, [["file1.txt"], ["file2.txt"], [], [], []])
315 self.assertItemsEqual(all_dirs, [
324 self.assertItemsEqual(all_subdirs[0:4], [[], [], ["subdir2"], []])
[all …]
/external/toolchain-utils/crosperf/
Dgenerate_report_unittest.py47 self.assertItemsEqual(expected_results, results)
80 self.assertItemsEqual(original_bench_data.keys(), bench_data.keys())
132 self.assertItemsEqual(ctors, [
145 self.assertItemsEqual(ctors, [results_report.HTMLResultsReport])
/external/tensorflow/tensorflow/contrib/rnn/python/tools/
Dcheckpoint_convert_test.py69 self.assertItemsEqual(
83 self.assertItemsEqual(["a"], new_var_map.keys())
98 self.assertItemsEqual(
/external/tensorflow/tensorflow/python/kernel_tests/
Dio_ops_test.py124 self.assertItemsEqual(io_ops.matching_files([]).eval(), [])
127 self.assertItemsEqual(
133 self.assertItemsEqual(
/external/chromium-trace/catapult/devil/devil/android/
Dflag_changer_devicetest.py67 self.assertItemsEqual(
72 self.assertItemsEqual(
Dflag_changer_test.py115 self.assertItemsEqual(flags, expected_flags)
122 self.assertItemsEqual(new_flags, expected_flags)
/external/tensorflow/tensorflow/python/framework/
Dops_test.py1848 self.assertItemsEqual([a_1.op, a_2.op, a_3.op, a_4.op],
1850 self.assertItemsEqual(b_1.op.control_inputs, b_2.op.control_inputs)
1878 self.assertItemsEqual([a_3.op, a_4.op], b_3_4.op.control_inputs)
1879 self.assertItemsEqual([a_3.op], b_3.op.control_inputs)
1880 self.assertItemsEqual([], b_none.op.control_inputs)
1881 self.assertItemsEqual([a_1.op, a_2.op], b_1_2.op.control_inputs)
1882 self.assertItemsEqual([a_1.op], b_1.op.control_inputs)
1883 self.assertItemsEqual([], b_none2.op.control_inputs)
1937 self.assertItemsEqual([a_1.op], b_1.op.control_inputs)
1938 self.assertItemsEqual([a_1.op, a_2.op], b_2.op.control_inputs)
[all …]
/external/llvm/utils/lit/tests/unit/
DTestRunner.py92 self.assertItemsEqual(list_parser.getValue(),
109 self.assertItemsEqual(value, ['a', 'b', 'c'])
/external/tensorflow/tensorflow/contrib/slim/python/slim/nets/
Dinception_v1_test.py67 self.assertItemsEqual(end_points.keys(), expected_endpoints)
85 self.assertItemsEqual(endpoints[:index + 1], end_points)
113 self.assertItemsEqual(endpoints_shapes.keys(), end_points.keys())
Dinception_v2_test.py66 self.assertItemsEqual(end_points.keys(), expected_endpoints)
83 self.assertItemsEqual(endpoints[:index + 1], end_points)
109 self.assertItemsEqual(endpoints_shapes.keys(), end_points.keys())
Dinception_v3_test.py67 self.assertItemsEqual(end_points.keys(), expected_endpoints)
86 self.assertItemsEqual(endpoints[:index + 1], end_points)
115 self.assertItemsEqual(endpoints_shapes.keys(), end_points.keys())
/external/tensorflow/tensorflow/python/grappler/
Dgraph_placer_test.py114 self.assertItemsEqual([node.name for node in placed_mg.graph_def.node],
132 self.assertItemsEqual([node.name for node in placed_mg.graph_def.node],
Ditem_test.py60 self.assertItemsEqual(['Const', 'Const_1', 'add'], op_list)
124 self.assertItemsEqual(
/external/autotest/client/bin/
Dlocal_host_unittest.py154 self.assertItemsEqual(
170 self.assertItemsEqual(
185 self.assertItemsEqual(
/external/tensorflow/tensorflow/python/feature_column/
Dfeature_column_test.py855 self.assertItemsEqual(
857 self.assertItemsEqual([], ops.get_collection('my_weights'))
1717 self.assertItemsEqual(all_cols, cols_to_output_tensors.keys())
1720 self.assertItemsEqual(input_layer_inputs, output_tensors)
2844 self.assertItemsEqual(list(cols_to_vars.keys()), all_cols)
2894 self.assertItemsEqual(list(cols_to_vars.keys()), all_cols)
2930 self.assertItemsEqual(list(cols_to_vars.keys()), all_cols)
3046 self.assertItemsEqual(
3080 self.assertItemsEqual(
3132 self.assertItemsEqual(
[all …]
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dlist_files_test.py103 self.assertItemsEqual(expected_filenames, all_actual_filenames[0])
184 self.assertItemsEqual(expected_filenames, actual_filenames)

1234