/aosp_15_r20/external/pytorch/torch/csrc/jit/mobile/ |
H A D | quantization.cpp | 17 m.find_method(reset_observers_method_name).has_value(), in quantize_dynamic() 22 m.find_method(observe_method_name), in quantize_dynamic() 27 m.find_method(quantize_method_name), in quantize_dynamic() 32 m.find_method(quantized_method_name), in quantize_dynamic() 37 m.find_method("get_all_bundled_inputs"), in quantize_dynamic() 53 m.find_method(quantized_method_name).value().function(); in quantize_dynamic()
|
H A D | module.cpp | 38 if (auto method = find_method(name)) { in get_method() 77 !find_method(new_method_name).has_value(), in unsafeCopyMethod() 88 std::optional<Method> Module::find_method(const std::string& basename) const { in find_method() function in torch::jit::mobile::Module
|
H A D | module.h | 77 std::optional<Method> find_method(const std::string& basename) const;
|
/aosp_15_r20/external/pytorch/torch/csrc/jit/mobile/model_tracer/ |
H A D | MobileModelRunner.cpp | 120 auto has_bundled_input = module_->find_method("get_all_bundled_inputs"); in get_all_bundled_inputs() 133 module_->find_method("get_bundled_inputs_functions_and_info"); in get_many_functions_bundled_inputs() 150 auto has_func_to_call = module_->find_method(function_to_call); in get_many_functions_bundled_inputs() 178 auto has_bundled_input = module_->find_method(function_name); in run_with_inputs() 194 if (module_->find_method(function_name)) { in run_argless_functions()
|
H A D | MobileModelRunner.h | 104 return module_->find_method("get_bundled_inputs_functions_and_info") != in has_new_style_bundled_inputs()
|
/aosp_15_r20/external/pytorch/test/quantization/jit/ |
H A D | test_ondevice_quantization.py | 445 self.assertFalse(m.find_method("quantized_forward")) 446 self.assertFalse(m.find_method("quantize_forward")) 447 self.assertFalse(m.find_method("observe_forward")) 448 self.assertFalse(m.find_method("reset_observers_forward")) 495 self.assertFalse(m.find_method("quantized_forward")) 496 self.assertFalse(m.find_method("quantize_forward")) 497 self.assertFalse(m.find_method("observe_forward")) 498 self.assertFalse(m.find_method("reset_observers_forward"))
|
/aosp_15_r20/tools/asuite/atest/ |
H A D | test_finder_handler.py | 313 finder_instance, find_method_info.find_method, finder.NAME 337 find_method = test_ref_type.get_method() 338 finder_instance = finder_instance_dict[inspect._findclass(find_method).NAME] 341 test_finder_base.Finder(finder_instance, find_method, finder_info)
|
H A D | bazel_mode_unittest.py | 2017 test_infos = new_finder.find_method( 2038 test_infos = new_finder.find_method( 2062 test_infos = new_finder.find_method( 2086 test_infos = new_finder.find_method( 2110 test_infos = new_finder.find_method( 2134 test_infos = new_finder.find_method( 2158 test_infos = new_finder.find_method( 2179 test_infos = new_finder.find_method( 2200 test_infos = new_finder.find_method( 2214 def create_finder(self, mod_info, find_method): argument [all …]
|
/aosp_15_r20/external/cronet/third_party/boringssl/src/crypto/evp/ |
H A D | print.c | 340 static EVP_PKEY_PRINT_METHOD *find_method(int type) { in find_method() function 358 EVP_PKEY_PRINT_METHOD *method = find_method(EVP_PKEY_id(pkey)); in EVP_PKEY_print_public() 367 EVP_PKEY_PRINT_METHOD *method = find_method(EVP_PKEY_id(pkey)); in EVP_PKEY_print_private() 376 EVP_PKEY_PRINT_METHOD *method = find_method(EVP_PKEY_id(pkey)); in EVP_PKEY_print_params()
|
/aosp_15_r20/external/boringssl/src/crypto/evp/ |
H A D | print.c | 340 static EVP_PKEY_PRINT_METHOD *find_method(int type) { in find_method() function 358 EVP_PKEY_PRINT_METHOD *method = find_method(EVP_PKEY_id(pkey)); in EVP_PKEY_print_public() 367 EVP_PKEY_PRINT_METHOD *method = find_method(EVP_PKEY_id(pkey)); in EVP_PKEY_print_private() 376 EVP_PKEY_PRINT_METHOD *method = find_method(EVP_PKEY_id(pkey)); in EVP_PKEY_print_params()
|
/aosp_15_r20/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/ |
D | print.c | 448 static EVP_PKEY_PRINT_METHOD *find_method(int type) { in find_method() function 466 EVP_PKEY_PRINT_METHOD *method = find_method(pkey->type); in EVP_PKEY_print_public() 475 EVP_PKEY_PRINT_METHOD *method = find_method(pkey->type); in EVP_PKEY_print_private() 484 EVP_PKEY_PRINT_METHOD *method = find_method(pkey->type); in EVP_PKEY_print_params()
|
/aosp_15_r20/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/crypto/evp/ |
D | print.c | 448 static EVP_PKEY_PRINT_METHOD *find_method(int type) { in find_method() function 466 EVP_PKEY_PRINT_METHOD *method = find_method(pkey->type); in EVP_PKEY_print_public() 475 EVP_PKEY_PRINT_METHOD *method = find_method(pkey->type); in EVP_PKEY_print_private() 484 EVP_PKEY_PRINT_METHOD *method = find_method(pkey->type); in EVP_PKEY_print_params()
|
/aosp_15_r20/external/pytorch/torch/jit/mobile/ |
H A D | __init__.py | 64 def find_method(self, method_name): member in LiteScriptModule 65 return self._c.find_method(method_name)
|
/aosp_15_r20/external/pytorch/torch/csrc/jit/api/ |
H A D | object.h | 108 if (auto method = find_method(name)) { in get_method() 156 std::optional<Method> find_method(const std::string& basename) const;
|
H A D | module.cpp | 427 if (auto setstate_method = r.find_method("__setstate__")) { in clone_impl() 428 auto getstate_method = r.find_method("__getstate__"); in clone_impl() 510 if (auto method = frozen_mod.find_method("forward")) { in optimize_for_inference()
|
H A D | object.cpp | 17 std::optional<Method> Object::find_method(const std::string& basename) const { in find_method() function in torch::jit::Object
|
/aosp_15_r20/external/pytorch/torch/csrc/jit/python/ |
H A D | script_init.cpp | 799 if (auto method = self.find_method(name)) { in initJitScriptBindings() 851 return bool(self.find_method(name)); in initJitScriptBindings() 872 if (auto getstate_method = self.find_method("__getstate__")) { in initJitScriptBindings() 903 if (auto setstate_method = self.find_method("__setstate__")) { in initJitScriptBindings() 945 auto method = self.find_method("__str__"); in initJitScriptBindings() 957 auto method = self.find_method("__repr__"); in initJitScriptBindings() 976 auto method = self.find_method(mm_name); in initJitScriptBindings() 1122 if (auto m = self.find_method("forward")) { in initJitScriptBindings() 1313 auto method = m.find_method(method_name); in initJitScriptBindings()
|
/aosp_15_r20/external/pytorch/test/cpp/lite_interpreter_runtime/ |
H A D | test_lite_interpreter_runtime.cpp | 48 auto forward_method = bc.find_method("forward"); in TEST()
|
/aosp_15_r20/external/pytorch/torch/csrc/jit/passes/ |
H A D | freeze_module.cpp | 81 if (module_.find_method("forward")) { in AttributePropagator() 195 if (cur_module.hasattr(attr_name) || cur_module.find_method(attr_name)) { in resolveName() 1008 if (module.find_method("forward")) { in checkModuleDoesNotReturnSelf()
|
/aosp_15_r20/art/runtime/ |
H A D | well_known_classes.cc | 291 auto find_method = [p_size](ObjPtr<mirror::Class> klass, in STRING_INIT_LIST() 303 init_runtime_name = find_method(string_class, "<init>", init_signature, false); \ in STRING_INIT_LIST() 304 new_runtime_name = find_method(string_builder_class, new_java_name, new_signature, true); in STRING_INIT_LIST()
|
/aosp_15_r20/external/pytorch/test/mobile/ |
H A D | test_lite_script_module.py | 160 has_bundled_inputs = mobile_module.find_method("get_all_bundled_inputs") 171 has_bundled_inputs = mobile_module.find_method("get_all_bundled_inputs")
|
/aosp_15_r20/external/pytorch/test/mobile/model_test/ |
H A D | gen_test_model.py | 187 if lite_module.find_method("get_all_bundled_inputs"):
|
/aosp_15_r20/external/pytorch/test/cpp/jit/ |
H A D | test_lite_interpreter_direct.cpp | 474 ASSERT_TRUE(bc.find_method("forward") == std::nullopt); in TEST() 496 auto method = bc.find_method("add_it"); in TEST()
|
H A D | test_flatbuffer.cpp | 764 ASSERT_TRUE(bc.find_method("forward") == std::nullopt); in TEST() 768 ASSERT_TRUE(bc2.find_method("forward") == std::nullopt); in TEST() 790 auto method = bc.find_method("add_it"); in TEST() 804 auto method = bc2.find_method("add_it"); in TEST()
|
/aosp_15_r20/external/pytorch/ios/TestApp/TestAppTests/ |
H A D | TestLiteInterpreter.mm | 41 auto has_bundled_input = module.find_method("get_all_bundled_inputs");
|