Home
last modified time | relevance | path

Searched refs:py (Results 1 – 25 of 8385) sorted by relevance

12345678910>>...336

/external/tensorflow/tensorflow/compiler/xla/python/
Dops.cc41 namespace py = pybind11;
43 void BuildOpsSubmodule(py::module* m) { in BuildOpsSubmodule()
46 py::module ops = m->def_submodule("ops", "XLA operations"); in BuildOpsSubmodule()
48 py::enum_<TriangularSolveOptions::Transpose>( in BuildOpsSubmodule()
55 py::enum_<RandomAlgorithm>(ops, "RandomAlgorithm") in BuildOpsSubmodule()
60 py::enum_<CustomCallSchedule>(ops, "CustomCallSchedule") in BuildOpsSubmodule()
65 py::enum_<CustomCallApiVersion>(ops, "CustomCallApiVersion") in BuildOpsSubmodule()
72 ops.def("AfterAll", &AfterAll, py::arg("builder"), py::arg("tokens")); in BuildOpsSubmodule()
73 ops.def("AllGather", &AllGather, py::arg("operand"), in BuildOpsSubmodule()
74 py::arg("all_gather_dimension"), py::arg("shard_count"), in BuildOpsSubmodule()
[all …]
/external/tensorflow/tensorflow/python/tools/api/generator/
Dapi_init_files.bzl1 """TensorFlow V2 API __init__.py files."""
6 "__init__.py",
7 "__internal__/__init__.py",
8 "__internal__/autograph/__init__.py",
9 "__internal__/decorator/__init__.py",
10 "__internal__/dispatch/__init__.py",
11 "__internal__/distribute/__init__.py",
12 "__internal__/distribute/combinations/__init__.py",
13 "__internal__/distribute/interim/__init__.py",
14 "__internal__/distribute/multi_process_runner/__init__.py",
[all …]
Dapi_init_files_v1.bzl1 """TensorFlow V1 API __init__.py files."""
6 "__init__.py",
7 "app/__init__.py",
8 "audio/__init__.py",
9 "autograph/__init__.py",
10 "autograph/experimental/__init__.py",
11 "bitwise/__init__.py",
12 "compat/__init__.py",
13 "config/__init__.py",
14 "config/experimental/__init__.py",
[all …]
/external/angle/build/android/
Dtest_runner.pydeps2 # build/print_python_deps.py --root build/android --output build/android/test_runner.pydeps build…
3 ../../third_party/catapult/common/py_trace_event/py_trace_event/__init__.py
4 ../../third_party/catapult/common/py_trace_event/py_trace_event/trace_event.py
5 ../../third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/__init__.py
6 ../../third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py
7 ../../third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/log.py
8 ../../third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/meta_class.py
9 …/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/multiprocessing_shim.py
10 …hird_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/perfetto_proto_classes.py
11 …third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/perfetto_trace_writer.py
[all …]
Dapk_operations.pydeps2 … build/print_python_deps.py --root build/android --output build/android/apk_operations.pydeps bui…
3 ../../third_party/catapult/common/py_utils/py_utils/__init__.py
4 ../../third_party/catapult/common/py_utils/py_utils/cloud_storage.py
5 ../../third_party/catapult/common/py_utils/py_utils/cloud_storage_global_lock.py
6 ../../third_party/catapult/common/py_utils/py_utils/lock.py
7 ../../third_party/catapult/common/py_utils/py_utils/tempfile_ext.py
8 ../../third_party/catapult/dependency_manager/dependency_manager/__init__.py
9 ../../third_party/catapult/dependency_manager/dependency_manager/archive_info.py
10 ../../third_party/catapult/dependency_manager/dependency_manager/base_config.py
11 ../../third_party/catapult/dependency_manager/dependency_manager/cloud_storage_info.py
[all …]
Dresource_sizes.pydeps2 … build/print_python_deps.py --root build/android --output build/android/resource_sizes.pydeps bui…
3 ../../third_party/catapult/common/py_utils/py_utils/__init__.py
4 ../../third_party/catapult/common/py_utils/py_utils/cloud_storage.py
5 ../../third_party/catapult/common/py_utils/py_utils/cloud_storage_global_lock.py
6 ../../third_party/catapult/common/py_utils/py_utils/lock.py
7 ../../third_party/catapult/dependency_manager/dependency_manager/__init__.py
8 ../../third_party/catapult/dependency_manager/dependency_manager/archive_info.py
9 ../../third_party/catapult/dependency_manager/dependency_manager/base_config.py
10 ../../third_party/catapult/dependency_manager/dependency_manager/cloud_storage_info.py
11 ../../third_party/catapult/dependency_manager/dependency_manager/dependency_info.py
[all …]
/external/cronet/stable/build/android/
Dtest_runner.pydeps2 # build/print_python_deps.py --root build/android --output build/android/test_runner.pydeps build…
3 ../../third_party/catapult/common/py_trace_event/py_trace_event/__init__.py
4 ../../third_party/catapult/common/py_trace_event/py_trace_event/trace_event.py
5 ../../third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/__init__.py
6 ../../third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py
7 ../../third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/log.py
8 ../../third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/meta_class.py
9 …/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/multiprocessing_shim.py
10 …hird_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/perfetto_proto_classes.py
11 …third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/perfetto_trace_writer.py
[all …]
Dapk_operations.pydeps2 … build/print_python_deps.py --root build/android --output build/android/apk_operations.pydeps bui…
3 ../../third_party/catapult/common/py_utils/py_utils/__init__.py
4 ../../third_party/catapult/common/py_utils/py_utils/cloud_storage.py
5 ../../third_party/catapult/common/py_utils/py_utils/cloud_storage_global_lock.py
6 ../../third_party/catapult/common/py_utils/py_utils/lock.py
7 ../../third_party/catapult/common/py_utils/py_utils/tempfile_ext.py
8 ../../third_party/catapult/dependency_manager/dependency_manager/__init__.py
9 ../../third_party/catapult/dependency_manager/dependency_manager/archive_info.py
10 ../../third_party/catapult/dependency_manager/dependency_manager/base_config.py
11 ../../third_party/catapult/dependency_manager/dependency_manager/cloud_storage_info.py
[all …]
Dresource_sizes.pydeps2 … build/print_python_deps.py --root build/android --output build/android/resource_sizes.pydeps bui…
3 ../../third_party/catapult/common/py_utils/py_utils/__init__.py
4 ../../third_party/catapult/common/py_utils/py_utils/cloud_storage.py
5 ../../third_party/catapult/common/py_utils/py_utils/cloud_storage_global_lock.py
6 ../../third_party/catapult/common/py_utils/py_utils/lock.py
7 ../../third_party/catapult/dependency_manager/dependency_manager/__init__.py
8 ../../third_party/catapult/dependency_manager/dependency_manager/archive_info.py
9 ../../third_party/catapult/dependency_manager/dependency_manager/base_config.py
10 ../../third_party/catapult/dependency_manager/dependency_manager/cloud_storage_info.py
11 ../../third_party/catapult/dependency_manager/dependency_manager/dependency_info.py
[all …]
/external/cronet/tot/build/android/
Dtest_runner.pydeps2 # build/print_python_deps.py --root build/android --output build/android/test_runner.pydeps build…
3 ../../third_party/catapult/common/py_trace_event/py_trace_event/__init__.py
4 ../../third_party/catapult/common/py_trace_event/py_trace_event/trace_event.py
5 ../../third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/__init__.py
6 ../../third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py
7 ../../third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/log.py
8 ../../third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/meta_class.py
9 …/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/multiprocessing_shim.py
10 …hird_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/perfetto_proto_classes.py
11 …third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/perfetto_trace_writer.py
[all …]
Dapk_operations.pydeps2 … build/print_python_deps.py --root build/android --output build/android/apk_operations.pydeps bui…
3 ../../third_party/catapult/common/py_utils/py_utils/__init__.py
4 ../../third_party/catapult/common/py_utils/py_utils/cloud_storage.py
5 ../../third_party/catapult/common/py_utils/py_utils/cloud_storage_global_lock.py
6 ../../third_party/catapult/common/py_utils/py_utils/lock.py
7 ../../third_party/catapult/common/py_utils/py_utils/tempfile_ext.py
8 ../../third_party/catapult/dependency_manager/dependency_manager/__init__.py
9 ../../third_party/catapult/dependency_manager/dependency_manager/archive_info.py
10 ../../third_party/catapult/dependency_manager/dependency_manager/base_config.py
11 ../../third_party/catapult/dependency_manager/dependency_manager/cloud_storage_info.py
[all …]
Dresource_sizes.pydeps2 … build/print_python_deps.py --root build/android --output build/android/resource_sizes.pydeps bui…
3 ../../third_party/catapult/common/py_utils/py_utils/__init__.py
4 ../../third_party/catapult/common/py_utils/py_utils/cloud_storage.py
5 ../../third_party/catapult/common/py_utils/py_utils/cloud_storage_global_lock.py
6 ../../third_party/catapult/common/py_utils/py_utils/lock.py
7 ../../third_party/catapult/dependency_manager/dependency_manager/__init__.py
8 ../../third_party/catapult/dependency_manager/dependency_manager/archive_info.py
9 ../../third_party/catapult/dependency_manager/dependency_manager/base_config.py
10 ../../third_party/catapult/dependency_manager/dependency_manager/cloud_storage_info.py
11 ../../third_party/catapult/dependency_manager/dependency_manager/dependency_info.py
[all …]
/external/scapy/.config/mypy/
Dmypy_enabled.txt8 scapy/__init__.py
9 scapy/__main__.py
10 scapy/all.py
11 scapy/ansmachine.py
12 scapy/arch/__init__.py
13 scapy/arch/bpf/__init__.py
14 scapy/arch/bpf/consts.py
15 scapy/arch/bpf/core.py
16 scapy/arch/bpf/supersocket.py
17 scapy/arch/common.py
[all …]
/external/libxml2/python/tests/
Dmeson.build4 'attribs.py',
5 'build.py',
6 'compareNodes.py',
7 'ctxterror.py',
8 'cutnpaste.py',
9 'dtdvalid.py',
10 'error.py',
11 'inbuf.py',
12 'indexes.py',
13 'input_callback.py',
[all …]
DMakefile.am2 build.py \
3 attribs.py \
4 tst.py \
5 tstxpath.py \
6 xpathext.py \
7 push.py \
8 pushSAX.py \
9 pushSAXhtml.py \
10 error.py \
11 serialize.py\
[all …]
/external/pigweed/pw_console/py/
DBUILD.gn19 pw_python_package("py") {
25 "pw_console/__init__.py",
26 "pw_console/__main__.py",
27 "pw_console/command_runner.py",
28 "pw_console/console_app.py",
29 "pw_console/console_log_server.py",
30 "pw_console/console_prefs.py",
31 "pw_console/docs/__init__.py",
32 "pw_console/embed.py",
33 "pw_console/filter_toolbar.py",
[all …]
/external/pytorch/torch/csrc/distributed/rpc/
Dinit.cpp29 using shared_ptr_class_ = py::class_<T, std::shared_ptr<T>>;
43 auto torch_C_m = py::handle(torch_C_module).cast<py::module>(); in rpc_init()
47 auto module = py::handle(m).cast<py::module>(); in rpc_init()
58 .def(py::init<>()) in rpc_init()
60 py::init<float, std::string>(), in rpc_init()
61 py::arg("rpc_timeout") = kDefaultRpcTimeoutSeconds, in rpc_init()
62 py::arg("init_method") = kDefaultInitMethod) in rpc_init()
77 module.attr("_DEFAULT_RPC_TIMEOUT_SEC") = py::cast(kDefaultRpcTimeoutSeconds); in rpc_init()
78 module.attr("_UNSET_RPC_TIMEOUT") = py::cast(kUnsetRpcTimeout); in rpc_init()
79 module.attr("_DEFAULT_INIT_METHOD") = py::cast(kDefaultInitMethod); in rpc_init()
[all …]
/external/pytorch/torch/csrc/distributed/c10d/
Dinit.cpp145 py::bytes toPyBytes(const std::vector<uint8_t>& data) { in toPyBytes()
146 return py::bytes(reinterpret_cast<const char*>(data.data()), data.size()); in toPyBytes()
149 std::vector<py::bytes> toPyBytes( in toPyBytes()
151 std::vector<py::bytes> out; in toPyBytes()
174 using shared_ptr_class_ = py::class_<T, std::shared_ptr<T>>;
181 using intrusive_ptr_class_ = py::class_<T, c10::intrusive_ptr<T>>;
185 py::class_<T, IntrusivePtrNoGilDestructor<T>>;
219 std::string str = pybind11::cast<py::bytes>(fn(key)); in get()
239 std::string str = pybind11::cast<py::bytes>( in compareSet()
360 py::object state, in _register_comm_hook()
[all …]
/external/pigweed/pw_build/py/
DBUILD.gn19 pw_python_package("py") {
25 "pw_build/__init__.py",
26 "pw_build/bazel_query.py",
27 "pw_build/bazel_to_gn.py",
28 "pw_build/build_recipe.py",
29 "pw_build/collect_wheels.py",
30 "pw_build/copy_and_patch.py",
31 "pw_build/copy_from_cipd.py",
32 "pw_build/create_gn_venv.py",
33 "pw_build/create_python_tree.py",
[all …]
/external/fonttools/Tests/ufoLib/
DGLIF2_test.py23 def pyToGLIF(self, py): argument
24 py = stripText(py)
26 exec(py, {"glyph": glyph, "pointPen": glyph})
42 return glyph.py()
62 py = """
65 resultGlif = self.pyToGLIF(py)
68 self.assertEqual(py, resultPy)
78 py = """
81 self.assertRaises(GlifLibError, self.pyToGLIF, py)
86 py = """
[all …]
DGLIF1_test.py23 def pyToGLIF(self, py): argument
24 py = stripText(py)
26 exec(py, {"glyph": glyph, "pointPen": glyph})
42 return glyph.py()
62 py = """
65 resultGlif = self.pyToGLIF(py)
68 self.assertEqual(py, resultPy)
78 py = """
81 self.assertRaises(GlifLibError, self.pyToGLIF, py)
86 py = """
[all …]
/external/tensorflow/tensorflow/python/saved_model/
Dpywrap_saved_model_metrics.cc24 namespace py = pybind11;
26 void DefineMetricsModule(py::module main_module) { in DefineMetricsModule()
36 py::kw_only(), py::arg("write_version"), in DefineMetricsModule()
37 py::doc("Increment the '/tensorflow/core/saved_model/write/count' " in DefineMetricsModule()
45 py::kw_only(), py::arg("write_version"), in DefineMetricsModule()
46 py::doc("Get value of '/tensorflow/core/saved_model/write/count' " in DefineMetricsModule()
54 py::doc("Increment the '/tensorflow/core/saved_model/write/api' " in DefineMetricsModule()
62 py::doc("Get value of '/tensorflow/core/saved_model/write/api' " in DefineMetricsModule()
70 py::kw_only(), py::arg("write_version"), in DefineMetricsModule()
71 py::doc("Increment the '/tensorflow/core/saved_model/read/count' " in DefineMetricsModule()
[all …]
/external/pigweed/pw_presubmit/py/
DBUILD.gn19 pw_python_package("py") {
25 "pw_presubmit/__init__.py",
26 "pw_presubmit/bazel_checks.py",
27 "pw_presubmit/bazel_parser.py",
28 "pw_presubmit/block_submission.py",
29 "pw_presubmit/build.py",
30 "pw_presubmit/cli.py",
31 "pw_presubmit/cpp_checks.py",
32 "pw_presubmit/format/__init__.py",
33 "pw_presubmit/format/bazel.py",
[all …]
/external/pytorch/
D.lintrunner.toml3 include_patterns = ['**/*.py']
20 'test/generated_type_hints_smoketest.py',
22 'test/torch_np/numpy_test/**/*.py',
28 'tools/test/test_selective_build.py',
32 'tools/linter/adapters/flake8_linter.py',
38 'tools/linter/adapters/pip_init.py',
91 'tools/linter/adapters/s3_init.py',
100 'tools/linter/adapters/clangformat_linter.py',
110 'torch/**/*.py',
112 'caffe2/**/*.py',
[all …]
/external/angle/build/android/gyp/
Dcreate_app_bundle.pydeps2 …rint_python_deps.py --root build/android/gyp --output build/android/gyp/create_app_bundle.pydeps b…
3 ../../../third_party/catapult/devil/devil/__init__.py
4 ../../../third_party/catapult/devil/devil/android/__init__.py
5 ../../../third_party/catapult/devil/devil/android/constants/__init__.py
6 ../../../third_party/catapult/devil/devil/android/constants/chrome.py
7 ../../../third_party/catapult/devil/devil/android/sdk/__init__.py
8 ../../../third_party/catapult/devil/devil/android/sdk/keyevent.py
9 ../../../third_party/catapult/devil/devil/android/sdk/version_codes.py
10 ../../../third_party/catapult/devil/devil/base_error.py
11 ../../../third_party/catapult/devil/devil/constants/__init__.py
[all …]

12345678910>>...336