Home
last modified time | relevance | path

Searched refs:test_utils (Results 1 – 25 of 384) sorted by relevance

12345678910>>...16

/external/federated-compute/fcp/demo/
Dtest_utils_test.py20 from fcp.demo import test_utils
26 checkpoint = test_utils.create_checkpoint({
32 test_utils.read_tensor_from_checkpoint(checkpoint, 'int', tf.int32), 3)
34 test_utils.read_tensor_from_checkpoint(checkpoint, 'str', tf.string),
37 test_utils.read_tensor_from_checkpoint(checkpoint, 'list',
41 checkpoint = test_utils.create_checkpoint({'int': 3})
43 test_utils.read_tensor_from_checkpoint(checkpoint, 'str', tf.string)
46 checkpoint = test_utils.create_checkpoint({'int': 3})
48 test_utils.read_tensor_from_checkpoint(checkpoint, 'int', tf.string)
Dcheckpoint_tensor_reference_test.py24 from fcp.demo import test_utils
33 return test_utils.create_checkpoint({TENSOR_NAME: TEST_VALUE})
48 return test_utils.create_checkpoint({TENSOR_NAME: TEST_VALUE})
67 return test_utils.create_checkpoint({'other': TEST_VALUE})
/external/python/apitools/apitools/gen/
Dgen_client_test.py22 from apitools.gen import test_utils
38 with test_utils.CaptureOutput() as (_, err):
45 with test_utils.TempDir() as tmp_dir_path:
60 with test_utils.TempDir() as tmp_dir_path:
84 with test_utils.TempDir() as tmp_dir_path:
99 with test_utils.TempDir() as tmp_dir_path:
114 with test_utils.TempDir() as tmp_dir_path:
128 with test_utils.TempDir() as tmp_dir_path:
Dclient_generation_test.py28 from apitools.gen import test_utils
44 @test_utils.SkipOnWindows
47 with test_utils.TempDir(change_to=True):
/external/angle/src/tests/
Dangle_perftests.gni39 "test_utils/ANGLETest.cpp",
40 "test_utils/ANGLETest.h",
41 "test_utils/MultiviewTest.cpp",
42 "test_utils/MultiviewTest.h",
43 "test_utils/draw_call_perf_utils.cpp",
44 "test_utils/draw_call_perf_utils.h",
63 "test_utils/third_party/vulkan_command_buffer_utils.cpp",
64 "test_utils/third_party/vulkan_command_buffer_utils.h",
Dangle_unittests.gni85 "test_utils/ShaderExtensionTest.h",
86 "test_utils/angle_test_instantiate.h",
87 "test_utils/compiler_test.cpp",
88 "test_utils/compiler_test.h",
156 "test_utils/ConstantFoldingTest.cpp",
157 "test_utils/ConstantFoldingTest.h",
158 "test_utils/ShaderCompileTreeTest.cpp",
159 "test_utils/ShaderCompileTreeTest.h",
186 angle_unittests_sources += [ "test_utils/runner/TestSuite_unittest.cpp" ]
/external/libgav1/examples/
Dfile_reader_test.cc45 test_utils::GetTestInputFilePath("ivf-signature-only"); in TEST()
53 test_utils::GetTestInputFilePath("five-frames.ivf"), in TEST()
54 test_utils::GetTestInputFilePath("ivf-header-and-truncated-frame-header"), in TEST()
55 test_utils::GetTestInputFilePath("ivf-header-only"), in TEST()
56 test_utils::GetTestInputFilePath("one-frame-truncated.ivf"), in TEST()
57 test_utils::GetTestInputFilePath("one-frame.ivf"), in TEST()
/external/skia/infra/bots/
Dzip_utils_test.py14 import test_utils
24 fw = test_utils.FileWriter(os.path.join(os.getcwd(), 'input'))
40 test_utils.compare_trees(self, 'input', 'output')
45 fw = test_utils.FileWriter(os.path.join(os.getcwd(), 'input'))
65 test_utils.compare_trees(self, 'input', 'output')
/external/libgav1/src/dsp/arm/
Dcommon_neon_test.cc64 EXPECT_TRUE(test_utils::CompareBlocks(expected_transpose_[0], output_4x4[0], in TEST_F()
79 EXPECT_TRUE(test_utils::CompareBlocks(expected_transpose_[0], output_8x4[0], in TEST_F()
93 EXPECT_TRUE(test_utils::CompareBlocks(expected_transpose_[0], output_8x8[0], in TEST_F()
108 EXPECT_TRUE(test_utils::CompareBlocks(expected_transpose_[0], output_16x8[0], in TEST_F()
125 EXPECT_TRUE(test_utils::CompareBlocks(expected_transpose_[0], output_4x4[0], in TEST_F()
141 EXPECT_TRUE(test_utils::CompareBlocks(expected_transpose_[0], output_4x8[0], in TEST_F()
165 EXPECT_TRUE(test_utils::CompareBlocks(expected_output[0], output_4x8[0], 8, 4, in TEST_F()
179 EXPECT_TRUE(test_utils::CompareBlocks(expected_transpose_[0], output_8x8[0], in TEST_F()
193 EXPECT_TRUE(test_utils::CompareBlocks(expected_transpose_[0], output_8x8[0], in TEST_F()
/external/tink-java/kokoro/testutils/
DBUILD.bazel6 name = "test_utils",
7 srcs = ["test_utils.sh"],
21 "$(rlocationpath :test_utils)",
25 ":test_utils",
/external/ltp/testcases/kernel/sched/eas/
Dsched_boost.c35 static int test_utils[NUM_TESTS]; variable
103 test_utils[test_index] = max_util_seen; in parse_results()
128 if (test_utils[i] < target_util - TEST_MARGIN || in check_results()
129 test_utils[i] > target_util + TEST_MARGIN) in check_results()
132 i, test_boost[i], test_utils[i], in check_results()
138 i, test_boost[i], test_utils[i], in check_results()
/external/autotest/client/site_tests/network_ChromeWifiConfigure/
Dnetwork_ChromeWifiConfigure.py12 from autotest_lib.client.cros.networking.chrome_testing import test_utils
25 value = test_utils.get_ui_property(network, property_name)
42 guid = test_utils.call_test_function_check_success(
49 network = test_utils.call_test_function_check_success(
/external/tensorflow/tensorflow/compiler/tests/
Dconv2d_test.py24 from tensorflow.compiler.tests import test_utils
75 expected = test_utils.ConvertBetweenDataFormats(expected, data_format_src,
77 x1 = test_utils.ConvertBetweenDataFormats(x1, data_format_src,
79 input_sizes = test_utils.PermuteDimsBetweenDataFormats(
81 strides = test_utils.PermuteDimsBetweenDataFormats(strides, data_format_src,
83 dilations = test_utils.PermuteDimsBetweenDataFormats(
273 expected = test_utils.ConvertBetweenDataFormats(expected, data_format_src,
275 x2 = test_utils.ConvertBetweenDataFormats(x2, data_format_src,
277 input_sizes = test_utils.PermuteDimsBetweenDataFormats(
279 out_backprop_sizes = test_utils.PermuteDimsBetweenDataFormats(
[all …]
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_sslproto.py19 from test.test_asyncio import utils as test_utils unknown
28 class SslProtoHandshakeTests(test_utils.TestCase):
36 sslcontext = test_utils.dummy_ssl_context()
58 sslcontext = test_utils.dummy_ssl_context()
66 sslcontext = test_utils.dummy_ssl_context()
81 test_utils.run_briefly(self.loop)
109 test_utils.run_briefly(self.loop)
169 test_utils.run_briefly(self.loop)
288 server_context = test_utils.simple_server_sslcontext()
289 client_context = test_utils.simple_client_sslcontext()
[all …]
Dtest_ssl.py24 from test.test_asyncio import utils as test_utils unknown
80 class TestSSL(test_utils.TestCase):
94 test_utils.run_briefly(self.loop)
206 test_utils.ONLYCERT, test_utils.ONLYKEY
302 test_utils.ONLYCERT,
303 test_utils.ONLYKEY
428 test_utils.ONLYCERT,
429 test_utils.ONLYKEY
463 client_sslctx = test_utils.simple_client_sslcontext()
507 client_sslctx = test_utils.simple_client_sslcontext()
[all …]
Dtest_events.py34 from test.test_asyncio import utils as test_utils unknown
271 test_utils.run_briefly(self.loop)
300 self.assertGreaterEqual(dt, delay - test_utils.CLOCK_RES)
417 test_utils.run_until(self.loop, lambda: len(bytes_read) >= 3)
419 test_utils.run_until(self.loop, lambda: len(bytes_read) >= 6)
480 test_utils.run_until(self.loop, lambda: caught)
540 with test_utils.run_test_server() as httpd:
551 with test_utils.run_test_unix_server() as httpd:
602 conn_fut = create_connection(ssl=test_utils.dummy_ssl_context())
616 return test_utils.dummy_ssl_context()
[all …]
/external/tensorflow/tensorflow/lite/tools/
Dvisualize_test.py19 from tensorflow.lite.tools import test_utils
34 model = test_utils.build_mock_flatbuffer_model()
36 self.assertEqual(test_utils.TFLITE_SCHEMA_VERSION, model_dict['version'])
44 model = test_utils.build_mock_flatbuffer_model()
/external/pytorch/torch/testing/_internal/optests/
Dgenerate_tests.py161 test_utils: List[str] = DEFAULT_TEST_UTILS,
213 validate_failures_dict_structure(failures_dict, test_utils, testcase)
275 test_utils = {name: ALL_TEST_UTILS[name] for name in test_utils}
277 for prefix, tester in test_utils.items():
364 failure_dict: "FailuresDict", test_utils: List[str], testcase: Any
409 if not any(actual_test_name.startswith(test) for test in test_utils):
413 for test in test_utils:
626 test_utils: Union[str, Sequence[str]] = DEFAULT_TEST_UTILS,
642 if test_utils == "ALL":
643 test_utils = tuple(ALL_TEST_UTILS.keys())
[all …]
/external/rust/android-crates-io/crates/mls-rs/src/group/interop_test_vectors/
Dtree_modifications.rs12 client::test_utils::{TEST_CIPHER_SUITE, TEST_PROTOCOL_VERSION},
13 crypto::test_utils::{test_cipher_suite_provider, try_test_cipher_suite_provider},
16 proposal_cache::test_utils::CommitReceiver,
18 test_utils::TEST_GROUP,
22 key_package::test_utils::test_key_package,
24 leaf_node::test_utils::default_properties, node::NodeVec, test_utils::TreeWithSigners,
/external/bsdiff/
Dpatch_writer_unittest.cc55 test_utils::ScopedTempFile patch_file_{"bsdiff_newfile.XXXXXX"};
62 test_utils::BsdiffPatchFile patch; in TEST_F()
79 test_utils::BsdiffPatchFile patch; in TEST_F()
101 test_utils::BsdiffPatchFile patch; in TEST_F()
/external/iamf_tools/iamf/obu/decoder_config/tests/
DBUILD10 "//iamf/common/utils/tests:test_utils",
25 "//iamf/common/utils/tests:test_utils",
40 "//iamf/common/utils/tests:test_utils",
55 "//iamf/common/utils/tests:test_utils",
/external/python/bumble/tests/
Drfcomm_test.py22 from . import test_utils
66 devices = test_utils.TwoDevices()
95 devices = await test_utils.TwoDevices.create_with_connection()
122 devices = test_utils.TwoDevices()
139 devices = test_utils.TwoDevices()
/external/federated-compute/fcp/artifact_building/
Dtest_utils_test.py21 from fcp.artifact_building import test_utils
33 test_utils.set_checkpoint_op(checkpoint_op, saver)
39 test_utils.set_checkpoint_op(checkpoint_op, None)
/external/rust/android-crates-io/crates/mls-rs/src/group/
Dproposal_ref.rs49 pub(crate) mod test_utils { module
51 use crate::group::test_utils::{random_bytes, TEST_GROUP};
83 use super::test_utils::auth_content_from_proposal;
86 crypto::test_utils::{test_cipher_suite_provider, try_test_cipher_suite_provider},
87 key_package::test_utils::test_key_package,
88 tree_kem::leaf_node::test_utils::get_basic_test_node,
Depoch.rs122 pub(crate) mod test_utils { module
127 use crate::crypto::test_utils::test_cipher_suite_provider;
130 use crate::group::secret_tree::test_utils::get_test_tree;
133 use crate::group::test_utils::get_test_group_context_with_id;
135 use crate::group::test_utils::random_bytes;

12345678910>>...16