Home
last modified time | relevance | path

Searched refs:self_method (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/pytorch/torch/jit/
H A D_script.py483 self_method = self.__getattr__(method_name)
484 return self_method(*args, **kwargs)
866 self_method = getattr(self, method_name)
867 if getattr(self_method, "__func__", None) == getattr(
871 return self_method(*args, **kwargs)
888 self_method = self.__dir__
890 self_method.__func__ # type: ignore[attr-defined]
894 return self_method()
900 self_method = self.__bool__
902 self_method.__func__ # type: ignore[attr-defined]
[all …]
/aosp_15_r20/external/pytorch/aten/src/ATen/core/
H A Dclass_type.cpp444 auto self_method = findMethod(schema.name()); in isSubtypeOfExt() local
445 if (!self_method) { in isSubtypeOfExt()
453 if (!self_method->getSchema().isSubtypeOf( in isSubtypeOfExt()
459 << " (1) " << self_method->getSchema() << "\n" in isSubtypeOfExt()