Home
last modified time | relevance | path

Searched refs:assertSequenceEqual (Results 1 – 25 of 50) sorted by relevance

12

/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/
Dcache_dataset_serialization_test.py64 self.assertSequenceEqual(outputs, range(5))
74 self.assertSequenceEqual(outputs, self.expected_outputs())
86 self.assertSequenceEqual(outputs, range(8))
96 self.assertSequenceEqual(outputs, self.expected_outputs())
116 self.assertSequenceEqual(outputs, list(range(10)) + list(range(5)))
126 self.assertSequenceEqual(outputs, self.expected_outputs())
138 self.assertSequenceEqual(outputs, list(range(10)) + list(range(8)))
145 self.assertSequenceEqual(outputs, list(range(10)) * 3)
157 self.assertSequenceEqual(outputs, list(range(10)) + list(range(3)))
169 self.assertSequenceEqual(outputs, list(range(10)) * 3)
[all …]
Dcheckpoint_input_pipeline_hook_test.py80 self.assertSequenceEqual(self._read_vars(est.model_dir), (2, 1))
82 self.assertSequenceEqual(self._read_vars(est.model_dir), (4, 3))
94 self.assertSequenceEqual(self._read_vars(est.model_dir), (2, 1))
96 self.assertSequenceEqual(self._read_vars(est.model_dir), (4, 3))
106 self.assertSequenceEqual(self._read_vars(est.model_dir), (2, 1))
108 self.assertSequenceEqual(self._read_vars(est.model_dir), (4, 3))
111 self.assertSequenceEqual(self._read_vars(est.model_dir), (6, 1))
Dparallel_interleave_dataset_serialization_test.py74 self.assertSequenceEqual(sorted(actual), expected_outputs)
Dserialization_integration_test.py81 self.assertSequenceEqual(sorted(output), range(num_outputs))
/external/tensorflow/tensorflow/python/framework/
Dfunction_def_to_graph_test.py64 self.assertSequenceEqual(inputs, [2.0, 3.0])
66 self.assertSequenceEqual(outputs, [13.0, 35.0])
80 self.assertSequenceEqual(g.inputs[0].shape.dims, [5])
81 self.assertSequenceEqual(g.inputs[1].shape.dims, [5])
82 self.assertSequenceEqual(g.outputs[0].shape.dims, [5])
83 self.assertSequenceEqual(g.outputs[1].shape.dims, [5])
88 self.assertSequenceEqual(g.inputs[1].shape.dims, [5, 7])
89 self.assertSequenceEqual(g.outputs[0].shape.dims, [5, 7])
90 self.assertSequenceEqual(g.outputs[1].shape.dims, [5, 7])
151 self.assertSequenceEqual(g.node[3].input, ["x:0", "y:0", "z:0"])
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dwhile_v2_test.py56 self.assertSequenceEqual(self.evaluate(grad), [32.])
69 self.assertSequenceEqual(sess.run(grad), [32.])
118 self.assertSequenceEqual(self.evaluate(ret), [45., 3.])
119 self.assertSequenceEqual(self.evaluate(grad), [9.])
144 self.assertSequenceEqual(self.evaluate(ret), [120., 23.])
145 self.assertSequenceEqual(self.evaluate(gradx_0), [39.])
146 self.assertSequenceEqual(self.evaluate(gradx_1), [4.])
147 self.assertSequenceEqual(self.evaluate(gradx_2), [43.])
148 self.assertSequenceEqual(self.evaluate(grady_0), [55.])
149 self.assertSequenceEqual(self.evaluate(grady_1), [6.])
[all …]
Dcond_v2_test.py436 self.assertSequenceEqual(
441 self.assertSequenceEqual(
446 self.assertSequenceEqual(
451 self.assertSequenceEqual(
499 self.assertSequenceEqual(
504 self.assertSequenceEqual(
509 self.assertSequenceEqual(
514 self.assertSequenceEqual(
557 self.assertSequenceEqual(
562 self.assertSequenceEqual(
[all …]
Dtemplate_test.py371 self.assertSequenceEqual(tmpl2.variables, [v5, v6])
372 self.assertSequenceEqual(tmpl2.trainable_variables, [v5, v6])
449 self.assertSequenceEqual(v1, v2)
738 self.assertSequenceEqual(v1, v2)
/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py770 self.assertSequenceEqual([], m.repeated_int32)
775 self.assertSequenceEqual([], m.repeated_int32)
778 self.assertSequenceEqual([], m.repeated_int32)
783 self.assertSequenceEqual([], m.repeated_float)
788 self.assertSequenceEqual([], m.repeated_float)
791 self.assertSequenceEqual([], m.repeated_float)
796 self.assertSequenceEqual([], m.repeated_string)
801 self.assertSequenceEqual([], m.repeated_string)
804 self.assertSequenceEqual([], m.repeated_string)
809 self.assertSequenceEqual([], m.repeated_int32)
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/reflection/
D_reflection_servicer_test.py83 self.assertSequenceEqual(expected_responses, responses)
107 self.assertSequenceEqual(expected_responses, responses)
136 self.assertSequenceEqual(expected_responses, responses)
161 self.assertSequenceEqual(expected_responses, responses)
172 self.assertSequenceEqual(expected_responses, responses)
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_interceptor_test.py413 self.assertSequenceEqual(self._record, [
436 self.assertSequenceEqual(self._record, [
459 self.assertSequenceEqual(self._record, [
480 self.assertSequenceEqual(self._record, [
501 self.assertSequenceEqual(self._record, [
524 self.assertSequenceEqual(self._record, [
548 self.assertSequenceEqual(self._record, [
571 self.assertSequenceEqual(self._record, [
594 self.assertSequenceEqual(self._record, [
D_channel_connectivity_test.py77 self.assertSequenceEqual((grpc.ChannelConnectivity.IDLE,),
112 self.assertSequenceEqual((grpc.ChannelConnectivity.IDLE,),
114 self.assertSequenceEqual((grpc.ChannelConnectivity.IDLE,),
D_empty_message_test.py105 self.assertSequenceEqual([_RESPONSE] * test_constants.STREAM_LENGTH,
116 self.assertSequenceEqual([_RESPONSE] * test_constants.STREAM_LENGTH,
D_auth_context_test.py140 self.assertSequenceEqual([b'ssl'], auth_ctx['transport_security_type'])
141 self.assertSequenceEqual([b'*.test.google.com'],
D_api_test.py88 self.assertSequenceEqual((
/external/tensorflow/tensorflow/contrib/gan/python/estimator/python/
Dlatent_gan_estimator_test.py65 self.assertSequenceEqual(net.shape, input_z_shape)
75 self.assertSequenceEqual(net.shape, true_labels.shape)
77 self.assertSequenceEqual(net.shape, input_z_shape)
/external/python/cpython3/Lib/test/
Dtest_capi.py84 … self.assertSequenceEqual(orig_exc_info, (raised_exception.__class__, raised_exception, tb))
85 self.assertSequenceEqual(orig_sys_exc_info, orig_exc_info)
86 self.assertSequenceEqual(reset_sys_exc_info, orig_exc_info)
87 self.assertSequenceEqual(new_exc_info, (new_exc.__class__, new_exc, None))
88 self.assertSequenceEqual(new_sys_exc_info, new_exc_info)
Dtest_compare.py71 self.assertSequenceEqual(calls, ['Left.__eq__', 'Right.__ne__'])
89 self.assertSequenceEqual(calls, ['Derived.__ne__', 'Base.__eq__'])
Dtest_sndhdr.py21 self.assertSequenceEqual(what, expected)
/external/python/cpython3/Lib/unittest/test/
Dtest_case.py739 self.assertSequenceEqual([], ())
748 self.assertSequenceEqual, a, tuple(b))
753 self.assertSequenceEqual(a, tuple(b))
754 self.assertSequenceEqual(tuple(a), b)
763 self.assertRaises(self.failureException, self.assertSequenceEqual,
767 self.assertRaises(self.failureException, self.assertSequenceEqual,
800 self.assertSequenceEqual(seq1, seq2)
810 self.assertSequenceEqual(seq1, seq2)
820 self.assertSequenceEqual(seq1, seq2)
1159 self.assertSequenceEqual(a, tuple(b))
[all …]
/external/python/cpython2/Lib/unittest/test/
Dtest_case.py545 self.assertSequenceEqual([], ())
554 self.assertSequenceEqual, a, tuple(b))
559 self.assertSequenceEqual(a, tuple(b))
560 self.assertSequenceEqual(tuple(a), b)
569 self.assertRaises(self.failureException, self.assertSequenceEqual,
573 self.assertRaises(self.failureException, self.assertSequenceEqual,
605 self.assertSequenceEqual(seq1, seq2)
615 self.assertSequenceEqual(seq1, seq2)
625 self.assertSequenceEqual(seq1, seq2)
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dshuffle_and_repeat_test.py49 self.assertSequenceEqual(
53 self.assertSequenceEqual(sorted(output[i * 20:(i + 1) * 20]), range(20))
/external/grpc-grpc/src/python/grpcio_tests/tests/_sanity/
D_sanity_test.py42 self.assertSequenceEqual(tests_json, test_suite_names)
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/framework/foundation/
D_logging_pool_test.py68 self.assertSequenceEqual((passed_object,),
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/_cython/
D_no_messages_single_server_completion_queue_test.py122 self.assertSequenceEqual(expecteds, actuallys)

12