Home
last modified time | relevance | path

Searched refs:new_method_name (Results 1 – 5 of 5) sorted by relevance

/aosp_15_r20/external/pytorch/torch/testing/_internal/optests/
H A Dgenerate_tests.py220 new_method_name = prefix + "__" + attr
263 if new_method_name in additional_decorators:
264 for dec in additional_decorators[new_method_name]:
267 if hasattr(testcase, new_method_name):
273 setattr(testcase, new_method_name, new_method)
/aosp_15_r20/external/pytorch/torch/csrc/jit/mobile/
H A Dmodule.cpp74 const std::string& new_method_name, in unsafeCopyMethod() argument
77 !find_method(new_method_name).has_value(), in unsafeCopyMethod()
81 tobe_copied_name.prefix(), new_method_name); in unsafeCopyMethod()
H A Dmodule.h169 const std::string& new_method_name,
/aosp_15_r20/external/pytorch/torch/csrc/jit/passes/quantization/
H A Dhelper.cpp334 const std::string& new_method_name) { in cloneMethod() argument
339 c10::QualifiedName(*module.type()->name(), new_method_name); in cloneMethod()
H A Dhelper.h47 const std::string& new_method_name);