Home
last modified time | relevance | path

Searched refs:get_args (Results 1 – 25 of 31) sorted by relevance

12

/third_party/mindspore/mindspore/_extends/parallel_compile/tbe_compiler/
Dhelper.py19 from .tbe_common import get_args, get_built_in_impl_path, TBEException
59 inputs_args = get_args(kernel_info['op_info'], 'inputs')
60 outputs_args = get_args(kernel_info['op_info'], 'outputs')
61 attrs_args = get_args(kernel_info['op_info'], 'attrs')
112 inputs_args = get_args(kernel_info['op_info'], 'inputs')
113 outputs_args = get_args(kernel_info['op_info'], 'outputs')
114 attrs_args = get_args(kernel_info['op_info'], 'attrs')
Dcompiler.py25 from tbe_common import check_kernel_info, get_args, get_built_in_impl_path
93 inputs_args = get_args(kernel_info['op_info'], 'inputs')
94 outputs_args = get_args(kernel_info['op_info'], 'outputs')
95 attrs_args = get_args(kernel_info['op_info'], 'attrs')
Dtbe_common.py124 def get_args(op_info, arg_type): function
/third_party/mindspore/mindspore/nn/probability/transforms/
Dtransform_bnn.py143 def transform_to_bnn_layer(self, dnn_layer_type, bnn_layer_type, get_args=None, add_args=None): argument
185 if not get_args:
187 get_args = self._get_dense_args
189 get_args = self._get_conv_args
194 …self._replace_specified_dnn_layers(self.backbone, dnn_layer_type, bnn_layer_type, get_args, add_ar…
254 def _replace_specified_dnn_layers(self, backbone, dnn_layer, bnn_layer, get_args, add_args): argument
258 args = get_args(cell)
262 self._replace_specified_dnn_layers(cell, dnn_layer, bnn_layer, get_args, add_args)
/third_party/boost/boost/hof/
Darg.hpp86 constexpr auto get_args(Ts&&... xs) BOOST_HOF_RETURNS
97 boost::hof::detail::get_args<N>(BOOST_HOF_FORWARD(Ts)(xs)...)
118 boost::hof::detail::get_args<N>(BOOST_HOF_FORWARD(Ts)(xs)...)
/third_party/glib/gobject/
Dglib-genmarshal.in640 get_args = [x for x in params if IN_ARGS[x].get('getter', None) is not None]
653 for idx, in_arg in enumerate(get_args):
667 for idx, arg in enumerate(get_args):
670 if get_args:
676 for idx, arg in enumerate(get_args):
702 body += [' g_return_if_fail (n_param_values == {:d});'.format(len(get_args) + 1)]
737 for idx, arg in enumerate(get_args):
740 for idx, arg in enumerate(get_args):
747 boxed_args = [x for x in get_args if IN_ARGS[x].get('box', None) is not None]
751 for idx, arg in enumerate(get_args):
/third_party/mesa3d/src/util/
Dxxd.py30 def get_args(): function
94 args = get_args()
/third_party/boost/libs/hof/doc/html/_sources/include/boost/hof/
Darg.hpp.txt86 constexpr auto get_args(Ts&&... xs) BOOST_HOF_RETURNS
97 boost::hof::detail::get_args<N>(BOOST_HOF_FORWARD(Ts)(xs)...)
118 boost::hof::detail::get_args<N>(BOOST_HOF_FORWARD(Ts)(xs)...)
/third_party/jerryscript/tools/
Dheaplimit_measure.py37 def get_args(): function
119 main(get_args())
/third_party/boost/boost/type_erasure/
Dcheck_match.hpp164 struct get_args;
167 struct get_args<R(T...)> { typedef ::boost::mp11::mp_list<T...> type; }; struct
170 using get_args_t = typename get_args<Sig>::type;
/third_party/mindspore/mindspore/_extends/parse/
D__init__.py23get_args, get_args_default_values, get_ast_namespace_symbol, get_operation_namespace_symbol,
Dparser.py483 def get_args(node): function
/third_party/curl/src/
Dtool_paramhlp.h46 CURLcode get_args(struct OperationConfig *config, const size_t i);
Dtool_paramhlp.c552 CURLcode get_args(struct OperationConfig *config, const size_t i) in get_args() function
/third_party/python/Lib/test/
Dtest_typing.py18 from typing import get_origin, get_args
198 self.assertEqual(get_args(X | "x"), (X, ForwardRef("x")))
199 self.assertEqual(get_args("x" | X), (ForwardRef("x"), X))
3310 self.assertEqual(get_args(C[int]), (int,))
3311 self.assertEqual(get_args(C[T]), (T,))
3312 self.assertEqual(get_args(int), ())
3313 self.assertEqual(get_args(ClassVar[int]), (int,))
3314 self.assertEqual(get_args(Union[int, str]), (int, str))
3315 self.assertEqual(get_args(Literal[42, 43]), (42, 43))
3316 self.assertEqual(get_args(Final[List[int]]), (List[int],))
[all …]
Dtest_getargs2.py551 from _testcapi import get_args
553 ret = get_args(1, 2)
557 ret = get_args(1, *(2, 3))
561 ret = get_args(*[1, 2])
565 ret = get_args(*TupleSubclass([1, 2]))
569 ret = get_args()
573 ret = get_args(*())
Dtest_types.py838 assert typing.get_args(typing.get_type_hints(forward_after)['x']) == (int, Forward)
839 assert typing.get_args(typing.get_type_hints(forward_before)['x']) == (int, Forward)
/third_party/musl/tools/api_cmp_tool/
Dcompare.py14 def get_args(): function
323 get_args()
/third_party/python/Parser/
Dasdl_c.py289 def get_args(self, fields): member in PrototypeVisitor
317 args = self.get_args(cons.fields)
318 attrs = self.get_args(attrs)
334 self.get_args(prod.fields),
335 self.get_args(prod.attributes),
/third_party/mindspore/mindspore/nn/probability/
DREADME.md410 def transform_to_bnn_layer(self, dnn_layer, bnn_layer, get_args=None, add_args=None):
419 get_args (dict): The arguments gotten from the DNN layer. Default: None.
427 …er to be transformed to. The value should correspond to dnn_layer. Arg `get_args` and `add_args` s…
/third_party/boost/tools/build/src/tools/
Ddoxproc.py36 def get_args( argv = sys.argv[1:] ): function
859 main( **get_args() )
/third_party/python/Misc/NEWS.d/
D3.9.0a6.rst291 :func:`typing.get_args` now always returns an empty tuple for special
301 Functions :func:`typing.get_origin`, :func:`typing.get_args` and
D3.10.0a4.rst256 :func:`typing.get_args` and :func:`typing.get_origin` now support :pep:`604`
/third_party/python/Doc/library/
Dtyping.rst2062 .. function:: get_args(tp)
2077 assert get_args(Dict[int, str]) == (int, str)
2080 assert get_args(Union[int, str]) == (int, str)
/third_party/python/Lib/
Dtyping.py1907 def get_args(tp): function

12