Home
last modified time | relevance | path

Searched refs:kw (Results 1 – 25 of 771) sorted by relevance

12345678910>>...31

/third_party/python/Lib/tkinter/
Dttk.py113 def _format_elemcreate(etype, script=False, *args, **kw): argument
135 opts = _format_optdict(kw, script)
372 def configure(self, style, query_opt=None, **kw): argument
379 kw[query_opt] = None
380 result = _val_or_dict(self.tk, kw, self._name, "configure", style)
385 def map(self, style, query_opt=None, **kw): argument
397 result = self.tk.call(self._name, "map", style, *_format_mapdict(kw))
457 def element_create(self, elementname, etype, *args, **kw): argument
459 spec, opts = _format_elemcreate(etype, False, *args, **kw)
528 def __init__(self, master, widgetname, kw=None): argument
[all …]
Dtix.py108 def tix_configure(self, cnf=None, **kw): argument
120 if kw:
121 cnf = _cnfmerge((cnf, kw))
235 def config(self, cnf={}, **kw): argument
236 self.tk.call('tixForm', self._w, *self._options(cnf, kw))
290 static_options=None, cnf={}, kw={}): argument
292 if kw:
293 cnf = _cnfmerge((cnf, kw))
395 def image_create(self, imgtype, cnf={}, master=None, **kw): argument
398 if kw and cnf: cnf = _cnfmerge((cnf, kw))
[all …]
D__init__.py693 def tk_setPalette(self, *args, **kw): argument
705 + _flatten(args) + _flatten(list(kw.items())))
883 def clipboard_get(self, **kw): argument
898 if 'type' not in kw and self._windowingsystem == 'x11':
900 kw['type'] = 'UTF8_STRING'
901 return self.tk.call(('clipboard', 'get') + self._options(kw))
903 del kw['type']
904 return self.tk.call(('clipboard', 'get') + self._options(kw))
906 def clipboard_clear(self, **kw): argument
911 if 'displayof' not in kw: kw['displayof'] = self._w
[all …]
Dsimpledialog.py344 def askinteger(title, prompt, **kw): argument
355 d = _QueryInteger(title, prompt, **kw)
366 def askfloat(title, prompt, **kw): argument
377 d = _QueryFloat(title, prompt, **kw)
382 def __init__(self, *args, **kw): argument
383 if "show" in kw:
384 self.__show = kw["show"]
385 del kw["show"]
388 _QueryDialog.__init__(self, *args, **kw)
400 def askstring(title, prompt, **kw): argument
[all …]
/third_party/python/Lib/json/
D__init__.py122 default=None, sort_keys=False, **kw): argument
168 default is None and not sort_keys and not kw):
176 default=default, sort_keys=sort_keys, **kw).iterencode(obj)
185 default=None, sort_keys=False, **kw): argument
230 default is None and not sort_keys and not kw):
238 **kw).encode(obj)
275 parse_int=None, parse_constant=None, object_pairs_hook=None, **kw): argument
296 parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
300 parse_int=None, parse_constant=None, object_pairs_hook=None, **kw): argument
345 parse_constant is None and object_pairs_hook is None and not kw):
[all …]
/third_party/boost/boost/python/detail/
Ddefaults_def.hpp51 , keyword_range const& kw in name_space_def() argument
62 f, policies, kw, get_signature(f, (wrapped_type*)0)) in name_space_def()
72 , keyword_range const& kw in name_space_def() argument
82 , detail::make_keyword_range_function(f, policies, kw) in name_space_def()
92 , keyword_range const& kw // ignored in name_space_def() argument
165 keyword_range kw, in def()
171 define_stub_function<N>::define(name, stubs, kw, policies, name_space, doc); in def()
173 if (kw.second > kw.first) in def()
174 --kw.second; in def()
177 define_with_defaults_helper<N-1>::def(name, stubs, kw, policies, name_space, doc); in def()
[all …]
Dmake_keyword_range_fn.hpp29 , keyword_range const& kw) in make_keyword_range_function() argument
32 f, policies, detail::get_signature(f), kw, mpl::int_<0>()); in make_keyword_range_function()
39 , keyword_range const& kw in make_keyword_range_function() argument
43 f, policies, sig, kw, mpl::int_<0>()); in make_keyword_range_function()
56 , detail::keyword_range const& kw // The (possibly empty) set of associated argument keywords in make_keyword_range_constructor() argument
67 , kw); in make_keyword_range_constructor()
/third_party/boost/libs/python/test/
Draw_ctor.cpp17 Foo(tuple args, dict kw) in Foo() argument
18 : args(args), kw(kw) {} in Foo()
21 dict kw; member in Foo
24 object init_foo(tuple args, dict kw) in init_foo() argument
27 return args[0].attr("__init__")(rest, kw); in init_foo()
39 .def_readwrite("kw", &Foo::kw) in BOOST_PYTHON_MODULE()
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/opencl/
Dconv2d_transpose_tests.cc25 OpParameter *CreateParameter(int n, int h, int w, int ci, int co, int kh, int kw, std::vector<int> … in CreateParameter() argument
30 param->kernel_w_ = kw; in CreateParameter()
44 *weight_shape = {ci, kh, kw, co}; in CreateParameter()
60 int kw = 2; in TEST_F() local
70 …CreateParameter(n, h, w, ci, co, kh, kw, pad, oh, ow, &input_shape, &weight_shape, &bias_shape, &o… in TEST_F()
87 int kw = 2; in TEST_F() local
98 …CreateParameter(n, h, w, ci, co, kh, kw, pad, oh, ow, &input_shape, &weight_shape, &bias_shape, &o… in TEST_F()
114 int kw = 3; in TEST_F() local
126 …CreateParameter(n, h, w, ci, co, kh, kw, pad, oh, ow, &input_shape, &weight_shape, &bias_shape, &o… in TEST_F()
143 int kw = 2; in TEST_F() local
[all …]
/third_party/boost/libs/parameter/test/
Dpreprocessor_eval_category.cpp21 BOOST_PARAMETER_NAME((_lrc0, kw) in(lrc0))
22 BOOST_PARAMETER_NAME((_lr0, kw) in_out(lr0))
23 BOOST_PARAMETER_NAME((_rrc0, kw) in(rrc0))
25 BOOST_PARAMETER_NAME((_rr0, kw) consume(rr0))
27 BOOST_PARAMETER_NAME((_rr0, kw) rr0)
45 BOOST_PARAMETER_FUNCTION((bool), evaluate, kw,
59 , test::kw::lrc0
77 , test::kw::lr0
105 , test::kw::rrc0
123 , test::kw::rr0
[all …]
Dpreprocessor_eval_cat_8.cpp25 BOOST_PARAMETER_NAME((_lrc0, kw) in(lrc0))
26 BOOST_PARAMETER_NAME((_lr0, kw) in_out(lr0))
27 BOOST_PARAMETER_NAME((_rrc0, kw) in(rrc0))
29 BOOST_PARAMETER_NAME((_rr0, kw) consume(rr0))
31 BOOST_PARAMETER_NAME((_rr0, kw) rr0)
33 BOOST_PARAMETER_NAME((_lrc1, kw) in(lrc1))
34 BOOST_PARAMETER_NAME((_lr1, kw) out(lr1))
35 BOOST_PARAMETER_NAME((_rrc1, kw) in(rrc1))
36 BOOST_PARAMETER_NAME((_rr1, kw) rr1)
104 BOOST_PARAMETER_CONST_FUNCTION_CALL_OPERATOR((bool), kw,
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32_grad/
Dpooling_grad.c62 for (int kw = kw_s; kw < kw_e; kw++) { in AvgPoolingGrad() local
63 int xw = yw * stride_w + kw - pad_w; in AvgPoolingGrad()
83 for (int kw = kw_s; kw < kw_e; kw++) { in AvgPoolingGrad() local
84 int xw = yw * stride_w + kw - pad_w; in AvgPoolingGrad()
142 for (int kw = kw_s; kw < kw_e; kw++) { in MaxPoolingGrad() local
143 int xw = yw * stride_w + kw - pad_w; in MaxPoolingGrad()
172 for (int kw = kw_s; kw < kw_e; kw++) { in MaxPoolingGrad() local
173 int xw = yw * stride_w + kw - pad_w; in MaxPoolingGrad()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16_grad/
Dpooling_grad.c62 for (int kw = kw_s; kw < kw_e; kw++) { in AvgPoolingFp16Grad() local
63 int xw = yw * stride_w + kw - pad_w; in AvgPoolingFp16Grad()
83 for (int kw = kw_s; kw < kw_e; kw++) { in AvgPoolingFp16Grad() local
84 int xw = yw * stride_w + kw - pad_w; in AvgPoolingFp16Grad()
145 for (int kw = kw_s; kw < kw_e; kw++) { in MaxPoolingFp16Grad() local
146 int xw = yw * stride_w + kw - pad_w; in MaxPoolingFp16Grad()
174 for (int kw = kw_e; kw < kw_s; kw++) { in MaxPoolingFp16Grad() local
175 int xw = yw * stride_w + kw - pad_w; in MaxPoolingFp16Grad()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Davgpool_3d_fusion.cc52 bool GetKernelSize(const AnfNodePtr &node, int64_t *kd, int64_t *kh, int64_t *kw) { in GetKernelSize() argument
56 MS_EXCEPTION_IF_NULL(kw); in GetKernelSize()
62 *kw = kernel_size[kDim0]; in GetKernelSize()
66 *kw = kernel_size[kDim2]; in GetKernelSize()
71 *kw = kernel_size[kDim4]; in GetKernelSize()
126 bool IsVectorImpl(int64_t fh, int64_t fw, int64_t kh, int64_t kw, const std::vector<int64_t> &pad_l… in IsVectorImpl() argument
130 if (fh != kh || fw != kw) { in IsVectorImpl()
141 int64_t kh, int64_t kw, bool ceil_mode, int64_t divisor_override) { in ConstructFilter() argument
145 std::vector<int64_t> assist_shape = {c1 * kd * kh * kw, 1, kC0, kC0}; // frac_z_3d in ConstructFilter()
146 …ze_t> infer_shape = {IntToSize(1), LongToSize(fc), LongToSize(kd), LongToSize(kh), LongToSize(kw)}; in ConstructFilter()
[all …]
/third_party/python/Lib/email/
Dheaderregistry.py313 def init(self, *args, **kw): argument
314 self._datetime = kw.pop('datetime')
315 super().init(*args, **kw)
365 def init(self, *args, **kw): argument
366 self._groups = tuple(kw.pop('groups'))
368 super().init(*args, **kw)
420 def init(self, *args, **kw): argument
421 self._version = kw.pop('version')
422 self._major = kw.pop('major')
423 self._minor = kw.pop('minor')
[all …]
/third_party/boost/boost/python/object/
Dpy_function.hpp36 PyObject* operator()(PyObject* args, PyObject* kw) in operator ()()
38 return m_caller(args, kw); in operator ()()
62 PyObject* operator()(PyObject* args, PyObject* kw) in operator ()()
64 return m_caller(args, kw); in operator ()()
92 PyObject* operator()(PyObject* args, PyObject* kw) in operator ()()
94 return m_caller(args, kw); in operator ()()
145 PyObject* operator()(PyObject* args, PyObject* kw) const in operator ()()
147 return (*m_impl)(args, kw); in operator ()()
/third_party/python/Modules/
D_functoolsmodule.c39 PyObject *kw; member
61 partial_new(PyTypeObject *type, PyObject *args, PyObject *kw) in partial_new() argument
82 pkw = part->kw; in partial_new()
121 if (kw == NULL) { in partial_new()
122 pto->kw = PyDict_New(); in partial_new()
124 else if (Py_REFCNT(kw) == 1) { in partial_new()
125 Py_INCREF(kw); in partial_new()
126 pto->kw = kw; in partial_new()
129 pto->kw = PyDict_Copy(kw); in partial_new()
133 pto->kw = PyDict_Copy(pkw); in partial_new()
[all …]
/third_party/boost/boost/python/
Dmake_function.hpp50 , detail::keyword_range const& kw // a [begin,end) pair of iterators over keyword names in make_function_aux() argument
62 , kw); in make_function_aux()
71 object make_function_dispatch(F f, CallPolicies const& policies, Keywords const& kw, mpl::true_) in make_function_dispatch() argument
77 , kw.range() in make_function_dispatch()
136 , Keywords const& kw in make_function() argument
144 , kw.range() in make_function()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dpooling_fp32.c187 for (int kw = real_win_w_start; kw < real_win_w_end; kw++) { in MaxPooling() local
188 … const float *src_win_ptr = src_c_ptr + ((in_h_index + kh) * in_w + in_w_index + kw) * channel; in MaxPooling()
203 for (int kw = real_win_w_start; kw < real_win_w_end; kw++) { in MaxPooling() local
204 … const float *src_win_ptr = src_c_ptr + ((in_h_index + kh) * in_w + in_w_index + kw) * channel; in MaxPooling()
218 for (int kw = real_win_w_start; kw < real_win_w_end; kw++) { in MaxPooling() local
219 … const float *src_win_ptr = src_c_ptr + ((in_h_index + kh) * in_w + in_w_index + kw) * channel; in MaxPooling()
/third_party/boost/boost/parameter/
Dmacros.hpp17 , typename param::match<BOOST_PP_ENUM_PARAMS(n, T)>::type kw = param()
21 , typename param::match<BOOST_PP_ENUM_PARAMS_Z(z, n, T)>::type kw = param()
26 #define BOOST_PARAMETER_MATCH_TYPE(n, param) , param kw = param()
29 #define BOOST_PARAMETER_MATCH_TYPE_Z(z, n, param) , param kw = param()
73 kw( \
105 )(kw(BOOST_PP_ENUM_PARAMS_Z(z, n, p))); \
151 kw( \
/third_party/python/Lib/test/test_email/
Dtest_parser.py91 def message_from_file(s, *args, **kw): argument
93 return email.message_from_file(f, *args, **kw)
98 def message_from_bytes(s, *args, **kw): argument
99 return email.message_from_bytes(s.encode(), *args, **kw)
101 def message_from_binary_file(s, *args, **kw): argument
103 return email.message_from_binary_file(f, *args, **kw)
/third_party/python/Lib/
D_threading_local.py197 args, kw = impl.localargs
198 self.__init__(*args, **kw)
207 def __new__(cls, /, *args, **kw): argument
208 if (args or kw) and (cls.__init__ is object.__init__):
212 impl.localargs = (args, kw)
/third_party/skia/third_party/externals/icu/source/data/translit/
DLatn_Cans.txt30 kwê ↔ ᑴ ;
31 kwî ↔ ᑸ ;
33 kwô ↔ ᑼ ;
35 kwâ ↔ ᒀ ;
124 kw ↔ ᒄ ;
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Ddeconv_fp16.c51 for (int kw = kw_start; kw < kw_end; kw++) { in DeConvPostFp16() local
52 … int src_index = ih * src_ih_stride + iw * src_iw_stride + kh * src_kh_stride + kw * src_kw_stride; in DeConvPostFp16()
53 … int dst_index = oh * dst_oh_stride + ow * dst_ow_stride + kh * dst_kh_stride + kw * dst_kw_stride; in DeConvPostFp16()
/third_party/icu/icu4c/source/data/translit/
DLatn_Cans.txt30 kwê ↔ ᑴ ;
31 kwî ↔ ᑸ ;
33 kwô ↔ ᑼ ;
35 kwâ ↔ ᒀ ;
124 kw ↔ ᒄ ;

12345678910>>...31