Home
last modified time | relevance | path

Searched refs:is_method (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/python/
Dpy_buffer.cc608 py::is_method(type)); in RegisterTypes()
617 py::is_method(type)); in RegisterTypes()
623 py::is_method(type)); in RegisterTypes()
625 [](PyBuffer::object self) { self.buf()->Delete(); }, py::is_method(type)); in RegisterTypes()
634 py::is_method(type)); in RegisterTypes()
637 py::is_method(type)); in RegisterTypes()
640 py::is_method(type)); in RegisterTypes()
646 py::is_method(type)); in RegisterTypes()
649 py::is_method(type)); in RegisterTypes()
652 py::is_method(type)); in RegisterTypes()
[all …]
Dsharded_device_array.cc276 py::is_method(type)); in RegisterTypes()
279 py::is_method(type)); in RegisterTypes()
Dpmap_lib.cc888 py::is_method(cfun_type)); in BuildPmapSubmodule()
911 py::is_method(cfun_type)); in BuildPmapSubmodule()
925 py::is_method(cfun_type)); in BuildPmapSubmodule()
947 py::is_method(cfun_type)); in BuildPmapSubmodule()
Djax_jit.cc1344 py::is_method(cfun_type)); in BuildJaxjitSubmodule()
1375 py::is_method(cfun_type)); in BuildJaxjitSubmodule()
1471 py::is_method(cfun)); in BuildJaxjitSubmodule()
1478 py::is_method(cfun)); in BuildJaxjitSubmodule()
/external/libchrome/base/
Dbind_internal.h182 template <bool is_method, typename... Args>
388 static constexpr bool is_method = false;
402 static constexpr bool is_method = false;
417 static constexpr bool is_method = false;
430 static constexpr bool is_method = false;
459 static constexpr bool is_method = false;
480 static constexpr bool is_method = false;
500 static constexpr bool is_method = true;
515 static constexpr bool is_method = true;
562 static constexpr bool is_method = false;
[all …]
Dbind.h160 template <bool is_once, bool is_method, typename... Args>
176 template <bool is_once, bool is_method, typename... Args>
178 typename MakeUnwrappedTypeListImpl<is_once, is_method, Args...>::Type;
199 internal::MakeUnwrappedTypeList<true, FunctorTraits::is_method,
240 internal::MakeUnwrappedTypeList<false, FunctorTraits::is_method,
/external/pytorch/torch/csrc/jit/frontend/
Dparser.h16 bool is_method);
20 TreeRef parseFunction(bool is_method);
Dparser.cpp14 bool is_method) { in mergeTypesFromTypeComment() argument
16 if (is_method) { in mergeTypesFromTypeComment()
25 << (is_method ? "method" : "function") << " parameters (" in mergeTypesFromTypeComment()
33 size_t i = is_method ? 1 : 0; in mergeTypesFromTypeComment()
35 if (is_method) { in mergeTypesFromTypeComment()
750 TreeRef parseFunction(bool is_method) { in parseFunction()
762 decl = mergeTypesFromTypeComment(decl, type_annotation_decl, is_method); in parseFunction()
771 decl = mergeTypesFromTypeComment(decl, type_annotation_decl, is_method); in parseFunction()
775 stmts.push_back(parseStmt(is_method)); in parseFunction()
806 TreeRef Parser::parseFunction(bool is_method) { in parseFunction() argument
[all …]
/external/cronet/stable/base/functional/
Dbind_internal.h443 template <bool is_method, typename... Args>
646 static constexpr bool is_method = false;
662 static constexpr bool is_method = false;
700 static constexpr bool is_method = false;
727 static constexpr bool is_method = true;
803 static constexpr bool is_method = false;
820 static constexpr bool is_method = false;
854 static constexpr bool is_method = false;
1052 kIsWeakMethod<Traits::is_method,
1121 template <bool is_method,
[all …]
Dcallback_internal.h27 template <bool is_method,
86 template <bool is_method,
/external/cronet/tot/base/functional/
Dbind_internal.h443 template <bool is_method, typename... Args>
646 static constexpr bool is_method = false;
662 static constexpr bool is_method = false;
700 static constexpr bool is_method = false;
727 static constexpr bool is_method = true;
803 static constexpr bool is_method = false;
820 static constexpr bool is_method = false;
854 static constexpr bool is_method = false;
1052 kIsWeakMethod<Traits::is_method,
1121 template <bool is_method,
[all …]
Dcallback_internal.h27 template <bool is_method,
86 template <bool is_method,
/external/tensorflow/tensorflow/python/saved_model/
Dfunction_serialization.py26 if function_spec.is_method and not function_spec.fullargspec.args:
41 proto.is_method = function_spec.is_method
Dfunction_deserialization.py129 if function_spec_proto.is_method:
158 is_method=False,
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
Ddecorators.py33 is_method = arg_spec.args and arg_spec.args[0] == "self"
62 if is_method:
/external/tensorflow/tensorflow/python/eager/
Dfunction_spec.py68 is_method = tf_inspect.isanytargetmethod(python_function)
140 is_method,
149 is_method, argument
168 self._is_method = is_method
213 def is_method(self): member in FunctionSpec
279 unbound_self_arg = 1 if (not self.is_method and arg_names_len > 0 and
/external/rust/android-crates-io/crates/bindgen/ir/
Dfunction.rs527 let is_method = kind == CXCursor_CXXMethod; in from_ty() localVariable
530 if (is_constructor || is_destructor || is_method) && in from_ty()
537 if is_method || is_constructor || is_destructor { in from_ty()
538 let is_const = is_method && cursor.method_is_const(); in from_ty()
539 let is_virtual = is_method && cursor.method_is_virtual(); in from_ty()
540 let is_static = is_method && cursor.method_is_static(); in from_ty()
/external/python/cpython3/Objects/
Dcall.c872 int is_method = _PyObject_GetMethod(obj, name, &callable); in PyObject_CallMethodObjArgs() local
876 obj = is_method ? obj : NULL; in PyObject_CallMethodObjArgs()
902 int is_method = _PyObject_GetMethod(obj, oname, &callable); in _PyObject_CallMethodIdObjArgs() local
906 obj = is_method ? obj : NULL; in _PyObject_CallMethodIdObjArgs()
/external/pytorch/torch/jit/
Dannotations.py112 def get_signature(fn, rcb, loc, is_method): argument
117 if signature is not None and is_method:
Dfrontend.py439 is_method = self_name is not None
442 decl = torch._C.merge_type_from_type_comment(decl, type_comment_decl, is_method)
/external/python/cpython3/Python/
Dspecialize.c888 PyObject* descr, DescriptorClassification kind, bool is_method);
1262 PyObject *descr, DescriptorClassification kind, bool is_method) in specialize_attr_loadclassattr() argument
1268 assert((is_method && kind == METHOD) || (!is_method && kind == NON_DESCRIPTOR)); in specialize_attr_loadclassattr()
1283 … instr->op.code = is_method ? LOAD_ATTR_METHOD_WITH_VALUES : LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES; in specialize_attr_loadclassattr()
1298 instr->op.code = is_method ? LOAD_ATTR_METHOD_NO_DICT : LOAD_ATTR_NONDESCRIPTOR_NO_DICT; in specialize_attr_loadclassattr()
1300 else if (is_method) { in specialize_attr_loadclassattr()
/external/pytorch/torch/csrc/api/include/torch/
Dpython.h89 py::is_method(wrapper_class)); in bind_cpp_module_wrapper()
/external/libchrome/base/android/jni_generator/
Djni_generator.py1031 is_method = native.type == 'method'
1033 if is_method:
1070 if is_method:
/external/pytorch/test/
Dtest_overrides.py650 is_method = is_tensor_method_or_property(func)
700 if t == "Tensor" and is_method and arg["name"] == "self":
734 if not is_method or ret is None:
/external/tensorflow/tensorflow/core/protobuf/
Dsaved_object_graph.proto214 bool is_method = 2; field

12