Home
last modified time | relevance | path

Searched refs:__call__ (Results 1 – 25 of 312) sorted by relevance

12345678910>>...13

/third_party/mindspore/mindspore/dataset/vision/
Dpy_transforms.py92 def __call__(self, img): member in ToTensor
131 def __call__(self, img): member in ToType
164 def __call__(self, img): member in HWC2CHW
201 def __call__(self, img): member in ToPIL
235 def __call__(self, img): member in Decode
291 def __call__(self, img): member in Normalize
353 def __call__(self, img): member in NormalizePad
418 def __call__(self, img): member in RandomCrop
453 def __call__(self, img): member in RandomHorizontalFlip
487 def __call__(self, img): member in RandomVerticalFlip
[all …]
/third_party/mindspore/tests/mindspore_test_framework/components/
Dicomponent.py25 def __call__(self): member in IComponent
32 def __call__(self): member in IDataComponent
39 def __call__(self): member in IBuilderComponent
51 def __call__(self): member in IExectorComponent
63 def __call__(self): member in IVerifierComponent
75 def __call__(self): member in IFIPolicyComponent
87 def __call__(self): member in IERPolicyComponent
94 def __call__(self): member in IFacadeComponent
/third_party/python/Lib/distutils/tests/
Dtest_register.py49 def __call__(self, prompt=''): member in Inputs
60 def __call__(self, *args): member in FakeOpener
122 register_module.input = inputs.__call__
176 register_module.input = inputs.__call__
194 register_module.input = inputs.__call__
238 register_module.input = inputs.__call__
249 register_module.input = inputs.__call__
267 register_module.input = inputs.__call__
309 register_module.input = inputs.__call__
/third_party/mindspore/tests/st/networks/models/deeplabv3/src/utils/
Dcustom_transforms.py33 def __call__(self, img, mask): member in Normalize
43 def __call__(self, img, mask): member in RandomHorizontalFlip
61 def __call__(self, img, mask): member in RandomRotate
71 def __call__(self, img, mask): member in RandomGaussianBlur
86 def __call__(self, img, mask): member in RandomScaleCrop
119 def __call__(self, img, mask): member in FixScaleCrop
144 def __call__(self, img, mask): member in FixedResize
/third_party/mindspore/mindspore/explainer/explanation/_attribution/_perturbation/
Dreplacement.py54 def __call__(self, inputs): member in BaseReplacement
62 def __call__(self, inputs: _Array) -> _Array: member in Constant
72 def __call__(self, inputs: _Array) -> _Array: member in GaussianBlur
82 def __call__(self, inputs: _Array) -> _Array: member in RandomPerturb
/third_party/boost/libs/python/doc/numpy/tutorial/
Dufunc.rst45 ud.def("__call__", np::unary_ufunc<UnarySquare>::make());
51 Use the "__call__" method to call the overloaded () operator and print the value ::
53 … of unary scalar 1.0 is " << p::extract<char const *>(p::str(inst.attr("__call__")(1.0))) << std::…
71 Call the "__call__" method to perform the operation and assign the value to result_array ::
73 p::object result_array = inst.attr("__call__")(demo_array);
91 result_array = inst.attr("__call__")(li);
100 ud.def("__call__", np::binary_ufunc<BinarySquare>::make());
114 result_array = inst.attr("__call__")(demo_array,demo_array);
/third_party/boost/libs/python/doc/html/numpy/_sources/tutorial/
Dufunc.rst.txt45 ud.def("__call__", np::unary_ufunc<UnarySquare>::make());
51 Use the "__call__" method to call the overloaded () operator and print the value ::
53 … of unary scalar 1.0 is " << p::extract<char const *>(p::str(inst.attr("__call__")(1.0))) << std::…
71 Call the "__call__" method to perform the operation and assign the value to result_array ::
73 p::object result_array = inst.attr("__call__")(demo_array);
91 result_array = inst.attr("__call__")(li);
100 ud.def("__call__", np::binary_ufunc<BinarySquare>::make());
114 result_array = inst.attr("__call__")(demo_array,demo_array);
/third_party/mindspore/mindspore/dataset/transforms/
Dpy_transforms.py112 def __call__(self, label): member in OneHotOp
187 def __call__(self, *args): member in Compose
252 def __call__(self, img): member in RandomApply
287 def __call__(self, img): member in RandomChoice
322 def __call__(self, img): member in RandomOrder
/third_party/mindspore/mindspore/ops/composite/
Dbase.py359 def __call__(self, fn, weights=None): member in GradOperation
452 def __call__(self, *args): member in MultitypeFuncGraph
556 def __call__(self, *args): member in HyperMap
623 def __call__(self, *args): member in Map
644 def __call__(self, *args): member in _ListAppend
663 def __call__(self, *args): member in _Tail
677 def __call__(self, *args): member in _ZipOperation
/third_party/python/Lib/idlelib/idle_test/
Dtest_calltip.py30 def __call__(self, ci): 'doc' member in TC
31 __call__.tip = "(self, ci)"
62 class SB: __call__ = None
182 for meth in (TC.t1, TC.t2, TC.t3, TC.t4, TC.t5, TC.t6, TC.__call__):
192 (tc.t6, "(self)"), (tc.__call__, '(ci)'),
210 def __call__(*, a): pass member in Get_argspecTest.test_invalid_method_get_spec.Test
232 def __call__(self, ci): # Bug does not matter. member in Get_argspecTest.test_buggy_getattr_class.CallA
235 def __call__(oui, a, b, c): # Non-standard 'self'. member in Get_argspecTest.test_buggy_getattr_class.CallB
/third_party/grpc/src/python/grpcio/grpc/aio/
D_base_channel.py31 def __call__( member in UnaryUnaryMultiCallable
70 def __call__( member in UnaryStreamMultiCallable
109 def __call__( member in StreamUnaryMultiCallable
148 def __call__( member in StreamStreamMultiCallable
/third_party/grpc/src/python/grpcio/grpc/experimental/aio/
D_base_channel.py31 def __call__(self, member in UnaryUnaryMultiCallable
69 def __call__(self, member in UnaryStreamMultiCallable
107 def __call__(self, member in StreamUnaryMultiCallable
145 def __call__(self, member in StreamStreamMultiCallable
/third_party/grpc/src/python/grpcio_testing/grpc_testing/_channel/
D_multi_callable.py28 def __call__(self, request, timeout=None, metadata=None, credentials=None): member in UnaryUnary
53 def __call__(self, request, timeout=None, metadata=None, credentials=None): member in UnaryStream
66 def __call__(self, member in StreamUnary
106 def __call__(self, member in StreamStream
/third_party/python/Lib/
D_sitebuiltins.py19 def __call__(self, code=None): member in Quitter
67 def __call__(self): member in _Printer
101 def __call__(self, *args, **kwds): member in _Helper
/third_party/grpc/src/python/grpcio/grpc/
D_auth.py36 def __call__(self, context, callback): member in GoogleCallCredentials
57 def __call__(self, context, callback): member in AccessTokenAuthMetadataPlugin
/third_party/python/Lib/test/
Dpydocfodder.py196 def __call__(self, inst): member in FunkyProperties.get_desc
202 def __call__(self, inst, val): member in FunkyProperties.set_desc
208 def __call__(self, inst): member in FunkyProperties.del_desc
/third_party/mindspore/mindspore/ops/operations/
Dcontrol_ops.py73 def __call__(self, data, pred): member in GeSwitch
113 def __call__(self, *args): member in Merge
/third_party/boost/libs/python/doc/numpy/reference/
Dunary_ufunc.rst54 …class must be created to use the ``call`` method corresponding to the ``__call__`` attribute of th…
100 …lass_<UnarySquare, boost::shared_ptr<UnarySquare> >("UnarySquare").def("__call__", np::unary_ufunc…
102 … unary scalar 1.0 is " << p::extract <char const * > (p::str(inst.attr("__call__")(1.0))) << std::…
/third_party/boost/libs/python/doc/html/numpy/_sources/reference/
Dunary_ufunc.rst.txt54 …class must be created to use the ``call`` method corresponding to the ``__call__`` attribute of th…
100 …lass_<UnarySquare, boost::shared_ptr<UnarySquare> >("UnarySquare").def("__call__", np::unary_ufunc…
102 … unary scalar 1.0 is " << p::extract <char const * > (p::str(inst.attr("__call__")(1.0))) << std::…
/third_party/node/tools/inspector_protocol/jinja2/
Dasyncsupport.py91 def __call__(self): function
96 return update_wrapper(__call__, original_call)
158 BlockReference.__call__ = wrap_block_reference_call(
159 BlockReference.__call__)
/third_party/jinja2/
Dasyncsupport.py87 def __call__(self): function
92 return update_wrapper(__call__, original_call)
155 BlockReference.__call__ = wrap_block_reference_call(BlockReference.__call__)
/third_party/grpc/src/python/grpcio_tests/tests/unit/
D_metadata_flags_test.py111 channel.unary_unary(_UNARY_UNARY).__call__(
133 response_iterator = channel.unary_stream(_UNARY_STREAM).__call__(
142 channel.stream_unary(_STREAM_UNARY).__call__(
164 response_iterator = channel.stream_stream(_STREAM_STREAM).__call__(
/third_party/skia/third_party/externals/jinja2/
Dasyncsupport.py87 def __call__(self): function
92 return update_wrapper(__call__, original_call)
155 BlockReference.__call__ = wrap_block_reference_call(BlockReference.__call__)
/third_party/grpc/src/python/grpcio/grpc/framework/interfaces/face/
Dface.py359 def __call__(self, member in UnaryUnaryMultiCallable
437 def __call__(self, request, timeout, metadata=None, protocol_options=None): member in UnaryStreamMultiCallable
486 def __call__(self, member in StreamUnaryMultiCallable
567 def __call__(self, member in StreamStreamMultiCallable
/third_party/mindspore/mindspore/ops/composite/multitype_ops/
Dgetitem_impl.py45 def __call__(self, *args): member in _TupleSlice
68 def __call__(self, *args): member in _TupleGetItemTensor

12345678910>>...13