Searched full:py (Results 1 – 25 of 5095) sorted by relevance
12345678910>>...204
... pip/__init__.py pip/__main__.py pip/py.typed pip/_internal/__init__. ...
... py setuptools/errors.py setuptools/extension.py setuptools/glob.py setuptools/gui-32 ...
8 <StartupFile>abc.py</StartupFile>22 <Compile Include="abc.py" />23 <Compile Include="aifc.py" />24 <Compile Include="antigravity.py" />25 <Compile Include="argparse.py" />26 <Compile Include="ast.py" />27 <Compile Include="asynchat.py" />28 <Compile Include="asyncio\base_events.py" />29 <Compile Include="asyncio\base_futures.py" />30 <Compile Include="asyncio\base_subprocess.py" />[all …]
22 * ChangeLog, EditorWindow.py, INSTALLATION, NEWS.txt, README.txt,23 TODO.txt, idlever.py:28 * INSTALLATION, setup.py: INSTALLATION: Remove the coexist.patch31 **************** setup.py:42 * PyShell.py, idle, idles: Implement idle command interface as46 usage: idle.py [-c command] [-d] [-i] [-r script] [-s] [-t title]83 window can be started in parallel by "idles -e foo.py".87 * PyShell.py: Call out IDLE Fork in startup message.91 * PyShell.py, setup.py: Add a script "idles" which opens a Python99 window can be started in parallel by "idles -e foo.py".[all …]
24 __init__.py # import, does nothing25 __main__.py # -m, starts IDLE27 idle.py32 autocomplete.py # Complete attribute names or filenames.33 autocomplete_w.py # Display completions.34 autoexpand.py # Expand word with previous word in file.35 browser.py # Create module browser window.36 calltip_w.py # Display calltip.37 calltips.py # Create calltip text.38 codecontext.py # Show compound statement headers otherwise not visible.[all …]
5 build.py \6 attribs.py \7 tst.py \8 tstxpath.py \9 xpathext.py \10 push.py \11 pushSAX.py \12 pushSAXhtml.py \13 error.py \14 serialize.py\[all …]
6 abitype.py Converts a C file to use the PEP 384 type definition API7 analyze_dxp.py Analyzes the result of sys.getdxp()8 byext.py Print lines/words/chars stats of files by extension9 byteyears.py Print product of a file's size and age10 cleanfuture.py Fix redundant Python __future__ statements11 combinerefs.py A helper for analyzing PYTHONDUMPREFS output12 copytime.py Copy one file's atime and mtime to another13 crlf.py Change CRLF line endings to LF (Windows to Unix)14 db2pickle.py Dump a database file to a pickle15 diff.py Print file diffs in context, unified, or ndiff formats[all …]
11 "mindspore/mindspore/_check_deps_version.py" …12 "mindspore/mindspore/_check_version.py" …13 "mindspore/mindspore/_check_version.py" …14 "mindspore/mindspore/common/parameter.py" …15 "mindspore/mindspore/context.py" …17 "mindspore/mindspore/ops/operations/_quant_ops.py" …18 "mindspore/mindspore/ops/operations/nn_ops.py" …19 "mindspore/mindspore/ops/operations/_thor_ops.py" …20 "mindspore/mindspore/ops/operations/_thor_ops.py" …21 "mindspore/mindspore/ops/operations/_thor_ops.py" …[all …]
6 "_abort_test.py",7 "_api_test.py",8 "_auth_context_test.py",9 "_auth_test.py",10 "_version_test.py",11 "_channel_args_test.py",12 "_channel_close_test.py",13 "_channel_connectivity_test.py",14 "_channel_ready_future_test.py",15 "_compression_test.py",[all …]
25 typing, ([](py::module *const m) { in __anon1e19e6ba0102()27 py::enum_<TypeId>(m_sub, "TypeId"); in __anon1e19e6ba0102()33 (void)py::class_<Type, std::shared_ptr<Type>>(m_sub, "Type") in __anon1e19e6ba0102()35 [](const TypePtr &t1, const py::object &other) { in __anon1e19e6ba0102()36 if (!py::isinstance<Type>(other)) { in __anon1e19e6ba0102()39 auto t2 = py::cast<TypePtr>(other); in __anon1e19e6ba0102()48 .def("__deepcopy__", [](const TypePtr &t, py::dict) { in __anon1e19e6ba0102()54 (void)py::class_<Number, Type, std::shared_ptr<Number>>(m_sub, "Number").def(py::init()); in __anon1e19e6ba0102()55 (void)py::class_<Bool, Number, std::shared_ptr<Bool>>(m_sub, "Bool") in __anon1e19e6ba0102()56 .def(py::init()) in __anon1e19e6ba0102()[all …]
46 void SyncData(const py::object &arg) { in SyncData()47 if (py::isinstance<py::tuple>(arg)) { in SyncData()48 py::tuple arg_list = py::cast<py::tuple>(arg); in SyncData()53 if (py::isinstance<tensor::Tensor>(arg)) { in SyncData()54 auto tensor = py::cast<tensor::TensorPtr>(arg); in SyncData()59 std::map<std::string, py::object> PrimitivePy::hook_grad_;61 PrimitivePy::PrimitivePy(const std::string &name) : Primitive(name, false), python_obj_(py::none())… in PrimitivePy()63 PrimitivePy::PrimitivePy(const py::object &python_obj, const PrimitivePyAdapterPtr &adapter) in PrimitivePy()81 py::function PrimitivePy::GetBpropFunction() { in GetBpropFunction()83 if (py::hasattr(python_obj_, get_bprop_func_name)) { in GetBpropFunction()[all …]
79 28 0.028 0.001 0.028 0.001 profilee.py:110(__getattr__)80 1 0.270 0.270 1.000 1.000 profilee.py:25(testfunc)81 23/3 0.150 0.007 0.170 0.057 profilee.py:35(factorial)82 20 0.020 0.001 0.020 0.001 profilee.py:48(mul)83 2 0.040 0.020 0.600 0.300 profilee.py:55(helper)84 4 0.116 0.029 0.120 0.030 profilee.py:73(helper1)85 2 0.000 0.000 0.140 0.070 profilee.py:84(helper2_indirect)86 8 0.312 0.039 0.400 0.050 profilee.py:88(helper2)87 8 0.064 0.008 0.080 0.010 profilee.py:98(subhelper)"""89 profilee.py:110(__getattr__) <- 16 0.016 0.016 profilee.py:98(subh…[all …]
37 a/__init__.py38 a/module.py41 b/__init__.py52 a/__init__.py53 a/module.py56 b/__init__.py66 mymodule.py67 a/__init__.py71 a/module.py75 a/b.py[all …]
9 cat <<\EOF > xg-py-3a.py15 cat <<\EOF > xg-py-3b.py22 cat <<\EOF > xg-py-3u.py28 cat <<\EOF > xg-py-3.ok56 -d xg-py-3a xg-py-3a.py > /dev/null 2>&159 -o xg-py-3a.tmp xg-py-3a.py || Exit 160 func_filter_POT_Creation_Date xg-py-3a.tmp xg-py-3a.pot63 ${DIFF} xg-py-3.ok xg-py-3a.pot || Exit 168 -o xg-py-3b.tmp xg-py-3b.py || Exit 169 func_filter_POT_Creation_Date xg-py-3b.tmp xg-py-3b.pot[all …]
2 "//third_party/jinja2/__init__.py",3 "//third_party/jinja2/_compat.py",4 "//third_party/jinja2/_identifier.py",5 "//third_party/jinja2/asyncfilters.py",6 "//third_party/jinja2/asyncsupport.py",7 "//third_party/jinja2/bccache.py",8 "//third_party/jinja2/compiler.py",9 "//third_party/jinja2/constants.py",10 "//third_party/jinja2/debug.py",11 "//third_party/jinja2/defaults.py",[all …]
55 PYBIND_REGISTER(DatasetNode, 1, ([](const py::module *m) { in __anon672ce46a0102()56 (void)py::class_<DatasetNode, std::shared_ptr<DatasetNode>>(*m, "Dataset") in __anon672ce46a0102()67 [](std::shared_ptr<DatasetNode> self, py::list datasets) { in __anon672ce46a0102()72 py::arg("datasets")) in __anon672ce46a0102()96 PYBIND_REGISTER(BatchNode, 2, ([](const py::module *m) { in __anon672ce46a0802()97 … (void)py::class_<BatchNode, DatasetNode, std::shared_ptr<BatchNode>>(*m, "BatchNode", in __anon672ce46a0802()99 … .def(py::init([](std::shared_ptr<DatasetNode> self, int32_t batch_size, bool drop_remainder, in __anon672ce46a0802()100 … bool pad, py::list in_col_names, py::list out_col_names, py::list col_order, in __anon672ce46a0802()101 py::object size_obj, py::object map_obj, py::dict pad_info) { in __anon672ce46a0802()106 py::function size_func = in __anon672ce46a0802()[all …]
2 "${skia_third_party_dir}/jinja2/__init__.py",3 "${skia_third_party_dir}/jinja2/_compat.py",4 "${skia_third_party_dir}/jinja2/_identifier.py",5 "${skia_third_party_dir}/jinja2/asyncfilters.py",6 "${skia_third_party_dir}/jinja2/asyncsupport.py",7 "${skia_third_party_dir}/jinja2/bccache.py",8 "${skia_third_party_dir}/jinja2/compiler.py",9 "${skia_third_party_dir}/jinja2/constants.py",10 "${skia_third_party_dir}/jinja2/debug.py",11 "${skia_third_party_dir}/jinja2/defaults.py",[all …]
4 "//third_party/jinja2/__init__.py",5 "//third_party/jinja2/_compat.py",6 "//third_party/jinja2/_identifier.py",7 "//third_party/jinja2/asyncfilters.py",8 "//third_party/jinja2/asyncsupport.py",9 "//third_party/jinja2/bccache.py",10 "//third_party/jinja2/compiler.py",11 "//third_party/jinja2/constants.py",12 "//third_party/jinja2/debug.py",13 "//third_party/jinja2/defaults.py",[all …]
29 Status PyListToTensorOperations(const py::list &py_ops, std::vector<std::shared_ptr<TensorOperation… in PyListToTensorOperations()32 if (py::isinstance<TensorOp>(op)) { in PyListToTensorOperations()34 } else if (py::isinstance<py::function>(op)) { in PyListToTensorOperations()36 …std::make_shared<transforms::PreBuiltOperation>(std::make_shared<PyFuncOp>(op.cast<py::function>()… in PyListToTensorOperations()37 } else if (py::isinstance<TensorOperation>(op)) { in PyListToTensorOperations()50 PYBIND_REGISTER(TensorOperation, 0, ([](const py::module *m) { in __anona645b9410102()51 … (void)py::class_<TensorOperation, std::shared_ptr<TensorOperation>>(*m, "TensorOperation"); in __anona645b9410102()52 py::arg("TensorOperation"); in __anona645b9410102()56 PluginOperation, 1, ([](const py::module *m) { in __anona645b9410202()57 …(void)py::class_<transforms::PluginOperation, TensorOperation, std::shared_ptr<transforms::PluginO… in __anona645b9410202()[all …]
43 namespace py = pybind11; variable48 py::object RealRunOp(const py::args &args);159 …std::function<void(py::object *, const py::object &, const py::args &)> InitGraph = [this](auto &&…163 …std::function<void(py::object *, const py::object &, const py::object &, const py::args &)> LinkGr…168 …std::function<void(py::object *, const prim::GradOperationPtr &, const py::object &, const py::obj…169 const py::args &)>174 …std::function<void(py::object *, const py::object &, const py::tuple &)> RunGraph = [this](auto &&…193 AnfNodePtr GetInput(const py::object &obj, bool op_mask);194 std::string GetCellId(const py::object &obj, const py::args &args);200 py::object GradMsFunction(const py::object &out, const py::args &args);[all …]
39 py::object BuiltinsToPyData(const Any &value);40 py::object BuiltinsToPyData(const BaseRef &value);41 py::object VectorToPyData(const Any &value);42 py::object VectorRefToPyData(const VectorRef &value);44 py::object TensorToPyData(const tensor::TensorPtr &tensor) { in TensorToPyData()47 py::gil_scoped_release release; in TensorToPyData()50 py::tuple v(1); in TensorToPyData()55 py::object ScalarPtrToPyData(const ScalarPtr &value) { in ScalarPtrToPyData()56 py::int_ int_v; in ScalarPtrToPyData()57 py::float_ float_v; in ScalarPtrToPyData()[all …]
59 PYBIND_REGISTER(CelebANode, 2, ([](const py::module *m) { in __anoncf053c6a0102()60 … (void)py::class_<CelebANode, DatasetNode, std::shared_ptr<CelebANode>>(*m, "CelebANode", in __anoncf053c6a0102()62 … .def(py::init([](std::string dataset_dir, std::string usage, py::handle sampler, bool decode, in __anoncf053c6a0102()63 py::list extensions) { in __anoncf053c6a0102()71 PYBIND_REGISTER(Cifar10Node, 2, ([](const py::module *m) { in __anoncf053c6a0302()72 … (void)py::class_<Cifar10Node, DatasetNode, std::shared_ptr<Cifar10Node>>(*m, "Cifar10Node", in __anoncf053c6a0302()74 … .def(py::init([](std::string dataset_dir, std::string usage, py::handle sampler) { in __anoncf053c6a0302()81 PYBIND_REGISTER(Cifar100Node, 2, ([](const py::module *m) { in __anoncf053c6a0502()82 … (void)py::class_<Cifar100Node, DatasetNode, std::shared_ptr<Cifar100Node>>(*m, "Cifar100Node", in __anoncf053c6a0502()84 … .def(py::init([](std::string dataset_dir, std::string usage, py::handle sampler) { in __anoncf053c6a0502()[all …]
20 float toFloat(const py::handle &handle) { return py::reinterpret_borrow<py::float_>(handle); } in toFloat()22 int toInt(const py::handle &handle) { return py::reinterpret_borrow<py::int_>(handle); } in toInt()24 int64_t toInt64(const py::handle &handle) { return py::reinterpret_borrow<py::int_>(handle); } in toInt64()26 bool toBool(const py::handle &handle) { return py::reinterpret_borrow<py::bool_>(handle); } in toBool()28 std::string toString(const py::handle &handle) { return py::reinterpret_borrow<py::str>(handle); } in toString()30 std::set<std::string> toStringSet(const py::list list) { in toStringSet()35 (void)set.insert(py::str(l)); in toStringSet()42 std::map<std::string, int32_t> toStringMap(const py::dict dict) { in toStringMap()52 std::vector<std::string> toStringVector(const py::list list) { in toStringVector()59 vector.push_back(py::str(l)); in toStringVector()[all …]
101 LocationPtr GetLocation(const py::object &node) const;102 static void InitParserEnvironment(const py::object &obj);109 FunctionBlockPtr ParseReturn(const FunctionBlockPtr &block, const py::object &node);111 FunctionBlockPtr ParseExpr(const FunctionBlockPtr &block, const py::object &node);113 FunctionBlockPtr ParseIf(const FunctionBlockPtr &block, const py::object &node);115 FunctionBlockPtr ParseWhile(const FunctionBlockPtr &block, const py::object &node);117 FunctionBlockPtr ParseFor(const FunctionBlockPtr &block, const py::object &node);118 FunctionBlockPtr ParseForIter(const FunctionBlockPtr &block, const py::object &node);119 FunctionBlockPtr ParseForLoop(const FunctionBlockPtr &block, const py::object &node);121 FunctionBlockPtr ParseFunctionDef(const FunctionBlockPtr &block, const py::object &node);[all …]
42 PytestCmd "test_cache_map.py" "${test_name}"56 PytestCmd "test_cache_map.py" "test_cache_map_failure" 159 PytestCmd "test_cache_map.py" "test_cache_map_split" 163 PytestCmd "test_cache_map.py" "test_cache_map_parameter_check"68 PytestCmd "test_cache_map.py" "test_cache_map_running_twice1"71 PytestCmd "test_cache_map.py" "test_cache_map_running_twice2"73 PytestCmd "test_cache_map.py" "test_cache_map_running_twice2"78 PytestCmd "test_cache_map.py" "test_cache_map_running_twice2"85 PytestCmd "test_cache_map.py" "test_cache_map_running_twice2"88 PytestCmd "test_cache_map.py" "test_cache_map_no_image"[all …]