/* Generated code for Python module 'models.eva_vit' * created by Nuitka version 0.6.16 * * This code is in part copyright 2021 Kay Hayen. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include "nuitka/prelude.h" #include "nuitka/unfreezing.h" #include "__helpers.h" /* The "module_models$eva_vit" is a Python object pointer of module type. * * Note: For full compatibility with CPython, every module variable access * needs to go through it except for cases where the module cannot possibly * have changed in the mean time. */ PyObject *module_models$eva_vit; PyDictObject *moduledict_models$eva_vit; /* The declarations of module constants used, if any. */ static PyObject *mod_consts[333]; static PyObject *module_filename_obj = NULL; /* Indicator if this modules private constants were created yet. */ static bool constants_created = false; /* Function to create module private constants. */ static void createModuleConstants(void) { if (constants_created == false) { loadConstantsBlob(&mod_consts[0], UNTRANSLATE("models.eva_vit")); constants_created = true; } } /* For multiprocessing, we want to be able to initialize the __main__ constants. */ #if (_NUITKA_PLUGIN_MULTIPROCESSING_ENABLED || _NUITKA_PLUGIN_TRACEBACK_ENCRYPTION_ENABLED) && 0 void createMainModuleConstants(void) { createModuleConstants(); } #endif /* Function to verify module private constants for non-corruption. */ #ifndef __NUITKA_NO_ASSERT__ void checkModuleConstants_models$eva_vit(void) { // The module may not have been used at all, then ignore this. if (constants_created == false) return; checkConstantsBlob(&mod_consts[0], "models.eva_vit"); } #endif // The module code objects. static PyCodeObject *codeobj_ba131fdbf0642417c1f00c51309fdd24; static PyCodeObject *codeobj_8c3d2c26074fd179a839a2865225477e; static PyCodeObject *codeobj_ca7d5a72cb9493a006e151c55e0654a6; static PyCodeObject *codeobj_2edfa8351c80e7d7fdb434fec9d71413; static PyCodeObject *codeobj_307103cd4c8c91221c1b5d3bbd668de5; static PyCodeObject *codeobj_1347fc2fd0cc8327fc442e80aef3d34a; static PyCodeObject *codeobj_b7e284487c7a724fe375c971bffefa37; static PyCodeObject *codeobj_1cd964112254225e4c50e7367fadca6e; static PyCodeObject *codeobj_1bb0233c85dac073bd221db7b8d08c7d; static PyCodeObject *codeobj_15d041386150a57970a9bb49e9945556; static PyCodeObject *codeobj_d92c71c73bff0f22de3676bfa424f040; static PyCodeObject *codeobj_dee30e4e144137543edf2e9eb10bf246; static PyCodeObject *codeobj_cbbf930efb7d03951d3f0d44d452b5c5; static PyCodeObject *codeobj_b2d24eeaac09f42ae30d5aa04029c58d; static PyCodeObject *codeobj_98263e472fd41a406a6243a5fb0fe540; static PyCodeObject *codeobj_aca10258238f16e5d32cdec7d38f6aa1; static PyCodeObject *codeobj_90888ee108de7d41b39f1ce4c7fc2733; static PyCodeObject *codeobj_1a25f4e6272cd37b0391185d6e15332d; static PyCodeObject *codeobj_798eb7b5936251f17f02ea63a4c80711; static PyCodeObject *codeobj_d3ae6dfcfdfb59872f24376c5abceab9; static PyCodeObject *codeobj_cdc1bdc0d0f99246b06c37d69566725f; static PyCodeObject *codeobj_dfea8ca4ca30978daca1027e66969d32; static PyCodeObject *codeobj_0382e55983fd56587f1869ac50f89780; static PyCodeObject *codeobj_608fe3c25a20e7407073e8ada1e4a0a2; static PyCodeObject *codeobj_3611403861dabc1175f5dc9fc6560deb; static PyCodeObject *codeobj_606b69ee75e6213fc8a924a5ab3c203e; static PyCodeObject *codeobj_a9e2d880945280c132cf97a150626697; static PyCodeObject *codeobj_490b645cee54b66ea24504c582d15e25; static PyCodeObject *codeobj_446336bff265ef3598d46cbfaec00955; static PyCodeObject *codeobj_d5219c5b01b2e872456147b340beeec5; static PyCodeObject *codeobj_9fd144b2d64377624d1cbd90f98752ee; static PyCodeObject *codeobj_2192bdbd8e91262dd573c14e59b5b144; static PyCodeObject *codeobj_4767d123c180f4ce20b41f46dcfe0fa7; static PyCodeObject *codeobj_ae30f9a36795259179b59fe1c61f577b; static PyCodeObject *codeobj_f1a5127b96c07704e8fb5584f8d146f7; static PyCodeObject *codeobj_b5558490320606969b02cc72fbce71c2; static PyCodeObject *codeobj_f2a65ca76842944dd804c12b66e87a5d; static void createModuleCodeObjects(void) { module_filename_obj = MAKE_RELATIVE_PATH(mod_consts[303]); CHECK_OBJECT(module_filename_obj); codeobj_ba131fdbf0642417c1f00c51309fdd24 = MAKE_CODEOBJECT(module_filename_obj, 280, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[304], mod_consts[305], NULL, 1, 0, 0); codeobj_8c3d2c26074fd179a839a2865225477e = MAKE_CODEOBJECT(module_filename_obj, 278, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[304], mod_consts[306], NULL, 1, 0, 0); codeobj_ca7d5a72cb9493a006e151c55e0654a6 = MAKE_CODEOBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[307], NULL, NULL, 0, 0, 0); codeobj_2edfa8351c80e7d7fdb434fec9d71413 = MAKE_CODEOBJECT(module_filename_obj, 66, CO_NOFREE, mod_consts[97], mod_consts[308], NULL, 0, 0, 0); codeobj_307103cd4c8c91221c1b5d3bbd668de5 = MAKE_CODEOBJECT(module_filename_obj, 153, CO_NOFREE, mod_consts[149], mod_consts[308], NULL, 0, 0, 0); codeobj_1347fc2fd0cc8327fc442e80aef3d34a = MAKE_CODEOBJECT(module_filename_obj, 32, CO_NOFREE, mod_consts[8], mod_consts[308], NULL, 0, 0, 0); codeobj_b7e284487c7a724fe375c971bffefa37 = MAKE_CODEOBJECT(module_filename_obj, 46, CO_NOFREE, mod_consts[104], mod_consts[308], NULL, 0, 0, 0); codeobj_1cd964112254225e4c50e7367fadca6e = MAKE_CODEOBJECT(module_filename_obj, 185, CO_NOFREE, mod_consts[135], mod_consts[308], NULL, 0, 0, 0); codeobj_1bb0233c85dac073bd221db7b8d08c7d = MAKE_CODEOBJECT(module_filename_obj, 209, CO_NOFREE, mod_consts[142], mod_consts[308], NULL, 0, 0, 0); codeobj_15d041386150a57970a9bb49e9945556 = MAKE_CODEOBJECT(module_filename_obj, 248, CO_NOFREE, mod_consts[204], mod_consts[308], NULL, 0, 0, 0); codeobj_d92c71c73bff0f22de3676bfa424f040 = MAKE_CODEOBJECT(module_filename_obj, 155, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[9], mod_consts[309], mod_consts[308], 14, 0, 0); codeobj_dee30e4e144137543edf2e9eb10bf246 = MAKE_CODEOBJECT(module_filename_obj, 67, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[9], mod_consts[310], mod_consts[308], 9, 0, 0); codeobj_cbbf930efb7d03951d3f0d44d452b5c5 = MAKE_CODEOBJECT(module_filename_obj, 35, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[9], mod_consts[311], NULL, 2, 0, 0); codeobj_b2d24eeaac09f42ae30d5aa04029c58d = MAKE_CODEOBJECT(module_filename_obj, 188, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[9], mod_consts[312], mod_consts[308], 5, 0, 0); codeobj_98263e472fd41a406a6243a5fb0fe540 = MAKE_CODEOBJECT(module_filename_obj, 251, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[9], mod_consts[313], mod_consts[308], 22, 0, 0); codeobj_aca10258238f16e5d32cdec7d38f6aa1 = MAKE_CODEOBJECT(module_filename_obj, 47, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[9], mod_consts[314], mod_consts[308], 6, 0, 0); codeobj_90888ee108de7d41b39f1ce4c7fc2733 = MAKE_CODEOBJECT(module_filename_obj, 211, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[9], mod_consts[315], mod_consts[308], 3, 0, 0); codeobj_1a25f4e6272cd37b0391185d6e15332d = MAKE_CODEOBJECT(module_filename_obj, 22, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[249], mod_consts[316], NULL, 1, 0, 0); codeobj_798eb7b5936251f17f02ea63a4c80711 = MAKE_CODEOBJECT(module_filename_obj, 402, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[198], mod_consts[317], NULL, 1, 0, 0); codeobj_d3ae6dfcfdfb59872f24376c5abceab9 = MAKE_CODEOBJECT(module_filename_obj, 310, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[159], mod_consts[318], NULL, 2, 0, 0); codeobj_cdc1bdc0d0f99246b06c37d69566725f = MAKE_CODEOBJECT(module_filename_obj, 399, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[223], mod_consts[319], NULL, 1, 0, 0); codeobj_dfea8ca4ca30978daca1027e66969d32 = MAKE_CODEOBJECT(module_filename_obj, 417, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[302], mod_consts[320], NULL, 4, 0, 0); codeobj_0382e55983fd56587f1869ac50f89780 = MAKE_CODEOBJECT(module_filename_obj, 42, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[266], mod_consts[321], NULL, 1, 0, 0); codeobj_608fe3c25a20e7407073e8ada1e4a0a2 = MAKE_CODEOBJECT(module_filename_obj, 302, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[160], mod_consts[322], NULL, 1, 0, 0); codeobj_3611403861dabc1175f5dc9fc6560deb = MAKE_CODEOBJECT(module_filename_obj, 240, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[262], mod_consts[323], NULL, 1, 0, 0); codeobj_606b69ee75e6213fc8a924a5ab3c203e = MAKE_CODEOBJECT(module_filename_obj, 39, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[262], mod_consts[324], NULL, 2, 0, 0); codeobj_a9e2d880945280c132cf97a150626697 = MAKE_CODEOBJECT(module_filename_obj, 56, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[262], mod_consts[324], NULL, 2, 0, 0); codeobj_490b645cee54b66ea24504c582d15e25 = MAKE_CODEOBJECT(module_filename_obj, 351, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[262], mod_consts[324], NULL, 2, 0, 0); codeobj_446336bff265ef3598d46cbfaec00955 = MAKE_CODEOBJECT(module_filename_obj, 200, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[262], mod_consts[325], NULL, 2, 0, 0); codeobj_d5219c5b01b2e872456147b340beeec5 = MAKE_CODEOBJECT(module_filename_obj, 175, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[262], mod_consts[326], NULL, 3, 0, 0); codeobj_9fd144b2d64377624d1cbd90f98752ee = MAKE_CODEOBJECT(module_filename_obj, 120, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[262], mod_consts[327], NULL, 3, 0, 0); codeobj_2192bdbd8e91262dd573c14e59b5b144 = MAKE_CODEOBJECT(module_filename_obj, 326, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[179], mod_consts[328], NULL, 2, 0, 0); codeobj_4767d123c180f4ce20b41f46dcfe0fa7 = MAKE_CODEOBJECT(module_filename_obj, 319, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[293], mod_consts[321], NULL, 1, 0, 0); codeobj_ae30f9a36795259179b59fe1c61f577b = MAKE_CODEOBJECT(module_filename_obj, 356, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[299], mod_consts[329], NULL, 2, 0, 0); codeobj_f1a5127b96c07704e8fb5584f8d146f7 = MAKE_CODEOBJECT(module_filename_obj, 375, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[219], mod_consts[330], NULL, 2, 0, 0); codeobj_b5558490320606969b02cc72fbce71c2 = MAKE_CODEOBJECT(module_filename_obj, 303, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[161], mod_consts[331], NULL, 2, 0, 0); codeobj_f2a65ca76842944dd804c12b66e87a5d = MAKE_CODEOBJECT(module_filename_obj, 322, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[295], mod_consts[332], NULL, 3, 0, 0); } // The module function declarations. NUITKA_CROSS_MODULE PyObject *impl_models$$$function__1__mro_entries_conversion(PyObject **python_pars); NUITKA_CROSS_MODULE PyObject *impl_models$$$function__6__unpack_dict(PyObject **python_pars); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__10_forward(PyObject *defaults); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__11___init__(PyObject *defaults, struct Nuitka_CellObject **closure); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__12_forward(); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__13___init__(struct Nuitka_CellObject **closure); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__14_forward(); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__15___init__(PyObject *defaults, struct Nuitka_CellObject **closure); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__16_fix_init_weight(); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__16_fix_init_weight$$$function__1_rescale(); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__17__init_weights(); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__18_get_classifier(); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__19_reset_classifier(PyObject *defaults); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__1__cfg(PyObject *defaults); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__20_forward_features(); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__21_forward(); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__22_get_intermediate_layers(); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__23_interpolate_pos_embed(); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__24_convert_weights_to_fp16(PyObject *annotations); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__24_convert_weights_to_fp16$$$function__1__convert_weights_to_fp16(); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__25_create_eva_vit_g(PyObject *defaults); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__2___init__(PyObject *defaults); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__3_forward(); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__4_extra_repr(PyObject *annotations); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__5___init__(PyObject *defaults, struct Nuitka_CellObject **closure); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__6_forward(); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__7___init__(PyObject *defaults, struct Nuitka_CellObject **closure); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__8_forward(PyObject *defaults); static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__9___init__(PyObject *defaults, struct Nuitka_CellObject **closure); // The module function definitions. static PyObject *impl_models$eva_vit$$$function__1__cfg(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_url = python_pars[0]; PyObject *par_kwargs = python_pars[1]; struct Nuitka_FrameObject *frame_1a25f4e6272cd37b0391185d6e15332d; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; int tmp_res; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_1a25f4e6272cd37b0391185d6e15332d = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_1a25f4e6272cd37b0391185d6e15332d)) { Py_XDECREF(cache_frame_1a25f4e6272cd37b0391185d6e15332d); #if _DEBUG_REFCOUNTS if (cache_frame_1a25f4e6272cd37b0391185d6e15332d == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_1a25f4e6272cd37b0391185d6e15332d = MAKE_FUNCTION_FRAME(codeobj_1a25f4e6272cd37b0391185d6e15332d, module_models$eva_vit, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_1a25f4e6272cd37b0391185d6e15332d->m_type_description == NULL); frame_1a25f4e6272cd37b0391185d6e15332d = cache_frame_1a25f4e6272cd37b0391185d6e15332d; // Push the new frame as the currently active one. pushFrameStack(frame_1a25f4e6272cd37b0391185d6e15332d); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_1a25f4e6272cd37b0391185d6e15332d) == 2); // Frame stack // Framed code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_tuple_element_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; tmp_dict_key_1 = mod_consts[0]; CHECK_OBJECT(par_url); tmp_dict_value_1 = par_url; tmp_tuple_element_1 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_tuple_element_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dircall_arg1_1 = PyTuple_New(9); PyTuple_SET_ITEM(tmp_dircall_arg1_1, 0, tmp_tuple_element_1); tmp_tuple_element_1 = PyDict_Copy(mod_consts[1]); PyTuple_SET_ITEM(tmp_dircall_arg1_1, 1, tmp_tuple_element_1); tmp_tuple_element_1 = PyDict_Copy(mod_consts[2]); PyTuple_SET_ITEM(tmp_dircall_arg1_1, 2, tmp_tuple_element_1); tmp_tuple_element_1 = PyDict_Copy(mod_consts[3]); PyTuple_SET_ITEM(tmp_dircall_arg1_1, 3, tmp_tuple_element_1); tmp_tuple_element_1 = PyDict_Copy(mod_consts[4]); PyTuple_SET_ITEM(tmp_dircall_arg1_1, 4, tmp_tuple_element_1); tmp_tuple_element_1 = PyDict_Copy(mod_consts[5]); PyTuple_SET_ITEM(tmp_dircall_arg1_1, 5, tmp_tuple_element_1); tmp_tuple_element_1 = PyDict_Copy(mod_consts[6]); PyTuple_SET_ITEM(tmp_dircall_arg1_1, 6, tmp_tuple_element_1); tmp_tuple_element_1 = PyDict_Copy(mod_consts[7]); PyTuple_SET_ITEM(tmp_dircall_arg1_1, 7, tmp_tuple_element_1); CHECK_OBJECT(par_kwargs); tmp_tuple_element_1 = par_kwargs; PyTuple_SET_ITEM0(tmp_dircall_arg1_1, 8, tmp_tuple_element_1); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1}; tmp_return_value = impl_models$$$function__6__unpack_dict(dir_call_args); } if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 23; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_1a25f4e6272cd37b0391185d6e15332d); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_1a25f4e6272cd37b0391185d6e15332d); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_1a25f4e6272cd37b0391185d6e15332d); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_1a25f4e6272cd37b0391185d6e15332d, exception_lineno); } else if (exception_tb->tb_frame != &frame_1a25f4e6272cd37b0391185d6e15332d->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_1a25f4e6272cd37b0391185d6e15332d, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_1a25f4e6272cd37b0391185d6e15332d, type_description_1, par_url, par_kwargs ); // Release cached frame if used for exception. if (frame_1a25f4e6272cd37b0391185d6e15332d == cache_frame_1a25f4e6272cd37b0391185d6e15332d) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_1a25f4e6272cd37b0391185d6e15332d); cache_frame_1a25f4e6272cd37b0391185d6e15332d = NULL; } assertFrameObject(frame_1a25f4e6272cd37b0391185d6e15332d); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_url); Py_DECREF(par_url); par_url = NULL; CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); par_kwargs = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_url); Py_DECREF(par_url); par_url = NULL; CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); par_kwargs = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__2___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_drop_prob = python_pars[1]; struct Nuitka_FrameObject *frame_cbbf930efb7d03951d3f0d44d452b5c5; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_cbbf930efb7d03951d3f0d44d452b5c5 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_cbbf930efb7d03951d3f0d44d452b5c5)) { Py_XDECREF(cache_frame_cbbf930efb7d03951d3f0d44d452b5c5); #if _DEBUG_REFCOUNTS if (cache_frame_cbbf930efb7d03951d3f0d44d452b5c5 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_cbbf930efb7d03951d3f0d44d452b5c5 = MAKE_FUNCTION_FRAME(codeobj_cbbf930efb7d03951d3f0d44d452b5c5, module_models$eva_vit, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_cbbf930efb7d03951d3f0d44d452b5c5->m_type_description == NULL); frame_cbbf930efb7d03951d3f0d44d452b5c5 = cache_frame_cbbf930efb7d03951d3f0d44d452b5c5; // Push the new frame as the currently active one. pushFrameStack(frame_cbbf930efb7d03951d3f0d44d452b5c5); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_cbbf930efb7d03951d3f0d44d452b5c5) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_call_result_1; tmp_type_arg_name_1 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[8]); if (unlikely(tmp_type_arg_name_1 == NULL)) { tmp_type_arg_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[8]); } if (tmp_type_arg_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 36; type_description_1 = "ooN"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER2(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 36; type_description_1 = "ooN"; goto frame_exception_exit_1; } frame_cbbf930efb7d03951d3f0d44d452b5c5->m_frame.f_lineno = 36; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[9]); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 36; type_description_1 = "ooN"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT(par_drop_prob); tmp_assattr_name_1 = par_drop_prob; CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[10], tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 37; type_description_1 = "ooN"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_cbbf930efb7d03951d3f0d44d452b5c5); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_cbbf930efb7d03951d3f0d44d452b5c5); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_cbbf930efb7d03951d3f0d44d452b5c5, exception_lineno); } else if (exception_tb->tb_frame != &frame_cbbf930efb7d03951d3f0d44d452b5c5->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_cbbf930efb7d03951d3f0d44d452b5c5, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_cbbf930efb7d03951d3f0d44d452b5c5, type_description_1, par_self, par_drop_prob, NULL ); // Release cached frame if used for exception. if (frame_cbbf930efb7d03951d3f0d44d452b5c5 == cache_frame_cbbf930efb7d03951d3f0d44d452b5c5) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_cbbf930efb7d03951d3f0d44d452b5c5); cache_frame_cbbf930efb7d03951d3f0d44d452b5c5 = NULL; } assertFrameObject(frame_cbbf930efb7d03951d3f0d44d452b5c5); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_drop_prob); Py_DECREF(par_drop_prob); par_drop_prob = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_drop_prob); Py_DECREF(par_drop_prob); par_drop_prob = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__3_forward(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_x = python_pars[1]; struct Nuitka_FrameObject *frame_606b69ee75e6213fc8a924a5ab3c203e; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_606b69ee75e6213fc8a924a5ab3c203e = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_606b69ee75e6213fc8a924a5ab3c203e)) { Py_XDECREF(cache_frame_606b69ee75e6213fc8a924a5ab3c203e); #if _DEBUG_REFCOUNTS if (cache_frame_606b69ee75e6213fc8a924a5ab3c203e == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_606b69ee75e6213fc8a924a5ab3c203e = MAKE_FUNCTION_FRAME(codeobj_606b69ee75e6213fc8a924a5ab3c203e, module_models$eva_vit, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_606b69ee75e6213fc8a924a5ab3c203e->m_type_description == NULL); frame_606b69ee75e6213fc8a924a5ab3c203e = cache_frame_606b69ee75e6213fc8a924a5ab3c203e; // Push the new frame as the currently active one. pushFrameStack(frame_606b69ee75e6213fc8a924a5ab3c203e); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_606b69ee75e6213fc8a924a5ab3c203e) == 2); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_expression_name_1; PyObject *tmp_args_element_name_3; PyObject *tmp_expression_name_2; tmp_called_name_1 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[11]); if (unlikely(tmp_called_name_1 == NULL)) { tmp_called_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[11]); } if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 40; type_description_1 = "oo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_x); tmp_args_element_name_1 = par_x; CHECK_OBJECT(par_self); tmp_expression_name_1 = par_self; tmp_args_element_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[10]); if (tmp_args_element_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 40; type_description_1 = "oo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_args_element_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 40; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_expression_name_2 = par_self; tmp_args_element_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[13]); if (tmp_args_element_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_args_element_name_2); exception_lineno = 40; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_606b69ee75e6213fc8a924a5ab3c203e->m_frame.f_lineno = 40; { PyObject *call_args[] = {tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3}; tmp_return_value = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_1, call_args); } Py_DECREF(tmp_args_element_name_2); Py_DECREF(tmp_args_element_name_3); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 40; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_606b69ee75e6213fc8a924a5ab3c203e); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_606b69ee75e6213fc8a924a5ab3c203e); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_606b69ee75e6213fc8a924a5ab3c203e); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_606b69ee75e6213fc8a924a5ab3c203e, exception_lineno); } else if (exception_tb->tb_frame != &frame_606b69ee75e6213fc8a924a5ab3c203e->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_606b69ee75e6213fc8a924a5ab3c203e, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_606b69ee75e6213fc8a924a5ab3c203e, type_description_1, par_self, par_x ); // Release cached frame if used for exception. if (frame_606b69ee75e6213fc8a924a5ab3c203e == cache_frame_606b69ee75e6213fc8a924a5ab3c203e) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_606b69ee75e6213fc8a924a5ab3c203e); cache_frame_606b69ee75e6213fc8a924a5ab3c203e = NULL; } assertFrameObject(frame_606b69ee75e6213fc8a924a5ab3c203e); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; CHECK_OBJECT(par_x); Py_DECREF(par_x); par_x = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; CHECK_OBJECT(par_x); Py_DECREF(par_x); par_x = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__4_extra_repr(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; struct Nuitka_FrameObject *frame_0382e55983fd56587f1869ac50f89780; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_0382e55983fd56587f1869ac50f89780 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_0382e55983fd56587f1869ac50f89780)) { Py_XDECREF(cache_frame_0382e55983fd56587f1869ac50f89780); #if _DEBUG_REFCOUNTS if (cache_frame_0382e55983fd56587f1869ac50f89780 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_0382e55983fd56587f1869ac50f89780 = MAKE_FUNCTION_FRAME(codeobj_0382e55983fd56587f1869ac50f89780, module_models$eva_vit, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_0382e55983fd56587f1869ac50f89780->m_type_description == NULL); frame_0382e55983fd56587f1869ac50f89780 = cache_frame_0382e55983fd56587f1869ac50f89780; // Push the new frame as the currently active one. pushFrameStack(frame_0382e55983fd56587f1869ac50f89780); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_0382e55983fd56587f1869ac50f89780) == 2); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_expression_name_2; tmp_expression_name_1 = mod_consts[14]; tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[15]); assert(!(tmp_called_name_1 == NULL)); CHECK_OBJECT(par_self); tmp_expression_name_2 = par_self; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[10]); if (tmp_args_element_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 43; type_description_1 = "o"; goto frame_exception_exit_1; } frame_0382e55983fd56587f1869ac50f89780->m_frame.f_lineno = 43; tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_1); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 43; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_0382e55983fd56587f1869ac50f89780); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_0382e55983fd56587f1869ac50f89780); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_0382e55983fd56587f1869ac50f89780); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_0382e55983fd56587f1869ac50f89780, exception_lineno); } else if (exception_tb->tb_frame != &frame_0382e55983fd56587f1869ac50f89780->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_0382e55983fd56587f1869ac50f89780, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_0382e55983fd56587f1869ac50f89780, type_description_1, par_self ); // Release cached frame if used for exception. if (frame_0382e55983fd56587f1869ac50f89780 == cache_frame_0382e55983fd56587f1869ac50f89780) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_0382e55983fd56587f1869ac50f89780); cache_frame_0382e55983fd56587f1869ac50f89780 = NULL; } assertFrameObject(frame_0382e55983fd56587f1869ac50f89780); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__5___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_in_features = python_pars[1]; PyObject *par_hidden_features = python_pars[2]; PyObject *par_out_features = python_pars[3]; PyObject *par_act_layer = python_pars[4]; PyObject *par_drop = python_pars[5]; struct Nuitka_FrameObject *frame_aca10258238f16e5d32cdec7d38f6aa1; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_aca10258238f16e5d32cdec7d38f6aa1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_aca10258238f16e5d32cdec7d38f6aa1)) { Py_XDECREF(cache_frame_aca10258238f16e5d32cdec7d38f6aa1); #if _DEBUG_REFCOUNTS if (cache_frame_aca10258238f16e5d32cdec7d38f6aa1 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_aca10258238f16e5d32cdec7d38f6aa1 = MAKE_FUNCTION_FRAME(codeobj_aca10258238f16e5d32cdec7d38f6aa1, module_models$eva_vit, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_aca10258238f16e5d32cdec7d38f6aa1->m_type_description == NULL); frame_aca10258238f16e5d32cdec7d38f6aa1 = cache_frame_aca10258238f16e5d32cdec7d38f6aa1; // Push the new frame as the currently active one. pushFrameStack(frame_aca10258238f16e5d32cdec7d38f6aa1); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_aca10258238f16e5d32cdec7d38f6aa1) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_call_result_1; if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[16]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 48; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } tmp_type_arg_name_1 = Nuitka_Cell_GET(self->m_closure[0]); CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER0(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 48; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } frame_aca10258238f16e5d32cdec7d38f6aa1->m_frame.f_lineno = 48; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[9]); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 48; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assign_source_1; int tmp_or_left_truth_1; PyObject *tmp_or_left_value_1; PyObject *tmp_or_right_value_1; CHECK_OBJECT(par_out_features); tmp_or_left_value_1 = par_out_features; tmp_or_left_truth_1 = CHECK_IF_TRUE(tmp_or_left_value_1); if (tmp_or_left_truth_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 49; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } if (tmp_or_left_truth_1 == 1) { goto or_left_1; } else { goto or_right_1; } or_right_1:; CHECK_OBJECT(par_in_features); tmp_or_right_value_1 = par_in_features; tmp_assign_source_1 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_assign_source_1 = tmp_or_left_value_1; or_end_1:; { PyObject *old = par_out_features; assert(old != NULL); par_out_features = tmp_assign_source_1; Py_INCREF(par_out_features); Py_DECREF(old); } } { PyObject *tmp_assign_source_2; int tmp_or_left_truth_2; PyObject *tmp_or_left_value_2; PyObject *tmp_or_right_value_2; CHECK_OBJECT(par_hidden_features); tmp_or_left_value_2 = par_hidden_features; tmp_or_left_truth_2 = CHECK_IF_TRUE(tmp_or_left_value_2); if (tmp_or_left_truth_2 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 50; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } if (tmp_or_left_truth_2 == 1) { goto or_left_2; } else { goto or_right_2; } or_right_2:; CHECK_OBJECT(par_in_features); tmp_or_right_value_2 = par_in_features; tmp_assign_source_2 = tmp_or_right_value_2; goto or_end_2; or_left_2:; tmp_assign_source_2 = tmp_or_left_value_2; or_end_2:; { PyObject *old = par_hidden_features; assert(old != NULL); par_hidden_features = tmp_assign_source_2; Py_INCREF(par_hidden_features); Py_DECREF(old); } } { PyObject *tmp_assattr_name_1; PyObject *tmp_called_instance_2; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_assattr_target_1; tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_called_instance_2 == NULL)) { tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 51; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_in_features); tmp_args_element_name_1 = par_in_features; CHECK_OBJECT(par_hidden_features); tmp_args_element_name_2 = par_hidden_features; frame_aca10258238f16e5d32cdec7d38f6aa1->m_frame.f_lineno = 51; { PyObject *call_args[] = {tmp_args_element_name_1, tmp_args_element_name_2}; tmp_assattr_name_1 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_2, mod_consts[18], call_args ); } if (tmp_assattr_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 51; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[19], tmp_assattr_name_1); Py_DECREF(tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 51; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_called_name_1; PyObject *tmp_assattr_target_2; CHECK_OBJECT(par_act_layer); tmp_called_name_1 = par_act_layer; frame_aca10258238f16e5d32cdec7d38f6aa1->m_frame.f_lineno = 52; tmp_assattr_name_2 = CALL_FUNCTION_NO_ARGS(tmp_called_name_1); if (tmp_assattr_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 52; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[20], tmp_assattr_name_2); Py_DECREF(tmp_assattr_name_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 52; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_1; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_assattr_target_3; tmp_expression_name_1 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_1 == NULL)) { tmp_expression_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 53; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[18]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 53; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } if (par_hidden_features == NULL) { Py_DECREF(tmp_called_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[21]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 53; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_hidden_features; CHECK_OBJECT(par_out_features); tmp_args_element_name_4 = par_out_features; frame_aca10258238f16e5d32cdec7d38f6aa1->m_frame.f_lineno = 53; { PyObject *call_args[] = {tmp_args_element_name_3, tmp_args_element_name_4}; tmp_assattr_name_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_2, call_args); } Py_DECREF(tmp_called_name_2); if (tmp_assattr_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 53; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[22], tmp_assattr_name_3); Py_DECREF(tmp_assattr_name_3); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 53; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_called_instance_3; PyObject *tmp_args_element_name_5; PyObject *tmp_assattr_target_4; tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_called_instance_3 == NULL)) { tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_called_instance_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 54; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_drop); tmp_args_element_name_5 = par_drop; frame_aca10258238f16e5d32cdec7d38f6aa1->m_frame.f_lineno = 54; tmp_assattr_name_4 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[23], tmp_args_element_name_5); if (tmp_assattr_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 54; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[24], tmp_assattr_name_4); Py_DECREF(tmp_assattr_name_4); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 54; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_aca10258238f16e5d32cdec7d38f6aa1); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_aca10258238f16e5d32cdec7d38f6aa1); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_aca10258238f16e5d32cdec7d38f6aa1, exception_lineno); } else if (exception_tb->tb_frame != &frame_aca10258238f16e5d32cdec7d38f6aa1->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_aca10258238f16e5d32cdec7d38f6aa1, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_aca10258238f16e5d32cdec7d38f6aa1, type_description_1, par_self, par_in_features, par_hidden_features, par_out_features, par_act_layer, par_drop, self->m_closure[0] ); // Release cached frame if used for exception. if (frame_aca10258238f16e5d32cdec7d38f6aa1 == cache_frame_aca10258238f16e5d32cdec7d38f6aa1) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_aca10258238f16e5d32cdec7d38f6aa1); cache_frame_aca10258238f16e5d32cdec7d38f6aa1 = NULL; } assertFrameObject(frame_aca10258238f16e5d32cdec7d38f6aa1); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_in_features); par_in_features = NULL; Py_XDECREF(par_hidden_features); par_hidden_features = NULL; Py_XDECREF(par_out_features); par_out_features = NULL; CHECK_OBJECT(par_act_layer); Py_DECREF(par_act_layer); par_act_layer = NULL; Py_XDECREF(par_drop); par_drop = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_in_features); par_in_features = NULL; Py_XDECREF(par_hidden_features); par_hidden_features = NULL; Py_XDECREF(par_out_features); par_out_features = NULL; CHECK_OBJECT(par_act_layer); Py_DECREF(par_act_layer); par_act_layer = NULL; Py_XDECREF(par_drop); par_drop = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__6_forward(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_x = python_pars[1]; struct Nuitka_FrameObject *frame_a9e2d880945280c132cf97a150626697; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_a9e2d880945280c132cf97a150626697 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_a9e2d880945280c132cf97a150626697)) { Py_XDECREF(cache_frame_a9e2d880945280c132cf97a150626697); #if _DEBUG_REFCOUNTS if (cache_frame_a9e2d880945280c132cf97a150626697 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_a9e2d880945280c132cf97a150626697 = MAKE_FUNCTION_FRAME(codeobj_a9e2d880945280c132cf97a150626697, module_models$eva_vit, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_a9e2d880945280c132cf97a150626697->m_type_description == NULL); frame_a9e2d880945280c132cf97a150626697 = cache_frame_a9e2d880945280c132cf97a150626697; // Push the new frame as the currently active one. pushFrameStack(frame_a9e2d880945280c132cf97a150626697); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_a9e2d880945280c132cf97a150626697) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT(par_self); tmp_called_instance_1 = par_self; CHECK_OBJECT(par_x); tmp_args_element_name_1 = par_x; frame_a9e2d880945280c132cf97a150626697->m_frame.f_lineno = 57; tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[19], tmp_args_element_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; type_description_1 = "oo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_1; Py_XDECREF(old); } } { PyObject *tmp_assign_source_2; PyObject *tmp_called_instance_2; PyObject *tmp_args_element_name_2; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 58; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_instance_2 = par_self; CHECK_OBJECT(par_x); tmp_args_element_name_2 = par_x; frame_a9e2d880945280c132cf97a150626697->m_frame.f_lineno = 58; tmp_assign_source_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[20], tmp_args_element_name_2); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 58; type_description_1 = "oo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_2; Py_XDECREF(old); } } { PyObject *tmp_assign_source_3; PyObject *tmp_called_instance_3; PyObject *tmp_args_element_name_3; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 61; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_instance_3 = par_self; CHECK_OBJECT(par_x); tmp_args_element_name_3 = par_x; frame_a9e2d880945280c132cf97a150626697->m_frame.f_lineno = 61; tmp_assign_source_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[22], tmp_args_element_name_3); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 61; type_description_1 = "oo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_3; Py_XDECREF(old); } } { PyObject *tmp_assign_source_4; PyObject *tmp_called_instance_4; PyObject *tmp_args_element_name_4; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 62; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_instance_4 = par_self; CHECK_OBJECT(par_x); tmp_args_element_name_4 = par_x; frame_a9e2d880945280c132cf97a150626697->m_frame.f_lineno = 62; tmp_assign_source_4 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[24], tmp_args_element_name_4); if (tmp_assign_source_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 62; type_description_1 = "oo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_4; Py_XDECREF(old); } } #if 0 RESTORE_FRAME_EXCEPTION(frame_a9e2d880945280c132cf97a150626697); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_a9e2d880945280c132cf97a150626697); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_a9e2d880945280c132cf97a150626697, exception_lineno); } else if (exception_tb->tb_frame != &frame_a9e2d880945280c132cf97a150626697->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_a9e2d880945280c132cf97a150626697, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_a9e2d880945280c132cf97a150626697, type_description_1, par_self, par_x ); // Release cached frame if used for exception. if (frame_a9e2d880945280c132cf97a150626697 == cache_frame_a9e2d880945280c132cf97a150626697) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_a9e2d880945280c132cf97a150626697); cache_frame_a9e2d880945280c132cf97a150626697 = NULL; } assertFrameObject(frame_a9e2d880945280c132cf97a150626697); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; CHECK_OBJECT(par_x); tmp_return_value = par_x; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; CHECK_OBJECT(par_x); Py_DECREF(par_x); par_x = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_x); par_x = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__7___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_dim = python_pars[1]; PyObject *par_num_heads = python_pars[2]; PyObject *par_qkv_bias = python_pars[3]; PyObject *par_qk_scale = python_pars[4]; PyObject *par_attn_drop = python_pars[5]; PyObject *par_proj_drop = python_pars[6]; PyObject *par_window_size = python_pars[7]; PyObject *par_attn_head_dim = python_pars[8]; PyObject *var_head_dim = NULL; PyObject *var_all_head_dim = NULL; PyObject *var_coords_h = NULL; PyObject *var_coords_w = NULL; PyObject *var_coords = NULL; PyObject *var_coords_flatten = NULL; PyObject *var_relative_coords = NULL; PyObject *var_relative_position_index = NULL; PyObject *tmp_inplace_assign_subscr_1__subscript = NULL; PyObject *tmp_inplace_assign_subscr_1__target = NULL; PyObject *tmp_inplace_assign_subscr_1__value = NULL; PyObject *tmp_inplace_assign_subscr_2__subscript = NULL; PyObject *tmp_inplace_assign_subscr_2__target = NULL; PyObject *tmp_inplace_assign_subscr_2__value = NULL; PyObject *tmp_inplace_assign_subscr_3__subscript = NULL; PyObject *tmp_inplace_assign_subscr_3__target = NULL; PyObject *tmp_inplace_assign_subscr_3__value = NULL; struct Nuitka_FrameObject *frame_dee30e4e144137543edf2e9eb10bf246; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; int tmp_res; static struct Nuitka_FrameObject *cache_frame_dee30e4e144137543edf2e9eb10bf246 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_dee30e4e144137543edf2e9eb10bf246)) { Py_XDECREF(cache_frame_dee30e4e144137543edf2e9eb10bf246); #if _DEBUG_REFCOUNTS if (cache_frame_dee30e4e144137543edf2e9eb10bf246 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_dee30e4e144137543edf2e9eb10bf246 = MAKE_FUNCTION_FRAME(codeobj_dee30e4e144137543edf2e9eb10bf246, module_models$eva_vit, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_dee30e4e144137543edf2e9eb10bf246->m_type_description == NULL); frame_dee30e4e144137543edf2e9eb10bf246 = cache_frame_dee30e4e144137543edf2e9eb10bf246; // Push the new frame as the currently active one. pushFrameStack(frame_dee30e4e144137543edf2e9eb10bf246); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_dee30e4e144137543edf2e9eb10bf246) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_call_result_1; if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[16]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 70; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_type_arg_name_1 = Nuitka_Cell_GET(self->m_closure[0]); CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER0(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 70; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } frame_dee30e4e144137543edf2e9eb10bf246->m_frame.f_lineno = 70; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[9]); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 70; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT(par_num_heads); tmp_assattr_name_1 = par_num_heads; CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[25], tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 71; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; CHECK_OBJECT(par_dim); tmp_left_name_1 = par_dim; CHECK_OBJECT(par_num_heads); tmp_right_name_1 = par_num_heads; tmp_assign_source_1 = BINARY_OPERATION_FLOORDIV_OBJECT_OBJECT_OBJECT(tmp_left_name_1, tmp_right_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 72; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } assert(var_head_dim == NULL); var_head_dim = tmp_assign_source_1; } { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT(par_attn_head_dim); tmp_compexpr_left_1 = par_attn_head_dim; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = (tmp_compexpr_left_1 != tmp_compexpr_right_1) ? true : false; if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assign_source_2; CHECK_OBJECT(par_attn_head_dim); tmp_assign_source_2 = par_attn_head_dim; { PyObject *old = var_head_dim; assert(old != NULL); var_head_dim = tmp_assign_source_2; Py_INCREF(var_head_dim); Py_DECREF(old); } } branch_no_1:; { PyObject *tmp_assign_source_3; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_expression_name_1; CHECK_OBJECT(var_head_dim); tmp_left_name_2 = var_head_dim; CHECK_OBJECT(par_self); tmp_expression_name_1 = par_self; tmp_right_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[25]); if (tmp_right_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 75; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assign_source_3 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_2, tmp_right_name_2); Py_DECREF(tmp_right_name_2); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 75; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } assert(var_all_head_dim == NULL); var_all_head_dim = tmp_assign_source_3; } { PyObject *tmp_assattr_name_2; int tmp_or_left_truth_1; PyObject *tmp_or_left_value_1; PyObject *tmp_or_right_value_1; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_assattr_target_2; CHECK_OBJECT(par_qk_scale); tmp_or_left_value_1 = par_qk_scale; tmp_or_left_truth_1 = CHECK_IF_TRUE(tmp_or_left_value_1); if (tmp_or_left_truth_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 76; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } if (tmp_or_left_truth_1 == 1) { goto or_left_1; } else { goto or_right_1; } or_right_1:; if (var_head_dim == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[26]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 76; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_left_name_3 = var_head_dim; tmp_right_name_3 = mod_consts[27]; tmp_or_right_value_1 = BINARY_OPERATION_POW_OBJECT_OBJECT_FLOAT(tmp_left_name_3, tmp_right_name_3); if (tmp_or_right_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 76; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_name_2 = tmp_or_right_value_1; goto or_end_1; or_left_1:; Py_INCREF(tmp_or_left_value_1); tmp_assattr_name_2 = tmp_or_left_value_1; or_end_1:; if (par_self == NULL) { Py_DECREF(tmp_assattr_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 76; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[28], tmp_assattr_name_2); Py_DECREF(tmp_assattr_name_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 76; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_2; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_kwargs_name_1; PyObject *tmp_assattr_target_3; tmp_expression_name_2 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_2 == NULL)) { tmp_expression_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[18]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } if (par_dim == NULL) { Py_DECREF(tmp_called_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[29]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 78; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_dim; tmp_args_name_1 = PyTuple_New(2); { PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; PyTuple_SET_ITEM0(tmp_args_name_1, 0, tmp_tuple_element_1); CHECK_OBJECT(var_all_head_dim); tmp_left_name_4 = var_all_head_dim; tmp_right_name_4 = mod_consts[30]; tmp_tuple_element_1 = BINARY_OPERATION_MULT_OBJECT_OBJECT_LONG(tmp_left_name_4, tmp_right_name_4); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; type_description_1 = "oooooooooooooooooc"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_args_name_1, 1, tmp_tuple_element_1); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_kwargs_name_1 = PyDict_Copy(mod_consts[31]); frame_dee30e4e144137543edf2e9eb10bf246->m_frame.f_lineno = 78; tmp_assattr_name_3 = CALL_FUNCTION(tmp_called_name_1, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assattr_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 78; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[32], tmp_assattr_name_3); Py_DECREF(tmp_assattr_name_3); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_2; int tmp_truth_name_1; CHECK_OBJECT(par_qkv_bias); tmp_truth_name_1 = CHECK_IF_TRUE(par_qkv_bias); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 79; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { PyObject *tmp_assattr_name_4; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_3; PyObject *tmp_args_element_name_1; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_4; PyObject *tmp_args_element_name_2; PyObject *tmp_assattr_target_4; tmp_expression_name_3 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_3 == NULL)) { tmp_expression_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 80; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[33]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 80; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_4 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_4 == NULL)) { tmp_expression_name_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 80; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[35]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 80; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } if (var_all_head_dim == NULL) { Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_called_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[36]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 80; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_args_element_name_2 = var_all_head_dim; frame_dee30e4e144137543edf2e9eb10bf246->m_frame.f_lineno = 80; tmp_args_element_name_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_3, tmp_args_element_name_2); Py_DECREF(tmp_called_name_3); if (tmp_args_element_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 80; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } frame_dee30e4e144137543edf2e9eb10bf246->m_frame.f_lineno = 80; tmp_assattr_name_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_2, tmp_args_element_name_1); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_element_name_1); if (tmp_assattr_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 80; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 80; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[37], tmp_assattr_name_4); Py_DECREF(tmp_assattr_name_4); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 80; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_5; PyObject *tmp_called_name_4; PyObject *tmp_expression_name_5; PyObject *tmp_args_element_name_3; PyObject *tmp_called_name_5; PyObject *tmp_expression_name_6; PyObject *tmp_args_element_name_4; PyObject *tmp_assattr_target_5; tmp_expression_name_5 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_5 == NULL)) { tmp_expression_name_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 81; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[33]); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 81; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_6 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_6 == NULL)) { tmp_expression_name_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); exception_lineno = 81; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[35]); if (tmp_called_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); exception_lineno = 81; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } if (var_all_head_dim == NULL) { Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_called_name_5); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[36]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 81; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_args_element_name_4 = var_all_head_dim; frame_dee30e4e144137543edf2e9eb10bf246->m_frame.f_lineno = 81; tmp_args_element_name_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_5, tmp_args_element_name_4); Py_DECREF(tmp_called_name_5); if (tmp_args_element_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); exception_lineno = 81; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } frame_dee30e4e144137543edf2e9eb10bf246->m_frame.f_lineno = 81; tmp_assattr_name_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_4, tmp_args_element_name_3); Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_element_name_3); if (tmp_assattr_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 81; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_5); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 81; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_5 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[38], tmp_assattr_name_5); Py_DECREF(tmp_assattr_name_5); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 81; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } } goto branch_end_2; branch_no_2:; { PyObject *tmp_assattr_name_6; PyObject *tmp_assattr_target_6; tmp_assattr_name_6 = Py_None; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 83; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_6 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[37], tmp_assattr_name_6); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 83; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_7; PyObject *tmp_assattr_target_7; tmp_assattr_name_7 = Py_None; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 84; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_7 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[38], tmp_assattr_name_7); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 84; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } } branch_end_2:; { nuitka_bool tmp_condition_result_3; int tmp_truth_name_2; CHECK_OBJECT(par_window_size); tmp_truth_name_2 = CHECK_IF_TRUE(par_window_size); if (tmp_truth_name_2 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_condition_result_3 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) { goto branch_yes_3; } else { goto branch_no_3; } } branch_yes_3:; { PyObject *tmp_assattr_name_8; PyObject *tmp_assattr_target_8; CHECK_OBJECT(par_window_size); tmp_assattr_name_8 = par_window_size; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 87; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_8 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_8, mod_consts[39], tmp_assattr_name_8); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 87; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_9; PyObject *tmp_left_name_5; PyObject *tmp_left_name_6; PyObject *tmp_left_name_7; PyObject *tmp_left_name_8; PyObject *tmp_right_name_5; PyObject *tmp_expression_name_7; PyObject *tmp_subscript_name_1; PyObject *tmp_right_name_6; PyObject *tmp_right_name_7; PyObject *tmp_left_name_9; PyObject *tmp_left_name_10; PyObject *tmp_right_name_8; PyObject *tmp_expression_name_8; PyObject *tmp_subscript_name_2; PyObject *tmp_right_name_9; PyObject *tmp_right_name_10; PyObject *tmp_assattr_target_9; tmp_left_name_8 = mod_consts[40]; CHECK_OBJECT(par_window_size); tmp_expression_name_7 = par_window_size; tmp_subscript_name_1 = mod_consts[41]; tmp_right_name_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_7, tmp_subscript_name_1, 0); if (tmp_right_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 88; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_left_name_7 = BINARY_OPERATION_MULT_OBJECT_LONG_OBJECT(tmp_left_name_8, tmp_right_name_5); Py_DECREF(tmp_right_name_5); if (tmp_left_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 88; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_right_name_6 = mod_consts[42]; tmp_left_name_6 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_left_name_7, tmp_right_name_6); Py_DECREF(tmp_left_name_7); if (tmp_left_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 88; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_left_name_10 = mod_consts[40]; CHECK_OBJECT(par_window_size); tmp_expression_name_8 = par_window_size; tmp_subscript_name_2 = mod_consts[42]; tmp_right_name_8 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_8, tmp_subscript_name_2, 1); if (tmp_right_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_6); exception_lineno = 88; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_left_name_9 = BINARY_OPERATION_MULT_OBJECT_LONG_OBJECT(tmp_left_name_10, tmp_right_name_8); Py_DECREF(tmp_right_name_8); if (tmp_left_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_6); exception_lineno = 88; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_right_name_9 = mod_consts[42]; tmp_right_name_7 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_left_name_9, tmp_right_name_9); Py_DECREF(tmp_left_name_9); if (tmp_right_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_6); exception_lineno = 88; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_left_name_5 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_6, tmp_right_name_7); Py_DECREF(tmp_left_name_6); Py_DECREF(tmp_right_name_7); if (tmp_left_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 88; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_right_name_10 = mod_consts[30]; tmp_assattr_name_9 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_left_name_5, tmp_right_name_10); Py_DECREF(tmp_left_name_5); if (tmp_assattr_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 88; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_9); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 88; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_9 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_9, mod_consts[43], tmp_assattr_name_9); Py_DECREF(tmp_assattr_name_9); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 88; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_10; PyObject *tmp_called_name_6; PyObject *tmp_expression_name_9; PyObject *tmp_args_element_name_5; PyObject *tmp_called_name_7; PyObject *tmp_expression_name_10; PyObject *tmp_args_element_name_6; PyObject *tmp_expression_name_11; PyObject *tmp_args_element_name_7; PyObject *tmp_assattr_target_10; tmp_expression_name_9 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_9 == NULL)) { tmp_expression_name_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 89; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[33]); if (tmp_called_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 89; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_10 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_10 == NULL)) { tmp_expression_name_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_6); exception_lineno = 90; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[35]); if (tmp_called_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_6); exception_lineno = 90; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_6); Py_DECREF(tmp_called_name_7); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 90; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_11 = par_self; tmp_args_element_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_11, mod_consts[43]); if (tmp_args_element_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_6); Py_DECREF(tmp_called_name_7); exception_lineno = 90; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } if (par_num_heads == NULL) { Py_DECREF(tmp_called_name_6); Py_DECREF(tmp_called_name_7); Py_DECREF(tmp_args_element_name_6); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[25]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 90; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_args_element_name_7 = par_num_heads; frame_dee30e4e144137543edf2e9eb10bf246->m_frame.f_lineno = 90; { PyObject *call_args[] = {tmp_args_element_name_6, tmp_args_element_name_7}; tmp_args_element_name_5 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_7, call_args); } Py_DECREF(tmp_called_name_7); Py_DECREF(tmp_args_element_name_6); if (tmp_args_element_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_6); exception_lineno = 90; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } frame_dee30e4e144137543edf2e9eb10bf246->m_frame.f_lineno = 89; tmp_assattr_name_10 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_6, tmp_args_element_name_5); Py_DECREF(tmp_called_name_6); Py_DECREF(tmp_args_element_name_5); if (tmp_assattr_name_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 89; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_10); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 89; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_10 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_10, mod_consts[44], tmp_assattr_name_10); Py_DECREF(tmp_assattr_name_10); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 89; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_4; PyObject *tmp_called_name_8; PyObject *tmp_expression_name_12; PyObject *tmp_args_element_name_8; PyObject *tmp_expression_name_13; PyObject *tmp_subscript_name_3; tmp_expression_name_12 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_12 == NULL)) { tmp_expression_name_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 94; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_name_8 = LOOKUP_ATTRIBUTE(tmp_expression_name_12, mod_consts[45]); if (tmp_called_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 94; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_window_size); tmp_expression_name_13 = par_window_size; tmp_subscript_name_3 = mod_consts[41]; tmp_args_element_name_8 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_13, tmp_subscript_name_3, 0); if (tmp_args_element_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_8); exception_lineno = 94; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } frame_dee30e4e144137543edf2e9eb10bf246->m_frame.f_lineno = 94; tmp_assign_source_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_8, tmp_args_element_name_8); Py_DECREF(tmp_called_name_8); Py_DECREF(tmp_args_element_name_8); if (tmp_assign_source_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 94; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } assert(var_coords_h == NULL); var_coords_h = tmp_assign_source_4; } { PyObject *tmp_assign_source_5; PyObject *tmp_called_name_9; PyObject *tmp_expression_name_14; PyObject *tmp_args_element_name_9; PyObject *tmp_expression_name_15; PyObject *tmp_subscript_name_4; tmp_expression_name_14 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_14 == NULL)) { tmp_expression_name_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 95; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_14, mod_consts[45]); if (tmp_called_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 95; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_window_size); tmp_expression_name_15 = par_window_size; tmp_subscript_name_4 = mod_consts[42]; tmp_args_element_name_9 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_15, tmp_subscript_name_4, 1); if (tmp_args_element_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_9); exception_lineno = 95; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } frame_dee30e4e144137543edf2e9eb10bf246->m_frame.f_lineno = 95; tmp_assign_source_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_9, tmp_args_element_name_9); Py_DECREF(tmp_called_name_9); Py_DECREF(tmp_args_element_name_9); if (tmp_assign_source_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 95; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } assert(var_coords_w == NULL); var_coords_w = tmp_assign_source_5; } { PyObject *tmp_assign_source_6; PyObject *tmp_called_name_10; PyObject *tmp_expression_name_16; PyObject *tmp_args_element_name_10; PyObject *tmp_called_instance_2; PyObject *tmp_args_element_name_11; PyObject *tmp_list_element_1; tmp_expression_name_16 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_16 == NULL)) { tmp_expression_name_16 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 96; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_name_10 = LOOKUP_ATTRIBUTE(tmp_expression_name_16, mod_consts[46]); if (tmp_called_name_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 96; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_called_instance_2 == NULL)) { tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_10); exception_lineno = 96; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(var_coords_h); tmp_list_element_1 = var_coords_h; tmp_args_element_name_11 = PyList_New(2); PyList_SET_ITEM0(tmp_args_element_name_11, 0, tmp_list_element_1); CHECK_OBJECT(var_coords_w); tmp_list_element_1 = var_coords_w; PyList_SET_ITEM0(tmp_args_element_name_11, 1, tmp_list_element_1); frame_dee30e4e144137543edf2e9eb10bf246->m_frame.f_lineno = 96; tmp_args_element_name_10 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[47], tmp_args_element_name_11); Py_DECREF(tmp_args_element_name_11); if (tmp_args_element_name_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_10); exception_lineno = 96; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } frame_dee30e4e144137543edf2e9eb10bf246->m_frame.f_lineno = 96; tmp_assign_source_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_10, tmp_args_element_name_10); Py_DECREF(tmp_called_name_10); Py_DECREF(tmp_args_element_name_10); if (tmp_assign_source_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 96; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } assert(var_coords == NULL); var_coords = tmp_assign_source_6; } { PyObject *tmp_assign_source_7; PyObject *tmp_called_instance_3; PyObject *tmp_args_element_name_12; PyObject *tmp_args_element_name_13; tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_called_instance_3 == NULL)) { tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_called_instance_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 97; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(var_coords); tmp_args_element_name_12 = var_coords; tmp_args_element_name_13 = mod_consts[42]; frame_dee30e4e144137543edf2e9eb10bf246->m_frame.f_lineno = 97; { PyObject *call_args[] = {tmp_args_element_name_12, tmp_args_element_name_13}; tmp_assign_source_7 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_3, mod_consts[48], call_args ); } if (tmp_assign_source_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 97; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } assert(var_coords_flatten == NULL); var_coords_flatten = tmp_assign_source_7; } { PyObject *tmp_assign_source_8; PyObject *tmp_left_name_11; PyObject *tmp_expression_name_17; PyObject *tmp_subscript_name_5; PyObject *tmp_right_name_11; PyObject *tmp_expression_name_18; PyObject *tmp_subscript_name_6; CHECK_OBJECT(var_coords_flatten); tmp_expression_name_17 = var_coords_flatten; tmp_subscript_name_5 = mod_consts[49]; tmp_left_name_11 = LOOKUP_SUBSCRIPT(tmp_expression_name_17, tmp_subscript_name_5); if (tmp_left_name_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 98; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(var_coords_flatten); tmp_expression_name_18 = var_coords_flatten; tmp_subscript_name_6 = mod_consts[50]; tmp_right_name_11 = LOOKUP_SUBSCRIPT(tmp_expression_name_18, tmp_subscript_name_6); if (tmp_right_name_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_11); exception_lineno = 98; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assign_source_8 = BINARY_OPERATION_SUB_OBJECT_OBJECT_OBJECT(tmp_left_name_11, tmp_right_name_11); Py_DECREF(tmp_left_name_11); Py_DECREF(tmp_right_name_11); if (tmp_assign_source_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 98; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } assert(var_relative_coords == NULL); var_relative_coords = tmp_assign_source_8; } { PyObject *tmp_assign_source_9; PyObject *tmp_called_instance_4; PyObject *tmp_called_instance_5; CHECK_OBJECT(var_relative_coords); tmp_called_instance_5 = var_relative_coords; frame_dee30e4e144137543edf2e9eb10bf246->m_frame.f_lineno = 99; tmp_called_instance_4 = CALL_METHOD_WITH_ARGS3( tmp_called_instance_5, mod_consts[51], &PyTuple_GET_ITEM(mod_consts[52], 0) ); if (tmp_called_instance_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 99; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } frame_dee30e4e144137543edf2e9eb10bf246->m_frame.f_lineno = 99; tmp_assign_source_9 = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[53]); Py_DECREF(tmp_called_instance_4); if (tmp_assign_source_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 99; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } { PyObject *old = var_relative_coords; var_relative_coords = tmp_assign_source_9; Py_XDECREF(old); } } { PyObject *tmp_assign_source_10; CHECK_OBJECT(var_relative_coords); tmp_assign_source_10 = var_relative_coords; assert(tmp_inplace_assign_subscr_1__target == NULL); Py_INCREF(tmp_assign_source_10); tmp_inplace_assign_subscr_1__target = tmp_assign_source_10; } { PyObject *tmp_assign_source_11; tmp_assign_source_11 = mod_consts[54]; assert(tmp_inplace_assign_subscr_1__subscript == NULL); Py_INCREF(tmp_assign_source_11); tmp_inplace_assign_subscr_1__subscript = tmp_assign_source_11; } // Tried code: { PyObject *tmp_assign_source_12; PyObject *tmp_expression_name_19; PyObject *tmp_subscript_name_7; CHECK_OBJECT(tmp_inplace_assign_subscr_1__target); tmp_expression_name_19 = tmp_inplace_assign_subscr_1__target; CHECK_OBJECT(tmp_inplace_assign_subscr_1__subscript); tmp_subscript_name_7 = tmp_inplace_assign_subscr_1__subscript; tmp_assign_source_12 = LOOKUP_SUBSCRIPT(tmp_expression_name_19, tmp_subscript_name_7); if (tmp_assign_source_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 100; type_description_1 = "oooooooooooooooooc"; goto try_except_handler_2; } assert(tmp_inplace_assign_subscr_1__value == NULL); tmp_inplace_assign_subscr_1__value = tmp_assign_source_12; } { PyObject *tmp_assign_source_13; PyObject *tmp_left_name_12; PyObject *tmp_right_name_12; PyObject *tmp_left_name_13; PyObject *tmp_expression_name_20; PyObject *tmp_subscript_name_8; PyObject *tmp_right_name_13; CHECK_OBJECT(tmp_inplace_assign_subscr_1__value); tmp_left_name_12 = tmp_inplace_assign_subscr_1__value; CHECK_OBJECT(par_window_size); tmp_expression_name_20 = par_window_size; tmp_subscript_name_8 = mod_consts[41]; tmp_left_name_13 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_20, tmp_subscript_name_8, 0); if (tmp_left_name_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 100; type_description_1 = "oooooooooooooooooc"; goto try_except_handler_2; } tmp_right_name_13 = mod_consts[42]; tmp_right_name_12 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_left_name_13, tmp_right_name_13); Py_DECREF(tmp_left_name_13); if (tmp_right_name_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 100; type_description_1 = "oooooooooooooooooc"; goto try_except_handler_2; } tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE(&tmp_left_name_12, tmp_right_name_12); Py_DECREF(tmp_right_name_12); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 100; type_description_1 = "oooooooooooooooooc"; goto try_except_handler_2; } tmp_assign_source_13 = tmp_left_name_12; tmp_inplace_assign_subscr_1__value = tmp_assign_source_13; } { PyObject *tmp_ass_subvalue_1; PyObject *tmp_ass_subscribed_1; PyObject *tmp_ass_subscript_1; CHECK_OBJECT(tmp_inplace_assign_subscr_1__value); tmp_ass_subvalue_1 = tmp_inplace_assign_subscr_1__value; CHECK_OBJECT(tmp_inplace_assign_subscr_1__target); tmp_ass_subscribed_1 = tmp_inplace_assign_subscr_1__target; CHECK_OBJECT(tmp_inplace_assign_subscr_1__subscript); tmp_ass_subscript_1 = tmp_inplace_assign_subscr_1__subscript; tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 100; type_description_1 = "oooooooooooooooooc"; goto try_except_handler_2; } } goto try_end_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_inplace_assign_subscr_1__target); Py_DECREF(tmp_inplace_assign_subscr_1__target); tmp_inplace_assign_subscr_1__target = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_1__subscript); Py_DECREF(tmp_inplace_assign_subscr_1__subscript); tmp_inplace_assign_subscr_1__subscript = NULL; Py_XDECREF(tmp_inplace_assign_subscr_1__value); tmp_inplace_assign_subscr_1__value = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; // End of try: try_end_1:; CHECK_OBJECT(tmp_inplace_assign_subscr_1__target); Py_DECREF(tmp_inplace_assign_subscr_1__target); tmp_inplace_assign_subscr_1__target = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_1__subscript); Py_DECREF(tmp_inplace_assign_subscr_1__subscript); tmp_inplace_assign_subscr_1__subscript = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_1__value); Py_DECREF(tmp_inplace_assign_subscr_1__value); tmp_inplace_assign_subscr_1__value = NULL; { PyObject *tmp_assign_source_14; CHECK_OBJECT(var_relative_coords); tmp_assign_source_14 = var_relative_coords; assert(tmp_inplace_assign_subscr_2__target == NULL); Py_INCREF(tmp_assign_source_14); tmp_inplace_assign_subscr_2__target = tmp_assign_source_14; } { PyObject *tmp_assign_source_15; tmp_assign_source_15 = mod_consts[55]; assert(tmp_inplace_assign_subscr_2__subscript == NULL); Py_INCREF(tmp_assign_source_15); tmp_inplace_assign_subscr_2__subscript = tmp_assign_source_15; } // Tried code: { PyObject *tmp_assign_source_16; PyObject *tmp_expression_name_21; PyObject *tmp_subscript_name_9; CHECK_OBJECT(tmp_inplace_assign_subscr_2__target); tmp_expression_name_21 = tmp_inplace_assign_subscr_2__target; CHECK_OBJECT(tmp_inplace_assign_subscr_2__subscript); tmp_subscript_name_9 = tmp_inplace_assign_subscr_2__subscript; tmp_assign_source_16 = LOOKUP_SUBSCRIPT(tmp_expression_name_21, tmp_subscript_name_9); if (tmp_assign_source_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 101; type_description_1 = "oooooooooooooooooc"; goto try_except_handler_3; } assert(tmp_inplace_assign_subscr_2__value == NULL); tmp_inplace_assign_subscr_2__value = tmp_assign_source_16; } { PyObject *tmp_assign_source_17; PyObject *tmp_left_name_14; PyObject *tmp_right_name_14; PyObject *tmp_left_name_15; PyObject *tmp_expression_name_22; PyObject *tmp_subscript_name_10; PyObject *tmp_right_name_15; CHECK_OBJECT(tmp_inplace_assign_subscr_2__value); tmp_left_name_14 = tmp_inplace_assign_subscr_2__value; CHECK_OBJECT(par_window_size); tmp_expression_name_22 = par_window_size; tmp_subscript_name_10 = mod_consts[42]; tmp_left_name_15 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_22, tmp_subscript_name_10, 1); if (tmp_left_name_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 101; type_description_1 = "oooooooooooooooooc"; goto try_except_handler_3; } tmp_right_name_15 = mod_consts[42]; tmp_right_name_14 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_left_name_15, tmp_right_name_15); Py_DECREF(tmp_left_name_15); if (tmp_right_name_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 101; type_description_1 = "oooooooooooooooooc"; goto try_except_handler_3; } tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE(&tmp_left_name_14, tmp_right_name_14); Py_DECREF(tmp_right_name_14); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 101; type_description_1 = "oooooooooooooooooc"; goto try_except_handler_3; } tmp_assign_source_17 = tmp_left_name_14; tmp_inplace_assign_subscr_2__value = tmp_assign_source_17; } { PyObject *tmp_ass_subvalue_2; PyObject *tmp_ass_subscribed_2; PyObject *tmp_ass_subscript_2; CHECK_OBJECT(tmp_inplace_assign_subscr_2__value); tmp_ass_subvalue_2 = tmp_inplace_assign_subscr_2__value; CHECK_OBJECT(tmp_inplace_assign_subscr_2__target); tmp_ass_subscribed_2 = tmp_inplace_assign_subscr_2__target; CHECK_OBJECT(tmp_inplace_assign_subscr_2__subscript); tmp_ass_subscript_2 = tmp_inplace_assign_subscr_2__subscript; tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 101; type_description_1 = "oooooooooooooooooc"; goto try_except_handler_3; } } goto try_end_2; // Exception handler code: try_except_handler_3:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_inplace_assign_subscr_2__target); Py_DECREF(tmp_inplace_assign_subscr_2__target); tmp_inplace_assign_subscr_2__target = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_2__subscript); Py_DECREF(tmp_inplace_assign_subscr_2__subscript); tmp_inplace_assign_subscr_2__subscript = NULL; Py_XDECREF(tmp_inplace_assign_subscr_2__value); tmp_inplace_assign_subscr_2__value = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: try_end_2:; CHECK_OBJECT(tmp_inplace_assign_subscr_2__target); Py_DECREF(tmp_inplace_assign_subscr_2__target); tmp_inplace_assign_subscr_2__target = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_2__subscript); Py_DECREF(tmp_inplace_assign_subscr_2__subscript); tmp_inplace_assign_subscr_2__subscript = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_2__value); Py_DECREF(tmp_inplace_assign_subscr_2__value); tmp_inplace_assign_subscr_2__value = NULL; { PyObject *tmp_assign_source_18; CHECK_OBJECT(var_relative_coords); tmp_assign_source_18 = var_relative_coords; assert(tmp_inplace_assign_subscr_3__target == NULL); Py_INCREF(tmp_assign_source_18); tmp_inplace_assign_subscr_3__target = tmp_assign_source_18; } { PyObject *tmp_assign_source_19; tmp_assign_source_19 = mod_consts[54]; assert(tmp_inplace_assign_subscr_3__subscript == NULL); Py_INCREF(tmp_assign_source_19); tmp_inplace_assign_subscr_3__subscript = tmp_assign_source_19; } // Tried code: { PyObject *tmp_assign_source_20; PyObject *tmp_expression_name_23; PyObject *tmp_subscript_name_11; CHECK_OBJECT(tmp_inplace_assign_subscr_3__target); tmp_expression_name_23 = tmp_inplace_assign_subscr_3__target; CHECK_OBJECT(tmp_inplace_assign_subscr_3__subscript); tmp_subscript_name_11 = tmp_inplace_assign_subscr_3__subscript; tmp_assign_source_20 = LOOKUP_SUBSCRIPT(tmp_expression_name_23, tmp_subscript_name_11); if (tmp_assign_source_20 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 102; type_description_1 = "oooooooooooooooooc"; goto try_except_handler_4; } assert(tmp_inplace_assign_subscr_3__value == NULL); tmp_inplace_assign_subscr_3__value = tmp_assign_source_20; } { PyObject *tmp_assign_source_21; PyObject *tmp_left_name_16; PyObject *tmp_right_name_16; PyObject *tmp_left_name_17; PyObject *tmp_left_name_18; PyObject *tmp_right_name_17; PyObject *tmp_expression_name_24; PyObject *tmp_subscript_name_12; PyObject *tmp_right_name_18; CHECK_OBJECT(tmp_inplace_assign_subscr_3__value); tmp_left_name_16 = tmp_inplace_assign_subscr_3__value; tmp_left_name_18 = mod_consts[40]; CHECK_OBJECT(par_window_size); tmp_expression_name_24 = par_window_size; tmp_subscript_name_12 = mod_consts[42]; tmp_right_name_17 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_24, tmp_subscript_name_12, 1); if (tmp_right_name_17 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 102; type_description_1 = "oooooooooooooooooc"; goto try_except_handler_4; } tmp_left_name_17 = BINARY_OPERATION_MULT_OBJECT_LONG_OBJECT(tmp_left_name_18, tmp_right_name_17); Py_DECREF(tmp_right_name_17); if (tmp_left_name_17 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 102; type_description_1 = "oooooooooooooooooc"; goto try_except_handler_4; } tmp_right_name_18 = mod_consts[42]; tmp_right_name_16 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_left_name_17, tmp_right_name_18); Py_DECREF(tmp_left_name_17); if (tmp_right_name_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 102; type_description_1 = "oooooooooooooooooc"; goto try_except_handler_4; } tmp_result = BINARY_OPERATION_MULT_OBJECT_OBJECT_INPLACE(&tmp_left_name_16, tmp_right_name_16); Py_DECREF(tmp_right_name_16); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 102; type_description_1 = "oooooooooooooooooc"; goto try_except_handler_4; } tmp_assign_source_21 = tmp_left_name_16; tmp_inplace_assign_subscr_3__value = tmp_assign_source_21; } { PyObject *tmp_ass_subvalue_3; PyObject *tmp_ass_subscribed_3; PyObject *tmp_ass_subscript_3; CHECK_OBJECT(tmp_inplace_assign_subscr_3__value); tmp_ass_subvalue_3 = tmp_inplace_assign_subscr_3__value; CHECK_OBJECT(tmp_inplace_assign_subscr_3__target); tmp_ass_subscribed_3 = tmp_inplace_assign_subscr_3__target; CHECK_OBJECT(tmp_inplace_assign_subscr_3__subscript); tmp_ass_subscript_3 = tmp_inplace_assign_subscr_3__subscript; tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_3, tmp_ass_subscript_3, tmp_ass_subvalue_3); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 102; type_description_1 = "oooooooooooooooooc"; goto try_except_handler_4; } } goto try_end_3; // Exception handler code: try_except_handler_4:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_inplace_assign_subscr_3__target); Py_DECREF(tmp_inplace_assign_subscr_3__target); tmp_inplace_assign_subscr_3__target = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_3__subscript); Py_DECREF(tmp_inplace_assign_subscr_3__subscript); tmp_inplace_assign_subscr_3__subscript = NULL; Py_XDECREF(tmp_inplace_assign_subscr_3__value); tmp_inplace_assign_subscr_3__value = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; // End of try: try_end_3:; CHECK_OBJECT(tmp_inplace_assign_subscr_3__target); Py_DECREF(tmp_inplace_assign_subscr_3__target); tmp_inplace_assign_subscr_3__target = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_3__subscript); Py_DECREF(tmp_inplace_assign_subscr_3__subscript); tmp_inplace_assign_subscr_3__subscript = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_3__value); Py_DECREF(tmp_inplace_assign_subscr_3__value); tmp_inplace_assign_subscr_3__value = NULL; { PyObject *tmp_assign_source_22; PyObject *tmp_called_name_11; PyObject *tmp_expression_name_25; PyObject *tmp_kwargs_name_2; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_left_name_19; PyObject *tmp_tuple_element_2; PyObject *tmp_left_name_20; PyObject *tmp_left_name_21; PyObject *tmp_expression_name_26; PyObject *tmp_subscript_name_13; PyObject *tmp_right_name_19; PyObject *tmp_expression_name_27; PyObject *tmp_subscript_name_14; PyObject *tmp_right_name_20; PyObject *tmp_right_name_21; tmp_expression_name_25 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_25 == NULL)) { tmp_expression_name_25 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_25 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_name_11 = LOOKUP_ATTRIBUTE(tmp_expression_name_25, mod_consts[35]); if (tmp_called_name_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_dict_key_1 = mod_consts[56]; CHECK_OBJECT(par_window_size); tmp_expression_name_26 = par_window_size; tmp_subscript_name_13 = mod_consts[41]; tmp_left_name_21 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_26, tmp_subscript_name_13, 0); if (tmp_left_name_21 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_11); exception_lineno = 104; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_window_size); tmp_expression_name_27 = par_window_size; tmp_subscript_name_14 = mod_consts[42]; tmp_right_name_19 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_27, tmp_subscript_name_14, 1); if (tmp_right_name_19 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_11); Py_DECREF(tmp_left_name_21); exception_lineno = 104; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_left_name_20 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_21, tmp_right_name_19); Py_DECREF(tmp_left_name_21); Py_DECREF(tmp_right_name_19); if (tmp_left_name_20 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_11); exception_lineno = 104; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_right_name_20 = mod_consts[42]; tmp_tuple_element_2 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_left_name_20, tmp_right_name_20); Py_DECREF(tmp_left_name_20); if (tmp_tuple_element_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_11); exception_lineno = 104; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_left_name_19 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_left_name_19, 0, tmp_tuple_element_2); tmp_right_name_21 = mod_consts[40]; tmp_dict_value_1 = BINARY_OPERATION_MULT_OBJECT_TUPLE_LONG(tmp_left_name_19, tmp_right_name_21); Py_DECREF(tmp_left_name_19); assert(!(tmp_dict_value_1 == NULL)); tmp_kwargs_name_2 = _PyDict_NewPresized( 2 ); { PyObject *tmp_expression_name_28; tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_1, tmp_dict_value_1); Py_DECREF(tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[57]; CHECK_OBJECT(var_relative_coords); tmp_expression_name_28 = var_relative_coords; tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_28, mod_consts[57]); if (tmp_dict_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; type_description_1 = "oooooooooooooooooc"; goto dict_build_exception_1; } tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_1, tmp_dict_value_1); Py_DECREF(tmp_dict_value_1); assert(!(tmp_res != 0)); } goto dict_build_noexception_1; // Exception handling pass through code for dict_build: dict_build_exception_1:; Py_DECREF(tmp_called_name_11); Py_DECREF(tmp_kwargs_name_2); goto frame_exception_exit_1; // Finished with no exception for dict_build: dict_build_noexception_1:; frame_dee30e4e144137543edf2e9eb10bf246->m_frame.f_lineno = 104; tmp_assign_source_22 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_11, tmp_kwargs_name_2); Py_DECREF(tmp_called_name_11); Py_DECREF(tmp_kwargs_name_2); if (tmp_assign_source_22 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } assert(var_relative_position_index == NULL); var_relative_position_index = tmp_assign_source_22; } { PyObject *tmp_ass_subvalue_4; PyObject *tmp_called_instance_6; PyObject *tmp_ass_subscribed_4; PyObject *tmp_ass_subscript_4; if (var_relative_coords == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[58]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 105; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_instance_6 = var_relative_coords; frame_dee30e4e144137543edf2e9eb10bf246->m_frame.f_lineno = 105; tmp_ass_subvalue_4 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_6, mod_consts[59], &PyTuple_GET_ITEM(mod_consts[60], 0) ); if (tmp_ass_subvalue_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 105; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(var_relative_position_index); tmp_ass_subscribed_4 = var_relative_position_index; tmp_ass_subscript_4 = mod_consts[61]; tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_4, tmp_ass_subscript_4, tmp_ass_subvalue_4); Py_DECREF(tmp_ass_subvalue_4); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 105; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_ass_subvalue_5; PyObject *tmp_left_name_22; PyObject *tmp_expression_name_29; PyObject *tmp_right_name_22; PyObject *tmp_ass_subscribed_5; PyObject *tmp_ass_subscript_5; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 106; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_29 = par_self; tmp_left_name_22 = LOOKUP_ATTRIBUTE(tmp_expression_name_29, mod_consts[43]); if (tmp_left_name_22 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 106; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_right_name_22 = mod_consts[30]; tmp_ass_subvalue_5 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_left_name_22, tmp_right_name_22); Py_DECREF(tmp_left_name_22); if (tmp_ass_subvalue_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 106; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } if (var_relative_position_index == NULL) { Py_DECREF(tmp_ass_subvalue_5); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[62]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 106; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_ass_subscribed_5 = var_relative_position_index; tmp_ass_subscript_5 = mod_consts[63]; tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_5, tmp_ass_subscript_5, tmp_ass_subvalue_5); Py_DECREF(tmp_ass_subvalue_5); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 106; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_ass_subvalue_6; PyObject *tmp_left_name_23; PyObject *tmp_expression_name_30; PyObject *tmp_right_name_23; PyObject *tmp_ass_subscribed_6; PyObject *tmp_ass_subscript_6; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 107; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_30 = par_self; tmp_left_name_23 = LOOKUP_ATTRIBUTE(tmp_expression_name_30, mod_consts[43]); if (tmp_left_name_23 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 107; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_right_name_23 = mod_consts[40]; tmp_ass_subvalue_6 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_left_name_23, tmp_right_name_23); Py_DECREF(tmp_left_name_23); if (tmp_ass_subvalue_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 107; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } if (var_relative_position_index == NULL) { Py_DECREF(tmp_ass_subvalue_6); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[62]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 107; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_ass_subscribed_6 = var_relative_position_index; tmp_ass_subscript_6 = mod_consts[64]; tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_6, tmp_ass_subscript_6, tmp_ass_subvalue_6); Py_DECREF(tmp_ass_subvalue_6); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 107; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_ass_subvalue_7; PyObject *tmp_left_name_24; PyObject *tmp_expression_name_31; PyObject *tmp_right_name_24; PyObject *tmp_ass_subscribed_7; PyObject *tmp_ass_subscript_7; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 108; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_31 = par_self; tmp_left_name_24 = LOOKUP_ATTRIBUTE(tmp_expression_name_31, mod_consts[43]); if (tmp_left_name_24 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 108; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_right_name_24 = mod_consts[42]; tmp_ass_subvalue_7 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_left_name_24, tmp_right_name_24); Py_DECREF(tmp_left_name_24); if (tmp_ass_subvalue_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 108; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } if (var_relative_position_index == NULL) { Py_DECREF(tmp_ass_subvalue_7); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[62]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 108; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_ass_subscribed_7 = var_relative_position_index; tmp_ass_subscript_7 = mod_consts[65]; tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_7, tmp_ass_subscript_7, tmp_ass_subvalue_7); Py_DECREF(tmp_ass_subvalue_7); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 108; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_called_name_12; PyObject *tmp_expression_name_32; PyObject *tmp_call_result_2; PyObject *tmp_args_element_name_14; PyObject *tmp_args_element_name_15; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 110; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_32 = par_self; tmp_called_name_12 = LOOKUP_ATTRIBUTE(tmp_expression_name_32, mod_consts[66]); if (tmp_called_name_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 110; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_args_element_name_14 = mod_consts[62]; if (var_relative_position_index == NULL) { Py_DECREF(tmp_called_name_12); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[62]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 110; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_args_element_name_15 = var_relative_position_index; frame_dee30e4e144137543edf2e9eb10bf246->m_frame.f_lineno = 110; { PyObject *call_args[] = {tmp_args_element_name_14, tmp_args_element_name_15}; tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_12, call_args); } Py_DECREF(tmp_called_name_12); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 110; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_2); } goto branch_end_3; branch_no_3:; { PyObject *tmp_assattr_name_11; PyObject *tmp_assattr_target_11; tmp_assattr_name_11 = Py_None; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 112; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_11 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_11, mod_consts[39], tmp_assattr_name_11); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_12; PyObject *tmp_assattr_target_12; tmp_assattr_name_12 = Py_None; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 113; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_12 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_12, mod_consts[44], tmp_assattr_name_12); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 113; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_13; PyObject *tmp_assattr_target_13; tmp_assattr_name_13 = Py_None; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 114; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_13 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_13, mod_consts[62], tmp_assattr_name_13); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 114; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } } branch_end_3:; { PyObject *tmp_assattr_name_14; PyObject *tmp_called_instance_7; PyObject *tmp_args_element_name_16; PyObject *tmp_assattr_target_14; tmp_called_instance_7 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_called_instance_7 == NULL)) { tmp_called_instance_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_called_instance_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 116; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_attn_drop); tmp_args_element_name_16 = par_attn_drop; frame_dee30e4e144137543edf2e9eb10bf246->m_frame.f_lineno = 116; tmp_assattr_name_14 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_7, mod_consts[23], tmp_args_element_name_16); if (tmp_assattr_name_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 116; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_14); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 116; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_14 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_14, mod_consts[67], tmp_assattr_name_14); Py_DECREF(tmp_assattr_name_14); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 116; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_15; PyObject *tmp_called_name_13; PyObject *tmp_expression_name_33; PyObject *tmp_args_element_name_17; PyObject *tmp_args_element_name_18; PyObject *tmp_assattr_target_15; tmp_expression_name_33 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_33 == NULL)) { tmp_expression_name_33 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_33 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 117; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_name_13 = LOOKUP_ATTRIBUTE(tmp_expression_name_33, mod_consts[18]); if (tmp_called_name_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 117; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } if (var_all_head_dim == NULL) { Py_DECREF(tmp_called_name_13); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[36]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 117; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_args_element_name_17 = var_all_head_dim; if (par_dim == NULL) { Py_DECREF(tmp_called_name_13); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[29]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 117; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_args_element_name_18 = par_dim; frame_dee30e4e144137543edf2e9eb10bf246->m_frame.f_lineno = 117; { PyObject *call_args[] = {tmp_args_element_name_17, tmp_args_element_name_18}; tmp_assattr_name_15 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_13, call_args); } Py_DECREF(tmp_called_name_13); if (tmp_assattr_name_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 117; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_15); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 117; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_15 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_15, mod_consts[68], tmp_assattr_name_15); Py_DECREF(tmp_assattr_name_15); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 117; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_16; PyObject *tmp_called_instance_8; PyObject *tmp_args_element_name_19; PyObject *tmp_assattr_target_16; tmp_called_instance_8 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_called_instance_8 == NULL)) { tmp_called_instance_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_called_instance_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 118; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_proj_drop); tmp_args_element_name_19 = par_proj_drop; frame_dee30e4e144137543edf2e9eb10bf246->m_frame.f_lineno = 118; tmp_assattr_name_16 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_8, mod_consts[23], tmp_args_element_name_19); if (tmp_assattr_name_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 118; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_16); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 118; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_16 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_16, mod_consts[69], tmp_assattr_name_16); Py_DECREF(tmp_assattr_name_16); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 118; type_description_1 = "oooooooooooooooooc"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_dee30e4e144137543edf2e9eb10bf246); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_dee30e4e144137543edf2e9eb10bf246); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_dee30e4e144137543edf2e9eb10bf246, exception_lineno); } else if (exception_tb->tb_frame != &frame_dee30e4e144137543edf2e9eb10bf246->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_dee30e4e144137543edf2e9eb10bf246, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_dee30e4e144137543edf2e9eb10bf246, type_description_1, par_self, par_dim, par_num_heads, par_qkv_bias, par_qk_scale, par_attn_drop, par_proj_drop, par_window_size, par_attn_head_dim, var_head_dim, var_all_head_dim, var_coords_h, var_coords_w, var_coords, var_coords_flatten, var_relative_coords, var_relative_position_index, self->m_closure[0] ); // Release cached frame if used for exception. if (frame_dee30e4e144137543edf2e9eb10bf246 == cache_frame_dee30e4e144137543edf2e9eb10bf246) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_dee30e4e144137543edf2e9eb10bf246); cache_frame_dee30e4e144137543edf2e9eb10bf246 = NULL; } assertFrameObject(frame_dee30e4e144137543edf2e9eb10bf246); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_dim); par_dim = NULL; Py_XDECREF(par_num_heads); par_num_heads = NULL; CHECK_OBJECT(par_qkv_bias); Py_DECREF(par_qkv_bias); par_qkv_bias = NULL; CHECK_OBJECT(par_qk_scale); Py_DECREF(par_qk_scale); par_qk_scale = NULL; Py_XDECREF(par_attn_drop); par_attn_drop = NULL; Py_XDECREF(par_proj_drop); par_proj_drop = NULL; CHECK_OBJECT(par_window_size); Py_DECREF(par_window_size); par_window_size = NULL; CHECK_OBJECT(par_attn_head_dim); Py_DECREF(par_attn_head_dim); par_attn_head_dim = NULL; Py_XDECREF(var_head_dim); var_head_dim = NULL; Py_XDECREF(var_all_head_dim); var_all_head_dim = NULL; Py_XDECREF(var_coords_h); var_coords_h = NULL; Py_XDECREF(var_coords_w); var_coords_w = NULL; Py_XDECREF(var_coords); var_coords = NULL; Py_XDECREF(var_coords_flatten); var_coords_flatten = NULL; Py_XDECREF(var_relative_coords); var_relative_coords = NULL; Py_XDECREF(var_relative_position_index); var_relative_position_index = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_dim); par_dim = NULL; Py_XDECREF(par_num_heads); par_num_heads = NULL; CHECK_OBJECT(par_qkv_bias); Py_DECREF(par_qkv_bias); par_qkv_bias = NULL; CHECK_OBJECT(par_qk_scale); Py_DECREF(par_qk_scale); par_qk_scale = NULL; Py_XDECREF(par_attn_drop); par_attn_drop = NULL; Py_XDECREF(par_proj_drop); par_proj_drop = NULL; CHECK_OBJECT(par_window_size); Py_DECREF(par_window_size); par_window_size = NULL; CHECK_OBJECT(par_attn_head_dim); Py_DECREF(par_attn_head_dim); par_attn_head_dim = NULL; Py_XDECREF(var_head_dim); var_head_dim = NULL; Py_XDECREF(var_all_head_dim); var_all_head_dim = NULL; Py_XDECREF(var_coords_h); var_coords_h = NULL; Py_XDECREF(var_coords_w); var_coords_w = NULL; Py_XDECREF(var_coords); var_coords = NULL; Py_XDECREF(var_coords_flatten); var_coords_flatten = NULL; Py_XDECREF(var_relative_coords); var_relative_coords = NULL; Py_XDECREF(var_relative_position_index); var_relative_position_index = NULL; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__8_forward(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_x = python_pars[1]; PyObject *par_rel_pos_bias = python_pars[2]; PyObject *var_B = NULL; PyObject *var_N = NULL; PyObject *var_C = NULL; PyObject *var_qkv_bias = NULL; PyObject *var_qkv = NULL; PyObject *var_q = NULL; PyObject *var_k = NULL; PyObject *var_v = NULL; PyObject *var_attn = NULL; PyObject *var_relative_position_bias = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__element_3 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; PyObject *tmp_tuple_unpack_2__element_1 = NULL; PyObject *tmp_tuple_unpack_2__element_2 = NULL; PyObject *tmp_tuple_unpack_2__element_3 = NULL; PyObject *tmp_tuple_unpack_2__source_iter = NULL; struct Nuitka_FrameObject *frame_9fd144b2d64377624d1cbd90f98752ee; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; int tmp_res; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; static struct Nuitka_FrameObject *cache_frame_9fd144b2d64377624d1cbd90f98752ee = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_9fd144b2d64377624d1cbd90f98752ee)) { Py_XDECREF(cache_frame_9fd144b2d64377624d1cbd90f98752ee); #if _DEBUG_REFCOUNTS if (cache_frame_9fd144b2d64377624d1cbd90f98752ee == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_9fd144b2d64377624d1cbd90f98752ee = MAKE_FUNCTION_FRAME(codeobj_9fd144b2d64377624d1cbd90f98752ee, module_models$eva_vit, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_9fd144b2d64377624d1cbd90f98752ee->m_type_description == NULL); frame_9fd144b2d64377624d1cbd90f98752ee = cache_frame_9fd144b2d64377624d1cbd90f98752ee; // Push the new frame as the currently active one. pushFrameStack(frame_9fd144b2d64377624d1cbd90f98752ee); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_9fd144b2d64377624d1cbd90f98752ee) == 2); // Frame stack // Framed code: // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_expression_name_1; CHECK_OBJECT(par_x); tmp_expression_name_1 = par_x; tmp_iter_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[70]); if (tmp_iter_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 121; type_description_1 = "ooooooooooooo"; goto try_except_handler_2; } tmp_assign_source_1 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 121; type_description_1 = "ooooooooooooo"; goto try_except_handler_2; } assert(tmp_tuple_unpack_1__source_iter == NULL); tmp_tuple_unpack_1__source_iter = tmp_assign_source_1; } // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_2 = UNPACK_NEXT(tmp_unpack_1, 0, 3); if (tmp_assign_source_2 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooooooooooo"; exception_lineno = 121; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_1 == NULL); tmp_tuple_unpack_1__element_1 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_2, 1, 3); if (tmp_assign_source_3 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooooooooooo"; exception_lineno = 121; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_2 == NULL); tmp_tuple_unpack_1__element_2 = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_unpack_3; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_3 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_3, 2, 3); if (tmp_assign_source_4 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooooooooooo"; exception_lineno = 121; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_3 == NULL); tmp_tuple_unpack_1__element_3 = tmp_assign_source_4; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "ooooooooooooo"; exception_lineno = 121; goto try_except_handler_3; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[71]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "ooooooooooooo"; exception_lineno = 121; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_2; // End of try: try_end_1:; goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: try_end_2:; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_5; CHECK_OBJECT(tmp_tuple_unpack_1__element_1); tmp_assign_source_5 = tmp_tuple_unpack_1__element_1; assert(var_B == NULL); Py_INCREF(tmp_assign_source_5); var_B = tmp_assign_source_5; } Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_6; CHECK_OBJECT(tmp_tuple_unpack_1__element_2); tmp_assign_source_6 = tmp_tuple_unpack_1__element_2; assert(var_N == NULL); Py_INCREF(tmp_assign_source_6); var_N = tmp_assign_source_6; } Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; { PyObject *tmp_assign_source_7; CHECK_OBJECT(tmp_tuple_unpack_1__element_3); tmp_assign_source_7 = tmp_tuple_unpack_1__element_3; assert(var_C == NULL); Py_INCREF(tmp_assign_source_7); var_C = tmp_assign_source_7; } Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; { PyObject *tmp_assign_source_8; tmp_assign_source_8 = Py_None; assert(var_qkv_bias == NULL); Py_INCREF(tmp_assign_source_8); var_qkv_bias = tmp_assign_source_8; } { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_name_2; CHECK_OBJECT(par_self); tmp_expression_name_2 = par_self; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[37]); if (tmp_compexpr_left_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 123; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = (tmp_compexpr_left_1 != tmp_compexpr_right_1) ? true : false; Py_DECREF(tmp_compexpr_left_1); if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assign_source_9; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_3; PyObject *tmp_args_element_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_expression_name_4; tmp_expression_name_3 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_3 == NULL)) { tmp_expression_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 124; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[72]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 124; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 124; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_4 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[37]); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 124; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = PyTuple_New(3); { PyObject *tmp_called_name_2; PyObject *tmp_expression_name_5; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_2; PyObject *tmp_expression_name_6; PyObject *tmp_kwargs_name_1; PyObject *tmp_expression_name_7; PyTuple_SET_ITEM(tmp_args_element_name_1, 0, tmp_tuple_element_1); tmp_expression_name_5 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_5 == NULL)) { tmp_expression_name_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 124; type_description_1 = "ooooooooooooo"; goto tuple_build_exception_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[73]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 124; type_description_1 = "ooooooooooooo"; goto tuple_build_exception_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 124; type_description_1 = "ooooooooooooo"; goto tuple_build_exception_1; } tmp_expression_name_6 = par_self; tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[38]); if (tmp_tuple_element_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 124; type_description_1 = "ooooooooooooo"; goto tuple_build_exception_1; } tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_1, 0, tmp_tuple_element_2); tmp_kwargs_name_1 = PyDict_Copy(mod_consts[74]); frame_9fd144b2d64377624d1cbd90f98752ee->m_frame.f_lineno = 124; tmp_tuple_element_1 = CALL_FUNCTION(tmp_called_name_2, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 124; type_description_1 = "ooooooooooooo"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_args_element_name_1, 1, tmp_tuple_element_1); if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 124; type_description_1 = "ooooooooooooo"; goto tuple_build_exception_1; } tmp_expression_name_7 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[38]); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 124; type_description_1 = "ooooooooooooo"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_args_element_name_1, 2, tmp_tuple_element_1); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_1); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; frame_9fd144b2d64377624d1cbd90f98752ee->m_frame.f_lineno = 124; tmp_assign_source_9 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_1); if (tmp_assign_source_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 124; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_qkv_bias; assert(old != NULL); var_qkv_bias = tmp_assign_source_9; Py_DECREF(old); } } branch_no_1:; { PyObject *tmp_assign_source_10; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_8; PyObject *tmp_kwargs_name_2; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; tmp_expression_name_8 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[75]); if (unlikely(tmp_expression_name_8 == NULL)) { tmp_expression_name_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[75]); } if (tmp_expression_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 126; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[76]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 126; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_dict_key_1 = mod_consts[77]; if (par_x == NULL) { Py_DECREF(tmp_called_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[78]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 126; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_dict_value_1 = par_x; tmp_kwargs_name_2 = _PyDict_NewPresized( 3 ); { PyObject *tmp_expression_name_9; PyObject *tmp_expression_name_10; tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[79]; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 126; type_description_1 = "ooooooooooooo"; goto dict_build_exception_1; } tmp_expression_name_10 = par_self; tmp_expression_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[32]); if (tmp_expression_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 126; type_description_1 = "ooooooooooooo"; goto dict_build_exception_1; } tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[79]); Py_DECREF(tmp_expression_name_9); if (tmp_dict_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 126; type_description_1 = "ooooooooooooo"; goto dict_build_exception_1; } tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_1, tmp_dict_value_1); Py_DECREF(tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[80]; CHECK_OBJECT(var_qkv_bias); tmp_dict_value_1 = var_qkv_bias; tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); } goto dict_build_noexception_1; // Exception handling pass through code for dict_build: dict_build_exception_1:; Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_kwargs_name_2); goto frame_exception_exit_1; // Finished with no exception for dict_build: dict_build_noexception_1:; frame_9fd144b2d64377624d1cbd90f98752ee->m_frame.f_lineno = 126; tmp_assign_source_10 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_3, tmp_kwargs_name_2); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_kwargs_name_2); if (tmp_assign_source_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 126; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } assert(var_qkv == NULL); var_qkv = tmp_assign_source_10; } { PyObject *tmp_assign_source_11; PyObject *tmp_called_instance_1; PyObject *tmp_called_name_4; PyObject *tmp_expression_name_11; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; PyObject *tmp_expression_name_12; PyObject *tmp_args_element_name_6; CHECK_OBJECT(var_qkv); tmp_expression_name_11 = var_qkv; tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_11, mod_consts[81]); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_B); tmp_args_element_name_2 = var_B; CHECK_OBJECT(var_N); tmp_args_element_name_3 = var_N; tmp_args_element_name_4 = mod_consts[30]; if (par_self == NULL) { Py_DECREF(tmp_called_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 127; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_12 = par_self; tmp_args_element_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_12, mod_consts[25]); if (tmp_args_element_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); exception_lineno = 127; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = mod_consts[82]; frame_9fd144b2d64377624d1cbd90f98752ee->m_frame.f_lineno = 127; { PyObject *call_args[] = {tmp_args_element_name_2, tmp_args_element_name_3, tmp_args_element_name_4, tmp_args_element_name_5, tmp_args_element_name_6}; tmp_called_instance_1 = CALL_FUNCTION_WITH_ARGS5(tmp_called_name_4, call_args); } Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_element_name_5); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } frame_9fd144b2d64377624d1cbd90f98752ee->m_frame.f_lineno = 127; tmp_assign_source_11 = CALL_METHOD_WITH_ARGS5( tmp_called_instance_1, mod_consts[51], &PyTuple_GET_ITEM(mod_consts[83], 0) ); Py_DECREF(tmp_called_instance_1); if (tmp_assign_source_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 127; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_qkv; var_qkv = tmp_assign_source_11; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_12; PyObject *tmp_iter_arg_2; PyObject *tmp_tuple_element_3; PyObject *tmp_expression_name_13; PyObject *tmp_subscript_name_1; CHECK_OBJECT(var_qkv); tmp_expression_name_13 = var_qkv; tmp_subscript_name_1 = mod_consts[41]; tmp_tuple_element_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_13, tmp_subscript_name_1, 0); if (tmp_tuple_element_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; type_description_1 = "ooooooooooooo"; goto try_except_handler_4; } tmp_iter_arg_2 = PyTuple_New(3); { PyObject *tmp_expression_name_14; PyObject *tmp_subscript_name_2; PyObject *tmp_expression_name_15; PyObject *tmp_subscript_name_3; PyTuple_SET_ITEM(tmp_iter_arg_2, 0, tmp_tuple_element_3); CHECK_OBJECT(var_qkv); tmp_expression_name_14 = var_qkv; tmp_subscript_name_2 = mod_consts[42]; tmp_tuple_element_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_14, tmp_subscript_name_2, 1); if (tmp_tuple_element_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; type_description_1 = "ooooooooooooo"; goto tuple_build_exception_2; } PyTuple_SET_ITEM(tmp_iter_arg_2, 1, tmp_tuple_element_3); CHECK_OBJECT(var_qkv); tmp_expression_name_15 = var_qkv; tmp_subscript_name_3 = mod_consts[40]; tmp_tuple_element_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_15, tmp_subscript_name_3, 2); if (tmp_tuple_element_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; type_description_1 = "ooooooooooooo"; goto tuple_build_exception_2; } PyTuple_SET_ITEM(tmp_iter_arg_2, 2, tmp_tuple_element_3); } goto tuple_build_noexception_2; // Exception handling pass through code for tuple_build: tuple_build_exception_2:; Py_DECREF(tmp_iter_arg_2); goto try_except_handler_4; // Finished with no exception for tuple_build: tuple_build_noexception_2:; tmp_assign_source_12 = MAKE_ITERATOR_INFALLIBLE(tmp_iter_arg_2); Py_DECREF(tmp_iter_arg_2); assert(!(tmp_assign_source_12 == NULL)); assert(tmp_tuple_unpack_2__source_iter == NULL); tmp_tuple_unpack_2__source_iter = tmp_assign_source_12; } { PyObject *tmp_assign_source_13; PyObject *tmp_unpack_4; CHECK_OBJECT(tmp_tuple_unpack_2__source_iter); tmp_unpack_4 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_13 = UNPACK_NEXT_INFALLIBLE(tmp_unpack_4); assert(!(tmp_assign_source_13 == NULL)); assert(tmp_tuple_unpack_2__element_1 == NULL); tmp_tuple_unpack_2__element_1 = tmp_assign_source_13; } // Tried code: { PyObject *tmp_assign_source_14; PyObject *tmp_unpack_5; CHECK_OBJECT(tmp_tuple_unpack_2__source_iter); tmp_unpack_5 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_14 = UNPACK_NEXT(tmp_unpack_5, 1, 3); if (tmp_assign_source_14 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooooooooooo"; exception_lineno = 128; goto try_except_handler_5; } assert(tmp_tuple_unpack_2__element_2 == NULL); tmp_tuple_unpack_2__element_2 = tmp_assign_source_14; } { PyObject *tmp_assign_source_15; PyObject *tmp_unpack_6; CHECK_OBJECT(tmp_tuple_unpack_2__source_iter); tmp_unpack_6 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_15 = UNPACK_NEXT(tmp_unpack_6, 2, 3); if (tmp_assign_source_15 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooooooooooo"; exception_lineno = 128; goto try_except_handler_5; } assert(tmp_tuple_unpack_2__element_3 == NULL); tmp_tuple_unpack_2__element_3 = tmp_assign_source_15; } { PyObject *tmp_iterator_name_2; CHECK_OBJECT(tmp_tuple_unpack_2__source_iter); tmp_iterator_name_2 = tmp_tuple_unpack_2__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_2); assert(HAS_ITERNEXT(tmp_iterator_name_2)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_2)->tp_iternext)(tmp_iterator_name_2); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "ooooooooooooo"; exception_lineno = 128; goto try_except_handler_5; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[71]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "ooooooooooooo"; exception_lineno = 128; goto try_except_handler_5; } } goto try_end_3; // Exception handler code: try_except_handler_5:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_2__source_iter); tmp_tuple_unpack_2__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_4; // End of try: try_end_3:; goto try_end_4; // Exception handler code: try_except_handler_4:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_2__element_1); tmp_tuple_unpack_2__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_2__element_2); tmp_tuple_unpack_2__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_2__element_3); tmp_tuple_unpack_2__element_3 = NULL; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; // End of try: try_end_4:; Py_XDECREF(tmp_tuple_unpack_2__source_iter); tmp_tuple_unpack_2__source_iter = NULL; { PyObject *tmp_assign_source_16; CHECK_OBJECT(tmp_tuple_unpack_2__element_1); tmp_assign_source_16 = tmp_tuple_unpack_2__element_1; assert(var_q == NULL); Py_INCREF(tmp_assign_source_16); var_q = tmp_assign_source_16; } Py_XDECREF(tmp_tuple_unpack_2__element_1); tmp_tuple_unpack_2__element_1 = NULL; { PyObject *tmp_assign_source_17; CHECK_OBJECT(tmp_tuple_unpack_2__element_2); tmp_assign_source_17 = tmp_tuple_unpack_2__element_2; assert(var_k == NULL); Py_INCREF(tmp_assign_source_17); var_k = tmp_assign_source_17; } Py_XDECREF(tmp_tuple_unpack_2__element_2); tmp_tuple_unpack_2__element_2 = NULL; { PyObject *tmp_assign_source_18; CHECK_OBJECT(tmp_tuple_unpack_2__element_3); tmp_assign_source_18 = tmp_tuple_unpack_2__element_3; assert(var_v == NULL); Py_INCREF(tmp_assign_source_18); var_v = tmp_assign_source_18; } Py_XDECREF(tmp_tuple_unpack_2__element_3); tmp_tuple_unpack_2__element_3 = NULL; Py_XDECREF(tmp_tuple_unpack_2__element_1); tmp_tuple_unpack_2__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_2__element_2); tmp_tuple_unpack_2__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_2__element_3); tmp_tuple_unpack_2__element_3 = NULL; { PyObject *tmp_assign_source_19; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_expression_name_16; CHECK_OBJECT(var_q); tmp_left_name_1 = var_q; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 130; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_16 = par_self; tmp_right_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_16, mod_consts[28]); if (tmp_right_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 130; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_19 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_1, tmp_right_name_1); Py_DECREF(tmp_right_name_1); if (tmp_assign_source_19 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 130; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_q; var_q = tmp_assign_source_19; Py_XDECREF(old); } } { PyObject *tmp_assign_source_20; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_called_instance_2; CHECK_OBJECT(var_q); tmp_left_name_2 = var_q; CHECK_OBJECT(var_k); tmp_called_instance_2 = var_k; frame_9fd144b2d64377624d1cbd90f98752ee->m_frame.f_lineno = 131; tmp_right_name_2 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_2, mod_consts[84], &PyTuple_GET_ITEM(mod_consts[85], 0) ); if (tmp_right_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 131; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_20 = BINARY_OPERATION_MATMULT_OBJECT_OBJECT_OBJECT(tmp_left_name_2, tmp_right_name_2); Py_DECREF(tmp_right_name_2); if (tmp_assign_source_20 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 131; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } assert(var_attn == NULL); var_attn = tmp_assign_source_20; } { bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_expression_name_17; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 133; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_17 = par_self; tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_17, mod_consts[44]); if (tmp_compexpr_left_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 133; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = Py_None; tmp_condition_result_2 = (tmp_compexpr_left_2 != tmp_compexpr_right_2) ? true : false; Py_DECREF(tmp_compexpr_left_2); if (tmp_condition_result_2 != false) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { PyObject *tmp_assign_source_21; PyObject *tmp_called_name_5; PyObject *tmp_expression_name_18; PyObject *tmp_expression_name_19; PyObject *tmp_expression_name_20; PyObject *tmp_subscript_name_4; PyObject *tmp_called_instance_3; PyObject *tmp_expression_name_21; PyObject *tmp_args_element_name_7; PyObject *tmp_left_name_3; PyObject *tmp_left_name_4; PyObject *tmp_expression_name_22; PyObject *tmp_expression_name_23; PyObject *tmp_subscript_name_5; PyObject *tmp_right_name_3; PyObject *tmp_expression_name_24; PyObject *tmp_expression_name_25; PyObject *tmp_subscript_name_6; PyObject *tmp_right_name_4; PyObject *tmp_args_element_name_8; PyObject *tmp_left_name_5; PyObject *tmp_left_name_6; PyObject *tmp_expression_name_26; PyObject *tmp_expression_name_27; PyObject *tmp_subscript_name_7; PyObject *tmp_right_name_5; PyObject *tmp_expression_name_28; PyObject *tmp_expression_name_29; PyObject *tmp_subscript_name_8; PyObject *tmp_right_name_6; PyObject *tmp_args_element_name_9; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 135; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_20 = par_self; tmp_expression_name_19 = LOOKUP_ATTRIBUTE(tmp_expression_name_20, mod_consts[44]); if (tmp_expression_name_19 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 135; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_expression_name_19); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 135; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_21 = par_self; tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_21, mod_consts[62]); if (tmp_called_instance_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_19); exception_lineno = 135; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } frame_9fd144b2d64377624d1cbd90f98752ee->m_frame.f_lineno = 135; tmp_subscript_name_4 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, mod_consts[86], &PyTuple_GET_ITEM(mod_consts[60], 0) ); Py_DECREF(tmp_called_instance_3); if (tmp_subscript_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_19); exception_lineno = 135; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_18 = LOOKUP_SUBSCRIPT(tmp_expression_name_19, tmp_subscript_name_4); Py_DECREF(tmp_expression_name_19); Py_DECREF(tmp_subscript_name_4); if (tmp_expression_name_18 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 135; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_18, mod_consts[86]); Py_DECREF(tmp_expression_name_18); if (tmp_called_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 135; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_5); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 136; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_23 = par_self; tmp_expression_name_22 = LOOKUP_ATTRIBUTE(tmp_expression_name_23, mod_consts[39]); if (tmp_expression_name_22 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); exception_lineno = 136; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_5 = mod_consts[41]; tmp_left_name_4 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_22, tmp_subscript_name_5, 0); Py_DECREF(tmp_expression_name_22); if (tmp_left_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); exception_lineno = 136; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_left_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 136; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_25 = par_self; tmp_expression_name_24 = LOOKUP_ATTRIBUTE(tmp_expression_name_25, mod_consts[39]); if (tmp_expression_name_24 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_left_name_4); exception_lineno = 136; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_6 = mod_consts[42]; tmp_right_name_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_24, tmp_subscript_name_6, 1); Py_DECREF(tmp_expression_name_24); if (tmp_right_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_left_name_4); exception_lineno = 136; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_left_name_3 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_4, tmp_right_name_3); Py_DECREF(tmp_left_name_4); Py_DECREF(tmp_right_name_3); if (tmp_left_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); exception_lineno = 136; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_right_name_4 = mod_consts[42]; tmp_args_element_name_7 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_left_name_3, tmp_right_name_4); Py_DECREF(tmp_left_name_3); if (tmp_args_element_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); exception_lineno = 136; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_element_name_7); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 137; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_27 = par_self; tmp_expression_name_26 = LOOKUP_ATTRIBUTE(tmp_expression_name_27, mod_consts[39]); if (tmp_expression_name_26 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_element_name_7); exception_lineno = 137; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_7 = mod_consts[41]; tmp_left_name_6 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_26, tmp_subscript_name_7, 0); Py_DECREF(tmp_expression_name_26); if (tmp_left_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_element_name_7); exception_lineno = 137; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_element_name_7); Py_DECREF(tmp_left_name_6); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 137; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_29 = par_self; tmp_expression_name_28 = LOOKUP_ATTRIBUTE(tmp_expression_name_29, mod_consts[39]); if (tmp_expression_name_28 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_element_name_7); Py_DECREF(tmp_left_name_6); exception_lineno = 137; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_8 = mod_consts[42]; tmp_right_name_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_28, tmp_subscript_name_8, 1); Py_DECREF(tmp_expression_name_28); if (tmp_right_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_element_name_7); Py_DECREF(tmp_left_name_6); exception_lineno = 137; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_left_name_5 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_6, tmp_right_name_5); Py_DECREF(tmp_left_name_6); Py_DECREF(tmp_right_name_5); if (tmp_left_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_element_name_7); exception_lineno = 137; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_right_name_6 = mod_consts[42]; tmp_args_element_name_8 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_left_name_5, tmp_right_name_6); Py_DECREF(tmp_left_name_5); if (tmp_args_element_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_element_name_7); exception_lineno = 137; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_9 = mod_consts[82]; frame_9fd144b2d64377624d1cbd90f98752ee->m_frame.f_lineno = 135; { PyObject *call_args[] = {tmp_args_element_name_7, tmp_args_element_name_8, tmp_args_element_name_9}; tmp_assign_source_21 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_5, call_args); } Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_element_name_7); Py_DECREF(tmp_args_element_name_8); if (tmp_assign_source_21 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 135; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } assert(var_relative_position_bias == NULL); var_relative_position_bias = tmp_assign_source_21; } { PyObject *tmp_assign_source_22; PyObject *tmp_called_instance_4; PyObject *tmp_called_instance_5; CHECK_OBJECT(var_relative_position_bias); tmp_called_instance_5 = var_relative_position_bias; frame_9fd144b2d64377624d1cbd90f98752ee->m_frame.f_lineno = 138; tmp_called_instance_4 = CALL_METHOD_WITH_ARGS3( tmp_called_instance_5, mod_consts[51], &PyTuple_GET_ITEM(mod_consts[87], 0) ); if (tmp_called_instance_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 138; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } frame_9fd144b2d64377624d1cbd90f98752ee->m_frame.f_lineno = 138; tmp_assign_source_22 = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[53]); Py_DECREF(tmp_called_instance_4); if (tmp_assign_source_22 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 138; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_relative_position_bias; var_relative_position_bias = tmp_assign_source_22; Py_XDECREF(old); } } { PyObject *tmp_assign_source_23; PyObject *tmp_left_name_7; PyObject *tmp_right_name_7; PyObject *tmp_called_instance_6; CHECK_OBJECT(var_attn); tmp_left_name_7 = var_attn; CHECK_OBJECT(var_relative_position_bias); tmp_called_instance_6 = var_relative_position_bias; frame_9fd144b2d64377624d1cbd90f98752ee->m_frame.f_lineno = 139; tmp_right_name_7 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_6, mod_consts[88], &PyTuple_GET_ITEM(mod_consts[89], 0) ); if (tmp_right_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 139; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_23 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_7, tmp_right_name_7); Py_DECREF(tmp_right_name_7); if (tmp_assign_source_23 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 139; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_attn; var_attn = tmp_assign_source_23; Py_XDECREF(old); } } branch_no_2:; { bool tmp_condition_result_3; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; CHECK_OBJECT(par_rel_pos_bias); tmp_compexpr_left_3 = par_rel_pos_bias; tmp_compexpr_right_3 = Py_None; tmp_condition_result_3 = (tmp_compexpr_left_3 != tmp_compexpr_right_3) ? true : false; if (tmp_condition_result_3 != false) { goto branch_yes_3; } else { goto branch_no_3; } } branch_yes_3:; { PyObject *tmp_assign_source_24; PyObject *tmp_left_name_8; PyObject *tmp_right_name_8; CHECK_OBJECT(var_attn); tmp_left_name_8 = var_attn; CHECK_OBJECT(par_rel_pos_bias); tmp_right_name_8 = par_rel_pos_bias; tmp_assign_source_24 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_8, tmp_right_name_8); if (tmp_assign_source_24 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 142; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_attn; var_attn = tmp_assign_source_24; Py_XDECREF(old); } } branch_no_3:; { PyObject *tmp_assign_source_25; PyObject *tmp_called_name_6; PyObject *tmp_expression_name_30; PyObject *tmp_kwargs_name_3; if (var_attn == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[90]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 144; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_30 = var_attn; tmp_called_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_30, mod_consts[91]); if (tmp_called_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_kwargs_name_3 = PyDict_Copy(mod_consts[92]); frame_9fd144b2d64377624d1cbd90f98752ee->m_frame.f_lineno = 144; tmp_assign_source_25 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_6, tmp_kwargs_name_3); Py_DECREF(tmp_called_name_6); Py_DECREF(tmp_kwargs_name_3); if (tmp_assign_source_25 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 144; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_attn; var_attn = tmp_assign_source_25; Py_XDECREF(old); } } { PyObject *tmp_assign_source_26; PyObject *tmp_called_instance_7; PyObject *tmp_args_element_name_10; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 145; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_7 = par_self; CHECK_OBJECT(var_attn); tmp_args_element_name_10 = var_attn; frame_9fd144b2d64377624d1cbd90f98752ee->m_frame.f_lineno = 145; tmp_assign_source_26 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_7, mod_consts[67], tmp_args_element_name_10); if (tmp_assign_source_26 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 145; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_attn; var_attn = tmp_assign_source_26; Py_XDECREF(old); } } { PyObject *tmp_assign_source_27; PyObject *tmp_called_name_7; PyObject *tmp_expression_name_31; PyObject *tmp_called_instance_8; PyObject *tmp_left_name_9; PyObject *tmp_right_name_9; PyObject *tmp_args_element_name_11; PyObject *tmp_args_element_name_12; PyObject *tmp_args_element_name_13; CHECK_OBJECT(var_attn); tmp_left_name_9 = var_attn; CHECK_OBJECT(var_v); tmp_right_name_9 = var_v; tmp_called_instance_8 = BINARY_OPERATION_MATMULT_OBJECT_OBJECT_OBJECT(tmp_left_name_9, tmp_right_name_9); if (tmp_called_instance_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 147; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } frame_9fd144b2d64377624d1cbd90f98752ee->m_frame.f_lineno = 147; tmp_expression_name_31 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_8, mod_consts[84], &PyTuple_GET_ITEM(mod_consts[93], 0) ); Py_DECREF(tmp_called_instance_8); if (tmp_expression_name_31 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 147; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_31, mod_consts[81]); Py_DECREF(tmp_expression_name_31); if (tmp_called_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 147; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } if (var_B == NULL) { Py_DECREF(tmp_called_name_7); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[94]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 147; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_11 = var_B; if (var_N == NULL) { Py_DECREF(tmp_called_name_7); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[95]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 147; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_12 = var_N; tmp_args_element_name_13 = mod_consts[82]; frame_9fd144b2d64377624d1cbd90f98752ee->m_frame.f_lineno = 147; { PyObject *call_args[] = {tmp_args_element_name_11, tmp_args_element_name_12, tmp_args_element_name_13}; tmp_assign_source_27 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_7, call_args); } Py_DECREF(tmp_called_name_7); if (tmp_assign_source_27 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 147; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_27; Py_XDECREF(old); } } { PyObject *tmp_assign_source_28; PyObject *tmp_called_instance_9; PyObject *tmp_args_element_name_14; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 148; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_9 = par_self; CHECK_OBJECT(par_x); tmp_args_element_name_14 = par_x; frame_9fd144b2d64377624d1cbd90f98752ee->m_frame.f_lineno = 148; tmp_assign_source_28 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_9, mod_consts[68], tmp_args_element_name_14); if (tmp_assign_source_28 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 148; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_28; Py_XDECREF(old); } } { PyObject *tmp_assign_source_29; PyObject *tmp_called_instance_10; PyObject *tmp_args_element_name_15; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 149; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_10 = par_self; CHECK_OBJECT(par_x); tmp_args_element_name_15 = par_x; frame_9fd144b2d64377624d1cbd90f98752ee->m_frame.f_lineno = 149; tmp_assign_source_29 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_10, mod_consts[69], tmp_args_element_name_15); if (tmp_assign_source_29 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 149; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_29; Py_XDECREF(old); } } #if 0 RESTORE_FRAME_EXCEPTION(frame_9fd144b2d64377624d1cbd90f98752ee); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_9fd144b2d64377624d1cbd90f98752ee); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_9fd144b2d64377624d1cbd90f98752ee, exception_lineno); } else if (exception_tb->tb_frame != &frame_9fd144b2d64377624d1cbd90f98752ee->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_9fd144b2d64377624d1cbd90f98752ee, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_9fd144b2d64377624d1cbd90f98752ee, type_description_1, par_self, par_x, par_rel_pos_bias, var_B, var_N, var_C, var_qkv_bias, var_qkv, var_q, var_k, var_v, var_attn, var_relative_position_bias ); // Release cached frame if used for exception. if (frame_9fd144b2d64377624d1cbd90f98752ee == cache_frame_9fd144b2d64377624d1cbd90f98752ee) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_9fd144b2d64377624d1cbd90f98752ee); cache_frame_9fd144b2d64377624d1cbd90f98752ee = NULL; } assertFrameObject(frame_9fd144b2d64377624d1cbd90f98752ee); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; CHECK_OBJECT(par_x); tmp_return_value = par_x; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; CHECK_OBJECT(par_x); Py_DECREF(par_x); par_x = NULL; Py_XDECREF(par_rel_pos_bias); par_rel_pos_bias = NULL; Py_XDECREF(var_B); var_B = NULL; Py_XDECREF(var_N); var_N = NULL; CHECK_OBJECT(var_C); Py_DECREF(var_C); var_C = NULL; Py_XDECREF(var_qkv_bias); var_qkv_bias = NULL; CHECK_OBJECT(var_qkv); Py_DECREF(var_qkv); var_qkv = NULL; Py_XDECREF(var_q); var_q = NULL; Py_XDECREF(var_k); var_k = NULL; Py_XDECREF(var_v); var_v = NULL; Py_XDECREF(var_attn); var_attn = NULL; Py_XDECREF(var_relative_position_bias); var_relative_position_bias = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_x); par_x = NULL; Py_XDECREF(par_rel_pos_bias); par_rel_pos_bias = NULL; Py_XDECREF(var_B); var_B = NULL; Py_XDECREF(var_N); var_N = NULL; Py_XDECREF(var_C); var_C = NULL; Py_XDECREF(var_qkv_bias); var_qkv_bias = NULL; Py_XDECREF(var_qkv); var_qkv = NULL; Py_XDECREF(var_q); var_q = NULL; Py_XDECREF(var_k); var_k = NULL; Py_XDECREF(var_v); var_v = NULL; Py_XDECREF(var_attn); var_attn = NULL; Py_XDECREF(var_relative_position_bias); var_relative_position_bias = NULL; // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__9___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_dim = python_pars[1]; PyObject *par_num_heads = python_pars[2]; PyObject *par_mlp_ratio = python_pars[3]; PyObject *par_qkv_bias = python_pars[4]; PyObject *par_qk_scale = python_pars[5]; PyObject *par_drop = python_pars[6]; PyObject *par_attn_drop = python_pars[7]; PyObject *par_drop_path = python_pars[8]; PyObject *par_init_values = python_pars[9]; PyObject *par_act_layer = python_pars[10]; PyObject *par_norm_layer = python_pars[11]; PyObject *par_window_size = python_pars[12]; PyObject *par_attn_head_dim = python_pars[13]; PyObject *var_mlp_hidden_dim = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_d92c71c73bff0f22de3676bfa424f040; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; int tmp_res; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; static struct Nuitka_FrameObject *cache_frame_d92c71c73bff0f22de3676bfa424f040 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_d92c71c73bff0f22de3676bfa424f040)) { Py_XDECREF(cache_frame_d92c71c73bff0f22de3676bfa424f040); #if _DEBUG_REFCOUNTS if (cache_frame_d92c71c73bff0f22de3676bfa424f040 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_d92c71c73bff0f22de3676bfa424f040 = MAKE_FUNCTION_FRAME(codeobj_d92c71c73bff0f22de3676bfa424f040, module_models$eva_vit, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_d92c71c73bff0f22de3676bfa424f040->m_type_description == NULL); frame_d92c71c73bff0f22de3676bfa424f040 = cache_frame_d92c71c73bff0f22de3676bfa424f040; // Push the new frame as the currently active one. pushFrameStack(frame_d92c71c73bff0f22de3676bfa424f040); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_d92c71c73bff0f22de3676bfa424f040) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_call_result_1; if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[16]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 158; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } tmp_type_arg_name_1 = Nuitka_Cell_GET(self->m_closure[0]); CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER0(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 158; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } frame_d92c71c73bff0f22de3676bfa424f040->m_frame.f_lineno = 158; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[9]); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 158; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assattr_name_1; PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT(par_norm_layer); tmp_called_name_1 = par_norm_layer; CHECK_OBJECT(par_dim); tmp_args_element_name_1 = par_dim; frame_d92c71c73bff0f22de3676bfa424f040->m_frame.f_lineno = 159; tmp_assattr_name_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_1); if (tmp_assattr_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 159; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[96], tmp_assattr_name_1); Py_DECREF(tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 159; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_called_name_2; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_assattr_target_2; tmp_called_name_2 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[97]); if (unlikely(tmp_called_name_2 == NULL)) { tmp_called_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[97]); } if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 160; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_dim); tmp_tuple_element_1 = par_dim; tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_args_name_1, 0, tmp_tuple_element_1); tmp_dict_key_1 = mod_consts[25]; CHECK_OBJECT(par_num_heads); tmp_dict_value_1 = par_num_heads; tmp_kwargs_name_1 = _PyDict_NewPresized( 7 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[98]; CHECK_OBJECT(par_qkv_bias); tmp_dict_value_1 = par_qkv_bias; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[99]; CHECK_OBJECT(par_qk_scale); tmp_dict_value_1 = par_qk_scale; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[67]; CHECK_OBJECT(par_attn_drop); tmp_dict_value_1 = par_attn_drop; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[69]; CHECK_OBJECT(par_drop); tmp_dict_value_1 = par_drop; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[39]; CHECK_OBJECT(par_window_size); tmp_dict_value_1 = par_window_size; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[100]; CHECK_OBJECT(par_attn_head_dim); tmp_dict_value_1 = par_attn_head_dim; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); frame_d92c71c73bff0f22de3676bfa424f040->m_frame.f_lineno = 160; tmp_assattr_name_2 = CALL_FUNCTION(tmp_called_name_2, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assattr_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 160; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[90], tmp_assattr_name_2); Py_DECREF(tmp_assattr_name_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 160; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_called_name_3; PyObject *tmp_args_element_name_2; PyObject *tmp_called_instance_2; PyObject *tmp_assattr_target_3; CHECK_OBJECT(par_drop_path); tmp_compexpr_left_1 = par_drop_path; tmp_compexpr_right_1 = mod_consts[101]; tmp_condition_result_1 = RICH_COMPARE_GT_NBOOL_OBJECT_FLOAT(tmp_compexpr_left_1, tmp_compexpr_right_1); if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 164; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto condexpr_true_1; } else { goto condexpr_false_1; } assert(tmp_condition_result_1 != NUITKA_BOOL_UNASSIGNED); condexpr_true_1:; tmp_called_name_3 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[8]); if (unlikely(tmp_called_name_3 == NULL)) { tmp_called_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[8]); } if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 164; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_drop_path); tmp_args_element_name_2 = par_drop_path; frame_d92c71c73bff0f22de3676bfa424f040->m_frame.f_lineno = 164; tmp_assattr_name_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_3, tmp_args_element_name_2); if (tmp_assattr_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 164; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } goto condexpr_end_1; condexpr_false_1:; tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_called_instance_2 == NULL)) { tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 164; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } frame_d92c71c73bff0f22de3676bfa424f040->m_frame.f_lineno = 164; tmp_assattr_name_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[102]); if (tmp_assattr_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 164; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } condexpr_end_1:; CHECK_OBJECT(par_self); tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[11], tmp_assattr_name_3); Py_DECREF(tmp_assattr_name_3); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 164; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_called_name_4; PyObject *tmp_args_element_name_3; PyObject *tmp_assattr_target_4; CHECK_OBJECT(par_norm_layer); tmp_called_name_4 = par_norm_layer; CHECK_OBJECT(par_dim); tmp_args_element_name_3 = par_dim; frame_d92c71c73bff0f22de3676bfa424f040->m_frame.f_lineno = 165; tmp_assattr_name_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_4, tmp_args_element_name_3); if (tmp_assattr_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 165; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[103], tmp_assattr_name_4); Py_DECREF(tmp_assattr_name_4); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 165; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_1; PyObject *tmp_int_arg_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; CHECK_OBJECT(par_dim); tmp_left_name_1 = par_dim; CHECK_OBJECT(par_mlp_ratio); tmp_right_name_1 = par_mlp_ratio; tmp_int_arg_1 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_1, tmp_right_name_1); if (tmp_int_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 166; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } tmp_assign_source_1 = PyNumber_Int(tmp_int_arg_1); Py_DECREF(tmp_int_arg_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 166; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } assert(var_mlp_hidden_dim == NULL); var_mlp_hidden_dim = tmp_assign_source_1; } { PyObject *tmp_assattr_name_5; PyObject *tmp_called_name_5; PyObject *tmp_kwargs_name_2; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; PyObject *tmp_assattr_target_5; tmp_called_name_5 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[104]); if (unlikely(tmp_called_name_5 == NULL)) { tmp_called_name_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[104]); } if (tmp_called_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 167; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } tmp_dict_key_2 = mod_consts[105]; if (par_dim == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[29]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 167; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } tmp_dict_value_2 = par_dim; tmp_kwargs_name_2 = _PyDict_NewPresized( 4 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); assert(!(tmp_res != 0)); tmp_dict_key_2 = mod_consts[21]; CHECK_OBJECT(var_mlp_hidden_dim); tmp_dict_value_2 = var_mlp_hidden_dim; tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); assert(!(tmp_res != 0)); tmp_dict_key_2 = mod_consts[106]; CHECK_OBJECT(par_act_layer); tmp_dict_value_2 = par_act_layer; tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); assert(!(tmp_res != 0)); tmp_dict_key_2 = mod_consts[24]; CHECK_OBJECT(par_drop); tmp_dict_value_2 = par_drop; tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); assert(!(tmp_res != 0)); frame_d92c71c73bff0f22de3676bfa424f040->m_frame.f_lineno = 167; tmp_assattr_name_5 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_5, tmp_kwargs_name_2); Py_DECREF(tmp_kwargs_name_2); if (tmp_assattr_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 167; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_5 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[107], tmp_assattr_name_5); Py_DECREF(tmp_assattr_name_5); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 167; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_2; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_tmp_and_right_value_1_object_1; int tmp_truth_name_1; CHECK_OBJECT(par_init_values); tmp_compexpr_left_2 = par_init_values; tmp_compexpr_right_2 = Py_None; tmp_and_left_value_1 = (tmp_compexpr_left_2 != tmp_compexpr_right_2) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if (tmp_and_left_truth_1 == 1) { goto and_right_1; } else { goto and_left_1; } and_right_1:; CHECK_OBJECT(par_init_values); tmp_compexpr_left_3 = par_init_values; tmp_compexpr_right_3 = mod_consts[41]; tmp_tmp_and_right_value_1_object_1 = RICH_COMPARE_GT_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_3, tmp_compexpr_right_3); if (tmp_tmp_and_right_value_1_object_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 169; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE(tmp_tmp_and_right_value_1_object_1); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_tmp_and_right_value_1_object_1); exception_lineno = 169; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } tmp_and_right_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; Py_DECREF(tmp_tmp_and_right_value_1_object_1); tmp_condition_result_2 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_2 = tmp_and_left_value_1; and_end_1:; if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assattr_name_6; PyObject *tmp_called_name_6; PyObject *tmp_expression_name_1; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_2; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_called_name_7; PyObject *tmp_expression_name_2; PyObject *tmp_args_element_name_4; PyObject *tmp_kwargs_name_3; PyObject *tmp_assattr_target_6; tmp_expression_name_1 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_1 == NULL)) { tmp_expression_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 170; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[33]); if (tmp_called_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 170; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_init_values); tmp_left_name_2 = par_init_values; tmp_expression_name_2 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_2 == NULL)) { tmp_expression_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_6); exception_lineno = 170; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[108]); if (tmp_called_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_6); exception_lineno = 170; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } if (par_dim == NULL) { Py_DECREF(tmp_called_name_6); Py_DECREF(tmp_called_name_7); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[29]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 170; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_dim; frame_d92c71c73bff0f22de3676bfa424f040->m_frame.f_lineno = 170; tmp_right_name_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_7, tmp_args_element_name_4); Py_DECREF(tmp_called_name_7); if (tmp_right_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_6); exception_lineno = 170; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } tmp_tuple_element_2 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_2, tmp_right_name_2); Py_DECREF(tmp_right_name_2); if (tmp_tuple_element_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_6); exception_lineno = 170; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } tmp_args_name_2 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_2, 0, tmp_tuple_element_2); tmp_kwargs_name_3 = PyDict_Copy(mod_consts[109]); frame_d92c71c73bff0f22de3676bfa424f040->m_frame.f_lineno = 170; tmp_assattr_name_6 = CALL_FUNCTION(tmp_called_name_6, tmp_args_name_2, tmp_kwargs_name_3); Py_DECREF(tmp_called_name_6); Py_DECREF(tmp_args_name_2); Py_DECREF(tmp_kwargs_name_3); if (tmp_assattr_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 170; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_6 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[110], tmp_assattr_name_6); Py_DECREF(tmp_assattr_name_6); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 170; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_7; PyObject *tmp_called_name_8; PyObject *tmp_expression_name_3; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_3; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_called_name_9; PyObject *tmp_expression_name_4; PyObject *tmp_args_element_name_5; PyObject *tmp_kwargs_name_4; PyObject *tmp_assattr_target_7; tmp_expression_name_3 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_3 == NULL)) { tmp_expression_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 171; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_name_8 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[33]); if (tmp_called_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 171; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } if (par_init_values == NULL) { Py_DECREF(tmp_called_name_8); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[111]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 171; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } tmp_left_name_3 = par_init_values; tmp_expression_name_4 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_4 == NULL)) { tmp_expression_name_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_8); exception_lineno = 171; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[108]); if (tmp_called_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_8); exception_lineno = 171; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } if (par_dim == NULL) { Py_DECREF(tmp_called_name_8); Py_DECREF(tmp_called_name_9); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[29]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 171; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } tmp_args_element_name_5 = par_dim; frame_d92c71c73bff0f22de3676bfa424f040->m_frame.f_lineno = 171; tmp_right_name_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_9, tmp_args_element_name_5); Py_DECREF(tmp_called_name_9); if (tmp_right_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_8); exception_lineno = 171; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } tmp_tuple_element_3 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_3, tmp_right_name_3); Py_DECREF(tmp_right_name_3); if (tmp_tuple_element_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_8); exception_lineno = 171; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } tmp_args_name_3 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_3, 0, tmp_tuple_element_3); tmp_kwargs_name_4 = PyDict_Copy(mod_consts[109]); frame_d92c71c73bff0f22de3676bfa424f040->m_frame.f_lineno = 171; tmp_assattr_name_7 = CALL_FUNCTION(tmp_called_name_8, tmp_args_name_3, tmp_kwargs_name_4); Py_DECREF(tmp_called_name_8); Py_DECREF(tmp_args_name_3); Py_DECREF(tmp_kwargs_name_4); if (tmp_assattr_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 171; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_7 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[112], tmp_assattr_name_7); Py_DECREF(tmp_assattr_name_7); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 171; type_description_1 = "oooooooooooooooc"; goto frame_exception_exit_1; } } goto branch_end_1; branch_no_1:; { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; tmp_iter_arg_1 = mod_consts[113]; tmp_assign_source_2 = MAKE_ITERATOR_INFALLIBLE(tmp_iter_arg_1); assert(!(tmp_assign_source_2 == NULL)); assert(tmp_tuple_unpack_1__source_iter == NULL); tmp_tuple_unpack_1__source_iter = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT_INFALLIBLE(tmp_unpack_1); assert(!(tmp_assign_source_3 == NULL)); assert(tmp_tuple_unpack_1__element_1 == NULL); tmp_tuple_unpack_1__element_1 = tmp_assign_source_3; } // Tried code: // Tried code: { PyObject *tmp_assign_source_4; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_2, 1, 2); if (tmp_assign_source_4 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooooooooooc"; exception_lineno = 173; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_2 == NULL); tmp_tuple_unpack_1__element_2 = tmp_assign_source_4; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooooooooooc"; exception_lineno = 173; goto try_except_handler_3; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[114]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "oooooooooooooooc"; exception_lineno = 173; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_2; // End of try: try_end_1:; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assattr_name_8; PyObject *tmp_assattr_target_8; CHECK_OBJECT(tmp_tuple_unpack_1__element_1); tmp_assattr_name_8 = tmp_tuple_unpack_1__element_1; CHECK_OBJECT(par_self); tmp_assattr_target_8 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_8, mod_consts[110], tmp_assattr_name_8); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 173; type_description_1 = "oooooooooooooooc"; goto try_except_handler_2; } } Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assattr_name_9; PyObject *tmp_assattr_target_9; CHECK_OBJECT(tmp_tuple_unpack_1__element_2); tmp_assattr_name_9 = tmp_tuple_unpack_1__element_2; CHECK_OBJECT(par_self); tmp_assattr_target_9 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_9, mod_consts[112], tmp_assattr_name_9); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 173; type_description_1 = "oooooooooooooooc"; goto try_except_handler_2; } } goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: try_end_2:; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; branch_end_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_d92c71c73bff0f22de3676bfa424f040); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_d92c71c73bff0f22de3676bfa424f040); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_d92c71c73bff0f22de3676bfa424f040, exception_lineno); } else if (exception_tb->tb_frame != &frame_d92c71c73bff0f22de3676bfa424f040->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_d92c71c73bff0f22de3676bfa424f040, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_d92c71c73bff0f22de3676bfa424f040, type_description_1, par_self, par_dim, par_num_heads, par_mlp_ratio, par_qkv_bias, par_qk_scale, par_drop, par_attn_drop, par_drop_path, par_init_values, par_act_layer, par_norm_layer, par_window_size, par_attn_head_dim, var_mlp_hidden_dim, self->m_closure[0] ); // Release cached frame if used for exception. if (frame_d92c71c73bff0f22de3676bfa424f040 == cache_frame_d92c71c73bff0f22de3676bfa424f040) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_d92c71c73bff0f22de3676bfa424f040); cache_frame_d92c71c73bff0f22de3676bfa424f040 = NULL; } assertFrameObject(frame_d92c71c73bff0f22de3676bfa424f040); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_dim); par_dim = NULL; CHECK_OBJECT(par_num_heads); Py_DECREF(par_num_heads); par_num_heads = NULL; Py_XDECREF(par_mlp_ratio); par_mlp_ratio = NULL; CHECK_OBJECT(par_qkv_bias); Py_DECREF(par_qkv_bias); par_qkv_bias = NULL; CHECK_OBJECT(par_qk_scale); Py_DECREF(par_qk_scale); par_qk_scale = NULL; CHECK_OBJECT(par_drop); Py_DECREF(par_drop); par_drop = NULL; CHECK_OBJECT(par_attn_drop); Py_DECREF(par_attn_drop); par_attn_drop = NULL; CHECK_OBJECT(par_drop_path); Py_DECREF(par_drop_path); par_drop_path = NULL; Py_XDECREF(par_init_values); par_init_values = NULL; CHECK_OBJECT(par_act_layer); Py_DECREF(par_act_layer); par_act_layer = NULL; CHECK_OBJECT(par_norm_layer); Py_DECREF(par_norm_layer); par_norm_layer = NULL; CHECK_OBJECT(par_window_size); Py_DECREF(par_window_size); par_window_size = NULL; CHECK_OBJECT(par_attn_head_dim); Py_DECREF(par_attn_head_dim); par_attn_head_dim = NULL; CHECK_OBJECT(var_mlp_hidden_dim); Py_DECREF(var_mlp_hidden_dim); var_mlp_hidden_dim = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_dim); par_dim = NULL; CHECK_OBJECT(par_num_heads); Py_DECREF(par_num_heads); par_num_heads = NULL; Py_XDECREF(par_mlp_ratio); par_mlp_ratio = NULL; CHECK_OBJECT(par_qkv_bias); Py_DECREF(par_qkv_bias); par_qkv_bias = NULL; CHECK_OBJECT(par_qk_scale); Py_DECREF(par_qk_scale); par_qk_scale = NULL; CHECK_OBJECT(par_drop); Py_DECREF(par_drop); par_drop = NULL; CHECK_OBJECT(par_attn_drop); Py_DECREF(par_attn_drop); par_attn_drop = NULL; CHECK_OBJECT(par_drop_path); Py_DECREF(par_drop_path); par_drop_path = NULL; Py_XDECREF(par_init_values); par_init_values = NULL; CHECK_OBJECT(par_act_layer); Py_DECREF(par_act_layer); par_act_layer = NULL; CHECK_OBJECT(par_norm_layer); Py_DECREF(par_norm_layer); par_norm_layer = NULL; CHECK_OBJECT(par_window_size); Py_DECREF(par_window_size); par_window_size = NULL; CHECK_OBJECT(par_attn_head_dim); Py_DECREF(par_attn_head_dim); par_attn_head_dim = NULL; Py_XDECREF(var_mlp_hidden_dim); var_mlp_hidden_dim = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__10_forward(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_x = python_pars[1]; PyObject *par_rel_pos_bias = python_pars[2]; struct Nuitka_FrameObject *frame_d5219c5b01b2e872456147b340beeec5; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; static struct Nuitka_FrameObject *cache_frame_d5219c5b01b2e872456147b340beeec5 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_d5219c5b01b2e872456147b340beeec5)) { Py_XDECREF(cache_frame_d5219c5b01b2e872456147b340beeec5); #if _DEBUG_REFCOUNTS if (cache_frame_d5219c5b01b2e872456147b340beeec5 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_d5219c5b01b2e872456147b340beeec5 = MAKE_FUNCTION_FRAME(codeobj_d5219c5b01b2e872456147b340beeec5, module_models$eva_vit, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_d5219c5b01b2e872456147b340beeec5->m_type_description == NULL); frame_d5219c5b01b2e872456147b340beeec5 = cache_frame_d5219c5b01b2e872456147b340beeec5; // Push the new frame as the currently active one. pushFrameStack(frame_d5219c5b01b2e872456147b340beeec5); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_d5219c5b01b2e872456147b340beeec5) == 2); // Frame stack // Framed code: { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_name_1; CHECK_OBJECT(par_self); tmp_expression_name_1 = par_self; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[110]); if (tmp_compexpr_left_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 176; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = (tmp_compexpr_left_1 == tmp_compexpr_right_1) ? true : false; Py_DECREF(tmp_compexpr_left_1); if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assign_source_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_3; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_called_instance_1; PyObject *tmp_args_element_name_2; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; CHECK_OBJECT(par_x); tmp_left_name_1 = par_x; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 177; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_2 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[11]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 177; type_description_1 = "ooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 177; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_3 = par_self; tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[90]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 177; type_description_1 = "ooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_called_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 177; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_self; CHECK_OBJECT(par_x); tmp_args_element_name_2 = par_x; frame_d5219c5b01b2e872456147b340beeec5->m_frame.f_lineno = 177; tmp_tuple_element_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[96], tmp_args_element_name_2); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_called_name_2); exception_lineno = 177; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_1, 0, tmp_tuple_element_1); tmp_dict_key_1 = mod_consts[115]; CHECK_OBJECT(par_rel_pos_bias); tmp_dict_value_1 = par_rel_pos_bias; tmp_kwargs_name_1 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); frame_d5219c5b01b2e872456147b340beeec5->m_frame.f_lineno = 177; tmp_args_element_name_1 = CALL_FUNCTION(tmp_called_name_2, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_args_element_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 177; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_d5219c5b01b2e872456147b340beeec5->m_frame.f_lineno = 177; tmp_right_name_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_1); if (tmp_right_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 177; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assign_source_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_1, tmp_right_name_1); Py_DECREF(tmp_right_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 177; type_description_1 = "ooo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_1; Py_XDECREF(old); } } { PyObject *tmp_assign_source_2; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_4; PyObject *tmp_args_element_name_3; PyObject *tmp_called_name_4; PyObject *tmp_expression_name_5; PyObject *tmp_args_element_name_4; PyObject *tmp_called_instance_2; PyObject *tmp_args_element_name_5; CHECK_OBJECT(par_x); tmp_left_name_2 = par_x; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 178; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_4 = par_self; tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[11]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 178; type_description_1 = "ooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 178; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_5 = par_self; tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[107]); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); exception_lineno = 178; type_description_1 = "ooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_called_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 178; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = par_self; CHECK_OBJECT(par_x); tmp_args_element_name_5 = par_x; frame_d5219c5b01b2e872456147b340beeec5->m_frame.f_lineno = 178; tmp_args_element_name_4 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[103], tmp_args_element_name_5); if (tmp_args_element_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_called_name_4); exception_lineno = 178; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_d5219c5b01b2e872456147b340beeec5->m_frame.f_lineno = 178; tmp_args_element_name_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_4, tmp_args_element_name_4); Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_element_name_4); if (tmp_args_element_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); exception_lineno = 178; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_d5219c5b01b2e872456147b340beeec5->m_frame.f_lineno = 178; tmp_right_name_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_3, tmp_args_element_name_3); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_element_name_3); if (tmp_right_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 178; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_2, tmp_right_name_2); Py_DECREF(tmp_right_name_2); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 178; type_description_1 = "ooo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_2; Py_XDECREF(old); } } goto branch_end_1; branch_no_1:; { PyObject *tmp_assign_source_3; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_called_name_5; PyObject *tmp_expression_name_6; PyObject *tmp_args_element_name_6; PyObject *tmp_left_name_4; PyObject *tmp_expression_name_7; PyObject *tmp_right_name_4; PyObject *tmp_called_name_6; PyObject *tmp_expression_name_8; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_2; PyObject *tmp_called_instance_3; PyObject *tmp_args_element_name_7; PyObject *tmp_kwargs_name_2; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; CHECK_OBJECT(par_x); tmp_left_name_3 = par_x; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 180; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_6 = par_self; tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[11]); if (tmp_called_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 180; type_description_1 = "ooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_5); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 180; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_7 = par_self; tmp_left_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[110]); if (tmp_left_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); exception_lineno = 180; type_description_1 = "ooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_left_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 180; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_8 = par_self; tmp_called_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[90]); if (tmp_called_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_left_name_4); exception_lineno = 180; type_description_1 = "ooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_left_name_4); Py_DECREF(tmp_called_name_6); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 180; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_instance_3 = par_self; CHECK_OBJECT(par_x); tmp_args_element_name_7 = par_x; frame_d5219c5b01b2e872456147b340beeec5->m_frame.f_lineno = 180; tmp_tuple_element_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[96], tmp_args_element_name_7); if (tmp_tuple_element_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_left_name_4); Py_DECREF(tmp_called_name_6); exception_lineno = 180; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_name_2 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_2, 0, tmp_tuple_element_2); tmp_dict_key_2 = mod_consts[115]; CHECK_OBJECT(par_rel_pos_bias); tmp_dict_value_2 = par_rel_pos_bias; tmp_kwargs_name_2 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); assert(!(tmp_res != 0)); frame_d5219c5b01b2e872456147b340beeec5->m_frame.f_lineno = 180; tmp_right_name_4 = CALL_FUNCTION(tmp_called_name_6, tmp_args_name_2, tmp_kwargs_name_2); Py_DECREF(tmp_called_name_6); Py_DECREF(tmp_args_name_2); Py_DECREF(tmp_kwargs_name_2); if (tmp_right_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_left_name_4); exception_lineno = 180; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_4, tmp_right_name_4); Py_DECREF(tmp_left_name_4); Py_DECREF(tmp_right_name_4); if (tmp_args_element_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); exception_lineno = 180; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_d5219c5b01b2e872456147b340beeec5->m_frame.f_lineno = 180; tmp_right_name_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_5, tmp_args_element_name_6); Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_element_name_6); if (tmp_right_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 180; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assign_source_3 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_3, tmp_right_name_3); Py_DECREF(tmp_right_name_3); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 180; type_description_1 = "ooo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_3; Py_XDECREF(old); } } { PyObject *tmp_assign_source_4; PyObject *tmp_left_name_5; PyObject *tmp_right_name_5; PyObject *tmp_called_name_7; PyObject *tmp_expression_name_9; PyObject *tmp_args_element_name_8; PyObject *tmp_left_name_6; PyObject *tmp_expression_name_10; PyObject *tmp_right_name_6; PyObject *tmp_called_name_8; PyObject *tmp_expression_name_11; PyObject *tmp_args_element_name_9; PyObject *tmp_called_instance_4; PyObject *tmp_args_element_name_10; CHECK_OBJECT(par_x); tmp_left_name_5 = par_x; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 181; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_9 = par_self; tmp_called_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[11]); if (tmp_called_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 181; type_description_1 = "ooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_7); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 181; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_10 = par_self; tmp_left_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[112]); if (tmp_left_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_7); exception_lineno = 181; type_description_1 = "ooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_7); Py_DECREF(tmp_left_name_6); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 181; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_expression_name_11 = par_self; tmp_called_name_8 = LOOKUP_ATTRIBUTE(tmp_expression_name_11, mod_consts[107]); if (tmp_called_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_7); Py_DECREF(tmp_left_name_6); exception_lineno = 181; type_description_1 = "ooo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_7); Py_DECREF(tmp_left_name_6); Py_DECREF(tmp_called_name_8); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 181; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_instance_4 = par_self; CHECK_OBJECT(par_x); tmp_args_element_name_10 = par_x; frame_d5219c5b01b2e872456147b340beeec5->m_frame.f_lineno = 181; tmp_args_element_name_9 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[103], tmp_args_element_name_10); if (tmp_args_element_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_7); Py_DECREF(tmp_left_name_6); Py_DECREF(tmp_called_name_8); exception_lineno = 181; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_d5219c5b01b2e872456147b340beeec5->m_frame.f_lineno = 181; tmp_right_name_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_8, tmp_args_element_name_9); Py_DECREF(tmp_called_name_8); Py_DECREF(tmp_args_element_name_9); if (tmp_right_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_7); Py_DECREF(tmp_left_name_6); exception_lineno = 181; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_8 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_6, tmp_right_name_6); Py_DECREF(tmp_left_name_6); Py_DECREF(tmp_right_name_6); if (tmp_args_element_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_7); exception_lineno = 181; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_d5219c5b01b2e872456147b340beeec5->m_frame.f_lineno = 181; tmp_right_name_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_7, tmp_args_element_name_8); Py_DECREF(tmp_called_name_7); Py_DECREF(tmp_args_element_name_8); if (tmp_right_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 181; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assign_source_4 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_5, tmp_right_name_5); Py_DECREF(tmp_right_name_5); if (tmp_assign_source_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 181; type_description_1 = "ooo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_4; Py_XDECREF(old); } } branch_end_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_d5219c5b01b2e872456147b340beeec5); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_d5219c5b01b2e872456147b340beeec5); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_d5219c5b01b2e872456147b340beeec5, exception_lineno); } else if (exception_tb->tb_frame != &frame_d5219c5b01b2e872456147b340beeec5->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_d5219c5b01b2e872456147b340beeec5, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_d5219c5b01b2e872456147b340beeec5, type_description_1, par_self, par_x, par_rel_pos_bias ); // Release cached frame if used for exception. if (frame_d5219c5b01b2e872456147b340beeec5 == cache_frame_d5219c5b01b2e872456147b340beeec5) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_d5219c5b01b2e872456147b340beeec5); cache_frame_d5219c5b01b2e872456147b340beeec5 = NULL; } assertFrameObject(frame_d5219c5b01b2e872456147b340beeec5); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; CHECK_OBJECT(par_x); tmp_return_value = par_x; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; CHECK_OBJECT(par_x); Py_DECREF(par_x); par_x = NULL; Py_XDECREF(par_rel_pos_bias); par_rel_pos_bias = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_x); par_x = NULL; Py_XDECREF(par_rel_pos_bias); par_rel_pos_bias = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__11___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_img_size = python_pars[1]; PyObject *par_patch_size = python_pars[2]; PyObject *par_in_chans = python_pars[3]; PyObject *par_embed_dim = python_pars[4]; PyObject *var_num_patches = NULL; struct Nuitka_FrameObject *frame_b2d24eeaac09f42ae30d5aa04029c58d; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; int tmp_res; static struct Nuitka_FrameObject *cache_frame_b2d24eeaac09f42ae30d5aa04029c58d = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_b2d24eeaac09f42ae30d5aa04029c58d)) { Py_XDECREF(cache_frame_b2d24eeaac09f42ae30d5aa04029c58d); #if _DEBUG_REFCOUNTS if (cache_frame_b2d24eeaac09f42ae30d5aa04029c58d == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_b2d24eeaac09f42ae30d5aa04029c58d = MAKE_FUNCTION_FRAME(codeobj_b2d24eeaac09f42ae30d5aa04029c58d, module_models$eva_vit, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_b2d24eeaac09f42ae30d5aa04029c58d->m_type_description == NULL); frame_b2d24eeaac09f42ae30d5aa04029c58d = cache_frame_b2d24eeaac09f42ae30d5aa04029c58d; // Push the new frame as the currently active one. pushFrameStack(frame_b2d24eeaac09f42ae30d5aa04029c58d); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_b2d24eeaac09f42ae30d5aa04029c58d) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_call_result_1; if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[16]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 189; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } tmp_type_arg_name_1 = Nuitka_Cell_GET(self->m_closure[0]); CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER0(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 189; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } frame_b2d24eeaac09f42ae30d5aa04029c58d->m_frame.f_lineno = 189; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[9]); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 189; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; tmp_called_name_1 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[116]); if (unlikely(tmp_called_name_1 == NULL)) { tmp_called_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[116]); } if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 190; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_img_size); tmp_args_element_name_1 = par_img_size; frame_b2d24eeaac09f42ae30d5aa04029c58d->m_frame.f_lineno = 190; tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 190; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } { PyObject *old = par_img_size; assert(old != NULL); par_img_size = tmp_assign_source_1; Py_DECREF(old); } } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_2; PyObject *tmp_args_element_name_2; tmp_called_name_2 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[116]); if (unlikely(tmp_called_name_2 == NULL)) { tmp_called_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[116]); } if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_patch_size); tmp_args_element_name_2 = par_patch_size; frame_b2d24eeaac09f42ae30d5aa04029c58d->m_frame.f_lineno = 191; tmp_assign_source_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_2, tmp_args_element_name_2); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } { PyObject *old = par_patch_size; assert(old != NULL); par_patch_size = tmp_assign_source_2; Py_DECREF(old); } } { PyObject *tmp_assign_source_3; PyObject *tmp_left_name_1; PyObject *tmp_left_name_2; PyObject *tmp_expression_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_right_name_1; PyObject *tmp_expression_name_2; PyObject *tmp_subscript_name_2; PyObject *tmp_right_name_2; PyObject *tmp_left_name_3; PyObject *tmp_expression_name_3; PyObject *tmp_subscript_name_3; PyObject *tmp_right_name_3; PyObject *tmp_expression_name_4; PyObject *tmp_subscript_name_4; CHECK_OBJECT(par_img_size); tmp_expression_name_1 = par_img_size; tmp_subscript_name_1 = mod_consts[42]; tmp_left_name_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_1, tmp_subscript_name_1, 1); if (tmp_left_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 192; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_patch_size); tmp_expression_name_2 = par_patch_size; tmp_subscript_name_2 = mod_consts[42]; tmp_right_name_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_2, tmp_subscript_name_2, 1); if (tmp_right_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_2); exception_lineno = 192; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } tmp_left_name_1 = BINARY_OPERATION_FLOORDIV_OBJECT_OBJECT_OBJECT(tmp_left_name_2, tmp_right_name_1); Py_DECREF(tmp_left_name_2); Py_DECREF(tmp_right_name_1); if (tmp_left_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 192; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_img_size); tmp_expression_name_3 = par_img_size; tmp_subscript_name_3 = mod_consts[41]; tmp_left_name_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_3, tmp_subscript_name_3, 0); if (tmp_left_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_1); exception_lineno = 192; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_patch_size); tmp_expression_name_4 = par_patch_size; tmp_subscript_name_4 = mod_consts[41]; tmp_right_name_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_4, tmp_subscript_name_4, 0); if (tmp_right_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_1); Py_DECREF(tmp_left_name_3); exception_lineno = 192; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } tmp_right_name_2 = BINARY_OPERATION_FLOORDIV_OBJECT_OBJECT_OBJECT(tmp_left_name_3, tmp_right_name_3); Py_DECREF(tmp_left_name_3); Py_DECREF(tmp_right_name_3); if (tmp_right_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_1); exception_lineno = 192; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } tmp_assign_source_3 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_1, tmp_right_name_2); Py_DECREF(tmp_left_name_1); Py_DECREF(tmp_right_name_2); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 192; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } assert(var_num_patches == NULL); var_num_patches = tmp_assign_source_3; } { PyObject *tmp_assattr_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_left_name_4; PyObject *tmp_expression_name_5; PyObject *tmp_subscript_name_5; PyObject *tmp_right_name_4; PyObject *tmp_expression_name_6; PyObject *tmp_subscript_name_6; PyObject *tmp_assattr_target_1; CHECK_OBJECT(par_img_size); tmp_expression_name_5 = par_img_size; tmp_subscript_name_5 = mod_consts[41]; tmp_left_name_4 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_5, tmp_subscript_name_5, 0); if (tmp_left_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 193; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_patch_size); tmp_expression_name_6 = par_patch_size; tmp_subscript_name_6 = mod_consts[41]; tmp_right_name_4 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_6, tmp_subscript_name_6, 0); if (tmp_right_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_4); exception_lineno = 193; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } tmp_tuple_element_1 = BINARY_OPERATION_FLOORDIV_OBJECT_OBJECT_OBJECT(tmp_left_name_4, tmp_right_name_4); Py_DECREF(tmp_left_name_4); Py_DECREF(tmp_right_name_4); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 193; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } tmp_assattr_name_1 = PyTuple_New(2); { PyObject *tmp_left_name_5; PyObject *tmp_expression_name_7; PyObject *tmp_subscript_name_7; PyObject *tmp_right_name_5; PyObject *tmp_expression_name_8; PyObject *tmp_subscript_name_8; PyTuple_SET_ITEM(tmp_assattr_name_1, 0, tmp_tuple_element_1); CHECK_OBJECT(par_img_size); tmp_expression_name_7 = par_img_size; tmp_subscript_name_7 = mod_consts[42]; tmp_left_name_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_7, tmp_subscript_name_7, 1); if (tmp_left_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 193; type_description_1 = "ooooooc"; goto tuple_build_exception_1; } CHECK_OBJECT(par_patch_size); tmp_expression_name_8 = par_patch_size; tmp_subscript_name_8 = mod_consts[42]; tmp_right_name_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_8, tmp_subscript_name_8, 1); if (tmp_right_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_5); exception_lineno = 193; type_description_1 = "ooooooc"; goto tuple_build_exception_1; } tmp_tuple_element_1 = BINARY_OPERATION_FLOORDIV_OBJECT_OBJECT_OBJECT(tmp_left_name_5, tmp_right_name_5); Py_DECREF(tmp_left_name_5); Py_DECREF(tmp_right_name_5); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 193; type_description_1 = "ooooooc"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_assattr_name_1, 1, tmp_tuple_element_1); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_assattr_name_1); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[117], tmp_assattr_name_1); Py_DECREF(tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 193; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; CHECK_OBJECT(par_img_size); tmp_assattr_name_2 = par_img_size; CHECK_OBJECT(par_self); tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[118], tmp_assattr_name_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 194; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; CHECK_OBJECT(par_patch_size); tmp_assattr_name_3 = par_patch_size; CHECK_OBJECT(par_self); tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[119], tmp_assattr_name_3); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 195; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_assattr_target_4; CHECK_OBJECT(var_num_patches); tmp_assattr_name_4 = var_num_patches; CHECK_OBJECT(par_self); tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[120], tmp_assattr_name_4); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 196; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_5; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_9; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_2; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_assattr_target_5; tmp_expression_name_9 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_9 == NULL)) { tmp_expression_name_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 198; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[121]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 198; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_in_chans); tmp_tuple_element_2 = par_in_chans; tmp_args_name_1 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_1, 0, tmp_tuple_element_2); CHECK_OBJECT(par_embed_dim); tmp_tuple_element_2 = par_embed_dim; PyTuple_SET_ITEM0(tmp_args_name_1, 1, tmp_tuple_element_2); tmp_dict_key_1 = mod_consts[122]; CHECK_OBJECT(par_patch_size); tmp_dict_value_1 = par_patch_size; tmp_kwargs_name_1 = _PyDict_NewPresized( 2 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[123]; CHECK_OBJECT(par_patch_size); tmp_dict_value_1 = par_patch_size; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); frame_b2d24eeaac09f42ae30d5aa04029c58d->m_frame.f_lineno = 198; tmp_assattr_name_5 = CALL_FUNCTION(tmp_called_name_3, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assattr_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 198; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_5 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[68], tmp_assattr_name_5); Py_DECREF(tmp_assattr_name_5); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 198; type_description_1 = "ooooooc"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_b2d24eeaac09f42ae30d5aa04029c58d); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_b2d24eeaac09f42ae30d5aa04029c58d); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_b2d24eeaac09f42ae30d5aa04029c58d, exception_lineno); } else if (exception_tb->tb_frame != &frame_b2d24eeaac09f42ae30d5aa04029c58d->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_b2d24eeaac09f42ae30d5aa04029c58d, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_b2d24eeaac09f42ae30d5aa04029c58d, type_description_1, par_self, par_img_size, par_patch_size, par_in_chans, par_embed_dim, var_num_patches, self->m_closure[0] ); // Release cached frame if used for exception. if (frame_b2d24eeaac09f42ae30d5aa04029c58d == cache_frame_b2d24eeaac09f42ae30d5aa04029c58d) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_b2d24eeaac09f42ae30d5aa04029c58d); cache_frame_b2d24eeaac09f42ae30d5aa04029c58d = NULL; } assertFrameObject(frame_b2d24eeaac09f42ae30d5aa04029c58d); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_img_size); Py_DECREF(par_img_size); par_img_size = NULL; Py_XDECREF(par_patch_size); par_patch_size = NULL; Py_XDECREF(par_in_chans); par_in_chans = NULL; Py_XDECREF(par_embed_dim); par_embed_dim = NULL; CHECK_OBJECT(var_num_patches); Py_DECREF(var_num_patches); var_num_patches = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_img_size); Py_DECREF(par_img_size); par_img_size = NULL; Py_XDECREF(par_patch_size); par_patch_size = NULL; Py_XDECREF(par_in_chans); par_in_chans = NULL; Py_XDECREF(par_embed_dim); par_embed_dim = NULL; Py_XDECREF(var_num_patches); var_num_patches = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__12_forward(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_x = python_pars[1]; PyObject *par_kwargs = python_pars[2]; PyObject *var_B = NULL; PyObject *var_C = NULL; PyObject *var_H = NULL; PyObject *var_W = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__element_3 = NULL; PyObject *tmp_tuple_unpack_1__element_4 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_446336bff265ef3598d46cbfaec00955; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; int tmp_res; static struct Nuitka_FrameObject *cache_frame_446336bff265ef3598d46cbfaec00955 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_446336bff265ef3598d46cbfaec00955)) { Py_XDECREF(cache_frame_446336bff265ef3598d46cbfaec00955); #if _DEBUG_REFCOUNTS if (cache_frame_446336bff265ef3598d46cbfaec00955 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_446336bff265ef3598d46cbfaec00955 = MAKE_FUNCTION_FRAME(codeobj_446336bff265ef3598d46cbfaec00955, module_models$eva_vit, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_446336bff265ef3598d46cbfaec00955->m_type_description == NULL); frame_446336bff265ef3598d46cbfaec00955 = cache_frame_446336bff265ef3598d46cbfaec00955; // Push the new frame as the currently active one. pushFrameStack(frame_446336bff265ef3598d46cbfaec00955); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_446336bff265ef3598d46cbfaec00955) == 2); // Frame stack // Framed code: // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_expression_name_1; CHECK_OBJECT(par_x); tmp_expression_name_1 = par_x; tmp_iter_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[70]); if (tmp_iter_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 201; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_assign_source_1 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 201; type_description_1 = "ooooooo"; goto try_except_handler_2; } assert(tmp_tuple_unpack_1__source_iter == NULL); tmp_tuple_unpack_1__source_iter = tmp_assign_source_1; } // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_2 = UNPACK_NEXT(tmp_unpack_1, 0, 4); if (tmp_assign_source_2 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooooo"; exception_lineno = 201; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_1 == NULL); tmp_tuple_unpack_1__element_1 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_2, 1, 4); if (tmp_assign_source_3 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooooo"; exception_lineno = 201; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_2 == NULL); tmp_tuple_unpack_1__element_2 = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_unpack_3; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_3 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_3, 2, 4); if (tmp_assign_source_4 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooooo"; exception_lineno = 201; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_3 == NULL); tmp_tuple_unpack_1__element_3 = tmp_assign_source_4; } { PyObject *tmp_assign_source_5; PyObject *tmp_unpack_4; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_4 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_4, 3, 4); if (tmp_assign_source_5 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooooo"; exception_lineno = 201; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_4 == NULL); tmp_tuple_unpack_1__element_4 = tmp_assign_source_5; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "ooooooo"; exception_lineno = 201; goto try_except_handler_3; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[124]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "ooooooo"; exception_lineno = 201; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_2; // End of try: try_end_1:; goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_4); tmp_tuple_unpack_1__element_4 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: try_end_2:; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_6; CHECK_OBJECT(tmp_tuple_unpack_1__element_1); tmp_assign_source_6 = tmp_tuple_unpack_1__element_1; assert(var_B == NULL); Py_INCREF(tmp_assign_source_6); var_B = tmp_assign_source_6; } Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_7; CHECK_OBJECT(tmp_tuple_unpack_1__element_2); tmp_assign_source_7 = tmp_tuple_unpack_1__element_2; assert(var_C == NULL); Py_INCREF(tmp_assign_source_7); var_C = tmp_assign_source_7; } Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; { PyObject *tmp_assign_source_8; CHECK_OBJECT(tmp_tuple_unpack_1__element_3); tmp_assign_source_8 = tmp_tuple_unpack_1__element_3; assert(var_H == NULL); Py_INCREF(tmp_assign_source_8); var_H = tmp_assign_source_8; } Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; { PyObject *tmp_assign_source_9; CHECK_OBJECT(tmp_tuple_unpack_1__element_4); tmp_assign_source_9 = tmp_tuple_unpack_1__element_4; assert(var_W == NULL); Py_INCREF(tmp_assign_source_9); var_W = tmp_assign_source_9; } Py_XDECREF(tmp_tuple_unpack_1__element_4); tmp_tuple_unpack_1__element_4 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_4); tmp_tuple_unpack_1__element_4 = NULL; { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; int tmp_and_left_truth_1; PyObject *tmp_and_left_value_1; PyObject *tmp_and_right_value_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_name_2; PyObject *tmp_expression_name_3; PyObject *tmp_subscript_name_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_expression_name_4; PyObject *tmp_expression_name_5; PyObject *tmp_subscript_name_2; CHECK_OBJECT(var_H); tmp_compexpr_left_1 = var_H; CHECK_OBJECT(par_self); tmp_expression_name_3 = par_self; tmp_expression_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[118]); if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 203; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = mod_consts[41]; tmp_compexpr_right_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_2, tmp_subscript_name_1, 0); Py_DECREF(tmp_expression_name_2); if (tmp_compexpr_right_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 203; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_1, tmp_compexpr_right_1); Py_DECREF(tmp_compexpr_right_1); if (tmp_and_left_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 203; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_and_left_truth_1 = CHECK_IF_TRUE(tmp_and_left_value_1); if (tmp_and_left_truth_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_and_left_value_1); exception_lineno = 203; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if (tmp_and_left_truth_1 == 1) { goto and_right_1; } else { goto and_left_1; } and_right_1:; Py_DECREF(tmp_and_left_value_1); CHECK_OBJECT(var_W); tmp_compexpr_left_2 = var_W; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 203; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_expression_name_5 = par_self; tmp_expression_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[118]); if (tmp_expression_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 203; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_2 = mod_consts[42]; tmp_compexpr_right_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_4, tmp_subscript_name_2, 1); Py_DECREF(tmp_expression_name_4); if (tmp_compexpr_right_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 203; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_2, tmp_compexpr_right_2); Py_DECREF(tmp_compexpr_right_2); if (tmp_and_right_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 203; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_operand_name_1 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_operand_name_1 = tmp_and_left_value_1; and_end_1:; tmp_res = CHECK_IF_TRUE(tmp_operand_name_1); Py_DECREF(tmp_operand_name_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 203; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_raise_type_1; PyObject *tmp_raise_value_1; PyObject *tmp_tuple_element_1; PyObject *tmp_string_concat_values_1; PyObject *tmp_tuple_element_2; tmp_raise_type_1 = PyExc_AssertionError; tmp_tuple_element_2 = mod_consts[125]; tmp_string_concat_values_1 = PyTuple_New(9); { PyObject *tmp_format_value_1; PyObject *tmp_format_spec_1; PyObject *tmp_format_value_2; PyObject *tmp_format_spec_2; PyObject *tmp_format_value_3; PyObject *tmp_expression_name_6; PyObject *tmp_expression_name_7; PyObject *tmp_subscript_name_3; PyObject *tmp_format_spec_3; PyObject *tmp_format_value_4; PyObject *tmp_expression_name_8; PyObject *tmp_expression_name_9; PyObject *tmp_subscript_name_4; PyObject *tmp_format_spec_4; PyTuple_SET_ITEM0(tmp_string_concat_values_1, 0, tmp_tuple_element_2); CHECK_OBJECT(var_H); tmp_format_value_1 = var_H; tmp_format_spec_1 = mod_consts[126]; tmp_tuple_element_2 = BUILTIN_FORMAT(tmp_format_value_1, tmp_format_spec_1); if (tmp_tuple_element_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 204; type_description_1 = "ooooooo"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_string_concat_values_1, 1, tmp_tuple_element_2); tmp_tuple_element_2 = mod_consts[127]; PyTuple_SET_ITEM0(tmp_string_concat_values_1, 2, tmp_tuple_element_2); CHECK_OBJECT(var_W); tmp_format_value_2 = var_W; tmp_format_spec_2 = mod_consts[126]; tmp_tuple_element_2 = BUILTIN_FORMAT(tmp_format_value_2, tmp_format_spec_2); if (tmp_tuple_element_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 204; type_description_1 = "ooooooo"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_string_concat_values_1, 3, tmp_tuple_element_2); tmp_tuple_element_2 = mod_consts[128]; PyTuple_SET_ITEM0(tmp_string_concat_values_1, 4, tmp_tuple_element_2); if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 204; type_description_1 = "ooooooo"; goto tuple_build_exception_1; } tmp_expression_name_7 = par_self; tmp_expression_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[118]); if (tmp_expression_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 204; type_description_1 = "ooooooo"; goto tuple_build_exception_1; } tmp_subscript_name_3 = mod_consts[41]; tmp_format_value_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_6, tmp_subscript_name_3, 0); Py_DECREF(tmp_expression_name_6); if (tmp_format_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 204; type_description_1 = "ooooooo"; goto tuple_build_exception_1; } tmp_format_spec_3 = mod_consts[126]; tmp_tuple_element_2 = BUILTIN_FORMAT(tmp_format_value_3, tmp_format_spec_3); Py_DECREF(tmp_format_value_3); if (tmp_tuple_element_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 204; type_description_1 = "ooooooo"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_string_concat_values_1, 5, tmp_tuple_element_2); tmp_tuple_element_2 = mod_consts[127]; PyTuple_SET_ITEM0(tmp_string_concat_values_1, 6, tmp_tuple_element_2); if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 204; type_description_1 = "ooooooo"; goto tuple_build_exception_1; } tmp_expression_name_9 = par_self; tmp_expression_name_8 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[118]); if (tmp_expression_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 204; type_description_1 = "ooooooo"; goto tuple_build_exception_1; } tmp_subscript_name_4 = mod_consts[42]; tmp_format_value_4 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_8, tmp_subscript_name_4, 1); Py_DECREF(tmp_expression_name_8); if (tmp_format_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 204; type_description_1 = "ooooooo"; goto tuple_build_exception_1; } tmp_format_spec_4 = mod_consts[126]; tmp_tuple_element_2 = BUILTIN_FORMAT(tmp_format_value_4, tmp_format_spec_4); Py_DECREF(tmp_format_value_4); if (tmp_tuple_element_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 204; type_description_1 = "ooooooo"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_string_concat_values_1, 7, tmp_tuple_element_2); tmp_tuple_element_2 = mod_consts[129]; PyTuple_SET_ITEM0(tmp_string_concat_values_1, 8, tmp_tuple_element_2); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_string_concat_values_1); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_tuple_element_1 = PyUnicode_Join(mod_consts[126], tmp_string_concat_values_1); Py_DECREF(tmp_string_concat_values_1); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 204; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_raise_value_1 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_raise_value_1, 0, tmp_tuple_element_1); exception_type = tmp_raise_type_1; Py_INCREF(tmp_raise_type_1); exception_value = tmp_raise_value_1; exception_lineno = 203; RAISE_EXCEPTION_WITH_VALUE(&exception_type, &exception_value, &exception_tb); type_description_1 = "ooooooo"; goto frame_exception_exit_1; } branch_no_1:; { PyObject *tmp_assign_source_10; PyObject *tmp_called_instance_1; PyObject *tmp_called_instance_2; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_10; PyObject *tmp_args_element_name_1; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 205; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_expression_name_10 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[68]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 205; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if (par_x == NULL) { Py_DECREF(tmp_called_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[78]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 205; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_x; frame_446336bff265ef3598d46cbfaec00955->m_frame.f_lineno = 205; tmp_called_instance_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_1); Py_DECREF(tmp_called_name_1); if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 205; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } frame_446336bff265ef3598d46cbfaec00955->m_frame.f_lineno = 205; tmp_called_instance_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, mod_consts[48], &PyTuple_GET_ITEM(mod_consts[130], 0) ); Py_DECREF(tmp_called_instance_2); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 205; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } frame_446336bff265ef3598d46cbfaec00955->m_frame.f_lineno = 205; tmp_assign_source_10 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, mod_consts[84], &PyTuple_GET_ITEM(mod_consts[93], 0) ); Py_DECREF(tmp_called_instance_1); if (tmp_assign_source_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 205; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_10; Py_XDECREF(old); } } #if 0 RESTORE_FRAME_EXCEPTION(frame_446336bff265ef3598d46cbfaec00955); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_446336bff265ef3598d46cbfaec00955); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_446336bff265ef3598d46cbfaec00955, exception_lineno); } else if (exception_tb->tb_frame != &frame_446336bff265ef3598d46cbfaec00955->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_446336bff265ef3598d46cbfaec00955, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_446336bff265ef3598d46cbfaec00955, type_description_1, par_self, par_x, par_kwargs, var_B, var_C, var_H, var_W ); // Release cached frame if used for exception. if (frame_446336bff265ef3598d46cbfaec00955 == cache_frame_446336bff265ef3598d46cbfaec00955) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_446336bff265ef3598d46cbfaec00955); cache_frame_446336bff265ef3598d46cbfaec00955 = NULL; } assertFrameObject(frame_446336bff265ef3598d46cbfaec00955); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; CHECK_OBJECT(par_x); tmp_return_value = par_x; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; CHECK_OBJECT(par_x); Py_DECREF(par_x); par_x = NULL; CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); par_kwargs = NULL; CHECK_OBJECT(var_B); Py_DECREF(var_B); var_B = NULL; CHECK_OBJECT(var_C); Py_DECREF(var_C); var_C = NULL; CHECK_OBJECT(var_H); Py_DECREF(var_H); var_H = NULL; CHECK_OBJECT(var_W); Py_DECREF(var_W); var_W = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_x); par_x = NULL; CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); par_kwargs = NULL; Py_XDECREF(var_B); var_B = NULL; Py_XDECREF(var_C); var_C = NULL; Py_XDECREF(var_H); var_H = NULL; Py_XDECREF(var_W); var_W = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__13___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_window_size = python_pars[1]; PyObject *par_num_heads = python_pars[2]; PyObject *var_coords_h = NULL; PyObject *var_coords_w = NULL; PyObject *var_coords = NULL; PyObject *var_coords_flatten = NULL; PyObject *var_relative_coords = NULL; PyObject *var_relative_position_index = NULL; PyObject *tmp_inplace_assign_subscr_1__subscript = NULL; PyObject *tmp_inplace_assign_subscr_1__target = NULL; PyObject *tmp_inplace_assign_subscr_1__value = NULL; PyObject *tmp_inplace_assign_subscr_2__subscript = NULL; PyObject *tmp_inplace_assign_subscr_2__target = NULL; PyObject *tmp_inplace_assign_subscr_2__value = NULL; PyObject *tmp_inplace_assign_subscr_3__subscript = NULL; PyObject *tmp_inplace_assign_subscr_3__target = NULL; PyObject *tmp_inplace_assign_subscr_3__value = NULL; struct Nuitka_FrameObject *frame_90888ee108de7d41b39f1ce4c7fc2733; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; int tmp_res; static struct Nuitka_FrameObject *cache_frame_90888ee108de7d41b39f1ce4c7fc2733 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_90888ee108de7d41b39f1ce4c7fc2733)) { Py_XDECREF(cache_frame_90888ee108de7d41b39f1ce4c7fc2733); #if _DEBUG_REFCOUNTS if (cache_frame_90888ee108de7d41b39f1ce4c7fc2733 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_90888ee108de7d41b39f1ce4c7fc2733 = MAKE_FUNCTION_FRAME(codeobj_90888ee108de7d41b39f1ce4c7fc2733, module_models$eva_vit, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_90888ee108de7d41b39f1ce4c7fc2733->m_type_description == NULL); frame_90888ee108de7d41b39f1ce4c7fc2733 = cache_frame_90888ee108de7d41b39f1ce4c7fc2733; // Push the new frame as the currently active one. pushFrameStack(frame_90888ee108de7d41b39f1ce4c7fc2733); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_90888ee108de7d41b39f1ce4c7fc2733) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_call_result_1; if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[16]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 212; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_type_arg_name_1 = Nuitka_Cell_GET(self->m_closure[0]); CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER0(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 212; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } frame_90888ee108de7d41b39f1ce4c7fc2733->m_frame.f_lineno = 212; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[9]); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 212; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT(par_window_size); tmp_assattr_name_1 = par_window_size; CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[39], tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 213; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_left_name_1; PyObject *tmp_left_name_2; PyObject *tmp_left_name_3; PyObject *tmp_left_name_4; PyObject *tmp_right_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_right_name_2; PyObject *tmp_right_name_3; PyObject *tmp_left_name_5; PyObject *tmp_left_name_6; PyObject *tmp_right_name_4; PyObject *tmp_expression_name_2; PyObject *tmp_subscript_name_2; PyObject *tmp_right_name_5; PyObject *tmp_right_name_6; PyObject *tmp_assattr_target_2; tmp_left_name_4 = mod_consts[40]; CHECK_OBJECT(par_window_size); tmp_expression_name_1 = par_window_size; tmp_subscript_name_1 = mod_consts[41]; tmp_right_name_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_1, tmp_subscript_name_1, 0); if (tmp_right_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 214; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_left_name_3 = BINARY_OPERATION_MULT_OBJECT_LONG_OBJECT(tmp_left_name_4, tmp_right_name_1); Py_DECREF(tmp_right_name_1); if (tmp_left_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 214; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_right_name_2 = mod_consts[42]; tmp_left_name_2 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_left_name_3, tmp_right_name_2); Py_DECREF(tmp_left_name_3); if (tmp_left_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 214; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_left_name_6 = mod_consts[40]; CHECK_OBJECT(par_window_size); tmp_expression_name_2 = par_window_size; tmp_subscript_name_2 = mod_consts[42]; tmp_right_name_4 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_2, tmp_subscript_name_2, 1); if (tmp_right_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_2); exception_lineno = 214; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_left_name_5 = BINARY_OPERATION_MULT_OBJECT_LONG_OBJECT(tmp_left_name_6, tmp_right_name_4); Py_DECREF(tmp_right_name_4); if (tmp_left_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_2); exception_lineno = 214; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_right_name_5 = mod_consts[42]; tmp_right_name_3 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_left_name_5, tmp_right_name_5); Py_DECREF(tmp_left_name_5); if (tmp_right_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_2); exception_lineno = 214; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_left_name_1 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_2, tmp_right_name_3); Py_DECREF(tmp_left_name_2); Py_DECREF(tmp_right_name_3); if (tmp_left_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 214; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_right_name_6 = mod_consts[30]; tmp_assattr_name_2 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_left_name_1, tmp_right_name_6); Py_DECREF(tmp_left_name_1); if (tmp_assattr_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 214; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[43], tmp_assattr_name_2); Py_DECREF(tmp_assattr_name_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 214; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_3; PyObject *tmp_args_element_name_1; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_4; PyObject *tmp_args_element_name_2; PyObject *tmp_expression_name_5; PyObject *tmp_args_element_name_3; PyObject *tmp_assattr_target_3; tmp_expression_name_3 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_3 == NULL)) { tmp_expression_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 215; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[33]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 215; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_4 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_4 == NULL)) { tmp_expression_name_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 216; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[35]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 216; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_expression_name_5 = par_self; tmp_args_element_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[43]); if (tmp_args_element_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_called_name_2); exception_lineno = 216; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_num_heads); tmp_args_element_name_3 = par_num_heads; frame_90888ee108de7d41b39f1ce4c7fc2733->m_frame.f_lineno = 216; { PyObject *call_args[] = {tmp_args_element_name_2, tmp_args_element_name_3}; tmp_args_element_name_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_2, call_args); } Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_element_name_2); if (tmp_args_element_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 216; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } frame_90888ee108de7d41b39f1ce4c7fc2733->m_frame.f_lineno = 215; tmp_assattr_name_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_1); if (tmp_assattr_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 215; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 215; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[44], tmp_assattr_name_3); Py_DECREF(tmp_assattr_name_3); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 215; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_6; PyObject *tmp_args_element_name_4; PyObject *tmp_expression_name_7; PyObject *tmp_subscript_name_3; tmp_expression_name_6 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_6 == NULL)) { tmp_expression_name_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 220; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[45]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 220; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_window_size); tmp_expression_name_7 = par_window_size; tmp_subscript_name_3 = mod_consts[41]; tmp_args_element_name_4 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_7, tmp_subscript_name_3, 0); if (tmp_args_element_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); exception_lineno = 220; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } frame_90888ee108de7d41b39f1ce4c7fc2733->m_frame.f_lineno = 220; tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_3, tmp_args_element_name_4); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_element_name_4); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 220; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } assert(var_coords_h == NULL); var_coords_h = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_4; PyObject *tmp_expression_name_8; PyObject *tmp_args_element_name_5; PyObject *tmp_expression_name_9; PyObject *tmp_subscript_name_4; tmp_expression_name_8 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_8 == NULL)) { tmp_expression_name_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 221; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[45]); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 221; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_window_size); tmp_expression_name_9 = par_window_size; tmp_subscript_name_4 = mod_consts[42]; tmp_args_element_name_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_9, tmp_subscript_name_4, 1); if (tmp_args_element_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); exception_lineno = 221; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } frame_90888ee108de7d41b39f1ce4c7fc2733->m_frame.f_lineno = 221; tmp_assign_source_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_4, tmp_args_element_name_5); Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_element_name_5); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 221; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } assert(var_coords_w == NULL); var_coords_w = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_called_name_5; PyObject *tmp_expression_name_10; PyObject *tmp_args_element_name_6; PyObject *tmp_called_instance_2; PyObject *tmp_args_element_name_7; PyObject *tmp_list_element_1; tmp_expression_name_10 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_10 == NULL)) { tmp_expression_name_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 222; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[46]); if (tmp_called_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 222; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_called_instance_2 == NULL)) { tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); exception_lineno = 222; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(var_coords_h); tmp_list_element_1 = var_coords_h; tmp_args_element_name_7 = PyList_New(2); PyList_SET_ITEM0(tmp_args_element_name_7, 0, tmp_list_element_1); CHECK_OBJECT(var_coords_w); tmp_list_element_1 = var_coords_w; PyList_SET_ITEM0(tmp_args_element_name_7, 1, tmp_list_element_1); frame_90888ee108de7d41b39f1ce4c7fc2733->m_frame.f_lineno = 222; tmp_args_element_name_6 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[47], tmp_args_element_name_7); Py_DECREF(tmp_args_element_name_7); if (tmp_args_element_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); exception_lineno = 222; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } frame_90888ee108de7d41b39f1ce4c7fc2733->m_frame.f_lineno = 222; tmp_assign_source_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_5, tmp_args_element_name_6); Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_element_name_6); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 222; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } assert(var_coords == NULL); var_coords = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_called_instance_3; PyObject *tmp_args_element_name_8; PyObject *tmp_args_element_name_9; tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_called_instance_3 == NULL)) { tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_called_instance_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 223; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(var_coords); tmp_args_element_name_8 = var_coords; tmp_args_element_name_9 = mod_consts[42]; frame_90888ee108de7d41b39f1ce4c7fc2733->m_frame.f_lineno = 223; { PyObject *call_args[] = {tmp_args_element_name_8, tmp_args_element_name_9}; tmp_assign_source_4 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_3, mod_consts[48], call_args ); } if (tmp_assign_source_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 223; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } assert(var_coords_flatten == NULL); var_coords_flatten = tmp_assign_source_4; } { PyObject *tmp_assign_source_5; PyObject *tmp_left_name_7; PyObject *tmp_expression_name_11; PyObject *tmp_subscript_name_5; PyObject *tmp_right_name_7; PyObject *tmp_expression_name_12; PyObject *tmp_subscript_name_6; CHECK_OBJECT(var_coords_flatten); tmp_expression_name_11 = var_coords_flatten; tmp_subscript_name_5 = mod_consts[49]; tmp_left_name_7 = LOOKUP_SUBSCRIPT(tmp_expression_name_11, tmp_subscript_name_5); if (tmp_left_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 224; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(var_coords_flatten); tmp_expression_name_12 = var_coords_flatten; tmp_subscript_name_6 = mod_consts[50]; tmp_right_name_7 = LOOKUP_SUBSCRIPT(tmp_expression_name_12, tmp_subscript_name_6); if (tmp_right_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_7); exception_lineno = 224; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_assign_source_5 = BINARY_OPERATION_SUB_OBJECT_OBJECT_OBJECT(tmp_left_name_7, tmp_right_name_7); Py_DECREF(tmp_left_name_7); Py_DECREF(tmp_right_name_7); if (tmp_assign_source_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 224; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } assert(var_relative_coords == NULL); var_relative_coords = tmp_assign_source_5; } { PyObject *tmp_assign_source_6; PyObject *tmp_called_instance_4; PyObject *tmp_called_instance_5; CHECK_OBJECT(var_relative_coords); tmp_called_instance_5 = var_relative_coords; frame_90888ee108de7d41b39f1ce4c7fc2733->m_frame.f_lineno = 225; tmp_called_instance_4 = CALL_METHOD_WITH_ARGS3( tmp_called_instance_5, mod_consts[51], &PyTuple_GET_ITEM(mod_consts[52], 0) ); if (tmp_called_instance_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 225; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } frame_90888ee108de7d41b39f1ce4c7fc2733->m_frame.f_lineno = 225; tmp_assign_source_6 = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[53]); Py_DECREF(tmp_called_instance_4); if (tmp_assign_source_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 225; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } { PyObject *old = var_relative_coords; var_relative_coords = tmp_assign_source_6; Py_XDECREF(old); } } { PyObject *tmp_assign_source_7; CHECK_OBJECT(var_relative_coords); tmp_assign_source_7 = var_relative_coords; assert(tmp_inplace_assign_subscr_1__target == NULL); Py_INCREF(tmp_assign_source_7); tmp_inplace_assign_subscr_1__target = tmp_assign_source_7; } { PyObject *tmp_assign_source_8; tmp_assign_source_8 = mod_consts[54]; assert(tmp_inplace_assign_subscr_1__subscript == NULL); Py_INCREF(tmp_assign_source_8); tmp_inplace_assign_subscr_1__subscript = tmp_assign_source_8; } // Tried code: { PyObject *tmp_assign_source_9; PyObject *tmp_expression_name_13; PyObject *tmp_subscript_name_7; CHECK_OBJECT(tmp_inplace_assign_subscr_1__target); tmp_expression_name_13 = tmp_inplace_assign_subscr_1__target; CHECK_OBJECT(tmp_inplace_assign_subscr_1__subscript); tmp_subscript_name_7 = tmp_inplace_assign_subscr_1__subscript; tmp_assign_source_9 = LOOKUP_SUBSCRIPT(tmp_expression_name_13, tmp_subscript_name_7); if (tmp_assign_source_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 226; type_description_1 = "oooooooooc"; goto try_except_handler_2; } assert(tmp_inplace_assign_subscr_1__value == NULL); tmp_inplace_assign_subscr_1__value = tmp_assign_source_9; } { PyObject *tmp_assign_source_10; PyObject *tmp_left_name_8; PyObject *tmp_right_name_8; PyObject *tmp_left_name_9; PyObject *tmp_expression_name_14; PyObject *tmp_subscript_name_8; PyObject *tmp_right_name_9; CHECK_OBJECT(tmp_inplace_assign_subscr_1__value); tmp_left_name_8 = tmp_inplace_assign_subscr_1__value; CHECK_OBJECT(par_window_size); tmp_expression_name_14 = par_window_size; tmp_subscript_name_8 = mod_consts[41]; tmp_left_name_9 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_14, tmp_subscript_name_8, 0); if (tmp_left_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 226; type_description_1 = "oooooooooc"; goto try_except_handler_2; } tmp_right_name_9 = mod_consts[42]; tmp_right_name_8 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_left_name_9, tmp_right_name_9); Py_DECREF(tmp_left_name_9); if (tmp_right_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 226; type_description_1 = "oooooooooc"; goto try_except_handler_2; } tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE(&tmp_left_name_8, tmp_right_name_8); Py_DECREF(tmp_right_name_8); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 226; type_description_1 = "oooooooooc"; goto try_except_handler_2; } tmp_assign_source_10 = tmp_left_name_8; tmp_inplace_assign_subscr_1__value = tmp_assign_source_10; } { PyObject *tmp_ass_subvalue_1; PyObject *tmp_ass_subscribed_1; PyObject *tmp_ass_subscript_1; CHECK_OBJECT(tmp_inplace_assign_subscr_1__value); tmp_ass_subvalue_1 = tmp_inplace_assign_subscr_1__value; CHECK_OBJECT(tmp_inplace_assign_subscr_1__target); tmp_ass_subscribed_1 = tmp_inplace_assign_subscr_1__target; CHECK_OBJECT(tmp_inplace_assign_subscr_1__subscript); tmp_ass_subscript_1 = tmp_inplace_assign_subscr_1__subscript; tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 226; type_description_1 = "oooooooooc"; goto try_except_handler_2; } } goto try_end_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_inplace_assign_subscr_1__target); Py_DECREF(tmp_inplace_assign_subscr_1__target); tmp_inplace_assign_subscr_1__target = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_1__subscript); Py_DECREF(tmp_inplace_assign_subscr_1__subscript); tmp_inplace_assign_subscr_1__subscript = NULL; Py_XDECREF(tmp_inplace_assign_subscr_1__value); tmp_inplace_assign_subscr_1__value = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; // End of try: try_end_1:; CHECK_OBJECT(tmp_inplace_assign_subscr_1__target); Py_DECREF(tmp_inplace_assign_subscr_1__target); tmp_inplace_assign_subscr_1__target = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_1__subscript); Py_DECREF(tmp_inplace_assign_subscr_1__subscript); tmp_inplace_assign_subscr_1__subscript = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_1__value); Py_DECREF(tmp_inplace_assign_subscr_1__value); tmp_inplace_assign_subscr_1__value = NULL; { PyObject *tmp_assign_source_11; CHECK_OBJECT(var_relative_coords); tmp_assign_source_11 = var_relative_coords; assert(tmp_inplace_assign_subscr_2__target == NULL); Py_INCREF(tmp_assign_source_11); tmp_inplace_assign_subscr_2__target = tmp_assign_source_11; } { PyObject *tmp_assign_source_12; tmp_assign_source_12 = mod_consts[55]; assert(tmp_inplace_assign_subscr_2__subscript == NULL); Py_INCREF(tmp_assign_source_12); tmp_inplace_assign_subscr_2__subscript = tmp_assign_source_12; } // Tried code: { PyObject *tmp_assign_source_13; PyObject *tmp_expression_name_15; PyObject *tmp_subscript_name_9; CHECK_OBJECT(tmp_inplace_assign_subscr_2__target); tmp_expression_name_15 = tmp_inplace_assign_subscr_2__target; CHECK_OBJECT(tmp_inplace_assign_subscr_2__subscript); tmp_subscript_name_9 = tmp_inplace_assign_subscr_2__subscript; tmp_assign_source_13 = LOOKUP_SUBSCRIPT(tmp_expression_name_15, tmp_subscript_name_9); if (tmp_assign_source_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 227; type_description_1 = "oooooooooc"; goto try_except_handler_3; } assert(tmp_inplace_assign_subscr_2__value == NULL); tmp_inplace_assign_subscr_2__value = tmp_assign_source_13; } { PyObject *tmp_assign_source_14; PyObject *tmp_left_name_10; PyObject *tmp_right_name_10; PyObject *tmp_left_name_11; PyObject *tmp_expression_name_16; PyObject *tmp_subscript_name_10; PyObject *tmp_right_name_11; CHECK_OBJECT(tmp_inplace_assign_subscr_2__value); tmp_left_name_10 = tmp_inplace_assign_subscr_2__value; CHECK_OBJECT(par_window_size); tmp_expression_name_16 = par_window_size; tmp_subscript_name_10 = mod_consts[42]; tmp_left_name_11 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_16, tmp_subscript_name_10, 1); if (tmp_left_name_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 227; type_description_1 = "oooooooooc"; goto try_except_handler_3; } tmp_right_name_11 = mod_consts[42]; tmp_right_name_10 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_left_name_11, tmp_right_name_11); Py_DECREF(tmp_left_name_11); if (tmp_right_name_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 227; type_description_1 = "oooooooooc"; goto try_except_handler_3; } tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE(&tmp_left_name_10, tmp_right_name_10); Py_DECREF(tmp_right_name_10); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 227; type_description_1 = "oooooooooc"; goto try_except_handler_3; } tmp_assign_source_14 = tmp_left_name_10; tmp_inplace_assign_subscr_2__value = tmp_assign_source_14; } { PyObject *tmp_ass_subvalue_2; PyObject *tmp_ass_subscribed_2; PyObject *tmp_ass_subscript_2; CHECK_OBJECT(tmp_inplace_assign_subscr_2__value); tmp_ass_subvalue_2 = tmp_inplace_assign_subscr_2__value; CHECK_OBJECT(tmp_inplace_assign_subscr_2__target); tmp_ass_subscribed_2 = tmp_inplace_assign_subscr_2__target; CHECK_OBJECT(tmp_inplace_assign_subscr_2__subscript); tmp_ass_subscript_2 = tmp_inplace_assign_subscr_2__subscript; tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 227; type_description_1 = "oooooooooc"; goto try_except_handler_3; } } goto try_end_2; // Exception handler code: try_except_handler_3:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_inplace_assign_subscr_2__target); Py_DECREF(tmp_inplace_assign_subscr_2__target); tmp_inplace_assign_subscr_2__target = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_2__subscript); Py_DECREF(tmp_inplace_assign_subscr_2__subscript); tmp_inplace_assign_subscr_2__subscript = NULL; Py_XDECREF(tmp_inplace_assign_subscr_2__value); tmp_inplace_assign_subscr_2__value = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: try_end_2:; CHECK_OBJECT(tmp_inplace_assign_subscr_2__target); Py_DECREF(tmp_inplace_assign_subscr_2__target); tmp_inplace_assign_subscr_2__target = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_2__subscript); Py_DECREF(tmp_inplace_assign_subscr_2__subscript); tmp_inplace_assign_subscr_2__subscript = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_2__value); Py_DECREF(tmp_inplace_assign_subscr_2__value); tmp_inplace_assign_subscr_2__value = NULL; { PyObject *tmp_assign_source_15; CHECK_OBJECT(var_relative_coords); tmp_assign_source_15 = var_relative_coords; assert(tmp_inplace_assign_subscr_3__target == NULL); Py_INCREF(tmp_assign_source_15); tmp_inplace_assign_subscr_3__target = tmp_assign_source_15; } { PyObject *tmp_assign_source_16; tmp_assign_source_16 = mod_consts[54]; assert(tmp_inplace_assign_subscr_3__subscript == NULL); Py_INCREF(tmp_assign_source_16); tmp_inplace_assign_subscr_3__subscript = tmp_assign_source_16; } // Tried code: { PyObject *tmp_assign_source_17; PyObject *tmp_expression_name_17; PyObject *tmp_subscript_name_11; CHECK_OBJECT(tmp_inplace_assign_subscr_3__target); tmp_expression_name_17 = tmp_inplace_assign_subscr_3__target; CHECK_OBJECT(tmp_inplace_assign_subscr_3__subscript); tmp_subscript_name_11 = tmp_inplace_assign_subscr_3__subscript; tmp_assign_source_17 = LOOKUP_SUBSCRIPT(tmp_expression_name_17, tmp_subscript_name_11); if (tmp_assign_source_17 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 228; type_description_1 = "oooooooooc"; goto try_except_handler_4; } assert(tmp_inplace_assign_subscr_3__value == NULL); tmp_inplace_assign_subscr_3__value = tmp_assign_source_17; } { PyObject *tmp_assign_source_18; PyObject *tmp_left_name_12; PyObject *tmp_right_name_12; PyObject *tmp_left_name_13; PyObject *tmp_left_name_14; PyObject *tmp_right_name_13; PyObject *tmp_expression_name_18; PyObject *tmp_subscript_name_12; PyObject *tmp_right_name_14; CHECK_OBJECT(tmp_inplace_assign_subscr_3__value); tmp_left_name_12 = tmp_inplace_assign_subscr_3__value; tmp_left_name_14 = mod_consts[40]; CHECK_OBJECT(par_window_size); tmp_expression_name_18 = par_window_size; tmp_subscript_name_12 = mod_consts[42]; tmp_right_name_13 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_18, tmp_subscript_name_12, 1); if (tmp_right_name_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 228; type_description_1 = "oooooooooc"; goto try_except_handler_4; } tmp_left_name_13 = BINARY_OPERATION_MULT_OBJECT_LONG_OBJECT(tmp_left_name_14, tmp_right_name_13); Py_DECREF(tmp_right_name_13); if (tmp_left_name_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 228; type_description_1 = "oooooooooc"; goto try_except_handler_4; } tmp_right_name_14 = mod_consts[42]; tmp_right_name_12 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_left_name_13, tmp_right_name_14); Py_DECREF(tmp_left_name_13); if (tmp_right_name_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 228; type_description_1 = "oooooooooc"; goto try_except_handler_4; } tmp_result = BINARY_OPERATION_MULT_OBJECT_OBJECT_INPLACE(&tmp_left_name_12, tmp_right_name_12); Py_DECREF(tmp_right_name_12); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 228; type_description_1 = "oooooooooc"; goto try_except_handler_4; } tmp_assign_source_18 = tmp_left_name_12; tmp_inplace_assign_subscr_3__value = tmp_assign_source_18; } { PyObject *tmp_ass_subvalue_3; PyObject *tmp_ass_subscribed_3; PyObject *tmp_ass_subscript_3; CHECK_OBJECT(tmp_inplace_assign_subscr_3__value); tmp_ass_subvalue_3 = tmp_inplace_assign_subscr_3__value; CHECK_OBJECT(tmp_inplace_assign_subscr_3__target); tmp_ass_subscribed_3 = tmp_inplace_assign_subscr_3__target; CHECK_OBJECT(tmp_inplace_assign_subscr_3__subscript); tmp_ass_subscript_3 = tmp_inplace_assign_subscr_3__subscript; tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_3, tmp_ass_subscript_3, tmp_ass_subvalue_3); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 228; type_description_1 = "oooooooooc"; goto try_except_handler_4; } } goto try_end_3; // Exception handler code: try_except_handler_4:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_inplace_assign_subscr_3__target); Py_DECREF(tmp_inplace_assign_subscr_3__target); tmp_inplace_assign_subscr_3__target = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_3__subscript); Py_DECREF(tmp_inplace_assign_subscr_3__subscript); tmp_inplace_assign_subscr_3__subscript = NULL; Py_XDECREF(tmp_inplace_assign_subscr_3__value); tmp_inplace_assign_subscr_3__value = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; // End of try: try_end_3:; CHECK_OBJECT(tmp_inplace_assign_subscr_3__target); Py_DECREF(tmp_inplace_assign_subscr_3__target); tmp_inplace_assign_subscr_3__target = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_3__subscript); Py_DECREF(tmp_inplace_assign_subscr_3__subscript); tmp_inplace_assign_subscr_3__subscript = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_3__value); Py_DECREF(tmp_inplace_assign_subscr_3__value); tmp_inplace_assign_subscr_3__value = NULL; { PyObject *tmp_assign_source_19; PyObject *tmp_called_name_6; PyObject *tmp_expression_name_19; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_left_name_15; PyObject *tmp_tuple_element_1; PyObject *tmp_left_name_16; PyObject *tmp_left_name_17; PyObject *tmp_expression_name_20; PyObject *tmp_subscript_name_13; PyObject *tmp_right_name_15; PyObject *tmp_expression_name_21; PyObject *tmp_subscript_name_14; PyObject *tmp_right_name_16; PyObject *tmp_right_name_17; tmp_expression_name_19 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_19 == NULL)) { tmp_expression_name_19 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_19 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 230; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_called_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_19, mod_consts[35]); if (tmp_called_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 230; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_dict_key_1 = mod_consts[56]; CHECK_OBJECT(par_window_size); tmp_expression_name_20 = par_window_size; tmp_subscript_name_13 = mod_consts[41]; tmp_left_name_17 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_20, tmp_subscript_name_13, 0); if (tmp_left_name_17 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_6); exception_lineno = 230; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_window_size); tmp_expression_name_21 = par_window_size; tmp_subscript_name_14 = mod_consts[42]; tmp_right_name_15 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_21, tmp_subscript_name_14, 1); if (tmp_right_name_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_6); Py_DECREF(tmp_left_name_17); exception_lineno = 230; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_left_name_16 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_17, tmp_right_name_15); Py_DECREF(tmp_left_name_17); Py_DECREF(tmp_right_name_15); if (tmp_left_name_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_6); exception_lineno = 230; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_right_name_16 = mod_consts[42]; tmp_tuple_element_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_left_name_16, tmp_right_name_16); Py_DECREF(tmp_left_name_16); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_6); exception_lineno = 230; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_left_name_15 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_left_name_15, 0, tmp_tuple_element_1); tmp_right_name_17 = mod_consts[40]; tmp_dict_value_1 = BINARY_OPERATION_MULT_OBJECT_TUPLE_LONG(tmp_left_name_15, tmp_right_name_17); Py_DECREF(tmp_left_name_15); assert(!(tmp_dict_value_1 == NULL)); tmp_kwargs_name_1 = _PyDict_NewPresized( 2 ); { PyObject *tmp_expression_name_22; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); Py_DECREF(tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[57]; CHECK_OBJECT(var_relative_coords); tmp_expression_name_22 = var_relative_coords; tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_22, mod_consts[57]); if (tmp_dict_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 230; type_description_1 = "oooooooooc"; goto dict_build_exception_1; } tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); Py_DECREF(tmp_dict_value_1); assert(!(tmp_res != 0)); } goto dict_build_noexception_1; // Exception handling pass through code for dict_build: dict_build_exception_1:; Py_DECREF(tmp_called_name_6); Py_DECREF(tmp_kwargs_name_1); goto frame_exception_exit_1; // Finished with no exception for dict_build: dict_build_noexception_1:; frame_90888ee108de7d41b39f1ce4c7fc2733->m_frame.f_lineno = 230; tmp_assign_source_19 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_6, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_6); Py_DECREF(tmp_kwargs_name_1); if (tmp_assign_source_19 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 230; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } assert(var_relative_position_index == NULL); var_relative_position_index = tmp_assign_source_19; } { PyObject *tmp_ass_subvalue_4; PyObject *tmp_called_instance_6; PyObject *tmp_ass_subscribed_4; PyObject *tmp_ass_subscript_4; if (var_relative_coords == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[58]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 231; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_called_instance_6 = var_relative_coords; frame_90888ee108de7d41b39f1ce4c7fc2733->m_frame.f_lineno = 231; tmp_ass_subvalue_4 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_6, mod_consts[59], &PyTuple_GET_ITEM(mod_consts[60], 0) ); if (tmp_ass_subvalue_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 231; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(var_relative_position_index); tmp_ass_subscribed_4 = var_relative_position_index; tmp_ass_subscript_4 = mod_consts[61]; tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_4, tmp_ass_subscript_4, tmp_ass_subvalue_4); Py_DECREF(tmp_ass_subvalue_4); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 231; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_ass_subvalue_5; PyObject *tmp_left_name_18; PyObject *tmp_expression_name_23; PyObject *tmp_right_name_18; PyObject *tmp_ass_subscribed_5; PyObject *tmp_ass_subscript_5; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 232; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_23 = par_self; tmp_left_name_18 = LOOKUP_ATTRIBUTE(tmp_expression_name_23, mod_consts[43]); if (tmp_left_name_18 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 232; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_right_name_18 = mod_consts[30]; tmp_ass_subvalue_5 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_left_name_18, tmp_right_name_18); Py_DECREF(tmp_left_name_18); if (tmp_ass_subvalue_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 232; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } if (var_relative_position_index == NULL) { Py_DECREF(tmp_ass_subvalue_5); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[62]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 232; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_ass_subscribed_5 = var_relative_position_index; tmp_ass_subscript_5 = mod_consts[63]; tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_5, tmp_ass_subscript_5, tmp_ass_subvalue_5); Py_DECREF(tmp_ass_subvalue_5); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 232; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_ass_subvalue_6; PyObject *tmp_left_name_19; PyObject *tmp_expression_name_24; PyObject *tmp_right_name_19; PyObject *tmp_ass_subscribed_6; PyObject *tmp_ass_subscript_6; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 233; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_24 = par_self; tmp_left_name_19 = LOOKUP_ATTRIBUTE(tmp_expression_name_24, mod_consts[43]); if (tmp_left_name_19 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_right_name_19 = mod_consts[40]; tmp_ass_subvalue_6 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_left_name_19, tmp_right_name_19); Py_DECREF(tmp_left_name_19); if (tmp_ass_subvalue_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } if (var_relative_position_index == NULL) { Py_DECREF(tmp_ass_subvalue_6); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[62]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 233; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_ass_subscribed_6 = var_relative_position_index; tmp_ass_subscript_6 = mod_consts[64]; tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_6, tmp_ass_subscript_6, tmp_ass_subvalue_6); Py_DECREF(tmp_ass_subvalue_6); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_ass_subvalue_7; PyObject *tmp_left_name_20; PyObject *tmp_expression_name_25; PyObject *tmp_right_name_20; PyObject *tmp_ass_subscribed_7; PyObject *tmp_ass_subscript_7; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 234; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_25 = par_self; tmp_left_name_20 = LOOKUP_ATTRIBUTE(tmp_expression_name_25, mod_consts[43]); if (tmp_left_name_20 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 234; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_right_name_20 = mod_consts[42]; tmp_ass_subvalue_7 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_left_name_20, tmp_right_name_20); Py_DECREF(tmp_left_name_20); if (tmp_ass_subvalue_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 234; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } if (var_relative_position_index == NULL) { Py_DECREF(tmp_ass_subvalue_7); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[62]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 234; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_ass_subscribed_7 = var_relative_position_index; tmp_ass_subscript_7 = mod_consts[65]; tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_7, tmp_ass_subscript_7, tmp_ass_subvalue_7); Py_DECREF(tmp_ass_subvalue_7); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 234; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_called_name_7; PyObject *tmp_expression_name_26; PyObject *tmp_call_result_2; PyObject *tmp_args_element_name_10; PyObject *tmp_args_element_name_11; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 236; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_26 = par_self; tmp_called_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_26, mod_consts[66]); if (tmp_called_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 236; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_args_element_name_10 = mod_consts[62]; if (var_relative_position_index == NULL) { Py_DECREF(tmp_called_name_7); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[62]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 236; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } tmp_args_element_name_11 = var_relative_position_index; frame_90888ee108de7d41b39f1ce4c7fc2733->m_frame.f_lineno = 236; { PyObject *call_args[] = {tmp_args_element_name_10, tmp_args_element_name_11}; tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_7, call_args); } Py_DECREF(tmp_called_name_7); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 236; type_description_1 = "oooooooooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_2); } #if 0 RESTORE_FRAME_EXCEPTION(frame_90888ee108de7d41b39f1ce4c7fc2733); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_90888ee108de7d41b39f1ce4c7fc2733); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_90888ee108de7d41b39f1ce4c7fc2733, exception_lineno); } else if (exception_tb->tb_frame != &frame_90888ee108de7d41b39f1ce4c7fc2733->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_90888ee108de7d41b39f1ce4c7fc2733, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_90888ee108de7d41b39f1ce4c7fc2733, type_description_1, par_self, par_window_size, par_num_heads, var_coords_h, var_coords_w, var_coords, var_coords_flatten, var_relative_coords, var_relative_position_index, self->m_closure[0] ); // Release cached frame if used for exception. if (frame_90888ee108de7d41b39f1ce4c7fc2733 == cache_frame_90888ee108de7d41b39f1ce4c7fc2733) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_90888ee108de7d41b39f1ce4c7fc2733); cache_frame_90888ee108de7d41b39f1ce4c7fc2733 = NULL; } assertFrameObject(frame_90888ee108de7d41b39f1ce4c7fc2733); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; CHECK_OBJECT(par_window_size); Py_DECREF(par_window_size); par_window_size = NULL; Py_XDECREF(par_num_heads); par_num_heads = NULL; Py_XDECREF(var_coords_h); var_coords_h = NULL; Py_XDECREF(var_coords_w); var_coords_w = NULL; Py_XDECREF(var_coords); var_coords = NULL; CHECK_OBJECT(var_coords_flatten); Py_DECREF(var_coords_flatten); var_coords_flatten = NULL; Py_XDECREF(var_relative_coords); var_relative_coords = NULL; Py_XDECREF(var_relative_position_index); var_relative_position_index = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; CHECK_OBJECT(par_window_size); Py_DECREF(par_window_size); par_window_size = NULL; Py_XDECREF(par_num_heads); par_num_heads = NULL; Py_XDECREF(var_coords_h); var_coords_h = NULL; Py_XDECREF(var_coords_w); var_coords_w = NULL; Py_XDECREF(var_coords); var_coords = NULL; Py_XDECREF(var_coords_flatten); var_coords_flatten = NULL; Py_XDECREF(var_relative_coords); var_relative_coords = NULL; Py_XDECREF(var_relative_position_index); var_relative_position_index = NULL; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__14_forward(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *var_relative_position_bias = NULL; struct Nuitka_FrameObject *frame_3611403861dabc1175f5dc9fc6560deb; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_3611403861dabc1175f5dc9fc6560deb = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_3611403861dabc1175f5dc9fc6560deb)) { Py_XDECREF(cache_frame_3611403861dabc1175f5dc9fc6560deb); #if _DEBUG_REFCOUNTS if (cache_frame_3611403861dabc1175f5dc9fc6560deb == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_3611403861dabc1175f5dc9fc6560deb = MAKE_FUNCTION_FRAME(codeobj_3611403861dabc1175f5dc9fc6560deb, module_models$eva_vit, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_3611403861dabc1175f5dc9fc6560deb->m_type_description == NULL); frame_3611403861dabc1175f5dc9fc6560deb = cache_frame_3611403861dabc1175f5dc9fc6560deb; // Push the new frame as the currently active one. pushFrameStack(frame_3611403861dabc1175f5dc9fc6560deb); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_3611403861dabc1175f5dc9fc6560deb) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_expression_name_2; PyObject *tmp_expression_name_3; PyObject *tmp_subscript_name_1; PyObject *tmp_called_instance_1; PyObject *tmp_expression_name_4; PyObject *tmp_args_element_name_1; PyObject *tmp_left_name_1; PyObject *tmp_left_name_2; PyObject *tmp_expression_name_5; PyObject *tmp_expression_name_6; PyObject *tmp_subscript_name_2; PyObject *tmp_right_name_1; PyObject *tmp_expression_name_7; PyObject *tmp_expression_name_8; PyObject *tmp_subscript_name_3; PyObject *tmp_right_name_2; PyObject *tmp_args_element_name_2; PyObject *tmp_left_name_3; PyObject *tmp_left_name_4; PyObject *tmp_expression_name_9; PyObject *tmp_expression_name_10; PyObject *tmp_subscript_name_4; PyObject *tmp_right_name_3; PyObject *tmp_expression_name_11; PyObject *tmp_expression_name_12; PyObject *tmp_subscript_name_5; PyObject *tmp_right_name_4; PyObject *tmp_args_element_name_3; CHECK_OBJECT(par_self); tmp_expression_name_3 = par_self; tmp_expression_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[44]); if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 242; type_description_1 = "oo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_expression_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 242; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_expression_name_4 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[62]); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_2); exception_lineno = 242; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_3611403861dabc1175f5dc9fc6560deb->m_frame.f_lineno = 242; tmp_subscript_name_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, mod_consts[86], &PyTuple_GET_ITEM(mod_consts[60], 0) ); Py_DECREF(tmp_called_instance_1); if (tmp_subscript_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_expression_name_2); exception_lineno = 242; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_expression_name_1 = LOOKUP_SUBSCRIPT(tmp_expression_name_2, tmp_subscript_name_1); Py_DECREF(tmp_expression_name_2); Py_DECREF(tmp_subscript_name_1); if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 242; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[86]); Py_DECREF(tmp_expression_name_1); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 242; type_description_1 = "oo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 243; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_expression_name_6 = par_self; tmp_expression_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[39]); if (tmp_expression_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 243; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscript_name_2 = mod_consts[41]; tmp_left_name_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_5, tmp_subscript_name_2, 0); Py_DECREF(tmp_expression_name_5); if (tmp_left_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 243; type_description_1 = "oo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_left_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 243; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_expression_name_8 = par_self; tmp_expression_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[39]); if (tmp_expression_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_left_name_2); exception_lineno = 243; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscript_name_3 = mod_consts[42]; tmp_right_name_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_7, tmp_subscript_name_3, 1); Py_DECREF(tmp_expression_name_7); if (tmp_right_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_left_name_2); exception_lineno = 243; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_left_name_1 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_2, tmp_right_name_1); Py_DECREF(tmp_left_name_2); Py_DECREF(tmp_right_name_1); if (tmp_left_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 243; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_right_name_2 = mod_consts[42]; tmp_args_element_name_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_left_name_1, tmp_right_name_2); Py_DECREF(tmp_left_name_1); if (tmp_args_element_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 243; type_description_1 = "oo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 244; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_expression_name_10 = par_self; tmp_expression_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[39]); if (tmp_expression_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_1); exception_lineno = 244; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscript_name_4 = mod_consts[41]; tmp_left_name_4 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_9, tmp_subscript_name_4, 0); Py_DECREF(tmp_expression_name_9); if (tmp_left_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_1); exception_lineno = 244; type_description_1 = "oo"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_1); Py_DECREF(tmp_left_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 244; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_expression_name_12 = par_self; tmp_expression_name_11 = LOOKUP_ATTRIBUTE(tmp_expression_name_12, mod_consts[39]); if (tmp_expression_name_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_1); Py_DECREF(tmp_left_name_4); exception_lineno = 244; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscript_name_5 = mod_consts[42]; tmp_right_name_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_11, tmp_subscript_name_5, 1); Py_DECREF(tmp_expression_name_11); if (tmp_right_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_1); Py_DECREF(tmp_left_name_4); exception_lineno = 244; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_left_name_3 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_4, tmp_right_name_3); Py_DECREF(tmp_left_name_4); Py_DECREF(tmp_right_name_3); if (tmp_left_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_1); exception_lineno = 244; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_right_name_4 = mod_consts[42]; tmp_args_element_name_2 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_left_name_3, tmp_right_name_4); Py_DECREF(tmp_left_name_3); if (tmp_args_element_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_1); exception_lineno = 244; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = mod_consts[82]; frame_3611403861dabc1175f5dc9fc6560deb->m_frame.f_lineno = 242; { PyObject *call_args[] = {tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3}; tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_1, call_args); } Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_1); Py_DECREF(tmp_args_element_name_2); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 242; type_description_1 = "oo"; goto frame_exception_exit_1; } assert(var_relative_position_bias == NULL); var_relative_position_bias = tmp_assign_source_1; } { PyObject *tmp_called_instance_2; PyObject *tmp_called_instance_3; CHECK_OBJECT(var_relative_position_bias); tmp_called_instance_3 = var_relative_position_bias; frame_3611403861dabc1175f5dc9fc6560deb->m_frame.f_lineno = 245; tmp_called_instance_2 = CALL_METHOD_WITH_ARGS3( tmp_called_instance_3, mod_consts[51], &PyTuple_GET_ITEM(mod_consts[87], 0) ); if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 245; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_3611403861dabc1175f5dc9fc6560deb->m_frame.f_lineno = 245; tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[53]); Py_DECREF(tmp_called_instance_2); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 245; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_3611403861dabc1175f5dc9fc6560deb); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_3611403861dabc1175f5dc9fc6560deb); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_3611403861dabc1175f5dc9fc6560deb); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_3611403861dabc1175f5dc9fc6560deb, exception_lineno); } else if (exception_tb->tb_frame != &frame_3611403861dabc1175f5dc9fc6560deb->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_3611403861dabc1175f5dc9fc6560deb, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_3611403861dabc1175f5dc9fc6560deb, type_description_1, par_self, var_relative_position_bias ); // Release cached frame if used for exception. if (frame_3611403861dabc1175f5dc9fc6560deb == cache_frame_3611403861dabc1175f5dc9fc6560deb) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_3611403861dabc1175f5dc9fc6560deb); cache_frame_3611403861dabc1175f5dc9fc6560deb = NULL; } assertFrameObject(frame_3611403861dabc1175f5dc9fc6560deb); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(var_relative_position_bias); var_relative_position_bias = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(var_relative_position_bias); var_relative_position_bias = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__15___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_img_size = python_pars[1]; PyObject *par_patch_size = python_pars[2]; PyObject *par_in_chans = python_pars[3]; PyObject *par_num_classes = python_pars[4]; PyObject *par_embed_dim = python_pars[5]; PyObject *par_depth = python_pars[6]; PyObject *par_num_heads = python_pars[7]; PyObject *par_mlp_ratio = python_pars[8]; PyObject *par_qkv_bias = python_pars[9]; PyObject *par_qk_scale = python_pars[10]; PyObject *par_drop_rate = python_pars[11]; PyObject *par_attn_drop_rate = python_pars[12]; PyObject *par_drop_path_rate = python_pars[13]; PyObject *par_norm_layer = python_pars[14]; PyObject *par_init_values = python_pars[15]; PyObject *par_use_abs_pos_emb = python_pars[16]; PyObject *par_use_rel_pos_bias = python_pars[17]; PyObject *par_use_shared_rel_pos_bias = python_pars[18]; PyObject *par_use_mean_pooling = python_pars[19]; PyObject *par_init_scale = python_pars[20]; PyObject *par_use_checkpoint = python_pars[21]; PyObject *var_num_patches = NULL; PyObject *var_dpr = NULL; PyObject *outline_0_var_x = NULL; PyObject *outline_1_var_i = NULL; PyObject *tmp_assign_unpack_1__assign_source = NULL; PyObject *tmp_listcomp_1__$0 = NULL; PyObject *tmp_listcomp_1__contraction = NULL; PyObject *tmp_listcomp_1__iter_value_0 = NULL; PyObject *tmp_listcomp_2__$0 = NULL; PyObject *tmp_listcomp_2__contraction = NULL; PyObject *tmp_listcomp_2__iter_value_0 = NULL; struct Nuitka_FrameObject *frame_98263e472fd41a406a6243a5fb0fe540; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; int tmp_res; struct Nuitka_FrameObject *frame_8c3d2c26074fd179a839a2865225477e_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; static struct Nuitka_FrameObject *cache_frame_8c3d2c26074fd179a839a2865225477e_2 = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; struct Nuitka_FrameObject *frame_ba131fdbf0642417c1f00c51309fdd24_3; NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; static struct Nuitka_FrameObject *cache_frame_ba131fdbf0642417c1f00c51309fdd24_3 = NULL; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; static struct Nuitka_FrameObject *cache_frame_98263e472fd41a406a6243a5fb0fe540 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_98263e472fd41a406a6243a5fb0fe540)) { Py_XDECREF(cache_frame_98263e472fd41a406a6243a5fb0fe540); #if _DEBUG_REFCOUNTS if (cache_frame_98263e472fd41a406a6243a5fb0fe540 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_98263e472fd41a406a6243a5fb0fe540 = MAKE_FUNCTION_FRAME(codeobj_98263e472fd41a406a6243a5fb0fe540, module_models$eva_vit, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_98263e472fd41a406a6243a5fb0fe540->m_type_description == NULL); frame_98263e472fd41a406a6243a5fb0fe540 = cache_frame_98263e472fd41a406a6243a5fb0fe540; // Push the new frame as the currently active one. pushFrameStack(frame_98263e472fd41a406a6243a5fb0fe540); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_98263e472fd41a406a6243a5fb0fe540) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_call_result_1; if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[16]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 256; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_type_arg_name_1 = Nuitka_Cell_GET(self->m_closure[0]); CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER0(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 256; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } frame_98263e472fd41a406a6243a5fb0fe540->m_frame.f_lineno = 256; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[9]); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 256; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT(par_img_size); tmp_assattr_name_1 = par_img_size; CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[131], tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 257; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; CHECK_OBJECT(par_num_classes); tmp_assattr_name_2 = par_num_classes; CHECK_OBJECT(par_self); tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[132], tmp_assattr_name_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 258; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_1; CHECK_OBJECT(par_embed_dim); tmp_assign_source_1 = par_embed_dim; assert(tmp_assign_unpack_1__assign_source == NULL); Py_INCREF(tmp_assign_source_1); tmp_assign_unpack_1__assign_source = tmp_assign_source_1; } // Tried code: { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; CHECK_OBJECT(tmp_assign_unpack_1__assign_source); tmp_assattr_name_3 = tmp_assign_unpack_1__assign_source; CHECK_OBJECT(par_self); tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[133], tmp_assattr_name_3); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 259; type_description_1 = "ooooooooooooooooooooooooc"; goto try_except_handler_2; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_assattr_target_4; CHECK_OBJECT(tmp_assign_unpack_1__assign_source); tmp_assattr_name_4 = tmp_assign_unpack_1__assign_source; CHECK_OBJECT(par_self); tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[134], tmp_assattr_name_4); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 259; type_description_1 = "ooooooooooooooooooooooooc"; goto try_except_handler_2; } } goto try_end_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_assign_unpack_1__assign_source); Py_DECREF(tmp_assign_unpack_1__assign_source); tmp_assign_unpack_1__assign_source = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; // End of try: try_end_1:; CHECK_OBJECT(tmp_assign_unpack_1__assign_source); Py_DECREF(tmp_assign_unpack_1__assign_source); tmp_assign_unpack_1__assign_source = NULL; { PyObject *tmp_assattr_name_5; PyObject *tmp_called_name_1; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_assattr_target_5; tmp_called_name_1 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[135]); if (unlikely(tmp_called_name_1 == NULL)) { tmp_called_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]); } if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 261; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_dict_key_1 = mod_consts[118]; CHECK_OBJECT(par_img_size); tmp_dict_value_1 = par_img_size; tmp_kwargs_name_1 = _PyDict_NewPresized( 4 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[119]; CHECK_OBJECT(par_patch_size); tmp_dict_value_1 = par_patch_size; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[136]; CHECK_OBJECT(par_in_chans); tmp_dict_value_1 = par_in_chans; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[134]; CHECK_OBJECT(par_embed_dim); tmp_dict_value_1 = par_embed_dim; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); frame_98263e472fd41a406a6243a5fb0fe540->m_frame.f_lineno = 261; tmp_assattr_name_5 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assattr_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 261; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_5 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[137], tmp_assattr_name_5); Py_DECREF(tmp_assattr_name_5); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 261; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_2; PyObject *tmp_expression_name_1; PyObject *tmp_expression_name_2; CHECK_OBJECT(par_self); tmp_expression_name_2 = par_self; tmp_expression_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[137]); if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 263; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assign_source_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[120]); Py_DECREF(tmp_expression_name_1); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 263; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } assert(var_num_patches == NULL); var_num_patches = tmp_assign_source_2; } { PyObject *tmp_assattr_name_6; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_3; PyObject *tmp_args_element_name_1; PyObject *tmp_called_instance_2; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_assattr_target_6; tmp_expression_name_3 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_3 == NULL)) { tmp_expression_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 265; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[33]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 265; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_called_instance_2 == NULL)) { tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 265; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_args_element_name_2 = mod_consts[42]; tmp_args_element_name_3 = mod_consts[42]; CHECK_OBJECT(par_embed_dim); tmp_args_element_name_4 = par_embed_dim; frame_98263e472fd41a406a6243a5fb0fe540->m_frame.f_lineno = 265; { PyObject *call_args[] = {tmp_args_element_name_2, tmp_args_element_name_3, tmp_args_element_name_4}; tmp_args_element_name_1 = CALL_METHOD_WITH_ARGS3( tmp_called_instance_2, mod_consts[35], call_args ); } if (tmp_args_element_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 265; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } frame_98263e472fd41a406a6243a5fb0fe540->m_frame.f_lineno = 265; tmp_assattr_name_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_2, tmp_args_element_name_1); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_element_name_1); if (tmp_assattr_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 265; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_6); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 265; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_6 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[138], tmp_assattr_name_6); Py_DECREF(tmp_assattr_name_6); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 265; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_1; int tmp_truth_name_1; CHECK_OBJECT(par_use_abs_pos_emb); tmp_truth_name_1 = CHECK_IF_TRUE(par_use_abs_pos_emb); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 266; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assattr_name_7; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_4; PyObject *tmp_args_element_name_5; PyObject *tmp_called_name_4; PyObject *tmp_expression_name_5; PyObject *tmp_args_element_name_6; PyObject *tmp_args_element_name_7; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_args_element_name_8; PyObject *tmp_assattr_target_7; tmp_expression_name_4 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_4 == NULL)) { tmp_expression_name_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 267; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[33]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 267; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_5 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_5 == NULL)) { tmp_expression_name_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); exception_lineno = 267; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[35]); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); exception_lineno = 267; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_args_element_name_6 = mod_consts[42]; CHECK_OBJECT(var_num_patches); tmp_left_name_1 = var_num_patches; tmp_right_name_1 = mod_consts[42]; tmp_args_element_name_7 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_left_name_1, tmp_right_name_1); if (tmp_args_element_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_called_name_4); exception_lineno = 267; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } if (par_embed_dim == NULL) { Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_element_name_7); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[134]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 267; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_args_element_name_8 = par_embed_dim; frame_98263e472fd41a406a6243a5fb0fe540->m_frame.f_lineno = 267; { PyObject *call_args[] = {tmp_args_element_name_6, tmp_args_element_name_7, tmp_args_element_name_8}; tmp_args_element_name_5 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_4, call_args); } Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_element_name_7); if (tmp_args_element_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); exception_lineno = 267; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } frame_98263e472fd41a406a6243a5fb0fe540->m_frame.f_lineno = 267; tmp_assattr_name_7 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_3, tmp_args_element_name_5); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_element_name_5); if (tmp_assattr_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 267; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_7); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 267; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_7 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[139], tmp_assattr_name_7); Py_DECREF(tmp_assattr_name_7); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 267; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } } goto branch_end_1; branch_no_1:; { PyObject *tmp_assattr_name_8; PyObject *tmp_assattr_target_8; tmp_assattr_name_8 = Py_None; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 269; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_8 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_8, mod_consts[139], tmp_assattr_name_8); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 269; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } } branch_end_1:; { PyObject *tmp_assattr_name_9; PyObject *tmp_called_name_5; PyObject *tmp_expression_name_6; PyObject *tmp_kwargs_name_2; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; PyObject *tmp_assattr_target_9; tmp_expression_name_6 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_6 == NULL)) { tmp_expression_name_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 270; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[23]); if (tmp_called_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 270; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_dict_key_2 = mod_consts[140]; CHECK_OBJECT(par_drop_rate); tmp_dict_value_2 = par_drop_rate; tmp_kwargs_name_2 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); assert(!(tmp_res != 0)); frame_98263e472fd41a406a6243a5fb0fe540->m_frame.f_lineno = 270; tmp_assattr_name_9 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_5, tmp_kwargs_name_2); Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_kwargs_name_2); if (tmp_assattr_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 270; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_9); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 270; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_9 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_9, mod_consts[141], tmp_assattr_name_9); Py_DECREF(tmp_assattr_name_9); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 270; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_2; int tmp_truth_name_2; CHECK_OBJECT(par_use_shared_rel_pos_bias); tmp_truth_name_2 = CHECK_IF_TRUE(par_use_shared_rel_pos_bias); if (tmp_truth_name_2 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 272; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_condition_result_2 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { PyObject *tmp_assattr_name_10; PyObject *tmp_called_name_6; PyObject *tmp_kwargs_name_3; PyObject *tmp_dict_key_3; PyObject *tmp_dict_value_3; PyObject *tmp_expression_name_7; PyObject *tmp_expression_name_8; PyObject *tmp_assattr_target_10; tmp_called_name_6 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[142]); if (unlikely(tmp_called_name_6 == NULL)) { tmp_called_name_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[142]); } if (tmp_called_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 273; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_dict_key_3 = mod_consts[39]; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 273; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_8 = par_self; tmp_expression_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[137]); if (tmp_expression_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 273; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_dict_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[117]); Py_DECREF(tmp_expression_name_7); if (tmp_dict_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 273; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_kwargs_name_3 = _PyDict_NewPresized( 2 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_3, tmp_dict_key_3, tmp_dict_value_3); Py_DECREF(tmp_dict_value_3); assert(!(tmp_res != 0)); tmp_dict_key_3 = mod_consts[25]; CHECK_OBJECT(par_num_heads); tmp_dict_value_3 = par_num_heads; tmp_res = PyDict_SetItem(tmp_kwargs_name_3, tmp_dict_key_3, tmp_dict_value_3); assert(!(tmp_res != 0)); frame_98263e472fd41a406a6243a5fb0fe540->m_frame.f_lineno = 273; tmp_assattr_name_10 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_6, tmp_kwargs_name_3); Py_DECREF(tmp_kwargs_name_3); if (tmp_assattr_name_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 273; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_10); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 273; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_10 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_10, mod_consts[115], tmp_assattr_name_10); Py_DECREF(tmp_assattr_name_10); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 273; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } } goto branch_end_2; branch_no_2:; { PyObject *tmp_assattr_name_11; PyObject *tmp_assattr_target_11; tmp_assattr_name_11 = Py_None; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 275; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_11 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_11, mod_consts[115], tmp_assattr_name_11); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 275; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } } branch_end_2:; { PyObject *tmp_assattr_name_12; PyObject *tmp_assattr_target_12; CHECK_OBJECT(par_use_checkpoint); tmp_assattr_name_12 = par_use_checkpoint; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 276; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_12 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_12, mod_consts[143], tmp_assattr_name_12); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 276; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_3; // Tried code: { PyObject *tmp_assign_source_4; PyObject *tmp_iter_arg_1; PyObject *tmp_called_instance_3; PyObject *tmp_args_element_name_9; PyObject *tmp_args_element_name_10; PyObject *tmp_args_element_name_11; tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_called_instance_3 == NULL)) { tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_called_instance_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 278; type_description_1 = "ooooooooooooooooooooooooc"; goto try_except_handler_3; } tmp_args_element_name_9 = mod_consts[41]; CHECK_OBJECT(par_drop_path_rate); tmp_args_element_name_10 = par_drop_path_rate; CHECK_OBJECT(par_depth); tmp_args_element_name_11 = par_depth; frame_98263e472fd41a406a6243a5fb0fe540->m_frame.f_lineno = 278; { PyObject *call_args[] = {tmp_args_element_name_9, tmp_args_element_name_10, tmp_args_element_name_11}; tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS3( tmp_called_instance_3, mod_consts[144], call_args ); } if (tmp_iter_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 278; type_description_1 = "ooooooooooooooooooooooooc"; goto try_except_handler_3; } tmp_assign_source_4 = MAKE_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 278; type_description_1 = "ooooooooooooooooooooooooc"; goto try_except_handler_3; } assert(tmp_listcomp_1__$0 == NULL); tmp_listcomp_1__$0 = tmp_assign_source_4; } { PyObject *tmp_assign_source_5; tmp_assign_source_5 = PyList_New(0); assert(tmp_listcomp_1__contraction == NULL); tmp_listcomp_1__contraction = tmp_assign_source_5; } if (isFrameUnusable(cache_frame_8c3d2c26074fd179a839a2865225477e_2)) { Py_XDECREF(cache_frame_8c3d2c26074fd179a839a2865225477e_2); #if _DEBUG_REFCOUNTS if (cache_frame_8c3d2c26074fd179a839a2865225477e_2 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_8c3d2c26074fd179a839a2865225477e_2 = MAKE_FUNCTION_FRAME(codeobj_8c3d2c26074fd179a839a2865225477e, module_models$eva_vit, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_8c3d2c26074fd179a839a2865225477e_2->m_type_description == NULL); frame_8c3d2c26074fd179a839a2865225477e_2 = cache_frame_8c3d2c26074fd179a839a2865225477e_2; // Push the new frame as the currently active one. pushFrameStack(frame_8c3d2c26074fd179a839a2865225477e_2); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_8c3d2c26074fd179a839a2865225477e_2) == 2); // Frame stack // Framed code: // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_6; CHECK_OBJECT(tmp_listcomp_1__$0); tmp_next_source_1 = tmp_listcomp_1__$0; tmp_assign_source_6 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_6 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_2 = "o"; exception_lineno = 278; goto try_except_handler_4; } } { PyObject *old = tmp_listcomp_1__iter_value_0; tmp_listcomp_1__iter_value_0 = tmp_assign_source_6; Py_XDECREF(old); } } { PyObject *tmp_assign_source_7; CHECK_OBJECT(tmp_listcomp_1__iter_value_0); tmp_assign_source_7 = tmp_listcomp_1__iter_value_0; { PyObject *old = outline_0_var_x; outline_0_var_x = tmp_assign_source_7; Py_INCREF(outline_0_var_x); Py_XDECREF(old); } } { PyObject *tmp_append_list_1; PyObject *tmp_append_value_1; PyObject *tmp_called_instance_4; CHECK_OBJECT(tmp_listcomp_1__contraction); tmp_append_list_1 = tmp_listcomp_1__contraction; CHECK_OBJECT(outline_0_var_x); tmp_called_instance_4 = outline_0_var_x; frame_8c3d2c26074fd179a839a2865225477e_2->m_frame.f_lineno = 278; tmp_append_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[145]); if (tmp_append_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 278; type_description_2 = "o"; goto try_except_handler_4; } assert(PyList_Check(tmp_append_list_1)); tmp_result = LIST_APPEND1(tmp_append_list_1, tmp_append_value_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 278; type_description_2 = "o"; goto try_except_handler_4; } } if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 278; type_description_2 = "o"; goto try_except_handler_4; } goto loop_start_1; loop_end_1:; CHECK_OBJECT(tmp_listcomp_1__contraction); tmp_assign_source_3 = tmp_listcomp_1__contraction; Py_INCREF(tmp_assign_source_3); goto try_return_handler_4; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_4:; Py_XDECREF(tmp_listcomp_1__$0); tmp_listcomp_1__$0 = NULL; CHECK_OBJECT(tmp_listcomp_1__contraction); Py_DECREF(tmp_listcomp_1__contraction); tmp_listcomp_1__contraction = NULL; Py_XDECREF(tmp_listcomp_1__iter_value_0); tmp_listcomp_1__iter_value_0 = NULL; goto frame_return_exit_1; // Exception handler code: try_except_handler_4:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_listcomp_1__$0); tmp_listcomp_1__$0 = NULL; CHECK_OBJECT(tmp_listcomp_1__contraction); Py_DECREF(tmp_listcomp_1__contraction); tmp_listcomp_1__contraction = NULL; Py_XDECREF(tmp_listcomp_1__iter_value_0); tmp_listcomp_1__iter_value_0 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_2; // End of try: #if 0 RESTORE_FRAME_EXCEPTION(frame_8c3d2c26074fd179a839a2865225477e_2); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_8c3d2c26074fd179a839a2865225477e_2); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_3; frame_exception_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION(frame_8c3d2c26074fd179a839a2865225477e_2); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_8c3d2c26074fd179a839a2865225477e_2, exception_lineno); } else if (exception_tb->tb_frame != &frame_8c3d2c26074fd179a839a2865225477e_2->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_8c3d2c26074fd179a839a2865225477e_2, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_8c3d2c26074fd179a839a2865225477e_2, type_description_2, outline_0_var_x ); // Release cached frame if used for exception. if (frame_8c3d2c26074fd179a839a2865225477e_2 == cache_frame_8c3d2c26074fd179a839a2865225477e_2) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_8c3d2c26074fd179a839a2865225477e_2); cache_frame_8c3d2c26074fd179a839a2865225477e_2 = NULL; } assertFrameObject(frame_8c3d2c26074fd179a839a2865225477e_2); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_1; frame_no_exception_1:; goto skip_nested_handling_1; nested_frame_exit_1:; type_description_1 = "ooooooooooooooooooooooooc"; goto try_except_handler_3; skip_nested_handling_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_3:; Py_XDECREF(outline_0_var_x); outline_0_var_x = NULL; goto outline_result_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(outline_0_var_x); outline_0_var_x = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto outline_exception_1; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_1:; exception_lineno = 278; goto frame_exception_exit_1; outline_result_1:; assert(var_dpr == NULL); var_dpr = tmp_assign_source_3; } { PyObject *tmp_assattr_name_13; PyObject *tmp_assattr_target_13; CHECK_OBJECT(par_use_rel_pos_bias); tmp_assattr_name_13 = par_use_rel_pos_bias; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 279; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_13 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_13, mod_consts[146], tmp_assattr_name_13); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 279; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_14; PyObject *tmp_called_name_7; PyObject *tmp_expression_name_9; PyObject *tmp_args_element_name_12; PyObject *tmp_assattr_target_14; tmp_expression_name_9 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_9 == NULL)) { tmp_expression_name_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 280; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[147]); if (tmp_called_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 280; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } // Tried code: { PyObject *tmp_assign_source_8; PyObject *tmp_iter_arg_2; PyObject *tmp_xrange_low_1; if (par_depth == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[148]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 285; type_description_1 = "ooooooooooooooooooooooooc"; goto try_except_handler_5; } tmp_xrange_low_1 = par_depth; tmp_iter_arg_2 = BUILTIN_XRANGE1(tmp_xrange_low_1); if (tmp_iter_arg_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 285; type_description_1 = "ooooooooooooooooooooooooc"; goto try_except_handler_5; } tmp_assign_source_8 = MAKE_ITERATOR(tmp_iter_arg_2); Py_DECREF(tmp_iter_arg_2); if (tmp_assign_source_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 280; type_description_1 = "ooooooooooooooooooooooooc"; goto try_except_handler_5; } assert(tmp_listcomp_2__$0 == NULL); tmp_listcomp_2__$0 = tmp_assign_source_8; } { PyObject *tmp_assign_source_9; tmp_assign_source_9 = PyList_New(0); assert(tmp_listcomp_2__contraction == NULL); tmp_listcomp_2__contraction = tmp_assign_source_9; } if (isFrameUnusable(cache_frame_ba131fdbf0642417c1f00c51309fdd24_3)) { Py_XDECREF(cache_frame_ba131fdbf0642417c1f00c51309fdd24_3); #if _DEBUG_REFCOUNTS if (cache_frame_ba131fdbf0642417c1f00c51309fdd24_3 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_ba131fdbf0642417c1f00c51309fdd24_3 = MAKE_FUNCTION_FRAME(codeobj_ba131fdbf0642417c1f00c51309fdd24, module_models$eva_vit, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_ba131fdbf0642417c1f00c51309fdd24_3->m_type_description == NULL); frame_ba131fdbf0642417c1f00c51309fdd24_3 = cache_frame_ba131fdbf0642417c1f00c51309fdd24_3; // Push the new frame as the currently active one. pushFrameStack(frame_ba131fdbf0642417c1f00c51309fdd24_3); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_ba131fdbf0642417c1f00c51309fdd24_3) == 2); // Frame stack // Framed code: // Tried code: loop_start_2:; { PyObject *tmp_next_source_2; PyObject *tmp_assign_source_10; CHECK_OBJECT(tmp_listcomp_2__$0); tmp_next_source_2 = tmp_listcomp_2__$0; tmp_assign_source_10 = ITERATOR_NEXT(tmp_next_source_2); if (tmp_assign_source_10 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_2; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_2 = "ooooooooooooo"; exception_lineno = 280; goto try_except_handler_6; } } { PyObject *old = tmp_listcomp_2__iter_value_0; tmp_listcomp_2__iter_value_0 = tmp_assign_source_10; Py_XDECREF(old); } } { PyObject *tmp_assign_source_11; CHECK_OBJECT(tmp_listcomp_2__iter_value_0); tmp_assign_source_11 = tmp_listcomp_2__iter_value_0; { PyObject *old = outline_1_var_i; outline_1_var_i = tmp_assign_source_11; Py_INCREF(outline_1_var_i); Py_XDECREF(old); } } { PyObject *tmp_append_list_2; PyObject *tmp_append_value_2; PyObject *tmp_called_name_8; PyObject *tmp_kwargs_name_4; PyObject *tmp_dict_key_4; PyObject *tmp_dict_value_4; CHECK_OBJECT(tmp_listcomp_2__contraction); tmp_append_list_2 = tmp_listcomp_2__contraction; tmp_called_name_8 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[149]); if (unlikely(tmp_called_name_8 == NULL)) { tmp_called_name_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[149]); } if (tmp_called_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 281; type_description_2 = "ooooooooooooo"; goto try_except_handler_6; } tmp_dict_key_4 = mod_consts[29]; if (par_embed_dim == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[134]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 282; type_description_2 = "ooooooooooooo"; goto try_except_handler_6; } tmp_dict_value_4 = par_embed_dim; tmp_kwargs_name_4 = _PyDict_NewPresized( 11 ); { PyObject *tmp_expression_name_10; PyObject *tmp_subscript_name_1; nuitka_bool tmp_condition_result_3; int tmp_truth_name_3; PyObject *tmp_expression_name_11; PyObject *tmp_expression_name_12; tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_4, tmp_dict_value_4); assert(!(tmp_res != 0)); tmp_dict_key_4 = mod_consts[25]; if (par_num_heads == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[25]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 282; type_description_2 = "ooooooooooooo"; goto dict_build_exception_1; } tmp_dict_value_4 = par_num_heads; tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_4, tmp_dict_value_4); assert(!(tmp_res != 0)); tmp_dict_key_4 = mod_consts[150]; if (par_mlp_ratio == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[150]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 282; type_description_2 = "ooooooooooooo"; goto dict_build_exception_1; } tmp_dict_value_4 = par_mlp_ratio; tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_4, tmp_dict_value_4); assert(!(tmp_res != 0)); tmp_dict_key_4 = mod_consts[98]; if (par_qkv_bias == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[98]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 282; type_description_2 = "ooooooooooooo"; goto dict_build_exception_1; } tmp_dict_value_4 = par_qkv_bias; tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_4, tmp_dict_value_4); assert(!(tmp_res != 0)); tmp_dict_key_4 = mod_consts[99]; if (par_qk_scale == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[99]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 282; type_description_2 = "ooooooooooooo"; goto dict_build_exception_1; } tmp_dict_value_4 = par_qk_scale; tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_4, tmp_dict_value_4); assert(!(tmp_res != 0)); tmp_dict_key_4 = mod_consts[24]; if (par_drop_rate == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[151]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 283; type_description_2 = "ooooooooooooo"; goto dict_build_exception_1; } tmp_dict_value_4 = par_drop_rate; tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_4, tmp_dict_value_4); assert(!(tmp_res != 0)); tmp_dict_key_4 = mod_consts[67]; if (par_attn_drop_rate == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[152]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 283; type_description_2 = "ooooooooooooo"; goto dict_build_exception_1; } tmp_dict_value_4 = par_attn_drop_rate; tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_4, tmp_dict_value_4); assert(!(tmp_res != 0)); tmp_dict_key_4 = mod_consts[11]; if (var_dpr == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[153]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 283; type_description_2 = "ooooooooooooo"; goto dict_build_exception_1; } tmp_expression_name_10 = var_dpr; CHECK_OBJECT(outline_1_var_i); tmp_subscript_name_1 = outline_1_var_i; tmp_dict_value_4 = LOOKUP_SUBSCRIPT(tmp_expression_name_10, tmp_subscript_name_1); if (tmp_dict_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 283; type_description_2 = "ooooooooooooo"; goto dict_build_exception_1; } tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_4, tmp_dict_value_4); Py_DECREF(tmp_dict_value_4); assert(!(tmp_res != 0)); tmp_dict_key_4 = mod_consts[154]; if (par_norm_layer == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[154]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 283; type_description_2 = "ooooooooooooo"; goto dict_build_exception_1; } tmp_dict_value_4 = par_norm_layer; tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_4, tmp_dict_value_4); assert(!(tmp_res != 0)); tmp_dict_key_4 = mod_consts[111]; if (par_init_values == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[111]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 284; type_description_2 = "ooooooooooooo"; goto dict_build_exception_1; } tmp_dict_value_4 = par_init_values; tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_4, tmp_dict_value_4); assert(!(tmp_res != 0)); tmp_dict_key_4 = mod_consts[39]; if (par_use_rel_pos_bias == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[146]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 284; type_description_2 = "ooooooooooooo"; goto dict_build_exception_1; } tmp_truth_name_3 = CHECK_IF_TRUE(par_use_rel_pos_bias); if (tmp_truth_name_3 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 284; type_description_2 = "ooooooooooooo"; goto dict_build_exception_1; } tmp_condition_result_3 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) { goto condexpr_true_1; } else { goto condexpr_false_1; } condexpr_true_1:; if (par_self == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 284; type_description_2 = "ooooooooooooo"; goto dict_build_exception_1; } tmp_expression_name_12 = par_self; tmp_expression_name_11 = LOOKUP_ATTRIBUTE(tmp_expression_name_12, mod_consts[137]); if (tmp_expression_name_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 284; type_description_2 = "ooooooooooooo"; goto dict_build_exception_1; } tmp_dict_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_11, mod_consts[117]); Py_DECREF(tmp_expression_name_11); if (tmp_dict_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 284; type_description_2 = "ooooooooooooo"; goto dict_build_exception_1; } goto condexpr_end_1; condexpr_false_1:; tmp_dict_value_4 = Py_None; Py_INCREF(tmp_dict_value_4); condexpr_end_1:; tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_4, tmp_dict_value_4); Py_DECREF(tmp_dict_value_4); assert(!(tmp_res != 0)); } goto dict_build_noexception_1; // Exception handling pass through code for dict_build: dict_build_exception_1:; Py_DECREF(tmp_kwargs_name_4); goto try_except_handler_6; // Finished with no exception for dict_build: dict_build_noexception_1:; frame_ba131fdbf0642417c1f00c51309fdd24_3->m_frame.f_lineno = 281; tmp_append_value_2 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_8, tmp_kwargs_name_4); Py_DECREF(tmp_kwargs_name_4); if (tmp_append_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 281; type_description_2 = "ooooooooooooo"; goto try_except_handler_6; } assert(PyList_Check(tmp_append_list_2)); tmp_result = LIST_APPEND1(tmp_append_list_2, tmp_append_value_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 280; type_description_2 = "ooooooooooooo"; goto try_except_handler_6; } } if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 280; type_description_2 = "ooooooooooooo"; goto try_except_handler_6; } goto loop_start_2; loop_end_2:; CHECK_OBJECT(tmp_listcomp_2__contraction); tmp_args_element_name_12 = tmp_listcomp_2__contraction; Py_INCREF(tmp_args_element_name_12); goto try_return_handler_6; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_6:; Py_XDECREF(tmp_listcomp_2__$0); tmp_listcomp_2__$0 = NULL; CHECK_OBJECT(tmp_listcomp_2__contraction); Py_DECREF(tmp_listcomp_2__contraction); tmp_listcomp_2__contraction = NULL; Py_XDECREF(tmp_listcomp_2__iter_value_0); tmp_listcomp_2__iter_value_0 = NULL; goto frame_return_exit_2; // Exception handler code: try_except_handler_6:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_listcomp_2__$0); tmp_listcomp_2__$0 = NULL; CHECK_OBJECT(tmp_listcomp_2__contraction); Py_DECREF(tmp_listcomp_2__contraction); tmp_listcomp_2__contraction = NULL; Py_XDECREF(tmp_listcomp_2__iter_value_0); tmp_listcomp_2__iter_value_0 = NULL; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_3; // End of try: #if 0 RESTORE_FRAME_EXCEPTION(frame_ba131fdbf0642417c1f00c51309fdd24_3); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_return_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION(frame_ba131fdbf0642417c1f00c51309fdd24_3); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_5; frame_exception_exit_3:; #if 0 RESTORE_FRAME_EXCEPTION(frame_ba131fdbf0642417c1f00c51309fdd24_3); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_ba131fdbf0642417c1f00c51309fdd24_3, exception_lineno); } else if (exception_tb->tb_frame != &frame_ba131fdbf0642417c1f00c51309fdd24_3->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_ba131fdbf0642417c1f00c51309fdd24_3, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_ba131fdbf0642417c1f00c51309fdd24_3, type_description_2, outline_1_var_i, par_embed_dim, par_num_heads, par_mlp_ratio, par_qkv_bias, par_qk_scale, par_drop_rate, par_attn_drop_rate, var_dpr, par_norm_layer, par_init_values, par_use_rel_pos_bias, par_self ); // Release cached frame if used for exception. if (frame_ba131fdbf0642417c1f00c51309fdd24_3 == cache_frame_ba131fdbf0642417c1f00c51309fdd24_3) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_ba131fdbf0642417c1f00c51309fdd24_3); cache_frame_ba131fdbf0642417c1f00c51309fdd24_3 = NULL; } assertFrameObject(frame_ba131fdbf0642417c1f00c51309fdd24_3); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_2; frame_no_exception_2:; goto skip_nested_handling_2; nested_frame_exit_2:; type_description_1 = "ooooooooooooooooooooooooc"; goto try_except_handler_5; skip_nested_handling_2:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_5:; Py_XDECREF(outline_1_var_i); outline_1_var_i = NULL; goto outline_result_2; // Exception handler code: try_except_handler_5:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(outline_1_var_i); outline_1_var_i = NULL; // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto outline_exception_2; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_2:; exception_lineno = 280; goto frame_exception_exit_1; outline_result_2:; frame_98263e472fd41a406a6243a5fb0fe540->m_frame.f_lineno = 280; tmp_assattr_name_14 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_7, tmp_args_element_name_12); Py_DECREF(tmp_called_name_7); Py_DECREF(tmp_args_element_name_12); if (tmp_assattr_name_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 280; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_assattr_name_14); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 280; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_assattr_target_14 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_14, mod_consts[155], tmp_assattr_name_14); Py_DECREF(tmp_assattr_name_14); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 280; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } } { bool tmp_condition_result_4; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_name_13; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 290; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_13 = par_self; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_13, mod_consts[139]); if (tmp_compexpr_left_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 290; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = Py_None; tmp_condition_result_4 = (tmp_compexpr_left_1 != tmp_compexpr_right_1) ? true : false; Py_DECREF(tmp_compexpr_left_1); if (tmp_condition_result_4 != false) { goto branch_yes_3; } else { goto branch_no_3; } } branch_yes_3:; { PyObject *tmp_called_name_9; PyObject *tmp_call_result_2; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_expression_name_14; PyObject *tmp_kwargs_name_5; tmp_called_name_9 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[156]); if (unlikely(tmp_called_name_9 == NULL)) { tmp_called_name_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[156]); } if (tmp_called_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 291; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 291; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_14 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_14, mod_consts[139]); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 291; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_1, 0, tmp_tuple_element_1); tmp_kwargs_name_5 = PyDict_Copy(mod_consts[157]); frame_98263e472fd41a406a6243a5fb0fe540->m_frame.f_lineno = 291; tmp_call_result_2 = CALL_FUNCTION(tmp_called_name_9, tmp_args_name_1, tmp_kwargs_name_5); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_5); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 291; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_2); } branch_no_3:; { PyObject *tmp_called_name_10; PyObject *tmp_call_result_3; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_2; PyObject *tmp_expression_name_15; PyObject *tmp_kwargs_name_6; tmp_called_name_10 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[156]); if (unlikely(tmp_called_name_10 == NULL)) { tmp_called_name_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[156]); } if (tmp_called_name_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 292; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 292; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_15 = par_self; tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_15, mod_consts[138]); if (tmp_tuple_element_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 292; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_args_name_2 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_2, 0, tmp_tuple_element_2); tmp_kwargs_name_6 = PyDict_Copy(mod_consts[157]); frame_98263e472fd41a406a6243a5fb0fe540->m_frame.f_lineno = 292; tmp_call_result_3 = CALL_FUNCTION(tmp_called_name_10, tmp_args_name_2, tmp_kwargs_name_6); Py_DECREF(tmp_args_name_2); Py_DECREF(tmp_kwargs_name_6); if (tmp_call_result_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 292; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_3); } { PyObject *tmp_called_name_11; PyObject *tmp_expression_name_16; PyObject *tmp_call_result_4; PyObject *tmp_args_element_name_13; PyObject *tmp_expression_name_17; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 296; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_16 = par_self; tmp_called_name_11 = LOOKUP_ATTRIBUTE(tmp_expression_name_16, mod_consts[158]); if (tmp_called_name_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 296; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } if (par_self == NULL) { Py_DECREF(tmp_called_name_11); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 296; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_expression_name_17 = par_self; tmp_args_element_name_13 = LOOKUP_ATTRIBUTE(tmp_expression_name_17, mod_consts[159]); if (tmp_args_element_name_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_11); exception_lineno = 296; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } frame_98263e472fd41a406a6243a5fb0fe540->m_frame.f_lineno = 296; tmp_call_result_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_11, tmp_args_element_name_13); Py_DECREF(tmp_called_name_11); Py_DECREF(tmp_args_element_name_13); if (tmp_call_result_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 296; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_4); } { PyObject *tmp_called_instance_5; PyObject *tmp_call_result_5; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 297; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } tmp_called_instance_5 = par_self; frame_98263e472fd41a406a6243a5fb0fe540->m_frame.f_lineno = 297; tmp_call_result_5 = CALL_METHOD_NO_ARGS(tmp_called_instance_5, mod_consts[160]); if (tmp_call_result_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 297; type_description_1 = "ooooooooooooooooooooooooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_5); } #if 0 RESTORE_FRAME_EXCEPTION(frame_98263e472fd41a406a6243a5fb0fe540); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_3; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_98263e472fd41a406a6243a5fb0fe540); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_98263e472fd41a406a6243a5fb0fe540, exception_lineno); } else if (exception_tb->tb_frame != &frame_98263e472fd41a406a6243a5fb0fe540->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_98263e472fd41a406a6243a5fb0fe540, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_98263e472fd41a406a6243a5fb0fe540, type_description_1, par_self, par_img_size, par_patch_size, par_in_chans, par_num_classes, par_embed_dim, par_depth, par_num_heads, par_mlp_ratio, par_qkv_bias, par_qk_scale, par_drop_rate, par_attn_drop_rate, par_drop_path_rate, par_norm_layer, par_init_values, par_use_abs_pos_emb, par_use_rel_pos_bias, par_use_shared_rel_pos_bias, par_use_mean_pooling, par_init_scale, par_use_checkpoint, var_num_patches, var_dpr, self->m_closure[0] ); // Release cached frame if used for exception. if (frame_98263e472fd41a406a6243a5fb0fe540 == cache_frame_98263e472fd41a406a6243a5fb0fe540) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_98263e472fd41a406a6243a5fb0fe540); cache_frame_98263e472fd41a406a6243a5fb0fe540 = NULL; } assertFrameObject(frame_98263e472fd41a406a6243a5fb0fe540); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_3:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; CHECK_OBJECT(par_img_size); Py_DECREF(par_img_size); par_img_size = NULL; CHECK_OBJECT(par_patch_size); Py_DECREF(par_patch_size); par_patch_size = NULL; CHECK_OBJECT(par_in_chans); Py_DECREF(par_in_chans); par_in_chans = NULL; CHECK_OBJECT(par_num_classes); Py_DECREF(par_num_classes); par_num_classes = NULL; Py_XDECREF(par_embed_dim); par_embed_dim = NULL; Py_XDECREF(par_depth); par_depth = NULL; Py_XDECREF(par_num_heads); par_num_heads = NULL; Py_XDECREF(par_mlp_ratio); par_mlp_ratio = NULL; Py_XDECREF(par_qkv_bias); par_qkv_bias = NULL; Py_XDECREF(par_qk_scale); par_qk_scale = NULL; Py_XDECREF(par_drop_rate); par_drop_rate = NULL; Py_XDECREF(par_attn_drop_rate); par_attn_drop_rate = NULL; Py_XDECREF(par_drop_path_rate); par_drop_path_rate = NULL; Py_XDECREF(par_norm_layer); par_norm_layer = NULL; Py_XDECREF(par_init_values); par_init_values = NULL; CHECK_OBJECT(par_use_abs_pos_emb); Py_DECREF(par_use_abs_pos_emb); par_use_abs_pos_emb = NULL; Py_XDECREF(par_use_rel_pos_bias); par_use_rel_pos_bias = NULL; CHECK_OBJECT(par_use_shared_rel_pos_bias); Py_DECREF(par_use_shared_rel_pos_bias); par_use_shared_rel_pos_bias = NULL; CHECK_OBJECT(par_use_mean_pooling); Py_DECREF(par_use_mean_pooling); par_use_mean_pooling = NULL; CHECK_OBJECT(par_init_scale); Py_DECREF(par_init_scale); par_init_scale = NULL; CHECK_OBJECT(par_use_checkpoint); Py_DECREF(par_use_checkpoint); par_use_checkpoint = NULL; Py_XDECREF(var_num_patches); var_num_patches = NULL; Py_XDECREF(var_dpr); var_dpr = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; CHECK_OBJECT(par_img_size); Py_DECREF(par_img_size); par_img_size = NULL; CHECK_OBJECT(par_patch_size); Py_DECREF(par_patch_size); par_patch_size = NULL; CHECK_OBJECT(par_in_chans); Py_DECREF(par_in_chans); par_in_chans = NULL; CHECK_OBJECT(par_num_classes); Py_DECREF(par_num_classes); par_num_classes = NULL; Py_XDECREF(par_embed_dim); par_embed_dim = NULL; Py_XDECREF(par_depth); par_depth = NULL; Py_XDECREF(par_num_heads); par_num_heads = NULL; Py_XDECREF(par_mlp_ratio); par_mlp_ratio = NULL; Py_XDECREF(par_qkv_bias); par_qkv_bias = NULL; Py_XDECREF(par_qk_scale); par_qk_scale = NULL; Py_XDECREF(par_drop_rate); par_drop_rate = NULL; Py_XDECREF(par_attn_drop_rate); par_attn_drop_rate = NULL; Py_XDECREF(par_drop_path_rate); par_drop_path_rate = NULL; Py_XDECREF(par_norm_layer); par_norm_layer = NULL; Py_XDECREF(par_init_values); par_init_values = NULL; CHECK_OBJECT(par_use_abs_pos_emb); Py_DECREF(par_use_abs_pos_emb); par_use_abs_pos_emb = NULL; Py_XDECREF(par_use_rel_pos_bias); par_use_rel_pos_bias = NULL; CHECK_OBJECT(par_use_shared_rel_pos_bias); Py_DECREF(par_use_shared_rel_pos_bias); par_use_shared_rel_pos_bias = NULL; CHECK_OBJECT(par_use_mean_pooling); Py_DECREF(par_use_mean_pooling); par_use_mean_pooling = NULL; CHECK_OBJECT(par_init_scale); Py_DECREF(par_init_scale); par_init_scale = NULL; CHECK_OBJECT(par_use_checkpoint); Py_DECREF(par_use_checkpoint); par_use_checkpoint = NULL; Py_XDECREF(var_num_patches); var_num_patches = NULL; Py_XDECREF(var_dpr); var_dpr = NULL; // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__16_fix_init_weight(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *var_rescale = NULL; PyObject *var_layer_id = NULL; PyObject *var_layer = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_608fe3c25a20e7407073e8ada1e4a0a2; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; static struct Nuitka_FrameObject *cache_frame_608fe3c25a20e7407073e8ada1e4a0a2 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; // Actual function body. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = MAKE_FUNCTION_models$eva_vit$$$function__16_fix_init_weight$$$function__1_rescale(); assert(var_rescale == NULL); var_rescale = tmp_assign_source_1; } // Tried code: if (isFrameUnusable(cache_frame_608fe3c25a20e7407073e8ada1e4a0a2)) { Py_XDECREF(cache_frame_608fe3c25a20e7407073e8ada1e4a0a2); #if _DEBUG_REFCOUNTS if (cache_frame_608fe3c25a20e7407073e8ada1e4a0a2 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_608fe3c25a20e7407073e8ada1e4a0a2 = MAKE_FUNCTION_FRAME(codeobj_608fe3c25a20e7407073e8ada1e4a0a2, module_models$eva_vit, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_608fe3c25a20e7407073e8ada1e4a0a2->m_type_description == NULL); frame_608fe3c25a20e7407073e8ada1e4a0a2 = cache_frame_608fe3c25a20e7407073e8ada1e4a0a2; // Push the new frame as the currently active one. pushFrameStack(frame_608fe3c25a20e7407073e8ada1e4a0a2); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_608fe3c25a20e7407073e8ada1e4a0a2) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_expression_name_1; tmp_called_name_1 = (PyObject *)&PyEnum_Type; CHECK_OBJECT(par_self); tmp_expression_name_1 = par_self; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[155]); if (tmp_args_element_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 306; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_608fe3c25a20e7407073e8ada1e4a0a2->m_frame.f_lineno = 306; tmp_iter_arg_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_1); Py_DECREF(tmp_args_element_name_1); if (tmp_iter_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 306; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 306; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert(tmp_for_loop_1__for_iterator == NULL); tmp_for_loop_1__for_iterator = tmp_assign_source_2; } // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_3; CHECK_OBJECT(tmp_for_loop_1__for_iterator); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_3 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooo"; exception_lineno = 306; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_3; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_4; PyObject *tmp_iter_arg_2; CHECK_OBJECT(tmp_for_loop_1__iter_value); tmp_iter_arg_2 = tmp_for_loop_1__iter_value; tmp_assign_source_4 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2); if (tmp_assign_source_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 306; type_description_1 = "oooo"; goto try_except_handler_3; } { PyObject *old = tmp_tuple_unpack_1__source_iter; tmp_tuple_unpack_1__source_iter = tmp_assign_source_4; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_5; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_1, 0, 2); if (tmp_assign_source_5 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooo"; exception_lineno = 306; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_1; tmp_tuple_unpack_1__element_1 = tmp_assign_source_5; Py_XDECREF(old); } } { PyObject *tmp_assign_source_6; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_2, 1, 2); if (tmp_assign_source_6 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooo"; exception_lineno = 306; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_2; tmp_tuple_unpack_1__element_2 = tmp_assign_source_6; Py_XDECREF(old); } } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooo"; exception_lineno = 306; goto try_except_handler_4; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[114]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "oooo"; exception_lineno = 306; goto try_except_handler_4; } } goto try_end_1; // Exception handler code: try_except_handler_4:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_3; // End of try: try_end_1:; goto try_end_2; // Exception handler code: try_except_handler_3:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_2; // End of try: try_end_2:; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_7; CHECK_OBJECT(tmp_tuple_unpack_1__element_1); tmp_assign_source_7 = tmp_tuple_unpack_1__element_1; { PyObject *old = var_layer_id; var_layer_id = tmp_assign_source_7; Py_INCREF(var_layer_id); Py_XDECREF(old); } } Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_8; CHECK_OBJECT(tmp_tuple_unpack_1__element_2); tmp_assign_source_8 = tmp_tuple_unpack_1__element_2; { PyObject *old = var_layer; var_layer = tmp_assign_source_8; Py_INCREF(var_layer); Py_XDECREF(old); } } Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; { PyObject *tmp_called_name_2; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_2; PyObject *tmp_expression_name_2; PyObject *tmp_expression_name_3; PyObject *tmp_expression_name_4; PyObject *tmp_expression_name_5; PyObject *tmp_args_element_name_3; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; if (var_rescale == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[161]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 307; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_called_name_2 = var_rescale; CHECK_OBJECT(var_layer); tmp_expression_name_5 = var_layer; tmp_expression_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[90]); if (tmp_expression_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 307; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_expression_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[68]); Py_DECREF(tmp_expression_name_4); if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 307; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_expression_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[79]); Py_DECREF(tmp_expression_name_3); if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 307; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_args_element_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[163]); Py_DECREF(tmp_expression_name_2); if (tmp_args_element_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 307; type_description_1 = "oooo"; goto try_except_handler_2; } CHECK_OBJECT(var_layer_id); tmp_left_name_1 = var_layer_id; tmp_right_name_1 = mod_consts[42]; tmp_args_element_name_3 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_left_name_1, tmp_right_name_1); if (tmp_args_element_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_args_element_name_2); exception_lineno = 307; type_description_1 = "oooo"; goto try_except_handler_2; } frame_608fe3c25a20e7407073e8ada1e4a0a2->m_frame.f_lineno = 307; { PyObject *call_args[] = {tmp_args_element_name_2, tmp_args_element_name_3}; tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_2, call_args); } Py_DECREF(tmp_args_element_name_2); Py_DECREF(tmp_args_element_name_3); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 307; type_description_1 = "oooo"; goto try_except_handler_2; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_called_name_3; PyObject *tmp_call_result_2; PyObject *tmp_args_element_name_4; PyObject *tmp_expression_name_6; PyObject *tmp_expression_name_7; PyObject *tmp_expression_name_8; PyObject *tmp_expression_name_9; PyObject *tmp_args_element_name_5; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; if (var_rescale == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[161]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 308; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_called_name_3 = var_rescale; if (var_layer == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[164]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 308; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_expression_name_9 = var_layer; tmp_expression_name_8 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[107]); if (tmp_expression_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 308; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_expression_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[22]); Py_DECREF(tmp_expression_name_8); if (tmp_expression_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 308; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_expression_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[79]); Py_DECREF(tmp_expression_name_7); if (tmp_expression_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 308; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_args_element_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[163]); Py_DECREF(tmp_expression_name_6); if (tmp_args_element_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 308; type_description_1 = "oooo"; goto try_except_handler_2; } if (var_layer_id == NULL) { Py_DECREF(tmp_args_element_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[165]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 308; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_left_name_2 = var_layer_id; tmp_right_name_2 = mod_consts[42]; tmp_args_element_name_5 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_left_name_2, tmp_right_name_2); if (tmp_args_element_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_args_element_name_4); exception_lineno = 308; type_description_1 = "oooo"; goto try_except_handler_2; } frame_608fe3c25a20e7407073e8ada1e4a0a2->m_frame.f_lineno = 308; { PyObject *call_args[] = {tmp_args_element_name_4, tmp_args_element_name_5}; tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_3, call_args); } Py_DECREF(tmp_args_element_name_4); Py_DECREF(tmp_args_element_name_5); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 308; type_description_1 = "oooo"; goto try_except_handler_2; } Py_DECREF(tmp_call_result_2); } if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 306; type_description_1 = "oooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; goto try_end_3; // Exception handler code: try_except_handler_2:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; Py_XDECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; // End of try: try_end_3:; #if 0 RESTORE_FRAME_EXCEPTION(frame_608fe3c25a20e7407073e8ada1e4a0a2); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_608fe3c25a20e7407073e8ada1e4a0a2); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_608fe3c25a20e7407073e8ada1e4a0a2, exception_lineno); } else if (exception_tb->tb_frame != &frame_608fe3c25a20e7407073e8ada1e4a0a2->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_608fe3c25a20e7407073e8ada1e4a0a2, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_608fe3c25a20e7407073e8ada1e4a0a2, type_description_1, par_self, var_rescale, var_layer_id, var_layer ); // Release cached frame if used for exception. if (frame_608fe3c25a20e7407073e8ada1e4a0a2 == cache_frame_608fe3c25a20e7407073e8ada1e4a0a2) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_608fe3c25a20e7407073e8ada1e4a0a2); cache_frame_608fe3c25a20e7407073e8ada1e4a0a2 = NULL; } assertFrameObject(frame_608fe3c25a20e7407073e8ada1e4a0a2); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; Py_XDECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(var_rescale); var_rescale = NULL; Py_XDECREF(var_layer_id); var_layer_id = NULL; Py_XDECREF(var_layer); var_layer = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(var_rescale); var_rescale = NULL; Py_XDECREF(var_layer_id); var_layer_id = NULL; Py_XDECREF(var_layer); var_layer = NULL; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__16_fix_init_weight$$$function__1_rescale(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_param = python_pars[0]; PyObject *par_layer_id = python_pars[1]; struct Nuitka_FrameObject *frame_b5558490320606969b02cc72fbce71c2; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_b5558490320606969b02cc72fbce71c2 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_b5558490320606969b02cc72fbce71c2)) { Py_XDECREF(cache_frame_b5558490320606969b02cc72fbce71c2); #if _DEBUG_REFCOUNTS if (cache_frame_b5558490320606969b02cc72fbce71c2 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_b5558490320606969b02cc72fbce71c2 = MAKE_FUNCTION_FRAME(codeobj_b5558490320606969b02cc72fbce71c2, module_models$eva_vit, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_b5558490320606969b02cc72fbce71c2->m_type_description == NULL); frame_b5558490320606969b02cc72fbce71c2 = cache_frame_b5558490320606969b02cc72fbce71c2; // Push the new frame as the currently active one. pushFrameStack(frame_b5558490320606969b02cc72fbce71c2); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_b5558490320606969b02cc72fbce71c2) == 2); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_1; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_2; PyObject *tmp_args_element_name_2; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; CHECK_OBJECT(par_param); tmp_expression_name_1 = par_param; tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[166]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 304; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_expression_name_2 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[167]); if (unlikely(tmp_expression_name_2 == NULL)) { tmp_expression_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[167]); } if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 304; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[168]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 304; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_left_name_1 = mod_consts[169]; CHECK_OBJECT(par_layer_id); tmp_right_name_1 = par_layer_id; tmp_args_element_name_2 = BINARY_OPERATION_MULT_OBJECT_FLOAT_OBJECT(tmp_left_name_1, tmp_right_name_1); if (tmp_args_element_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_called_name_2); exception_lineno = 304; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_b5558490320606969b02cc72fbce71c2->m_frame.f_lineno = 304; tmp_args_element_name_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_2, tmp_args_element_name_2); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_element_name_2); if (tmp_args_element_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 304; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_b5558490320606969b02cc72fbce71c2->m_frame.f_lineno = 304; tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 304; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } #if 0 RESTORE_FRAME_EXCEPTION(frame_b5558490320606969b02cc72fbce71c2); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_b5558490320606969b02cc72fbce71c2); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_b5558490320606969b02cc72fbce71c2, exception_lineno); } else if (exception_tb->tb_frame != &frame_b5558490320606969b02cc72fbce71c2->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_b5558490320606969b02cc72fbce71c2, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_b5558490320606969b02cc72fbce71c2, type_description_1, par_param, par_layer_id ); // Release cached frame if used for exception. if (frame_b5558490320606969b02cc72fbce71c2 == cache_frame_b5558490320606969b02cc72fbce71c2) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_b5558490320606969b02cc72fbce71c2); cache_frame_b5558490320606969b02cc72fbce71c2 = NULL; } assertFrameObject(frame_b5558490320606969b02cc72fbce71c2); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_param); par_param = NULL; Py_XDECREF(par_layer_id); par_layer_id = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_param); par_param = NULL; Py_XDECREF(par_layer_id); par_layer_id = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__17__init_weights(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_m = python_pars[1]; struct Nuitka_FrameObject *frame_d3ae6dfcfdfb59872f24376c5abceab9; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; static struct Nuitka_FrameObject *cache_frame_d3ae6dfcfdfb59872f24376c5abceab9 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_d3ae6dfcfdfb59872f24376c5abceab9)) { Py_XDECREF(cache_frame_d3ae6dfcfdfb59872f24376c5abceab9); #if _DEBUG_REFCOUNTS if (cache_frame_d3ae6dfcfdfb59872f24376c5abceab9 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_d3ae6dfcfdfb59872f24376c5abceab9 = MAKE_FUNCTION_FRAME(codeobj_d3ae6dfcfdfb59872f24376c5abceab9, module_models$eva_vit, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_d3ae6dfcfdfb59872f24376c5abceab9->m_type_description == NULL); frame_d3ae6dfcfdfb59872f24376c5abceab9 = cache_frame_d3ae6dfcfdfb59872f24376c5abceab9; // Push the new frame as the currently active one. pushFrameStack(frame_d3ae6dfcfdfb59872f24376c5abceab9); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_d3ae6dfcfdfb59872f24376c5abceab9) == 2); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_expression_name_1; CHECK_OBJECT(par_m); tmp_isinstance_inst_1 = par_m; tmp_expression_name_1 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_1 == NULL)) { tmp_expression_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 311; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_isinstance_cls_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[18]); if (tmp_isinstance_cls_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 311; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_res = Nuitka_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1); Py_DECREF(tmp_isinstance_cls_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 311; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_called_name_1; PyObject *tmp_call_result_1; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_expression_name_2; PyObject *tmp_kwargs_name_1; tmp_called_name_1 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[156]); if (unlikely(tmp_called_name_1 == NULL)) { tmp_called_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[156]); } if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 312; type_description_1 = "oo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_m); tmp_expression_name_2 = par_m; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[79]); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 312; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_1, 0, tmp_tuple_element_1); tmp_kwargs_name_1 = PyDict_Copy(mod_consts[157]); frame_d3ae6dfcfdfb59872f24376c5abceab9->m_frame.f_lineno = 312; tmp_call_result_1 = CALL_FUNCTION(tmp_called_name_1, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 312; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { nuitka_bool tmp_condition_result_2; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_isinstance_inst_2; PyObject *tmp_isinstance_cls_2; PyObject *tmp_expression_name_3; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_name_4; if (par_m == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[170]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 313; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_isinstance_inst_2 = par_m; tmp_expression_name_3 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_3 == NULL)) { tmp_expression_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 313; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_isinstance_cls_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[18]); if (tmp_isinstance_cls_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 313; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_res = Nuitka_IsInstance(tmp_isinstance_inst_2, tmp_isinstance_cls_2); Py_DECREF(tmp_isinstance_cls_2); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 313; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if (tmp_and_left_truth_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 313; type_description_1 = "oo"; goto frame_exception_exit_1; } if (tmp_and_left_truth_1 == 1) { goto and_right_1; } else { goto and_left_1; } and_right_1:; if (par_m == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[170]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 313; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_expression_name_4 = par_m; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[80]); if (tmp_compexpr_left_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 313; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = Py_None; tmp_and_right_value_1 = (tmp_compexpr_left_1 != tmp_compexpr_right_1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF(tmp_compexpr_left_1); tmp_condition_result_2 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_2 = tmp_and_left_value_1; and_end_1:; if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { PyObject *tmp_called_name_2; PyObject *tmp_expression_name_5; PyObject *tmp_expression_name_6; PyObject *tmp_call_result_2; PyObject *tmp_args_element_name_1; PyObject *tmp_expression_name_7; PyObject *tmp_args_element_name_2; tmp_expression_name_6 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_6 == NULL)) { tmp_expression_name_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 314; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_expression_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[171]); if (tmp_expression_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 314; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[172]); Py_DECREF(tmp_expression_name_5); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 314; type_description_1 = "oo"; goto frame_exception_exit_1; } if (par_m == NULL) { Py_DECREF(tmp_called_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[170]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 314; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_expression_name_7 = par_m; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[80]); if (tmp_args_element_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 314; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = mod_consts[41]; frame_d3ae6dfcfdfb59872f24376c5abceab9->m_frame.f_lineno = 314; { PyObject *call_args[] = {tmp_args_element_name_1, tmp_args_element_name_2}; tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_2, call_args); } Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_element_name_1); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 314; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_2); } branch_no_2:; goto branch_end_1; branch_no_1:; { nuitka_bool tmp_condition_result_3; PyObject *tmp_isinstance_inst_3; PyObject *tmp_isinstance_cls_3; PyObject *tmp_expression_name_8; CHECK_OBJECT(par_m); tmp_isinstance_inst_3 = par_m; tmp_expression_name_8 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_8 == NULL)) { tmp_expression_name_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 315; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_isinstance_cls_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[173]); if (tmp_isinstance_cls_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 315; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_res = Nuitka_IsInstance(tmp_isinstance_inst_3, tmp_isinstance_cls_3); Py_DECREF(tmp_isinstance_cls_3); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 315; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_3 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) { goto branch_yes_3; } else { goto branch_no_3; } } branch_yes_3:; { PyObject *tmp_called_name_3; PyObject *tmp_expression_name_9; PyObject *tmp_expression_name_10; PyObject *tmp_call_result_3; PyObject *tmp_args_element_name_3; PyObject *tmp_expression_name_11; PyObject *tmp_args_element_name_4; tmp_expression_name_10 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_10 == NULL)) { tmp_expression_name_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 316; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_expression_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[171]); if (tmp_expression_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 316; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[172]); Py_DECREF(tmp_expression_name_9); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 316; type_description_1 = "oo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_m); tmp_expression_name_11 = par_m; tmp_args_element_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_11, mod_consts[80]); if (tmp_args_element_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); exception_lineno = 316; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = mod_consts[41]; frame_d3ae6dfcfdfb59872f24376c5abceab9->m_frame.f_lineno = 316; { PyObject *call_args[] = {tmp_args_element_name_3, tmp_args_element_name_4}; tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_3, call_args); } Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_element_name_3); if (tmp_call_result_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 316; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_3); } { PyObject *tmp_called_name_4; PyObject *tmp_expression_name_12; PyObject *tmp_expression_name_13; PyObject *tmp_call_result_4; PyObject *tmp_args_element_name_5; PyObject *tmp_expression_name_14; PyObject *tmp_args_element_name_6; tmp_expression_name_13 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_13 == NULL)) { tmp_expression_name_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 317; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_expression_name_12 = LOOKUP_ATTRIBUTE(tmp_expression_name_13, mod_consts[171]); if (tmp_expression_name_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 317; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_12, mod_consts[172]); Py_DECREF(tmp_expression_name_12); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 317; type_description_1 = "oo"; goto frame_exception_exit_1; } if (par_m == NULL) { Py_DECREF(tmp_called_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[170]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 317; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_expression_name_14 = par_m; tmp_args_element_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_14, mod_consts[79]); if (tmp_args_element_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); exception_lineno = 317; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = mod_consts[174]; frame_d3ae6dfcfdfb59872f24376c5abceab9->m_frame.f_lineno = 317; { PyObject *call_args[] = {tmp_args_element_name_5, tmp_args_element_name_6}; tmp_call_result_4 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_4, call_args); } Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_element_name_5); if (tmp_call_result_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 317; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_4); } branch_no_3:; branch_end_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_d3ae6dfcfdfb59872f24376c5abceab9); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_d3ae6dfcfdfb59872f24376c5abceab9); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_d3ae6dfcfdfb59872f24376c5abceab9, exception_lineno); } else if (exception_tb->tb_frame != &frame_d3ae6dfcfdfb59872f24376c5abceab9->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_d3ae6dfcfdfb59872f24376c5abceab9, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_d3ae6dfcfdfb59872f24376c5abceab9, type_description_1, par_self, par_m ); // Release cached frame if used for exception. if (frame_d3ae6dfcfdfb59872f24376c5abceab9 == cache_frame_d3ae6dfcfdfb59872f24376c5abceab9) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_d3ae6dfcfdfb59872f24376c5abceab9); cache_frame_d3ae6dfcfdfb59872f24376c5abceab9 = NULL; } assertFrameObject(frame_d3ae6dfcfdfb59872f24376c5abceab9); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_m); par_m = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_m); par_m = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__18_get_classifier(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; struct Nuitka_FrameObject *frame_4767d123c180f4ce20b41f46dcfe0fa7; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_4767d123c180f4ce20b41f46dcfe0fa7 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_4767d123c180f4ce20b41f46dcfe0fa7)) { Py_XDECREF(cache_frame_4767d123c180f4ce20b41f46dcfe0fa7); #if _DEBUG_REFCOUNTS if (cache_frame_4767d123c180f4ce20b41f46dcfe0fa7 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_4767d123c180f4ce20b41f46dcfe0fa7 = MAKE_FUNCTION_FRAME(codeobj_4767d123c180f4ce20b41f46dcfe0fa7, module_models$eva_vit, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_4767d123c180f4ce20b41f46dcfe0fa7->m_type_description == NULL); frame_4767d123c180f4ce20b41f46dcfe0fa7 = cache_frame_4767d123c180f4ce20b41f46dcfe0fa7; // Push the new frame as the currently active one. pushFrameStack(frame_4767d123c180f4ce20b41f46dcfe0fa7); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_4767d123c180f4ce20b41f46dcfe0fa7) == 2); // Frame stack // Framed code: { PyObject *tmp_expression_name_1; CHECK_OBJECT(par_self); tmp_expression_name_1 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[175]); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 320; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_4767d123c180f4ce20b41f46dcfe0fa7); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_4767d123c180f4ce20b41f46dcfe0fa7); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_4767d123c180f4ce20b41f46dcfe0fa7); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_4767d123c180f4ce20b41f46dcfe0fa7, exception_lineno); } else if (exception_tb->tb_frame != &frame_4767d123c180f4ce20b41f46dcfe0fa7->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_4767d123c180f4ce20b41f46dcfe0fa7, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_4767d123c180f4ce20b41f46dcfe0fa7, type_description_1, par_self ); // Release cached frame if used for exception. if (frame_4767d123c180f4ce20b41f46dcfe0fa7 == cache_frame_4767d123c180f4ce20b41f46dcfe0fa7) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_4767d123c180f4ce20b41f46dcfe0fa7); cache_frame_4767d123c180f4ce20b41f46dcfe0fa7 = NULL; } assertFrameObject(frame_4767d123c180f4ce20b41f46dcfe0fa7); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__19_reset_classifier(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_num_classes = python_pars[1]; PyObject *par_global_pool = python_pars[2]; struct Nuitka_FrameObject *frame_f2a65ca76842944dd804c12b66e87a5d; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; bool tmp_result; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_f2a65ca76842944dd804c12b66e87a5d = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_f2a65ca76842944dd804c12b66e87a5d)) { Py_XDECREF(cache_frame_f2a65ca76842944dd804c12b66e87a5d); #if _DEBUG_REFCOUNTS if (cache_frame_f2a65ca76842944dd804c12b66e87a5d == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_f2a65ca76842944dd804c12b66e87a5d = MAKE_FUNCTION_FRAME(codeobj_f2a65ca76842944dd804c12b66e87a5d, module_models$eva_vit, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_f2a65ca76842944dd804c12b66e87a5d->m_type_description == NULL); frame_f2a65ca76842944dd804c12b66e87a5d = cache_frame_f2a65ca76842944dd804c12b66e87a5d; // Push the new frame as the currently active one. pushFrameStack(frame_f2a65ca76842944dd804c12b66e87a5d); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_f2a65ca76842944dd804c12b66e87a5d) == 2); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT(par_num_classes); tmp_assattr_name_1 = par_num_classes; CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[132], tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 323; type_description_1 = "ooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_tmp_condition_result_1_object_1; int tmp_truth_name_1; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_expression_name_2; PyObject *tmp_args_element_name_2; PyObject *tmp_called_instance_1; PyObject *tmp_assattr_target_2; CHECK_OBJECT(par_num_classes); tmp_compexpr_left_1 = par_num_classes; tmp_compexpr_right_1 = mod_consts[41]; tmp_tmp_condition_result_1_object_1 = RICH_COMPARE_GT_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_1, tmp_compexpr_right_1); if (tmp_tmp_condition_result_1_object_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE(tmp_tmp_condition_result_1_object_1); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_tmp_condition_result_1_object_1); exception_lineno = 324; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; Py_DECREF(tmp_tmp_condition_result_1_object_1); if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto condexpr_true_1; } else { goto condexpr_false_1; } condexpr_true_1:; tmp_expression_name_1 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_1 == NULL)) { tmp_expression_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[18]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; type_description_1 = "ooo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_expression_name_2 = par_self; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[134]); if (tmp_args_element_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 324; type_description_1 = "ooo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_num_classes); tmp_args_element_name_2 = par_num_classes; frame_f2a65ca76842944dd804c12b66e87a5d->m_frame.f_lineno = 324; { PyObject *call_args[] = {tmp_args_element_name_1, tmp_args_element_name_2}; tmp_assattr_name_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_1, call_args); } Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_1); if (tmp_assattr_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto condexpr_end_1; condexpr_false_1:; tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_called_instance_1 == NULL)) { tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_f2a65ca76842944dd804c12b66e87a5d->m_frame.f_lineno = 324; tmp_assattr_name_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[102]); if (tmp_assattr_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; type_description_1 = "ooo"; goto frame_exception_exit_1; } condexpr_end_1:; if (par_self == NULL) { Py_DECREF(tmp_assattr_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 324; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[175], tmp_assattr_name_2); Py_DECREF(tmp_assattr_name_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 324; type_description_1 = "ooo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_f2a65ca76842944dd804c12b66e87a5d); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_f2a65ca76842944dd804c12b66e87a5d); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_f2a65ca76842944dd804c12b66e87a5d, exception_lineno); } else if (exception_tb->tb_frame != &frame_f2a65ca76842944dd804c12b66e87a5d->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_f2a65ca76842944dd804c12b66e87a5d, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_f2a65ca76842944dd804c12b66e87a5d, type_description_1, par_self, par_num_classes, par_global_pool ); // Release cached frame if used for exception. if (frame_f2a65ca76842944dd804c12b66e87a5d == cache_frame_f2a65ca76842944dd804c12b66e87a5d) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_f2a65ca76842944dd804c12b66e87a5d); cache_frame_f2a65ca76842944dd804c12b66e87a5d = NULL; } assertFrameObject(frame_f2a65ca76842944dd804c12b66e87a5d); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_num_classes); par_num_classes = NULL; CHECK_OBJECT(par_global_pool); Py_DECREF(par_global_pool); par_global_pool = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_num_classes); par_num_classes = NULL; CHECK_OBJECT(par_global_pool); Py_DECREF(par_global_pool); par_global_pool = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__20_forward_features(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_x = python_pars[1]; PyObject *var_batch_size = NULL; PyObject *var_seq_len = NULL; PyObject *var__ = NULL; PyObject *var_cls_tokens = NULL; PyObject *var_rel_pos_bias = NULL; PyObject *var_blk = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__element_3 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_2192bdbd8e91262dd573c14e59b5b144; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_2192bdbd8e91262dd573c14e59b5b144 = NULL; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_2192bdbd8e91262dd573c14e59b5b144)) { Py_XDECREF(cache_frame_2192bdbd8e91262dd573c14e59b5b144); #if _DEBUG_REFCOUNTS if (cache_frame_2192bdbd8e91262dd573c14e59b5b144 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_2192bdbd8e91262dd573c14e59b5b144 = MAKE_FUNCTION_FRAME(codeobj_2192bdbd8e91262dd573c14e59b5b144, module_models$eva_vit, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_2192bdbd8e91262dd573c14e59b5b144->m_type_description == NULL); frame_2192bdbd8e91262dd573c14e59b5b144 = cache_frame_2192bdbd8e91262dd573c14e59b5b144; // Push the new frame as the currently active one. pushFrameStack(frame_2192bdbd8e91262dd573c14e59b5b144); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_2192bdbd8e91262dd573c14e59b5b144) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT(par_self); tmp_called_instance_1 = par_self; CHECK_OBJECT(par_x); tmp_args_element_name_1 = par_x; frame_2192bdbd8e91262dd573c14e59b5b144->m_frame.f_lineno = 327; tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[137], tmp_args_element_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 327; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_1; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; PyObject *tmp_called_instance_2; CHECK_OBJECT(par_x); tmp_called_instance_2 = par_x; frame_2192bdbd8e91262dd573c14e59b5b144->m_frame.f_lineno = 328; tmp_iter_arg_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[56]); if (tmp_iter_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 328; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_assign_source_2 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 328; type_description_1 = "oooooooo"; goto try_except_handler_2; } assert(tmp_tuple_unpack_1__source_iter == NULL); tmp_tuple_unpack_1__source_iter = tmp_assign_source_2; } // Tried code: { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_1, 0, 3); if (tmp_assign_source_3 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooo"; exception_lineno = 328; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_1 == NULL); tmp_tuple_unpack_1__element_1 = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_2, 1, 3); if (tmp_assign_source_4 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooo"; exception_lineno = 328; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_2 == NULL); tmp_tuple_unpack_1__element_2 = tmp_assign_source_4; } { PyObject *tmp_assign_source_5; PyObject *tmp_unpack_3; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_3 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_3, 2, 3); if (tmp_assign_source_5 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooo"; exception_lineno = 328; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_3 == NULL); tmp_tuple_unpack_1__element_3 = tmp_assign_source_5; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooo"; exception_lineno = 328; goto try_except_handler_3; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[71]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "oooooooo"; exception_lineno = 328; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_2; // End of try: try_end_1:; goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: try_end_2:; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_6; CHECK_OBJECT(tmp_tuple_unpack_1__element_1); tmp_assign_source_6 = tmp_tuple_unpack_1__element_1; assert(var_batch_size == NULL); Py_INCREF(tmp_assign_source_6); var_batch_size = tmp_assign_source_6; } Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_7; CHECK_OBJECT(tmp_tuple_unpack_1__element_2); tmp_assign_source_7 = tmp_tuple_unpack_1__element_2; assert(var_seq_len == NULL); Py_INCREF(tmp_assign_source_7); var_seq_len = tmp_assign_source_7; } Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; { PyObject *tmp_assign_source_8; CHECK_OBJECT(tmp_tuple_unpack_1__element_3); tmp_assign_source_8 = tmp_tuple_unpack_1__element_3; assert(var__ == NULL); Py_INCREF(tmp_assign_source_8); var__ = tmp_assign_source_8; } Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; { PyObject *tmp_assign_source_9; PyObject *tmp_called_instance_3; PyObject *tmp_expression_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 330; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_expression_name_1 = par_self; tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[138]); if (tmp_called_instance_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 330; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_batch_size); tmp_args_element_name_2 = var_batch_size; tmp_args_element_name_3 = mod_consts[82]; tmp_args_element_name_4 = mod_consts[82]; frame_2192bdbd8e91262dd573c14e59b5b144->m_frame.f_lineno = 330; { PyObject *call_args[] = {tmp_args_element_name_2, tmp_args_element_name_3, tmp_args_element_name_4}; tmp_assign_source_9 = CALL_METHOD_WITH_ARGS3( tmp_called_instance_3, mod_consts[176], call_args ); } Py_DECREF(tmp_called_instance_3); if (tmp_assign_source_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 330; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } assert(var_cls_tokens == NULL); var_cls_tokens = tmp_assign_source_9; } { PyObject *tmp_assign_source_10; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_2; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_tuple_element_2; PyObject *tmp_kwargs_name_1; tmp_expression_name_2 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_2 == NULL)) { tmp_expression_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 331; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[72]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 331; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_cls_tokens); tmp_tuple_element_2 = var_cls_tokens; tmp_tuple_element_1 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_tuple_element_1, 0, tmp_tuple_element_2); if (par_x == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[78]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 331; type_description_1 = "oooooooo"; goto tuple_build_exception_1; } tmp_tuple_element_2 = par_x; PyTuple_SET_ITEM0(tmp_tuple_element_1, 1, tmp_tuple_element_2); goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_tuple_element_1); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_1, 0, tmp_tuple_element_1); tmp_kwargs_name_1 = PyDict_Copy(mod_consts[177]); frame_2192bdbd8e91262dd573c14e59b5b144->m_frame.f_lineno = 331; tmp_assign_source_10 = CALL_FUNCTION(tmp_called_name_1, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assign_source_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 331; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_10; Py_XDECREF(old); } } { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_name_3; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 332; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_expression_name_3 = par_self; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[139]); if (tmp_compexpr_left_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 332; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = (tmp_compexpr_left_1 != tmp_compexpr_right_1) ? true : false; Py_DECREF(tmp_compexpr_left_1); if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assign_source_11; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_expression_name_4; CHECK_OBJECT(par_x); tmp_left_name_1 = par_x; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 333; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_expression_name_4 = par_self; tmp_right_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[139]); if (tmp_right_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 333; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assign_source_11 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_1, tmp_right_name_1); Py_DECREF(tmp_right_name_1); if (tmp_assign_source_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 333; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_11; Py_XDECREF(old); } } branch_no_1:; { PyObject *tmp_assign_source_12; PyObject *tmp_called_instance_4; PyObject *tmp_args_element_name_5; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 334; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_instance_4 = par_self; CHECK_OBJECT(par_x); tmp_args_element_name_5 = par_x; frame_2192bdbd8e91262dd573c14e59b5b144->m_frame.f_lineno = 334; tmp_assign_source_12 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[141], tmp_args_element_name_5); if (tmp_assign_source_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 334; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_12; Py_XDECREF(old); } } { PyObject *tmp_assign_source_13; bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_expression_name_5; PyObject *tmp_called_instance_5; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 336; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_expression_name_5 = par_self; tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[115]); if (tmp_compexpr_left_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 336; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = Py_None; tmp_condition_result_2 = (tmp_compexpr_left_2 != tmp_compexpr_right_2) ? true : false; Py_DECREF(tmp_compexpr_left_2); if (tmp_condition_result_2 != false) { goto condexpr_true_1; } else { goto condexpr_false_1; } condexpr_true_1:; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 336; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_instance_5 = par_self; frame_2192bdbd8e91262dd573c14e59b5b144->m_frame.f_lineno = 336; tmp_assign_source_13 = CALL_METHOD_NO_ARGS(tmp_called_instance_5, mod_consts[115]); if (tmp_assign_source_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 336; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } goto condexpr_end_1; condexpr_false_1:; tmp_assign_source_13 = Py_None; Py_INCREF(tmp_assign_source_13); condexpr_end_1:; assert(var_rel_pos_bias == NULL); var_rel_pos_bias = tmp_assign_source_13; } { PyObject *tmp_assign_source_14; PyObject *tmp_iter_arg_2; PyObject *tmp_expression_name_6; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 337; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_expression_name_6 = par_self; tmp_iter_arg_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[155]); if (tmp_iter_arg_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 337; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assign_source_14 = MAKE_ITERATOR(tmp_iter_arg_2); Py_DECREF(tmp_iter_arg_2); if (tmp_assign_source_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 337; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } assert(tmp_for_loop_1__for_iterator == NULL); tmp_for_loop_1__for_iterator = tmp_assign_source_14; } // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_15; CHECK_OBJECT(tmp_for_loop_1__for_iterator); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_15 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_15 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooo"; exception_lineno = 337; goto try_except_handler_4; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_15; Py_XDECREF(old); } } { PyObject *tmp_assign_source_16; CHECK_OBJECT(tmp_for_loop_1__iter_value); tmp_assign_source_16 = tmp_for_loop_1__iter_value; { PyObject *old = var_blk; var_blk = tmp_assign_source_16; Py_INCREF(var_blk); Py_XDECREF(old); } } { nuitka_bool tmp_condition_result_3; PyObject *tmp_expression_name_7; PyObject *tmp_attribute_value_1; int tmp_truth_name_1; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 338; type_description_1 = "oooooooo"; goto try_except_handler_4; } tmp_expression_name_7 = par_self; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[143]); if (tmp_attribute_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 338; type_description_1 = "oooooooo"; goto try_except_handler_4; } tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_attribute_value_1); exception_lineno = 338; type_description_1 = "oooooooo"; goto try_except_handler_4; } tmp_condition_result_3 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; Py_DECREF(tmp_attribute_value_1); if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { PyObject *tmp_assign_source_17; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_8; PyObject *tmp_args_element_name_6; PyObject *tmp_args_element_name_7; PyObject *tmp_args_element_name_8; tmp_expression_name_8 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[178]); if (unlikely(tmp_expression_name_8 == NULL)) { tmp_expression_name_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[178]); } if (tmp_expression_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 339; type_description_1 = "oooooooo"; goto try_except_handler_4; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[178]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 339; type_description_1 = "oooooooo"; goto try_except_handler_4; } CHECK_OBJECT(var_blk); tmp_args_element_name_6 = var_blk; if (par_x == NULL) { Py_DECREF(tmp_called_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[78]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 339; type_description_1 = "oooooooo"; goto try_except_handler_4; } tmp_args_element_name_7 = par_x; if (var_rel_pos_bias == NULL) { Py_DECREF(tmp_called_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[115]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 339; type_description_1 = "oooooooo"; goto try_except_handler_4; } tmp_args_element_name_8 = var_rel_pos_bias; frame_2192bdbd8e91262dd573c14e59b5b144->m_frame.f_lineno = 339; { PyObject *call_args[] = {tmp_args_element_name_6, tmp_args_element_name_7, tmp_args_element_name_8}; tmp_assign_source_17 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_2, call_args); } Py_DECREF(tmp_called_name_2); if (tmp_assign_source_17 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 339; type_description_1 = "oooooooo"; goto try_except_handler_4; } { PyObject *old = par_x; par_x = tmp_assign_source_17; Py_XDECREF(old); } } goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_18; PyObject *tmp_called_name_3; PyObject *tmp_args_element_name_9; PyObject *tmp_args_element_name_10; CHECK_OBJECT(var_blk); tmp_called_name_3 = var_blk; if (par_x == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[78]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 341; type_description_1 = "oooooooo"; goto try_except_handler_4; } tmp_args_element_name_9 = par_x; if (var_rel_pos_bias == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[115]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 341; type_description_1 = "oooooooo"; goto try_except_handler_4; } tmp_args_element_name_10 = var_rel_pos_bias; frame_2192bdbd8e91262dd573c14e59b5b144->m_frame.f_lineno = 341; { PyObject *call_args[] = {tmp_args_element_name_9, tmp_args_element_name_10}; tmp_assign_source_18 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_3, call_args); } if (tmp_assign_source_18 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 341; type_description_1 = "oooooooo"; goto try_except_handler_4; } { PyObject *old = par_x; par_x = tmp_assign_source_18; Py_XDECREF(old); } } branch_end_2:; if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 337; type_description_1 = "oooooooo"; goto try_except_handler_4; } goto loop_start_1; loop_end_1:; goto try_end_3; // Exception handler code: try_except_handler_4:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; Py_XDECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; // End of try: try_end_3:; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; Py_XDECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; if (par_x == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[78]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 342; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_return_value = par_x; Py_INCREF(tmp_return_value); goto frame_return_exit_1; #if 0 RESTORE_FRAME_EXCEPTION(frame_2192bdbd8e91262dd573c14e59b5b144); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_2192bdbd8e91262dd573c14e59b5b144); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_2192bdbd8e91262dd573c14e59b5b144); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_2192bdbd8e91262dd573c14e59b5b144, exception_lineno); } else if (exception_tb->tb_frame != &frame_2192bdbd8e91262dd573c14e59b5b144->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_2192bdbd8e91262dd573c14e59b5b144, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_2192bdbd8e91262dd573c14e59b5b144, type_description_1, par_self, par_x, var_batch_size, var_seq_len, var__, var_cls_tokens, var_rel_pos_bias, var_blk ); // Release cached frame if used for exception. if (frame_2192bdbd8e91262dd573c14e59b5b144 == cache_frame_2192bdbd8e91262dd573c14e59b5b144) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_2192bdbd8e91262dd573c14e59b5b144); cache_frame_2192bdbd8e91262dd573c14e59b5b144 = NULL; } assertFrameObject(frame_2192bdbd8e91262dd573c14e59b5b144); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_x); par_x = NULL; Py_XDECREF(var_batch_size); var_batch_size = NULL; CHECK_OBJECT(var_seq_len); Py_DECREF(var_seq_len); var_seq_len = NULL; CHECK_OBJECT(var__); Py_DECREF(var__); var__ = NULL; Py_XDECREF(var_cls_tokens); var_cls_tokens = NULL; Py_XDECREF(var_rel_pos_bias); var_rel_pos_bias = NULL; Py_XDECREF(var_blk); var_blk = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_x); par_x = NULL; Py_XDECREF(var_batch_size); var_batch_size = NULL; Py_XDECREF(var_seq_len); var_seq_len = NULL; Py_XDECREF(var__); var__ = NULL; Py_XDECREF(var_cls_tokens); var_cls_tokens = NULL; Py_XDECREF(var_rel_pos_bias); var_rel_pos_bias = NULL; Py_XDECREF(var_blk); var_blk = NULL; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__21_forward(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_x = python_pars[1]; struct Nuitka_FrameObject *frame_490b645cee54b66ea24504c582d15e25; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_490b645cee54b66ea24504c582d15e25 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_490b645cee54b66ea24504c582d15e25)) { Py_XDECREF(cache_frame_490b645cee54b66ea24504c582d15e25); #if _DEBUG_REFCOUNTS if (cache_frame_490b645cee54b66ea24504c582d15e25 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_490b645cee54b66ea24504c582d15e25 = MAKE_FUNCTION_FRAME(codeobj_490b645cee54b66ea24504c582d15e25, module_models$eva_vit, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_490b645cee54b66ea24504c582d15e25->m_type_description == NULL); frame_490b645cee54b66ea24504c582d15e25 = cache_frame_490b645cee54b66ea24504c582d15e25; // Push the new frame as the currently active one. pushFrameStack(frame_490b645cee54b66ea24504c582d15e25); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_490b645cee54b66ea24504c582d15e25) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT(par_self); tmp_called_instance_1 = par_self; CHECK_OBJECT(par_x); tmp_args_element_name_1 = par_x; frame_490b645cee54b66ea24504c582d15e25->m_frame.f_lineno = 352; tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[179], tmp_args_element_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 352; type_description_1 = "oo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_1; Py_XDECREF(old); } } #if 0 RESTORE_FRAME_EXCEPTION(frame_490b645cee54b66ea24504c582d15e25); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_490b645cee54b66ea24504c582d15e25); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_490b645cee54b66ea24504c582d15e25, exception_lineno); } else if (exception_tb->tb_frame != &frame_490b645cee54b66ea24504c582d15e25->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_490b645cee54b66ea24504c582d15e25, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_490b645cee54b66ea24504c582d15e25, type_description_1, par_self, par_x ); // Release cached frame if used for exception. if (frame_490b645cee54b66ea24504c582d15e25 == cache_frame_490b645cee54b66ea24504c582d15e25) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_490b645cee54b66ea24504c582d15e25); cache_frame_490b645cee54b66ea24504c582d15e25 = NULL; } assertFrameObject(frame_490b645cee54b66ea24504c582d15e25); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; CHECK_OBJECT(par_x); tmp_return_value = par_x; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; CHECK_OBJECT(par_x); Py_DECREF(par_x); par_x = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_x); par_x = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__22_get_intermediate_layers(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_x = python_pars[1]; PyObject *var_batch_size = NULL; PyObject *var_seq_len = NULL; PyObject *var__ = NULL; PyObject *var_cls_tokens = NULL; PyObject *var_features = NULL; PyObject *var_rel_pos_bias = NULL; PyObject *var_blk = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__element_3 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_ae30f9a36795259179b59fe1c61f577b; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_ae30f9a36795259179b59fe1c61f577b = NULL; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_ae30f9a36795259179b59fe1c61f577b)) { Py_XDECREF(cache_frame_ae30f9a36795259179b59fe1c61f577b); #if _DEBUG_REFCOUNTS if (cache_frame_ae30f9a36795259179b59fe1c61f577b == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_ae30f9a36795259179b59fe1c61f577b = MAKE_FUNCTION_FRAME(codeobj_ae30f9a36795259179b59fe1c61f577b, module_models$eva_vit, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_ae30f9a36795259179b59fe1c61f577b->m_type_description == NULL); frame_ae30f9a36795259179b59fe1c61f577b = cache_frame_ae30f9a36795259179b59fe1c61f577b; // Push the new frame as the currently active one. pushFrameStack(frame_ae30f9a36795259179b59fe1c61f577b); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_ae30f9a36795259179b59fe1c61f577b) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT(par_self); tmp_called_instance_1 = par_self; CHECK_OBJECT(par_x); tmp_args_element_name_1 = par_x; frame_ae30f9a36795259179b59fe1c61f577b->m_frame.f_lineno = 357; tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[137], tmp_args_element_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 357; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_1; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; PyObject *tmp_called_instance_2; CHECK_OBJECT(par_x); tmp_called_instance_2 = par_x; frame_ae30f9a36795259179b59fe1c61f577b->m_frame.f_lineno = 358; tmp_iter_arg_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[56]); if (tmp_iter_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 358; type_description_1 = "ooooooooo"; goto try_except_handler_2; } tmp_assign_source_2 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 358; type_description_1 = "ooooooooo"; goto try_except_handler_2; } assert(tmp_tuple_unpack_1__source_iter == NULL); tmp_tuple_unpack_1__source_iter = tmp_assign_source_2; } // Tried code: { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_1, 0, 3); if (tmp_assign_source_3 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooooooo"; exception_lineno = 358; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_1 == NULL); tmp_tuple_unpack_1__element_1 = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_2, 1, 3); if (tmp_assign_source_4 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooooooo"; exception_lineno = 358; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_2 == NULL); tmp_tuple_unpack_1__element_2 = tmp_assign_source_4; } { PyObject *tmp_assign_source_5; PyObject *tmp_unpack_3; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_3 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_3, 2, 3); if (tmp_assign_source_5 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooooooo"; exception_lineno = 358; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_3 == NULL); tmp_tuple_unpack_1__element_3 = tmp_assign_source_5; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "ooooooooo"; exception_lineno = 358; goto try_except_handler_3; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[71]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "ooooooooo"; exception_lineno = 358; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_2; // End of try: try_end_1:; goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: try_end_2:; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_6; CHECK_OBJECT(tmp_tuple_unpack_1__element_1); tmp_assign_source_6 = tmp_tuple_unpack_1__element_1; assert(var_batch_size == NULL); Py_INCREF(tmp_assign_source_6); var_batch_size = tmp_assign_source_6; } Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_7; CHECK_OBJECT(tmp_tuple_unpack_1__element_2); tmp_assign_source_7 = tmp_tuple_unpack_1__element_2; assert(var_seq_len == NULL); Py_INCREF(tmp_assign_source_7); var_seq_len = tmp_assign_source_7; } Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; { PyObject *tmp_assign_source_8; CHECK_OBJECT(tmp_tuple_unpack_1__element_3); tmp_assign_source_8 = tmp_tuple_unpack_1__element_3; assert(var__ == NULL); Py_INCREF(tmp_assign_source_8); var__ = tmp_assign_source_8; } Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; { PyObject *tmp_assign_source_9; PyObject *tmp_called_instance_3; PyObject *tmp_expression_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 360; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_1 = par_self; tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[138]); if (tmp_called_instance_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 360; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_batch_size); tmp_args_element_name_2 = var_batch_size; tmp_args_element_name_3 = mod_consts[82]; tmp_args_element_name_4 = mod_consts[82]; frame_ae30f9a36795259179b59fe1c61f577b->m_frame.f_lineno = 360; { PyObject *call_args[] = {tmp_args_element_name_2, tmp_args_element_name_3, tmp_args_element_name_4}; tmp_assign_source_9 = CALL_METHOD_WITH_ARGS3( tmp_called_instance_3, mod_consts[176], call_args ); } Py_DECREF(tmp_called_instance_3); if (tmp_assign_source_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 360; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } assert(var_cls_tokens == NULL); var_cls_tokens = tmp_assign_source_9; } { PyObject *tmp_assign_source_10; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_2; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_tuple_element_2; PyObject *tmp_kwargs_name_1; tmp_expression_name_2 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_2 == NULL)) { tmp_expression_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 361; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[72]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 361; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_cls_tokens); tmp_tuple_element_2 = var_cls_tokens; tmp_tuple_element_1 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_tuple_element_1, 0, tmp_tuple_element_2); if (par_x == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[78]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 361; type_description_1 = "ooooooooo"; goto tuple_build_exception_1; } tmp_tuple_element_2 = par_x; PyTuple_SET_ITEM0(tmp_tuple_element_1, 1, tmp_tuple_element_2); goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_tuple_element_1); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_1, 0, tmp_tuple_element_1); tmp_kwargs_name_1 = PyDict_Copy(mod_consts[177]); frame_ae30f9a36795259179b59fe1c61f577b->m_frame.f_lineno = 361; tmp_assign_source_10 = CALL_FUNCTION(tmp_called_name_1, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assign_source_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 361; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_10; Py_XDECREF(old); } } { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_name_3; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 362; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_3 = par_self; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[139]); if (tmp_compexpr_left_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 362; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = (tmp_compexpr_left_1 != tmp_compexpr_right_1) ? true : false; Py_DECREF(tmp_compexpr_left_1); if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assign_source_11; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_expression_name_4; CHECK_OBJECT(par_x); tmp_left_name_1 = par_x; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 363; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_4 = par_self; tmp_right_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[139]); if (tmp_right_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 363; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_11 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_1, tmp_right_name_1); Py_DECREF(tmp_right_name_1); if (tmp_assign_source_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 363; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_11; Py_XDECREF(old); } } branch_no_1:; { PyObject *tmp_assign_source_12; PyObject *tmp_called_instance_4; PyObject *tmp_args_element_name_5; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 364; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_4 = par_self; CHECK_OBJECT(par_x); tmp_args_element_name_5 = par_x; frame_ae30f9a36795259179b59fe1c61f577b->m_frame.f_lineno = 364; tmp_assign_source_12 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[141], tmp_args_element_name_5); if (tmp_assign_source_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 364; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_12; Py_XDECREF(old); } } { PyObject *tmp_assign_source_13; tmp_assign_source_13 = PyList_New(0); assert(var_features == NULL); var_features = tmp_assign_source_13; } { PyObject *tmp_assign_source_14; bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_expression_name_5; PyObject *tmp_called_instance_5; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 367; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_5 = par_self; tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[115]); if (tmp_compexpr_left_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 367; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = Py_None; tmp_condition_result_2 = (tmp_compexpr_left_2 != tmp_compexpr_right_2) ? true : false; Py_DECREF(tmp_compexpr_left_2); if (tmp_condition_result_2 != false) { goto condexpr_true_1; } else { goto condexpr_false_1; } condexpr_true_1:; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 367; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_5 = par_self; frame_ae30f9a36795259179b59fe1c61f577b->m_frame.f_lineno = 367; tmp_assign_source_14 = CALL_METHOD_NO_ARGS(tmp_called_instance_5, mod_consts[115]); if (tmp_assign_source_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 367; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } goto condexpr_end_1; condexpr_false_1:; tmp_assign_source_14 = Py_None; Py_INCREF(tmp_assign_source_14); condexpr_end_1:; assert(var_rel_pos_bias == NULL); var_rel_pos_bias = tmp_assign_source_14; } { PyObject *tmp_assign_source_15; PyObject *tmp_iter_arg_2; PyObject *tmp_expression_name_6; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 368; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_6 = par_self; tmp_iter_arg_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[155]); if (tmp_iter_arg_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 368; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_15 = MAKE_ITERATOR(tmp_iter_arg_2); Py_DECREF(tmp_iter_arg_2); if (tmp_assign_source_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 368; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } assert(tmp_for_loop_1__for_iterator == NULL); tmp_for_loop_1__for_iterator = tmp_assign_source_15; } // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_16; CHECK_OBJECT(tmp_for_loop_1__for_iterator); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_16 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_16 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "ooooooooo"; exception_lineno = 368; goto try_except_handler_4; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_16; Py_XDECREF(old); } } { PyObject *tmp_assign_source_17; CHECK_OBJECT(tmp_for_loop_1__iter_value); tmp_assign_source_17 = tmp_for_loop_1__iter_value; { PyObject *old = var_blk; var_blk = tmp_assign_source_17; Py_INCREF(var_blk); Py_XDECREF(old); } } { PyObject *tmp_assign_source_18; PyObject *tmp_called_name_2; PyObject *tmp_args_element_name_6; PyObject *tmp_args_element_name_7; CHECK_OBJECT(var_blk); tmp_called_name_2 = var_blk; if (par_x == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[78]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 369; type_description_1 = "ooooooooo"; goto try_except_handler_4; } tmp_args_element_name_6 = par_x; if (var_rel_pos_bias == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[115]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 369; type_description_1 = "ooooooooo"; goto try_except_handler_4; } tmp_args_element_name_7 = var_rel_pos_bias; frame_ae30f9a36795259179b59fe1c61f577b->m_frame.f_lineno = 369; { PyObject *call_args[] = {tmp_args_element_name_6, tmp_args_element_name_7}; tmp_assign_source_18 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_2, call_args); } if (tmp_assign_source_18 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 369; type_description_1 = "ooooooooo"; goto try_except_handler_4; } { PyObject *old = par_x; par_x = tmp_assign_source_18; Py_XDECREF(old); } } { PyObject *tmp_called_instance_6; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_8; if (var_features == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[180]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 370; type_description_1 = "ooooooooo"; goto try_except_handler_4; } tmp_called_instance_6 = var_features; CHECK_OBJECT(par_x); tmp_args_element_name_8 = par_x; frame_ae30f9a36795259179b59fe1c61f577b->m_frame.f_lineno = 370; tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_6, mod_consts[181], tmp_args_element_name_8); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 370; type_description_1 = "ooooooooo"; goto try_except_handler_4; } Py_DECREF(tmp_call_result_1); } if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 368; type_description_1 = "ooooooooo"; goto try_except_handler_4; } goto loop_start_1; loop_end_1:; goto try_end_3; // Exception handler code: try_except_handler_4:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; Py_XDECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; // End of try: try_end_3:; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; Py_XDECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; if (var_features == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[180]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 372; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_features; Py_INCREF(tmp_return_value); goto frame_return_exit_1; #if 0 RESTORE_FRAME_EXCEPTION(frame_ae30f9a36795259179b59fe1c61f577b); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_ae30f9a36795259179b59fe1c61f577b); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_ae30f9a36795259179b59fe1c61f577b); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_ae30f9a36795259179b59fe1c61f577b, exception_lineno); } else if (exception_tb->tb_frame != &frame_ae30f9a36795259179b59fe1c61f577b->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_ae30f9a36795259179b59fe1c61f577b, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_ae30f9a36795259179b59fe1c61f577b, type_description_1, par_self, par_x, var_batch_size, var_seq_len, var__, var_cls_tokens, var_features, var_rel_pos_bias, var_blk ); // Release cached frame if used for exception. if (frame_ae30f9a36795259179b59fe1c61f577b == cache_frame_ae30f9a36795259179b59fe1c61f577b) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_ae30f9a36795259179b59fe1c61f577b); cache_frame_ae30f9a36795259179b59fe1c61f577b = NULL; } assertFrameObject(frame_ae30f9a36795259179b59fe1c61f577b); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_x); par_x = NULL; Py_XDECREF(var_batch_size); var_batch_size = NULL; CHECK_OBJECT(var_seq_len); Py_DECREF(var_seq_len); var_seq_len = NULL; CHECK_OBJECT(var__); Py_DECREF(var__); var__ = NULL; Py_XDECREF(var_cls_tokens); var_cls_tokens = NULL; Py_XDECREF(var_features); var_features = NULL; Py_XDECREF(var_rel_pos_bias); var_rel_pos_bias = NULL; Py_XDECREF(var_blk); var_blk = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_x); par_x = NULL; Py_XDECREF(var_batch_size); var_batch_size = NULL; Py_XDECREF(var_seq_len); var_seq_len = NULL; Py_XDECREF(var__); var__ = NULL; Py_XDECREF(var_cls_tokens); var_cls_tokens = NULL; Py_XDECREF(var_features); var_features = NULL; Py_XDECREF(var_rel_pos_bias); var_rel_pos_bias = NULL; Py_XDECREF(var_blk); var_blk = NULL; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__23_interpolate_pos_embed(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_model = python_pars[0]; PyObject *par_checkpoint_model = python_pars[1]; PyObject *var_pos_embed_checkpoint = NULL; PyObject *var_embedding_size = NULL; PyObject *var_num_patches = NULL; PyObject *var_num_extra_tokens = NULL; PyObject *var_orig_size = NULL; PyObject *var_new_size = NULL; PyObject *var_extra_tokens = NULL; PyObject *var_pos_tokens = NULL; PyObject *var_new_pos_embed = NULL; struct Nuitka_FrameObject *frame_f1a5127b96c07704e8fb5584f8d146f7; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; int tmp_res; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_f1a5127b96c07704e8fb5584f8d146f7 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_f1a5127b96c07704e8fb5584f8d146f7)) { Py_XDECREF(cache_frame_f1a5127b96c07704e8fb5584f8d146f7); #if _DEBUG_REFCOUNTS if (cache_frame_f1a5127b96c07704e8fb5584f8d146f7 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_f1a5127b96c07704e8fb5584f8d146f7 = MAKE_FUNCTION_FRAME(codeobj_f1a5127b96c07704e8fb5584f8d146f7, module_models$eva_vit, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_f1a5127b96c07704e8fb5584f8d146f7->m_type_description == NULL); frame_f1a5127b96c07704e8fb5584f8d146f7 = cache_frame_f1a5127b96c07704e8fb5584f8d146f7; // Push the new frame as the currently active one. pushFrameStack(frame_f1a5127b96c07704e8fb5584f8d146f7); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_f1a5127b96c07704e8fb5584f8d146f7) == 2); // Frame stack // Framed code: { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_compexpr_left_1 = mod_consts[139]; CHECK_OBJECT(par_checkpoint_model); tmp_compexpr_right_1 = par_checkpoint_model; tmp_res = PySequence_Contains(tmp_compexpr_right_1, tmp_compexpr_left_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 376; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = (tmp_res == 1) ? true : false; if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; PyObject *tmp_expression_name_1; PyObject *tmp_subscript_name_1; CHECK_OBJECT(par_checkpoint_model); tmp_expression_name_1 = par_checkpoint_model; tmp_subscript_name_1 = mod_consts[139]; tmp_called_instance_1 = LOOKUP_SUBSCRIPT(tmp_expression_name_1, tmp_subscript_name_1); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 377; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } frame_f1a5127b96c07704e8fb5584f8d146f7->m_frame.f_lineno = 377; tmp_assign_source_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[182]); Py_DECREF(tmp_called_instance_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 377; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } assert(var_pos_embed_checkpoint == NULL); var_pos_embed_checkpoint = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_expression_name_2; PyObject *tmp_expression_name_3; PyObject *tmp_subscript_name_2; CHECK_OBJECT(var_pos_embed_checkpoint); tmp_expression_name_3 = var_pos_embed_checkpoint; tmp_expression_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[70]); if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 378; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_2 = mod_consts[82]; tmp_assign_source_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_2, tmp_subscript_name_2, -1); Py_DECREF(tmp_expression_name_2); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 378; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } assert(var_embedding_size == NULL); var_embedding_size = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_expression_name_4; PyObject *tmp_expression_name_5; CHECK_OBJECT(par_model); tmp_expression_name_5 = par_model; tmp_expression_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[137]); if (tmp_expression_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 379; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[120]); Py_DECREF(tmp_expression_name_4); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 379; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } assert(var_num_patches == NULL); var_num_patches = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_left_name_1; PyObject *tmp_expression_name_6; PyObject *tmp_expression_name_7; PyObject *tmp_expression_name_8; PyObject *tmp_subscript_name_3; PyObject *tmp_right_name_1; if (par_model == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[183]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 380; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_8 = par_model; tmp_expression_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[139]); if (tmp_expression_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 380; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[70]); Py_DECREF(tmp_expression_name_7); if (tmp_expression_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 380; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_3 = mod_consts[184]; tmp_left_name_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_6, tmp_subscript_name_3, -2); Py_DECREF(tmp_expression_name_6); if (tmp_left_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 380; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_num_patches); tmp_right_name_1 = var_num_patches; tmp_assign_source_4 = BINARY_OPERATION_SUB_OBJECT_OBJECT_OBJECT(tmp_left_name_1, tmp_right_name_1); Py_DECREF(tmp_left_name_1); if (tmp_assign_source_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 380; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } assert(var_num_extra_tokens == NULL); var_num_extra_tokens = tmp_assign_source_4; } { PyObject *tmp_assign_source_5; PyObject *tmp_int_arg_1; PyObject *tmp_left_name_2; PyObject *tmp_left_name_3; PyObject *tmp_expression_name_9; PyObject *tmp_expression_name_10; PyObject *tmp_subscript_name_4; PyObject *tmp_right_name_2; PyObject *tmp_right_name_3; if (var_pos_embed_checkpoint == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[185]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 382; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_10 = var_pos_embed_checkpoint; tmp_expression_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[70]); if (tmp_expression_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 382; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_4 = mod_consts[184]; tmp_left_name_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_9, tmp_subscript_name_4, -2); Py_DECREF(tmp_expression_name_9); if (tmp_left_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 382; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_num_extra_tokens); tmp_right_name_2 = var_num_extra_tokens; tmp_left_name_2 = BINARY_OPERATION_SUB_OBJECT_OBJECT_OBJECT(tmp_left_name_3, tmp_right_name_2); Py_DECREF(tmp_left_name_3); if (tmp_left_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 382; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_right_name_3 = mod_consts[186]; tmp_int_arg_1 = BINARY_OPERATION_POW_OBJECT_OBJECT_FLOAT(tmp_left_name_2, tmp_right_name_3); Py_DECREF(tmp_left_name_2); if (tmp_int_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 382; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_5 = PyNumber_Int(tmp_int_arg_1); Py_DECREF(tmp_int_arg_1); if (tmp_assign_source_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 382; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } assert(var_orig_size == NULL); var_orig_size = tmp_assign_source_5; } { PyObject *tmp_assign_source_6; PyObject *tmp_int_arg_2; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; if (var_num_patches == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[120]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 384; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_left_name_4 = var_num_patches; tmp_right_name_4 = mod_consts[186]; tmp_int_arg_2 = BINARY_OPERATION_POW_OBJECT_OBJECT_FLOAT(tmp_left_name_4, tmp_right_name_4); if (tmp_int_arg_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 384; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_6 = PyNumber_Int(tmp_int_arg_2); Py_DECREF(tmp_int_arg_2); if (tmp_assign_source_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 384; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } assert(var_new_size == NULL); var_new_size = tmp_assign_source_6; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT(var_orig_size); tmp_compexpr_left_2 = var_orig_size; CHECK_OBJECT(var_new_size); tmp_compexpr_right_2 = var_new_size; tmp_condition_result_2 = RICH_COMPARE_NE_NBOOL_OBJECT_OBJECT(tmp_compexpr_left_2, tmp_compexpr_right_2); if (tmp_condition_result_2 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 386; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) { goto branch_yes_2; } else { goto branch_no_2; } assert(tmp_condition_result_2 != NUITKA_BOOL_UNASSIGNED); } branch_yes_2:; { PyObject *tmp_called_name_1; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_1; PyObject *tmp_left_name_5; PyObject *tmp_right_name_5; PyObject *tmp_tuple_element_1; tmp_called_name_1 = LOOKUP_BUILTIN(mod_consts[187]); assert(tmp_called_name_1 != NULL); tmp_left_name_5 = mod_consts[188]; CHECK_OBJECT(var_orig_size); tmp_tuple_element_1 = var_orig_size; tmp_right_name_5 = PyTuple_New(4); PyTuple_SET_ITEM0(tmp_right_name_5, 0, tmp_tuple_element_1); CHECK_OBJECT(var_orig_size); tmp_tuple_element_1 = var_orig_size; PyTuple_SET_ITEM0(tmp_right_name_5, 1, tmp_tuple_element_1); CHECK_OBJECT(var_new_size); tmp_tuple_element_1 = var_new_size; PyTuple_SET_ITEM0(tmp_right_name_5, 2, tmp_tuple_element_1); CHECK_OBJECT(var_new_size); tmp_tuple_element_1 = var_new_size; PyTuple_SET_ITEM0(tmp_right_name_5, 3, tmp_tuple_element_1); tmp_args_element_name_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_5, tmp_right_name_5); Py_DECREF(tmp_right_name_5); if (tmp_args_element_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 387; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } frame_f1a5127b96c07704e8fb5584f8d146f7->m_frame.f_lineno = 387; tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_1); Py_DECREF(tmp_args_element_name_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 387; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assign_source_7; PyObject *tmp_expression_name_11; PyObject *tmp_subscript_name_5; PyObject *tmp_tuple_element_2; if (var_pos_embed_checkpoint == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[185]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 388; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_11 = var_pos_embed_checkpoint; tmp_tuple_element_2 = mod_consts[189]; tmp_subscript_name_5 = PyTuple_New(2); { PyObject *tmp_stop_name_1; PyTuple_SET_ITEM0(tmp_subscript_name_5, 0, tmp_tuple_element_2); if (var_num_extra_tokens == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[190]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 388; type_description_1 = "ooooooooooo"; goto tuple_build_exception_1; } tmp_stop_name_1 = var_num_extra_tokens; tmp_tuple_element_2 = MAKE_SLICEOBJ1(tmp_stop_name_1); assert(!(tmp_tuple_element_2 == NULL)); PyTuple_SET_ITEM(tmp_subscript_name_5, 1, tmp_tuple_element_2); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_subscript_name_5); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_assign_source_7 = LOOKUP_SUBSCRIPT(tmp_expression_name_11, tmp_subscript_name_5); Py_DECREF(tmp_subscript_name_5); if (tmp_assign_source_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 388; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } assert(var_extra_tokens == NULL); var_extra_tokens = tmp_assign_source_7; } { PyObject *tmp_assign_source_8; PyObject *tmp_expression_name_12; PyObject *tmp_subscript_name_6; PyObject *tmp_tuple_element_3; if (var_pos_embed_checkpoint == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[185]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 390; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_12 = var_pos_embed_checkpoint; tmp_tuple_element_3 = mod_consts[189]; tmp_subscript_name_6 = PyTuple_New(2); { PyObject *tmp_start_name_1; PyObject *tmp_stop_name_2; PyTuple_SET_ITEM0(tmp_subscript_name_6, 0, tmp_tuple_element_3); if (var_num_extra_tokens == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[190]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 390; type_description_1 = "ooooooooooo"; goto tuple_build_exception_2; } tmp_start_name_1 = var_num_extra_tokens; tmp_stop_name_2 = Py_None; tmp_tuple_element_3 = MAKE_SLICEOBJ2(tmp_start_name_1, tmp_stop_name_2); assert(!(tmp_tuple_element_3 == NULL)); PyTuple_SET_ITEM(tmp_subscript_name_6, 1, tmp_tuple_element_3); } goto tuple_build_noexception_2; // Exception handling pass through code for tuple_build: tuple_build_exception_2:; Py_DECREF(tmp_subscript_name_6); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_2:; tmp_assign_source_8 = LOOKUP_SUBSCRIPT(tmp_expression_name_12, tmp_subscript_name_6); Py_DECREF(tmp_subscript_name_6); if (tmp_assign_source_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 390; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } assert(var_pos_tokens == NULL); var_pos_tokens = tmp_assign_source_8; } { PyObject *tmp_assign_source_9; PyObject *tmp_called_instance_2; PyObject *tmp_called_instance_3; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; CHECK_OBJECT(var_pos_tokens); tmp_called_instance_3 = var_pos_tokens; tmp_args_element_name_2 = mod_consts[82]; CHECK_OBJECT(var_orig_size); tmp_args_element_name_3 = var_orig_size; CHECK_OBJECT(var_orig_size); tmp_args_element_name_4 = var_orig_size; CHECK_OBJECT(var_embedding_size); tmp_args_element_name_5 = var_embedding_size; frame_f1a5127b96c07704e8fb5584f8d146f7->m_frame.f_lineno = 391; { PyObject *call_args[] = {tmp_args_element_name_2, tmp_args_element_name_3, tmp_args_element_name_4, tmp_args_element_name_5}; tmp_called_instance_2 = CALL_METHOD_WITH_ARGS4( tmp_called_instance_3, mod_consts[81], call_args ); } if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 391; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } frame_f1a5127b96c07704e8fb5584f8d146f7->m_frame.f_lineno = 391; tmp_assign_source_9 = CALL_METHOD_WITH_ARGS4( tmp_called_instance_2, mod_consts[51], &PyTuple_GET_ITEM(mod_consts[191], 0) ); Py_DECREF(tmp_called_instance_2); if (tmp_assign_source_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 391; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_pos_tokens; var_pos_tokens = tmp_assign_source_9; Py_XDECREF(old); } } { PyObject *tmp_assign_source_10; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_13; PyObject *tmp_expression_name_14; PyObject *tmp_expression_name_15; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_4; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_tuple_element_5; tmp_expression_name_15 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_15 == NULL)) { tmp_expression_name_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 392; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_14 = LOOKUP_ATTRIBUTE(tmp_expression_name_15, mod_consts[17]); if (tmp_expression_name_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 392; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_13 = LOOKUP_ATTRIBUTE(tmp_expression_name_14, mod_consts[192]); Py_DECREF(tmp_expression_name_14); if (tmp_expression_name_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 392; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_13, mod_consts[193]); Py_DECREF(tmp_expression_name_13); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 392; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_pos_tokens); tmp_tuple_element_4 = var_pos_tokens; tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_args_name_1, 0, tmp_tuple_element_4); tmp_dict_key_1 = mod_consts[56]; CHECK_OBJECT(var_new_size); tmp_tuple_element_5 = var_new_size; tmp_dict_value_1 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_dict_value_1, 0, tmp_tuple_element_5); CHECK_OBJECT(var_new_size); tmp_tuple_element_5 = var_new_size; PyTuple_SET_ITEM0(tmp_dict_value_1, 1, tmp_tuple_element_5); tmp_kwargs_name_1 = _PyDict_NewPresized( 3 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); Py_DECREF(tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[194]; tmp_dict_value_1 = mod_consts[195]; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[196]; tmp_dict_value_1 = Py_False; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); frame_f1a5127b96c07704e8fb5584f8d146f7->m_frame.f_lineno = 392; tmp_assign_source_10 = CALL_FUNCTION(tmp_called_name_2, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assign_source_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 392; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_pos_tokens; var_pos_tokens = tmp_assign_source_10; Py_XDECREF(old); } } { PyObject *tmp_assign_source_11; PyObject *tmp_called_instance_4; PyObject *tmp_called_instance_5; CHECK_OBJECT(var_pos_tokens); tmp_called_instance_5 = var_pos_tokens; frame_f1a5127b96c07704e8fb5584f8d146f7->m_frame.f_lineno = 394; tmp_called_instance_4 = CALL_METHOD_WITH_ARGS4( tmp_called_instance_5, mod_consts[51], &PyTuple_GET_ITEM(mod_consts[197], 0) ); if (tmp_called_instance_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 394; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } frame_f1a5127b96c07704e8fb5584f8d146f7->m_frame.f_lineno = 394; tmp_assign_source_11 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_4, mod_consts[48], &PyTuple_GET_ITEM(mod_consts[93], 0) ); Py_DECREF(tmp_called_instance_4); if (tmp_assign_source_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 394; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_pos_tokens; var_pos_tokens = tmp_assign_source_11; Py_XDECREF(old); } } { PyObject *tmp_assign_source_12; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_16; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_6; PyObject *tmp_tuple_element_7; PyObject *tmp_kwargs_name_2; tmp_expression_name_16 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_16 == NULL)) { tmp_expression_name_16 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 395; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_16, mod_consts[72]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 395; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_extra_tokens); tmp_tuple_element_7 = var_extra_tokens; tmp_tuple_element_6 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_tuple_element_6, 0, tmp_tuple_element_7); CHECK_OBJECT(var_pos_tokens); tmp_tuple_element_7 = var_pos_tokens; PyTuple_SET_ITEM0(tmp_tuple_element_6, 1, tmp_tuple_element_7); tmp_args_name_2 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_2, 0, tmp_tuple_element_6); tmp_kwargs_name_2 = PyDict_Copy(mod_consts[177]); frame_f1a5127b96c07704e8fb5584f8d146f7->m_frame.f_lineno = 395; tmp_assign_source_12 = CALL_FUNCTION(tmp_called_name_3, tmp_args_name_2, tmp_kwargs_name_2); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_name_2); Py_DECREF(tmp_kwargs_name_2); if (tmp_assign_source_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 395; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } assert(var_new_pos_embed == NULL); var_new_pos_embed = tmp_assign_source_12; } { PyObject *tmp_ass_subvalue_1; PyObject *tmp_ass_subscribed_1; PyObject *tmp_ass_subscript_1; CHECK_OBJECT(var_new_pos_embed); tmp_ass_subvalue_1 = var_new_pos_embed; CHECK_OBJECT(par_checkpoint_model); tmp_ass_subscribed_1 = par_checkpoint_model; tmp_ass_subscript_1 = mod_consts[139]; tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 396; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } branch_no_2:; branch_no_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_f1a5127b96c07704e8fb5584f8d146f7); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_f1a5127b96c07704e8fb5584f8d146f7); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_f1a5127b96c07704e8fb5584f8d146f7, exception_lineno); } else if (exception_tb->tb_frame != &frame_f1a5127b96c07704e8fb5584f8d146f7->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_f1a5127b96c07704e8fb5584f8d146f7, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_f1a5127b96c07704e8fb5584f8d146f7, type_description_1, par_model, par_checkpoint_model, var_pos_embed_checkpoint, var_embedding_size, var_num_patches, var_num_extra_tokens, var_orig_size, var_new_size, var_extra_tokens, var_pos_tokens, var_new_pos_embed ); // Release cached frame if used for exception. if (frame_f1a5127b96c07704e8fb5584f8d146f7 == cache_frame_f1a5127b96c07704e8fb5584f8d146f7) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_f1a5127b96c07704e8fb5584f8d146f7); cache_frame_f1a5127b96c07704e8fb5584f8d146f7 = NULL; } assertFrameObject(frame_f1a5127b96c07704e8fb5584f8d146f7); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_model); par_model = NULL; Py_XDECREF(par_checkpoint_model); par_checkpoint_model = NULL; Py_XDECREF(var_pos_embed_checkpoint); var_pos_embed_checkpoint = NULL; Py_XDECREF(var_embedding_size); var_embedding_size = NULL; Py_XDECREF(var_num_patches); var_num_patches = NULL; Py_XDECREF(var_num_extra_tokens); var_num_extra_tokens = NULL; Py_XDECREF(var_orig_size); var_orig_size = NULL; Py_XDECREF(var_new_size); var_new_size = NULL; Py_XDECREF(var_extra_tokens); var_extra_tokens = NULL; Py_XDECREF(var_pos_tokens); var_pos_tokens = NULL; Py_XDECREF(var_new_pos_embed); var_new_pos_embed = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_model); par_model = NULL; Py_XDECREF(par_checkpoint_model); par_checkpoint_model = NULL; Py_XDECREF(var_pos_embed_checkpoint); var_pos_embed_checkpoint = NULL; Py_XDECREF(var_embedding_size); var_embedding_size = NULL; Py_XDECREF(var_num_patches); var_num_patches = NULL; Py_XDECREF(var_num_extra_tokens); var_num_extra_tokens = NULL; Py_XDECREF(var_orig_size); var_orig_size = NULL; Py_XDECREF(var_new_size); var_new_size = NULL; Py_XDECREF(var_extra_tokens); var_extra_tokens = NULL; Py_XDECREF(var_pos_tokens); var_pos_tokens = NULL; Py_XDECREF(var_new_pos_embed); var_new_pos_embed = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__24_convert_weights_to_fp16(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_model = python_pars[0]; PyObject *var__convert_weights_to_fp16 = NULL; struct Nuitka_FrameObject *frame_cdc1bdc0d0f99246b06c37d69566725f; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_cdc1bdc0d0f99246b06c37d69566725f = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = MAKE_FUNCTION_models$eva_vit$$$function__24_convert_weights_to_fp16$$$function__1__convert_weights_to_fp16(); assert(var__convert_weights_to_fp16 == NULL); var__convert_weights_to_fp16 = tmp_assign_source_1; } // Tried code: if (isFrameUnusable(cache_frame_cdc1bdc0d0f99246b06c37d69566725f)) { Py_XDECREF(cache_frame_cdc1bdc0d0f99246b06c37d69566725f); #if _DEBUG_REFCOUNTS if (cache_frame_cdc1bdc0d0f99246b06c37d69566725f == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_cdc1bdc0d0f99246b06c37d69566725f = MAKE_FUNCTION_FRAME(codeobj_cdc1bdc0d0f99246b06c37d69566725f, module_models$eva_vit, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_cdc1bdc0d0f99246b06c37d69566725f->m_type_description == NULL); frame_cdc1bdc0d0f99246b06c37d69566725f = cache_frame_cdc1bdc0d0f99246b06c37d69566725f; // Push the new frame as the currently active one. pushFrameStack(frame_cdc1bdc0d0f99246b06c37d69566725f); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_cdc1bdc0d0f99246b06c37d69566725f) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT(par_model); tmp_called_instance_1 = par_model; CHECK_OBJECT(var__convert_weights_to_fp16); tmp_args_element_name_1 = var__convert_weights_to_fp16; frame_cdc1bdc0d0f99246b06c37d69566725f->m_frame.f_lineno = 414; tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[158], tmp_args_element_name_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 414; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } #if 0 RESTORE_FRAME_EXCEPTION(frame_cdc1bdc0d0f99246b06c37d69566725f); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_cdc1bdc0d0f99246b06c37d69566725f); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_cdc1bdc0d0f99246b06c37d69566725f, exception_lineno); } else if (exception_tb->tb_frame != &frame_cdc1bdc0d0f99246b06c37d69566725f->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_cdc1bdc0d0f99246b06c37d69566725f, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_cdc1bdc0d0f99246b06c37d69566725f, type_description_1, par_model, var__convert_weights_to_fp16 ); // Release cached frame if used for exception. if (frame_cdc1bdc0d0f99246b06c37d69566725f == cache_frame_cdc1bdc0d0f99246b06c37d69566725f) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_cdc1bdc0d0f99246b06c37d69566725f); cache_frame_cdc1bdc0d0f99246b06c37d69566725f = NULL; } assertFrameObject(frame_cdc1bdc0d0f99246b06c37d69566725f); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_model); par_model = NULL; Py_XDECREF(var__convert_weights_to_fp16); var__convert_weights_to_fp16 = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_model); par_model = NULL; Py_XDECREF(var__convert_weights_to_fp16); var__convert_weights_to_fp16 = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__24_convert_weights_to_fp16$$$function__1__convert_weights_to_fp16(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_l = python_pars[0]; struct Nuitka_FrameObject *frame_798eb7b5936251f17f02ea63a4c80711; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_798eb7b5936251f17f02ea63a4c80711 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_798eb7b5936251f17f02ea63a4c80711)) { Py_XDECREF(cache_frame_798eb7b5936251f17f02ea63a4c80711); #if _DEBUG_REFCOUNTS if (cache_frame_798eb7b5936251f17f02ea63a4c80711 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_798eb7b5936251f17f02ea63a4c80711 = MAKE_FUNCTION_FRAME(codeobj_798eb7b5936251f17f02ea63a4c80711, module_models$eva_vit, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_798eb7b5936251f17f02ea63a4c80711->m_type_description == NULL); frame_798eb7b5936251f17f02ea63a4c80711 = cache_frame_798eb7b5936251f17f02ea63a4c80711; // Push the new frame as the currently active one. pushFrameStack(frame_798eb7b5936251f17f02ea63a4c80711); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_798eb7b5936251f17f02ea63a4c80711) == 2); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_tuple_element_1; PyObject *tmp_expression_name_1; CHECK_OBJECT(par_l); tmp_isinstance_inst_1 = par_l; tmp_expression_name_1 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_1 == NULL)) { tmp_expression_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 403; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[201]); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 403; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_isinstance_cls_1 = PyTuple_New(3); { PyObject *tmp_expression_name_2; PyObject *tmp_expression_name_3; PyTuple_SET_ITEM(tmp_isinstance_cls_1, 0, tmp_tuple_element_1); tmp_expression_name_2 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_2 == NULL)) { tmp_expression_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 403; type_description_1 = "o"; goto tuple_build_exception_1; } tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[121]); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 403; type_description_1 = "o"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_isinstance_cls_1, 1, tmp_tuple_element_1); tmp_expression_name_3 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_3 == NULL)) { tmp_expression_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 403; type_description_1 = "o"; goto tuple_build_exception_1; } tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[18]); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 403; type_description_1 = "o"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_isinstance_cls_1, 2, tmp_tuple_element_1); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_isinstance_cls_1); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_res = Nuitka_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1); Py_DECREF(tmp_isinstance_cls_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 403; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_condition_result_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assattr_name_1; PyObject *tmp_called_instance_1; PyObject *tmp_expression_name_4; PyObject *tmp_expression_name_5; PyObject *tmp_assattr_target_1; PyObject *tmp_expression_name_6; CHECK_OBJECT(par_l); tmp_expression_name_5 = par_l; tmp_expression_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[79]); if (tmp_expression_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 404; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[163]); Py_DECREF(tmp_expression_name_4); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 404; type_description_1 = "o"; goto frame_exception_exit_1; } frame_798eb7b5936251f17f02ea63a4c80711->m_frame.f_lineno = 404; tmp_assattr_name_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[202]); Py_DECREF(tmp_called_instance_1); if (tmp_assattr_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 404; type_description_1 = "o"; goto frame_exception_exit_1; } if (par_l == NULL) { Py_DECREF(tmp_assattr_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[203]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 404; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_expression_name_6 = par_l; tmp_assattr_target_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[79]); if (tmp_assattr_target_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_assattr_name_1); exception_lineno = 404; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[163], tmp_assattr_name_1); Py_DECREF(tmp_assattr_name_1); Py_DECREF(tmp_assattr_target_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 404; type_description_1 = "o"; goto frame_exception_exit_1; } } { bool tmp_condition_result_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_name_7; if (par_l == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[203]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 405; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_expression_name_7 = par_l; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[80]); if (tmp_compexpr_left_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 405; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = Py_None; tmp_condition_result_2 = (tmp_compexpr_left_1 != tmp_compexpr_right_1) ? true : false; Py_DECREF(tmp_compexpr_left_1); if (tmp_condition_result_2 != false) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { PyObject *tmp_assattr_name_2; PyObject *tmp_called_instance_2; PyObject *tmp_expression_name_8; PyObject *tmp_expression_name_9; PyObject *tmp_assattr_target_2; PyObject *tmp_expression_name_10; if (par_l == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[203]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 406; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_expression_name_9 = par_l; tmp_expression_name_8 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[80]); if (tmp_expression_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 406; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[163]); Py_DECREF(tmp_expression_name_8); if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 406; type_description_1 = "o"; goto frame_exception_exit_1; } frame_798eb7b5936251f17f02ea63a4c80711->m_frame.f_lineno = 406; tmp_assattr_name_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[202]); Py_DECREF(tmp_called_instance_2); if (tmp_assattr_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 406; type_description_1 = "o"; goto frame_exception_exit_1; } if (par_l == NULL) { Py_DECREF(tmp_assattr_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[203]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 406; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_expression_name_10 = par_l; tmp_assattr_target_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[80]); if (tmp_assattr_target_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_assattr_name_2); exception_lineno = 406; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[163], tmp_assattr_name_2); Py_DECREF(tmp_assattr_name_2); Py_DECREF(tmp_assattr_target_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 406; type_description_1 = "o"; goto frame_exception_exit_1; } } branch_no_2:; branch_no_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_798eb7b5936251f17f02ea63a4c80711); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_798eb7b5936251f17f02ea63a4c80711); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_798eb7b5936251f17f02ea63a4c80711, exception_lineno); } else if (exception_tb->tb_frame != &frame_798eb7b5936251f17f02ea63a4c80711->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_798eb7b5936251f17f02ea63a4c80711, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_798eb7b5936251f17f02ea63a4c80711, type_description_1, par_l ); // Release cached frame if used for exception. if (frame_798eb7b5936251f17f02ea63a4c80711 == cache_frame_798eb7b5936251f17f02ea63a4c80711) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_798eb7b5936251f17f02ea63a4c80711); cache_frame_798eb7b5936251f17f02ea63a4c80711 = NULL; } assertFrameObject(frame_798eb7b5936251f17f02ea63a4c80711); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_l); par_l = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_l); par_l = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$eva_vit$$$function__25_create_eva_vit_g(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_img_size = python_pars[0]; PyObject *par_drop_path_rate = python_pars[1]; PyObject *par_use_checkpoint = python_pars[2]; PyObject *par_precision = python_pars[3]; PyObject *var_model = NULL; PyObject *var_url = NULL; PyObject *var_cached_file = NULL; PyObject *var_state_dict = NULL; PyObject *var_incompatible_keys = NULL; struct Nuitka_FrameObject *frame_dfea8ca4ca30978daca1027e66969d32; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_dfea8ca4ca30978daca1027e66969d32 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_dfea8ca4ca30978daca1027e66969d32)) { Py_XDECREF(cache_frame_dfea8ca4ca30978daca1027e66969d32); #if _DEBUG_REFCOUNTS if (cache_frame_dfea8ca4ca30978daca1027e66969d32 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_dfea8ca4ca30978daca1027e66969d32 = MAKE_FUNCTION_FRAME(codeobj_dfea8ca4ca30978daca1027e66969d32, module_models$eva_vit, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_dfea8ca4ca30978daca1027e66969d32->m_type_description == NULL); frame_dfea8ca4ca30978daca1027e66969d32 = cache_frame_dfea8ca4ca30978daca1027e66969d32; // Push the new frame as the currently active one. pushFrameStack(frame_dfea8ca4ca30978daca1027e66969d32); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_dfea8ca4ca30978daca1027e66969d32) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; tmp_called_name_1 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[204]); if (unlikely(tmp_called_name_1 == NULL)) { tmp_called_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[204]); } if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 418; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_dict_key_1 = mod_consts[118]; CHECK_OBJECT(par_img_size); tmp_dict_value_1 = par_img_size; tmp_kwargs_name_1 = _PyDict_NewPresized( 11 ); { PyObject *tmp_called_name_2; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_expression_name_1; PyObject *tmp_kwargs_name_2; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[119]; tmp_dict_value_1 = mod_consts[205]; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[206]; tmp_dict_value_1 = Py_False; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[134]; tmp_dict_value_1 = mod_consts[207]; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[148]; tmp_dict_value_1 = mod_consts[208]; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[25]; tmp_dict_value_1 = mod_consts[209]; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[150]; tmp_dict_value_1 = mod_consts[210]; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[98]; tmp_dict_value_1 = Py_True; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[211]; CHECK_OBJECT(par_drop_path_rate); tmp_dict_value_1 = par_drop_path_rate; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[154]; tmp_called_name_2 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[212]); if (unlikely(tmp_called_name_2 == NULL)) { tmp_called_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[212]); } if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 428; type_description_1 = "ooooooooo"; goto dict_build_exception_1; } tmp_expression_name_1 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_1 == NULL)) { tmp_expression_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 428; type_description_1 = "ooooooooo"; goto dict_build_exception_1; } tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[173]); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 428; type_description_1 = "ooooooooo"; goto dict_build_exception_1; } tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_1, 0, tmp_tuple_element_1); tmp_kwargs_name_2 = PyDict_Copy(mod_consts[213]); frame_dfea8ca4ca30978daca1027e66969d32->m_frame.f_lineno = 428; tmp_dict_value_1 = CALL_FUNCTION(tmp_called_name_2, tmp_args_name_1, tmp_kwargs_name_2); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_2); if (tmp_dict_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 428; type_description_1 = "ooooooooo"; goto dict_build_exception_1; } tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); Py_DECREF(tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[143]; CHECK_OBJECT(par_use_checkpoint); tmp_dict_value_1 = par_use_checkpoint; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); } goto dict_build_noexception_1; // Exception handling pass through code for dict_build: dict_build_exception_1:; Py_DECREF(tmp_kwargs_name_1); goto frame_exception_exit_1; // Finished with no exception for dict_build: dict_build_noexception_1:; frame_dfea8ca4ca30978daca1027e66969d32->m_frame.f_lineno = 418; tmp_assign_source_1 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 418; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } assert(var_model == NULL); var_model = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = mod_consts[214]; assert(var_url == NULL); Py_INCREF(tmp_assign_source_2); var_url = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_called_name_3; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_2; PyObject *tmp_kwargs_name_3; tmp_called_name_3 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[215]); if (unlikely(tmp_called_name_3 == NULL)) { tmp_called_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[215]); } if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 432; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_url); tmp_tuple_element_2 = var_url; tmp_args_name_2 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_args_name_2, 0, tmp_tuple_element_2); tmp_kwargs_name_3 = PyDict_Copy(mod_consts[216]); frame_dfea8ca4ca30978daca1027e66969d32->m_frame.f_lineno = 432; tmp_assign_source_3 = CALL_FUNCTION(tmp_called_name_3, tmp_args_name_2, tmp_kwargs_name_3); Py_DECREF(tmp_args_name_2); Py_DECREF(tmp_kwargs_name_3); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 432; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } assert(var_cached_file == NULL); var_cached_file = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_called_name_4; PyObject *tmp_expression_name_2; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_3; PyObject *tmp_kwargs_name_4; tmp_expression_name_2 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_expression_name_2 == NULL)) { tmp_expression_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 435; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[217]); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 435; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_cached_file); tmp_tuple_element_3 = var_cached_file; tmp_args_name_3 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_args_name_3, 0, tmp_tuple_element_3); tmp_kwargs_name_4 = PyDict_Copy(mod_consts[218]); frame_dfea8ca4ca30978daca1027e66969d32->m_frame.f_lineno = 435; tmp_assign_source_4 = CALL_FUNCTION(tmp_called_name_4, tmp_args_name_3, tmp_kwargs_name_4); Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_name_3); Py_DECREF(tmp_kwargs_name_4); if (tmp_assign_source_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 435; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } assert(var_state_dict == NULL); var_state_dict = tmp_assign_source_4; } { PyObject *tmp_called_name_5; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; tmp_called_name_5 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[219]); if (unlikely(tmp_called_name_5 == NULL)) { tmp_called_name_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[219]); } if (tmp_called_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 436; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_model); tmp_args_element_name_1 = var_model; CHECK_OBJECT(var_state_dict); tmp_args_element_name_2 = var_state_dict; frame_dfea8ca4ca30978daca1027e66969d32->m_frame.f_lineno = 436; { PyObject *call_args[] = {tmp_args_element_name_1, tmp_args_element_name_2}; tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_5, call_args); } if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 436; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assign_source_5; PyObject *tmp_called_name_6; PyObject *tmp_expression_name_3; PyObject *tmp_args_name_4; PyObject *tmp_tuple_element_4; PyObject *tmp_kwargs_name_5; CHECK_OBJECT(var_model); tmp_expression_name_3 = var_model; tmp_called_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[220]); if (tmp_called_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 438; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_state_dict); tmp_tuple_element_4 = var_state_dict; tmp_args_name_4 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_args_name_4, 0, tmp_tuple_element_4); tmp_kwargs_name_5 = PyDict_Copy(mod_consts[221]); frame_dfea8ca4ca30978daca1027e66969d32->m_frame.f_lineno = 438; tmp_assign_source_5 = CALL_FUNCTION(tmp_called_name_6, tmp_args_name_4, tmp_kwargs_name_5); Py_DECREF(tmp_called_name_6); Py_DECREF(tmp_args_name_4); Py_DECREF(tmp_kwargs_name_5); if (tmp_assign_source_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 438; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } assert(var_incompatible_keys == NULL); var_incompatible_keys = tmp_assign_source_5; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_tmp_condition_result_1_object_1; int tmp_truth_name_1; CHECK_OBJECT(par_precision); tmp_compexpr_left_1 = par_precision; tmp_compexpr_right_1 = mod_consts[222]; tmp_tmp_condition_result_1_object_1 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_1, tmp_compexpr_right_1); if (tmp_tmp_condition_result_1_object_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 445; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE(tmp_tmp_condition_result_1_object_1); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_tmp_condition_result_1_object_1); exception_lineno = 445; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; Py_DECREF(tmp_tmp_condition_result_1_object_1); if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_called_name_7; PyObject *tmp_call_result_2; PyObject *tmp_args_element_name_3; tmp_called_name_7 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[223]); if (unlikely(tmp_called_name_7 == NULL)) { tmp_called_name_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[223]); } if (tmp_called_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 447; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } if (var_model == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[183]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 447; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = var_model; frame_dfea8ca4ca30978daca1027e66969d32->m_frame.f_lineno = 447; tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_7, tmp_args_element_name_3); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 447; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_2); } branch_no_1:; if (var_model == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[183]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 448; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_model; Py_INCREF(tmp_return_value); goto frame_return_exit_1; #if 0 RESTORE_FRAME_EXCEPTION(frame_dfea8ca4ca30978daca1027e66969d32); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_dfea8ca4ca30978daca1027e66969d32); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_dfea8ca4ca30978daca1027e66969d32); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_dfea8ca4ca30978daca1027e66969d32, exception_lineno); } else if (exception_tb->tb_frame != &frame_dfea8ca4ca30978daca1027e66969d32->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_dfea8ca4ca30978daca1027e66969d32, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_dfea8ca4ca30978daca1027e66969d32, type_description_1, par_img_size, par_drop_path_rate, par_use_checkpoint, par_precision, var_model, var_url, var_cached_file, var_state_dict, var_incompatible_keys ); // Release cached frame if used for exception. if (frame_dfea8ca4ca30978daca1027e66969d32 == cache_frame_dfea8ca4ca30978daca1027e66969d32) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_dfea8ca4ca30978daca1027e66969d32); cache_frame_dfea8ca4ca30978daca1027e66969d32 = NULL; } assertFrameObject(frame_dfea8ca4ca30978daca1027e66969d32); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_img_size); Py_DECREF(par_img_size); par_img_size = NULL; CHECK_OBJECT(par_drop_path_rate); Py_DECREF(par_drop_path_rate); par_drop_path_rate = NULL; CHECK_OBJECT(par_use_checkpoint); Py_DECREF(par_use_checkpoint); par_use_checkpoint = NULL; CHECK_OBJECT(par_precision); Py_DECREF(par_precision); par_precision = NULL; Py_XDECREF(var_model); var_model = NULL; CHECK_OBJECT(var_url); Py_DECREF(var_url); var_url = NULL; Py_XDECREF(var_cached_file); var_cached_file = NULL; Py_XDECREF(var_state_dict); var_state_dict = NULL; CHECK_OBJECT(var_incompatible_keys); Py_DECREF(var_incompatible_keys); var_incompatible_keys = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_img_size); Py_DECREF(par_img_size); par_img_size = NULL; CHECK_OBJECT(par_drop_path_rate); Py_DECREF(par_drop_path_rate); par_drop_path_rate = NULL; CHECK_OBJECT(par_use_checkpoint); Py_DECREF(par_use_checkpoint); par_use_checkpoint = NULL; CHECK_OBJECT(par_precision); Py_DECREF(par_precision); par_precision = NULL; Py_XDECREF(var_model); var_model = NULL; Py_XDECREF(var_url); var_url = NULL; Py_XDECREF(var_cached_file); var_cached_file = NULL; Py_XDECREF(var_state_dict); var_state_dict = NULL; Py_XDECREF(var_incompatible_keys); var_incompatible_keys = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__10_forward(PyObject *defaults) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__10_forward, mod_consts[262], #if PYTHON_VERSION >= 0x300 mod_consts[277], #endif codeobj_d5219c5b01b2e872456147b340beeec5, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__11___init__(PyObject *defaults, struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__11___init__, mod_consts[9], #if PYTHON_VERSION >= 0x300 mod_consts[280], #endif codeobj_b2d24eeaac09f42ae30d5aa04029c58d, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, closure, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__12_forward() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__12_forward, mod_consts[262], #if PYTHON_VERSION >= 0x300 mod_consts[281], #endif codeobj_446336bff265ef3598d46cbfaec00955, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__13___init__(struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__13___init__, mod_consts[9], #if PYTHON_VERSION >= 0x300 mod_consts[282], #endif codeobj_90888ee108de7d41b39f1ce4c7fc2733, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, closure, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__14_forward() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__14_forward, mod_consts[262], #if PYTHON_VERSION >= 0x300 mod_consts[283], #endif codeobj_3611403861dabc1175f5dc9fc6560deb, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__15___init__(PyObject *defaults, struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__15___init__, mod_consts[9], #if PYTHON_VERSION >= 0x300 mod_consts[290], #endif codeobj_98263e472fd41a406a6243a5fb0fe540, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, closure, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__16_fix_init_weight() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__16_fix_init_weight, mod_consts[160], #if PYTHON_VERSION >= 0x300 mod_consts[291], #endif codeobj_608fe3c25a20e7407073e8ada1e4a0a2, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__16_fix_init_weight$$$function__1_rescale() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__16_fix_init_weight$$$function__1_rescale, mod_consts[161], #if PYTHON_VERSION >= 0x300 mod_consts[162], #endif codeobj_b5558490320606969b02cc72fbce71c2, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__17__init_weights() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__17__init_weights, mod_consts[159], #if PYTHON_VERSION >= 0x300 mod_consts[292], #endif codeobj_d3ae6dfcfdfb59872f24376c5abceab9, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__18_get_classifier() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__18_get_classifier, mod_consts[293], #if PYTHON_VERSION >= 0x300 mod_consts[294], #endif codeobj_4767d123c180f4ce20b41f46dcfe0fa7, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__19_reset_classifier(PyObject *defaults) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__19_reset_classifier, mod_consts[295], #if PYTHON_VERSION >= 0x300 mod_consts[296], #endif codeobj_f2a65ca76842944dd804c12b66e87a5d, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__1__cfg(PyObject *defaults) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__1__cfg, mod_consts[249], #if PYTHON_VERSION >= 0x300 NULL, #endif codeobj_1a25f4e6272cd37b0391185d6e15332d, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__20_forward_features() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__20_forward_features, mod_consts[179], #if PYTHON_VERSION >= 0x300 mod_consts[297], #endif codeobj_2192bdbd8e91262dd573c14e59b5b144, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__21_forward() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__21_forward, mod_consts[262], #if PYTHON_VERSION >= 0x300 mod_consts[298], #endif codeobj_490b645cee54b66ea24504c582d15e25, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__22_get_intermediate_layers() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__22_get_intermediate_layers, mod_consts[299], #if PYTHON_VERSION >= 0x300 mod_consts[300], #endif codeobj_ae30f9a36795259179b59fe1c61f577b, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__23_interpolate_pos_embed() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__23_interpolate_pos_embed, mod_consts[219], #if PYTHON_VERSION >= 0x300 NULL, #endif codeobj_f1a5127b96c07704e8fb5584f8d146f7, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__24_convert_weights_to_fp16(PyObject *annotations) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__24_convert_weights_to_fp16, mod_consts[223], #if PYTHON_VERSION >= 0x300 NULL, #endif codeobj_cdc1bdc0d0f99246b06c37d69566725f, NULL, #if PYTHON_VERSION >= 0x300 NULL, annotations, #endif module_models$eva_vit, mod_consts[200], NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__24_convert_weights_to_fp16$$$function__1__convert_weights_to_fp16() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__24_convert_weights_to_fp16$$$function__1__convert_weights_to_fp16, mod_consts[198], #if PYTHON_VERSION >= 0x300 mod_consts[199], #endif codeobj_798eb7b5936251f17f02ea63a4c80711, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__25_create_eva_vit_g(PyObject *defaults) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__25_create_eva_vit_g, mod_consts[302], #if PYTHON_VERSION >= 0x300 NULL, #endif codeobj_dfea8ca4ca30978daca1027e66969d32, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__2___init__(PyObject *defaults) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__2___init__, mod_consts[9], #if PYTHON_VERSION >= 0x300 mod_consts[261], #endif codeobj_cbbf930efb7d03951d3f0d44d452b5c5, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__3_forward() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__3_forward, mod_consts[262], #if PYTHON_VERSION >= 0x300 mod_consts[263], #endif codeobj_606b69ee75e6213fc8a924a5ab3c203e, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__4_extra_repr(PyObject *annotations) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__4_extra_repr, mod_consts[266], #if PYTHON_VERSION >= 0x300 mod_consts[267], #endif codeobj_0382e55983fd56587f1869ac50f89780, NULL, #if PYTHON_VERSION >= 0x300 NULL, annotations, #endif module_models$eva_vit, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__5___init__(PyObject *defaults, struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__5___init__, mod_consts[9], #if PYTHON_VERSION >= 0x300 mod_consts[270], #endif codeobj_aca10258238f16e5d32cdec7d38f6aa1, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, closure, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__6_forward() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__6_forward, mod_consts[262], #if PYTHON_VERSION >= 0x300 mod_consts[271], #endif codeobj_a9e2d880945280c132cf97a150626697, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__7___init__(PyObject *defaults, struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__7___init__, mod_consts[9], #if PYTHON_VERSION >= 0x300 mod_consts[273], #endif codeobj_dee30e4e144137543edf2e9eb10bf246, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, closure, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__8_forward(PyObject *defaults) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__8_forward, mod_consts[262], #if PYTHON_VERSION >= 0x300 mod_consts[274], #endif codeobj_9fd144b2d64377624d1cbd90f98752ee, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$eva_vit$$$function__9___init__(PyObject *defaults, struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$eva_vit$$$function__9___init__, mod_consts[9], #if PYTHON_VERSION >= 0x300 mod_consts[276], #endif codeobj_d92c71c73bff0f22de3676bfa424f040, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$eva_vit, NULL, closure, 1 ); return (PyObject *)result; } extern void _initCompiledCellType(); extern void _initCompiledGeneratorType(); extern void _initCompiledFunctionType(); extern void _initCompiledMethodType(); extern void _initCompiledFrameType(); extern PyTypeObject Nuitka_Loader_Type; #ifdef _NUITKA_PLUGIN_DILL_ENABLED // Provide a way to create find a function via its C code and create it back // in another process, useful for multiprocessing extensions like dill extern void registerDillPluginTables(char const *module_name, PyMethodDef *reduce_compiled_function, PyMethodDef *create_compiled_function); function_impl_code functable_models$eva_vit[] = { impl_models$eva_vit$$$function__16_fix_init_weight$$$function__1_rescale, impl_models$eva_vit$$$function__24_convert_weights_to_fp16$$$function__1__convert_weights_to_fp16, impl_models$eva_vit$$$function__1__cfg, impl_models$eva_vit$$$function__2___init__, impl_models$eva_vit$$$function__3_forward, impl_models$eva_vit$$$function__4_extra_repr, impl_models$eva_vit$$$function__5___init__, impl_models$eva_vit$$$function__6_forward, impl_models$eva_vit$$$function__7___init__, impl_models$eva_vit$$$function__8_forward, impl_models$eva_vit$$$function__9___init__, impl_models$eva_vit$$$function__10_forward, impl_models$eva_vit$$$function__11___init__, impl_models$eva_vit$$$function__12_forward, impl_models$eva_vit$$$function__13___init__, impl_models$eva_vit$$$function__14_forward, impl_models$eva_vit$$$function__15___init__, impl_models$eva_vit$$$function__16_fix_init_weight, impl_models$eva_vit$$$function__17__init_weights, impl_models$eva_vit$$$function__18_get_classifier, impl_models$eva_vit$$$function__19_reset_classifier, impl_models$eva_vit$$$function__20_forward_features, impl_models$eva_vit$$$function__21_forward, impl_models$eva_vit$$$function__22_get_intermediate_layers, impl_models$eva_vit$$$function__23_interpolate_pos_embed, impl_models$eva_vit$$$function__24_convert_weights_to_fp16, impl_models$eva_vit$$$function__25_create_eva_vit_g, NULL }; static char const *_reduce_compiled_function_argnames[] = { "func", NULL }; static PyObject *_reduce_compiled_function(PyObject *self, PyObject *args, PyObject *kwds) { PyObject *func; if (!PyArg_ParseTupleAndKeywords(args, kwds, "O:reduce_compiled_function", (char **)_reduce_compiled_function_argnames, &func, NULL)) { return NULL; } if (Nuitka_Function_Check(func) == false) { SET_CURRENT_EXCEPTION_TYPE0_STR(PyExc_TypeError, "not a compiled function"); return NULL; } struct Nuitka_FunctionObject *function = (struct Nuitka_FunctionObject *)func; function_impl_code *current = functable_models$eva_vit; int offset = 0; while (*current != NULL) { if (*current == function->m_c_code) { break; } current += 1; offset += 1; } if (*current == NULL) { SET_CURRENT_EXCEPTION_TYPE0_STR(PyExc_TypeError, "Cannot find compiled function in module."); return NULL; } PyObject *code_object_desc = PyTuple_New(6); PyTuple_SET_ITEM0(code_object_desc, 0, function->m_code_object->co_filename); PyTuple_SET_ITEM0(code_object_desc, 1, function->m_code_object->co_name); PyTuple_SET_ITEM(code_object_desc, 2, PyLong_FromLong(function->m_code_object->co_firstlineno)); PyTuple_SET_ITEM0(code_object_desc, 3, function->m_code_object->co_varnames); PyTuple_SET_ITEM(code_object_desc, 4, PyLong_FromLong(function->m_code_object->co_argcount)); PyTuple_SET_ITEM(code_object_desc, 5, PyLong_FromLong(function->m_code_object->co_flags)); CHECK_OBJECT_DEEP(code_object_desc); PyObject *result = PyTuple_New(4); PyTuple_SET_ITEM(result, 0, PyLong_FromLong(offset)); PyTuple_SET_ITEM(result, 1, code_object_desc); PyTuple_SET_ITEM0(result, 2, function->m_defaults); PyTuple_SET_ITEM0(result, 3, function->m_doc != NULL ? function->m_doc : Py_None); CHECK_OBJECT_DEEP(result); return result; } static PyMethodDef _method_def_reduce_compiled_function = {"reduce_compiled_function", (PyCFunction)_reduce_compiled_function, METH_VARARGS | METH_KEYWORDS, NULL}; static char const *_create_compiled_function_argnames[] = { "func", "code_object_desc", "defaults", "doc", NULL }; static PyObject *_create_compiled_function(PyObject *self, PyObject *args, PyObject *kwds) { CHECK_OBJECT_DEEP(args); PyObject *func; PyObject *code_object_desc; PyObject *defaults; PyObject *doc; if (!PyArg_ParseTupleAndKeywords(args, kwds, "OOOO:create_compiled_function", (char **)_create_compiled_function_argnames, &func, &code_object_desc, &defaults, &doc, NULL)) { return NULL; } int offset = PyLong_AsLong(func); if (offset == -1 && ERROR_OCCURRED()) { return NULL; } if (offset > sizeof(functable_models$eva_vit) || offset < 0) { SET_CURRENT_EXCEPTION_TYPE0_STR(PyExc_TypeError, "Wrong offset for compiled function."); return NULL; } PyObject *filename = PyTuple_GET_ITEM(code_object_desc, 0); PyObject *function_name = PyTuple_GET_ITEM(code_object_desc, 1); PyObject *line = PyTuple_GET_ITEM(code_object_desc, 2); int line_int = PyLong_AsLong(line); assert(!ERROR_OCCURRED()); PyObject *argnames = PyTuple_GET_ITEM(code_object_desc, 3); PyObject *arg_count = PyTuple_GET_ITEM(code_object_desc, 4); int arg_count_int = PyLong_AsLong(arg_count); assert(!ERROR_OCCURRED()); PyObject *flags = PyTuple_GET_ITEM(code_object_desc, 5); int flags_int = PyLong_AsLong(flags); assert(!ERROR_OCCURRED()); PyCodeObject *code_object = MAKE_CODEOBJECT( filename, line_int, flags_int, function_name, argnames, NULL, // freevars arg_count_int, 0, // TODO: Missing kw_only_count 0 // TODO: Missing pos_only_count ); struct Nuitka_FunctionObject *result = Nuitka_Function_New( functable_models$eva_vit[offset], code_object->co_name, #if PYTHON_VERSION >= 0x300 NULL, // TODO: Not transferring qualname yet #endif code_object, defaults, #if PYTHON_VERSION >= 0x300 NULL, // kwdefaults are done on the outside currently NULL, // TODO: Not transferring annotations #endif module_models$eva_vit, doc, NULL, 0 ); return (PyObject *)result; } static PyMethodDef _method_def_create_compiled_function = { "create_compiled_function", (PyCFunction)_create_compiled_function, METH_VARARGS | METH_KEYWORDS, NULL }; #endif // Internal entry point for module code. PyObject *modulecode_models$eva_vit(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *module_entry) { module_models$eva_vit = module; #ifdef _NUITKA_MODULE // In case of a stand alone extension module, need to call initialization // the init here because that's the first and only time we are going to get // called here. // Initialize the constant values used. _initBuiltinModule(); createGlobalConstants(); /* Initialize the compiled types of Nuitka. */ _initCompiledCellType(); _initCompiledGeneratorType(); _initCompiledFunctionType(); _initCompiledMethodType(); _initCompiledFrameType(); #if PYTHON_VERSION < 0x300 _initSlotCompare(); #endif #if PYTHON_VERSION >= 0x270 _initSlotIternext(); #endif patchBuiltinModule(); patchTypeComparison(); // Enable meta path based loader if not already done. #ifdef _NUITKA_TRACE PRINT_STRING("models.eva_vit: Calling setupMetaPathBasedLoader().\n"); #endif setupMetaPathBasedLoader(); #if PYTHON_VERSION >= 0x300 patchInspectModule(); #endif #endif /* The constants only used by this module are created now. */ #ifdef _NUITKA_TRACE PRINT_STRING("models.eva_vit: Calling createModuleConstants().\n"); #endif createModuleConstants(); /* The code objects used by this module are created now. */ #ifdef _NUITKA_TRACE PRINT_STRING("models.eva_vit: Calling createModuleCodeObjects().\n"); #endif createModuleCodeObjects(); // PRINT_STRING("in initmodels$eva_vit\n"); // Create the module object first. There are no methods initially, all are // added dynamically in actual code only. Also no "__doc__" is initially // set at this time, as it could not contain NUL characters this way, they // are instead set in early module code. No "self" for modules, we have no // use for it. moduledict_models$eva_vit = MODULE_DICT(module_models$eva_vit); #ifdef _NUITKA_PLUGIN_DILL_ENABLED registerDillPluginTables(module_entry->name, &_method_def_reduce_compiled_function, &_method_def_create_compiled_function); #endif // Set "__compiled__" to what version information we have. UPDATE_STRING_DICT0( moduledict_models$eva_vit, (Nuitka_StringObject *)const_str_plain___compiled__, Nuitka_dunder_compiled_value ); // Update "__package__" value to what it ought to be. { #if 0 UPDATE_STRING_DICT0( moduledict_models$eva_vit, (Nuitka_StringObject *)const_str_plain___package__, const_str_empty ); #elif 0 PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)const_str_plain___name__); UPDATE_STRING_DICT0( moduledict_models$eva_vit, (Nuitka_StringObject *)const_str_plain___package__, module_name ); #else #if PYTHON_VERSION < 0x300 PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)const_str_plain___name__); char const *module_name_cstr = PyString_AS_STRING(module_name); char const *last_dot = strrchr(module_name_cstr, '.'); if (last_dot != NULL) { UPDATE_STRING_DICT1( moduledict_models$eva_vit, (Nuitka_StringObject *)const_str_plain___package__, PyString_FromStringAndSize(module_name_cstr, last_dot - module_name_cstr) ); } #else PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)const_str_plain___name__); Py_ssize_t dot_index = PyUnicode_Find(module_name, const_str_dot, 0, PyUnicode_GetLength(module_name), -1); if (dot_index != -1) { UPDATE_STRING_DICT1( moduledict_models$eva_vit, (Nuitka_StringObject *)const_str_plain___package__, PyUnicode_Substring(module_name, 0, dot_index) ); } #endif #endif } CHECK_OBJECT(module_models$eva_vit); // For deep importing of a module we need to have "__builtins__", so we set // it ourselves in the same way than CPython does. Note: This must be done // before the frame object is allocated, or else it may fail. if (GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)const_str_plain___builtins__) == NULL) { PyObject *value = (PyObject *)builtin_module; // Check if main module, not a dict then but the module itself. #if !defined(_NUITKA_EXE) || !0 value = PyModule_GetDict(value); #endif UPDATE_STRING_DICT0(moduledict_models$eva_vit, (Nuitka_StringObject *)const_str_plain___builtins__, value); } #if PYTHON_VERSION >= 0x300 UPDATE_STRING_DICT0(moduledict_models$eva_vit, (Nuitka_StringObject *)const_str_plain___loader__, (PyObject *)&Nuitka_Loader_Type); #endif #if PYTHON_VERSION >= 0x340 // Set the "__spec__" value #if 0 // Main modules just get "None" as spec. UPDATE_STRING_DICT0(moduledict_models$eva_vit, (Nuitka_StringObject *)const_str_plain___spec__, Py_None); #else // Other modules get a "ModuleSpec" from the standard mechanism. { PyObject *bootstrap_module = getImportLibBootstrapModule(); CHECK_OBJECT(bootstrap_module); PyObject *_spec_from_module = PyObject_GetAttrString(bootstrap_module, "_spec_from_module"); CHECK_OBJECT(_spec_from_module); PyObject *spec_value = CALL_FUNCTION_WITH_SINGLE_ARG(_spec_from_module, module_models$eva_vit); Py_DECREF(_spec_from_module); // We can assume this to never fail, or else we are in trouble anyway. // CHECK_OBJECT(spec_value); if (spec_value == NULL) { PyErr_PrintEx(0); abort(); } // Mark the execution in the "__spec__" value. SET_ATTRIBUTE(spec_value, const_str_plain__initializing, Py_True); UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)const_str_plain___spec__, spec_value); } #endif #endif // Temp variables if any PyObject *outline_0_var___class__ = NULL; struct Nuitka_CellObject *outline_1_var___class__ = Nuitka_Cell_Empty(); struct Nuitka_CellObject *outline_2_var___class__ = Nuitka_Cell_Empty(); struct Nuitka_CellObject *outline_3_var___class__ = Nuitka_Cell_Empty(); struct Nuitka_CellObject *outline_4_var___class__ = Nuitka_Cell_Empty(); struct Nuitka_CellObject *outline_5_var___class__ = Nuitka_Cell_Empty(); struct Nuitka_CellObject *outline_6_var___class__ = Nuitka_Cell_Empty(); PyObject *tmp_class_creation_1__bases = NULL; PyObject *tmp_class_creation_1__bases_orig = NULL; PyObject *tmp_class_creation_1__class_decl_dict = NULL; PyObject *tmp_class_creation_1__metaclass = NULL; PyObject *tmp_class_creation_1__prepared = NULL; PyObject *tmp_class_creation_2__bases = NULL; PyObject *tmp_class_creation_2__bases_orig = NULL; PyObject *tmp_class_creation_2__class_decl_dict = NULL; PyObject *tmp_class_creation_2__metaclass = NULL; PyObject *tmp_class_creation_2__prepared = NULL; PyObject *tmp_class_creation_3__bases = NULL; PyObject *tmp_class_creation_3__bases_orig = NULL; PyObject *tmp_class_creation_3__class_decl_dict = NULL; PyObject *tmp_class_creation_3__metaclass = NULL; PyObject *tmp_class_creation_3__prepared = NULL; PyObject *tmp_class_creation_4__bases = NULL; PyObject *tmp_class_creation_4__bases_orig = NULL; PyObject *tmp_class_creation_4__class_decl_dict = NULL; PyObject *tmp_class_creation_4__metaclass = NULL; PyObject *tmp_class_creation_4__prepared = NULL; PyObject *tmp_class_creation_5__bases = NULL; PyObject *tmp_class_creation_5__bases_orig = NULL; PyObject *tmp_class_creation_5__class_decl_dict = NULL; PyObject *tmp_class_creation_5__metaclass = NULL; PyObject *tmp_class_creation_5__prepared = NULL; PyObject *tmp_class_creation_6__bases = NULL; PyObject *tmp_class_creation_6__bases_orig = NULL; PyObject *tmp_class_creation_6__class_decl_dict = NULL; PyObject *tmp_class_creation_6__metaclass = NULL; PyObject *tmp_class_creation_6__prepared = NULL; PyObject *tmp_class_creation_7__bases = NULL; PyObject *tmp_class_creation_7__bases_orig = NULL; PyObject *tmp_class_creation_7__class_decl_dict = NULL; PyObject *tmp_class_creation_7__metaclass = NULL; PyObject *tmp_class_creation_7__prepared = NULL; PyObject *tmp_import_from_1__module = NULL; PyObject *tmp_import_from_2__module = NULL; struct Nuitka_FrameObject *frame_ca7d5a72cb9493a006e151c55e0654a6; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; bool tmp_result; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; int tmp_res; PyObject *tmp_dictdel_dict; PyObject *tmp_dictdel_key; PyObject *locals_models$eva_vit$$$class__1_DropPath_32 = NULL; PyObject *tmp_dictset_value; struct Nuitka_FrameObject *frame_1347fc2fd0cc8327fc442e80aef3d34a_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; static struct Nuitka_FrameObject *cache_frame_1347fc2fd0cc8327fc442e80aef3d34a_2 = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; PyObject *locals_models$eva_vit$$$class__2_Mlp_46 = NULL; struct Nuitka_FrameObject *frame_b7e284487c7a724fe375c971bffefa37_3; NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL; static struct Nuitka_FrameObject *cache_frame_b7e284487c7a724fe375c971bffefa37_3 = NULL; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; PyObject *locals_models$eva_vit$$$class__3_Attention_66 = NULL; struct Nuitka_FrameObject *frame_2edfa8351c80e7d7fdb434fec9d71413_4; NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL; static struct Nuitka_FrameObject *cache_frame_2edfa8351c80e7d7fdb434fec9d71413_4 = NULL; PyObject *exception_keeper_type_9; PyObject *exception_keeper_value_9; PyTracebackObject *exception_keeper_tb_9; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9; PyObject *exception_keeper_type_10; PyObject *exception_keeper_value_10; PyTracebackObject *exception_keeper_tb_10; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10; PyObject *exception_keeper_type_11; PyObject *exception_keeper_value_11; PyTracebackObject *exception_keeper_tb_11; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11; PyObject *locals_models$eva_vit$$$class__4_Block_153 = NULL; struct Nuitka_FrameObject *frame_307103cd4c8c91221c1b5d3bbd668de5_5; NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL; static struct Nuitka_FrameObject *cache_frame_307103cd4c8c91221c1b5d3bbd668de5_5 = NULL; PyObject *exception_keeper_type_12; PyObject *exception_keeper_value_12; PyTracebackObject *exception_keeper_tb_12; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12; PyObject *exception_keeper_type_13; PyObject *exception_keeper_value_13; PyTracebackObject *exception_keeper_tb_13; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13; PyObject *exception_keeper_type_14; PyObject *exception_keeper_value_14; PyTracebackObject *exception_keeper_tb_14; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14; PyObject *locals_models$eva_vit$$$class__5_PatchEmbed_185 = NULL; struct Nuitka_FrameObject *frame_1cd964112254225e4c50e7367fadca6e_6; NUITKA_MAY_BE_UNUSED char const *type_description_6 = NULL; static struct Nuitka_FrameObject *cache_frame_1cd964112254225e4c50e7367fadca6e_6 = NULL; PyObject *exception_keeper_type_15; PyObject *exception_keeper_value_15; PyTracebackObject *exception_keeper_tb_15; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15; PyObject *exception_keeper_type_16; PyObject *exception_keeper_value_16; PyTracebackObject *exception_keeper_tb_16; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16; PyObject *exception_keeper_type_17; PyObject *exception_keeper_value_17; PyTracebackObject *exception_keeper_tb_17; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_17; PyObject *locals_models$eva_vit$$$class__6_RelativePositionBias_209 = NULL; struct Nuitka_FrameObject *frame_1bb0233c85dac073bd221db7b8d08c7d_7; NUITKA_MAY_BE_UNUSED char const *type_description_7 = NULL; static struct Nuitka_FrameObject *cache_frame_1bb0233c85dac073bd221db7b8d08c7d_7 = NULL; PyObject *exception_keeper_type_18; PyObject *exception_keeper_value_18; PyTracebackObject *exception_keeper_tb_18; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_18; PyObject *exception_keeper_type_19; PyObject *exception_keeper_value_19; PyTracebackObject *exception_keeper_tb_19; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_19; PyObject *exception_keeper_type_20; PyObject *exception_keeper_value_20; PyTracebackObject *exception_keeper_tb_20; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_20; PyObject *locals_models$eva_vit$$$class__7_VisionTransformer_248 = NULL; struct Nuitka_FrameObject *frame_15d041386150a57970a9bb49e9945556_8; NUITKA_MAY_BE_UNUSED char const *type_description_8 = NULL; static struct Nuitka_FrameObject *cache_frame_15d041386150a57970a9bb49e9945556_8 = NULL; PyObject *exception_keeper_type_21; PyObject *exception_keeper_value_21; PyTracebackObject *exception_keeper_tb_21; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_21; PyObject *exception_keeper_type_22; PyObject *exception_keeper_value_22; PyTracebackObject *exception_keeper_tb_22; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_22; PyObject *exception_keeper_type_23; PyObject *exception_keeper_value_23; PyTracebackObject *exception_keeper_tb_23; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_23; // Module code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; UPDATE_STRING_DICT0(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[224], tmp_assign_source_1); } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = module_filename_obj; UPDATE_STRING_DICT0(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[225], tmp_assign_source_2); } // Frame without reuse. frame_ca7d5a72cb9493a006e151c55e0654a6 = MAKE_MODULE_FRAME(codeobj_ca7d5a72cb9493a006e151c55e0654a6, module_models$eva_vit); // Push the new frame as the currently active one, and we should be exclusively // owning it. pushFrameStack(frame_ca7d5a72cb9493a006e151c55e0654a6); assert(Py_REFCNT(frame_ca7d5a72cb9493a006e151c55e0654a6) == 2); // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; tmp_assattr_name_1 = module_filename_obj; tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[226]); if (unlikely(tmp_assattr_target_1 == NULL)) { tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[226]); } assert(!(tmp_assattr_target_1 == NULL)); tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[227], tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; tmp_assattr_name_2 = Py_True; tmp_assattr_target_2 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[226]); if (unlikely(tmp_assattr_target_2 == NULL)) { tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[226]); } assert(!(tmp_assattr_target_2 == NULL)); tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[228], tmp_assattr_name_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_3; tmp_assign_source_3 = Py_None; UPDATE_STRING_DICT0(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[229], tmp_assign_source_3); } { PyObject *tmp_assign_source_4; PyObject *tmp_name_name_1; PyObject *tmp_globals_arg_name_1; PyObject *tmp_locals_arg_name_1; PyObject *tmp_fromlist_name_1; PyObject *tmp_level_name_1; tmp_name_name_1 = mod_consts[167]; tmp_globals_arg_name_1 = (PyObject *)moduledict_models$eva_vit; tmp_locals_arg_name_1 = Py_None; tmp_fromlist_name_1 = Py_None; tmp_level_name_1 = mod_consts[41]; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 8; tmp_assign_source_4 = IMPORT_MODULE5(tmp_name_name_1, tmp_globals_arg_name_1, tmp_locals_arg_name_1, tmp_fromlist_name_1, tmp_level_name_1); if (tmp_assign_source_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 8; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[167], tmp_assign_source_4); } { PyObject *tmp_assign_source_5; PyObject *tmp_import_name_from_1; PyObject *tmp_name_name_2; PyObject *tmp_globals_arg_name_2; PyObject *tmp_locals_arg_name_2; PyObject *tmp_fromlist_name_2; PyObject *tmp_level_name_2; tmp_name_name_2 = mod_consts[230]; tmp_globals_arg_name_2 = (PyObject *)moduledict_models$eva_vit; tmp_locals_arg_name_2 = Py_None; tmp_fromlist_name_2 = mod_consts[231]; tmp_level_name_2 = mod_consts[41]; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 9; tmp_import_name_from_1 = IMPORT_MODULE5(tmp_name_name_2, tmp_globals_arg_name_2, tmp_locals_arg_name_2, tmp_fromlist_name_2, tmp_level_name_2); if (tmp_import_name_from_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 9; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_1)) { tmp_assign_source_5 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_1, (PyObject *)moduledict_models$eva_vit, mod_consts[212], mod_consts[41] ); } else { tmp_assign_source_5 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[212]); } Py_DECREF(tmp_import_name_from_1); if (tmp_assign_source_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 9; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[212], tmp_assign_source_5); } { PyObject *tmp_assign_source_6; PyObject *tmp_name_name_3; PyObject *tmp_globals_arg_name_3; PyObject *tmp_locals_arg_name_3; PyObject *tmp_fromlist_name_3; PyObject *tmp_level_name_3; tmp_name_name_3 = mod_consts[34]; tmp_globals_arg_name_3 = (PyObject *)moduledict_models$eva_vit; tmp_locals_arg_name_3 = Py_None; tmp_fromlist_name_3 = Py_None; tmp_level_name_3 = mod_consts[41]; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 11; tmp_assign_source_6 = IMPORT_MODULE5(tmp_name_name_3, tmp_globals_arg_name_3, tmp_locals_arg_name_3, tmp_fromlist_name_3, tmp_level_name_3); if (tmp_assign_source_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 11; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[34], tmp_assign_source_6); } { PyObject *tmp_assign_source_7; PyObject *tmp_import_name_from_2; PyObject *tmp_name_name_4; PyObject *tmp_globals_arg_name_4; PyObject *tmp_locals_arg_name_4; PyObject *tmp_fromlist_name_4; PyObject *tmp_level_name_4; tmp_name_name_4 = mod_consts[232]; tmp_globals_arg_name_4 = (PyObject *)moduledict_models$eva_vit; tmp_locals_arg_name_4 = Py_None; tmp_fromlist_name_4 = Py_None; tmp_level_name_4 = mod_consts[41]; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 12; tmp_import_name_from_2 = IMPORT_MODULE5(tmp_name_name_4, tmp_globals_arg_name_4, tmp_locals_arg_name_4, tmp_fromlist_name_4, tmp_level_name_4); if (tmp_import_name_from_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 12; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_2)) { tmp_assign_source_7 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_2, (PyObject *)moduledict_models$eva_vit, mod_consts[17], mod_consts[41] ); } else { tmp_assign_source_7 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[17]); } Py_DECREF(tmp_import_name_from_2); if (tmp_assign_source_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 12; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17], tmp_assign_source_7); } { PyObject *tmp_assign_source_8; PyObject *tmp_import_name_from_3; PyObject *tmp_import_name_from_4; PyObject *tmp_name_name_5; PyObject *tmp_globals_arg_name_5; PyObject *tmp_locals_arg_name_5; PyObject *tmp_fromlist_name_5; PyObject *tmp_level_name_5; tmp_name_name_5 = mod_consts[233]; tmp_globals_arg_name_5 = (PyObject *)moduledict_models$eva_vit; tmp_locals_arg_name_5 = Py_None; tmp_fromlist_name_5 = Py_None; tmp_level_name_5 = mod_consts[41]; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 13; tmp_import_name_from_4 = IMPORT_MODULE5(tmp_name_name_5, tmp_globals_arg_name_5, tmp_locals_arg_name_5, tmp_fromlist_name_5, tmp_level_name_5); if (tmp_import_name_from_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 13; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_4)) { tmp_import_name_from_3 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_4, (PyObject *)moduledict_models$eva_vit, mod_consts[17], mod_consts[41] ); } else { tmp_import_name_from_3 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[17]); } Py_DECREF(tmp_import_name_from_4); if (tmp_import_name_from_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 13; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_3)) { tmp_assign_source_8 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_3, (PyObject *)moduledict_models$eva_vit, mod_consts[192], mod_consts[41] ); } else { tmp_assign_source_8 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[192]); } Py_DECREF(tmp_import_name_from_3); if (tmp_assign_source_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 13; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[75], tmp_assign_source_8); } { PyObject *tmp_assign_source_9; PyObject *tmp_import_name_from_5; PyObject *tmp_import_name_from_6; PyObject *tmp_name_name_6; PyObject *tmp_globals_arg_name_6; PyObject *tmp_locals_arg_name_6; PyObject *tmp_fromlist_name_6; PyObject *tmp_level_name_6; tmp_name_name_6 = mod_consts[234]; tmp_globals_arg_name_6 = (PyObject *)moduledict_models$eva_vit; tmp_locals_arg_name_6 = Py_None; tmp_fromlist_name_6 = Py_None; tmp_level_name_6 = mod_consts[41]; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 14; tmp_import_name_from_6 = IMPORT_MODULE5(tmp_name_name_6, tmp_globals_arg_name_6, tmp_locals_arg_name_6, tmp_fromlist_name_6, tmp_level_name_6); if (tmp_import_name_from_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 14; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_6)) { tmp_import_name_from_5 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_6, (PyObject *)moduledict_models$eva_vit, mod_consts[235], mod_consts[41] ); } else { tmp_import_name_from_5 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[235]); } Py_DECREF(tmp_import_name_from_6); if (tmp_import_name_from_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 14; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_5)) { tmp_assign_source_9 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_5, (PyObject *)moduledict_models$eva_vit, mod_consts[178], mod_consts[41] ); } else { tmp_assign_source_9 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[178]); } Py_DECREF(tmp_import_name_from_5); if (tmp_assign_source_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 14; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[178], tmp_assign_source_9); } { PyObject *tmp_assign_source_10; PyObject *tmp_name_name_7; PyObject *tmp_globals_arg_name_7; PyObject *tmp_locals_arg_name_7; PyObject *tmp_fromlist_name_7; PyObject *tmp_level_name_7; tmp_name_name_7 = mod_consts[236]; tmp_globals_arg_name_7 = (PyObject *)moduledict_models$eva_vit; tmp_locals_arg_name_7 = Py_None; tmp_fromlist_name_7 = mod_consts[237]; tmp_level_name_7 = mod_consts[41]; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 15; tmp_assign_source_10 = IMPORT_MODULE5(tmp_name_name_7, tmp_globals_arg_name_7, tmp_locals_arg_name_7, tmp_fromlist_name_7, tmp_level_name_7); if (tmp_assign_source_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 15; goto frame_exception_exit_1; } assert(tmp_import_from_1__module == NULL); tmp_import_from_1__module = tmp_assign_source_10; } // Tried code: { PyObject *tmp_assign_source_11; PyObject *tmp_import_name_from_7; CHECK_OBJECT(tmp_import_from_1__module); tmp_import_name_from_7 = tmp_import_from_1__module; if (PyModule_Check(tmp_import_name_from_7)) { tmp_assign_source_11 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_7, (PyObject *)moduledict_models$eva_vit, mod_consts[11], mod_consts[41] ); } else { tmp_assign_source_11 = IMPORT_NAME(tmp_import_name_from_7, mod_consts[11]); } if (tmp_assign_source_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 15; goto try_except_handler_1; } UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[11], tmp_assign_source_11); } { PyObject *tmp_assign_source_12; PyObject *tmp_import_name_from_8; CHECK_OBJECT(tmp_import_from_1__module); tmp_import_name_from_8 = tmp_import_from_1__module; if (PyModule_Check(tmp_import_name_from_8)) { tmp_assign_source_12 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_8, (PyObject *)moduledict_models$eva_vit, mod_consts[116], mod_consts[41] ); } else { tmp_assign_source_12 = IMPORT_NAME(tmp_import_name_from_8, mod_consts[116]); } if (tmp_assign_source_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 15; goto try_except_handler_1; } UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[116], tmp_assign_source_12); } { PyObject *tmp_assign_source_13; PyObject *tmp_import_name_from_9; CHECK_OBJECT(tmp_import_from_1__module); tmp_import_name_from_9 = tmp_import_from_1__module; if (PyModule_Check(tmp_import_name_from_9)) { tmp_assign_source_13 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_9, (PyObject *)moduledict_models$eva_vit, mod_consts[156], mod_consts[41] ); } else { tmp_assign_source_13 = IMPORT_NAME(tmp_import_name_from_9, mod_consts[156]); } if (tmp_assign_source_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 15; goto try_except_handler_1; } UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[156], tmp_assign_source_13); } goto try_end_1; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_import_from_1__module); Py_DECREF(tmp_import_from_1__module); tmp_import_from_1__module = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; // End of try: try_end_1:; CHECK_OBJECT(tmp_import_from_1__module); Py_DECREF(tmp_import_from_1__module); tmp_import_from_1__module = NULL; { PyObject *tmp_assign_source_14; PyObject *tmp_import_name_from_10; PyObject *tmp_name_name_8; PyObject *tmp_globals_arg_name_8; PyObject *tmp_locals_arg_name_8; PyObject *tmp_fromlist_name_8; PyObject *tmp_level_name_8; tmp_name_name_8 = mod_consts[238]; tmp_globals_arg_name_8 = (PyObject *)moduledict_models$eva_vit; tmp_locals_arg_name_8 = Py_None; tmp_fromlist_name_8 = mod_consts[239]; tmp_level_name_8 = mod_consts[41]; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 16; tmp_import_name_from_10 = IMPORT_MODULE5(tmp_name_name_8, tmp_globals_arg_name_8, tmp_locals_arg_name_8, tmp_fromlist_name_8, tmp_level_name_8); if (tmp_import_name_from_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 16; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_10)) { tmp_assign_source_14 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_10, (PyObject *)moduledict_models$eva_vit, mod_consts[240], mod_consts[41] ); } else { tmp_assign_source_14 = IMPORT_NAME(tmp_import_name_from_10, mod_consts[240]); } Py_DECREF(tmp_import_name_from_10); if (tmp_assign_source_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 16; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[240], tmp_assign_source_14); } { PyObject *tmp_assign_source_15; PyObject *tmp_name_name_9; PyObject *tmp_globals_arg_name_9; PyObject *tmp_locals_arg_name_9; PyObject *tmp_fromlist_name_9; PyObject *tmp_level_name_9; tmp_name_name_9 = mod_consts[241]; tmp_globals_arg_name_9 = (PyObject *)moduledict_models$eva_vit; tmp_locals_arg_name_9 = Py_None; tmp_fromlist_name_9 = mod_consts[242]; tmp_level_name_9 = mod_consts[41]; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 17; tmp_assign_source_15 = IMPORT_MODULE5(tmp_name_name_9, tmp_globals_arg_name_9, tmp_locals_arg_name_9, tmp_fromlist_name_9, tmp_level_name_9); if (tmp_assign_source_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 17; goto frame_exception_exit_1; } assert(tmp_import_from_2__module == NULL); tmp_import_from_2__module = tmp_assign_source_15; } // Tried code: { PyObject *tmp_assign_source_16; PyObject *tmp_import_name_from_11; CHECK_OBJECT(tmp_import_from_2__module); tmp_import_name_from_11 = tmp_import_from_2__module; if (PyModule_Check(tmp_import_name_from_11)) { tmp_assign_source_16 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_11, (PyObject *)moduledict_models$eva_vit, mod_consts[243], mod_consts[41] ); } else { tmp_assign_source_16 = IMPORT_NAME(tmp_import_name_from_11, mod_consts[243]); } if (tmp_assign_source_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 17; goto try_except_handler_2; } UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[243], tmp_assign_source_16); } { PyObject *tmp_assign_source_17; PyObject *tmp_import_name_from_12; CHECK_OBJECT(tmp_import_from_2__module); tmp_import_name_from_12 = tmp_import_from_2__module; if (PyModule_Check(tmp_import_name_from_12)) { tmp_assign_source_17 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_12, (PyObject *)moduledict_models$eva_vit, mod_consts[244], mod_consts[41] ); } else { tmp_assign_source_17 = IMPORT_NAME(tmp_import_name_from_12, mod_consts[244]); } if (tmp_assign_source_17 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 17; goto try_except_handler_2; } UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[244], tmp_assign_source_17); } goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_import_from_2__module); Py_DECREF(tmp_import_from_2__module); tmp_import_from_2__module = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: try_end_2:; CHECK_OBJECT(tmp_import_from_2__module); Py_DECREF(tmp_import_from_2__module); tmp_import_from_2__module = NULL; { PyObject *tmp_assign_source_18; PyObject *tmp_name_name_10; PyObject *tmp_globals_arg_name_10; PyObject *tmp_locals_arg_name_10; PyObject *tmp_fromlist_name_10; PyObject *tmp_level_name_10; tmp_name_name_10 = mod_consts[245]; tmp_globals_arg_name_10 = (PyObject *)moduledict_models$eva_vit; tmp_locals_arg_name_10 = Py_None; tmp_fromlist_name_10 = Py_None; tmp_level_name_10 = mod_consts[41]; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 18; tmp_assign_source_18 = IMPORT_MODULE5(tmp_name_name_10, tmp_globals_arg_name_10, tmp_locals_arg_name_10, tmp_fromlist_name_10, tmp_level_name_10); if (tmp_assign_source_18 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 18; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[245], tmp_assign_source_18); } { PyObject *tmp_assign_source_19; PyObject *tmp_import_name_from_13; PyObject *tmp_name_name_11; PyObject *tmp_globals_arg_name_11; PyObject *tmp_locals_arg_name_11; PyObject *tmp_fromlist_name_11; PyObject *tmp_level_name_11; tmp_name_name_11 = mod_consts[246]; tmp_globals_arg_name_11 = (PyObject *)moduledict_models$eva_vit; tmp_locals_arg_name_11 = Py_None; tmp_fromlist_name_11 = mod_consts[247]; tmp_level_name_11 = mod_consts[41]; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 20; tmp_import_name_from_13 = IMPORT_MODULE5(tmp_name_name_11, tmp_globals_arg_name_11, tmp_locals_arg_name_11, tmp_fromlist_name_11, tmp_level_name_11); if (tmp_import_name_from_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 20; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_13)) { tmp_assign_source_19 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_13, (PyObject *)moduledict_models$eva_vit, mod_consts[215], mod_consts[41] ); } else { tmp_assign_source_19 = IMPORT_NAME(tmp_import_name_from_13, mod_consts[215]); } Py_DECREF(tmp_import_name_from_13); if (tmp_assign_source_19 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 20; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[215], tmp_assign_source_19); } { PyObject *tmp_assign_source_20; PyObject *tmp_defaults_1; tmp_defaults_1 = mod_consts[248]; Py_INCREF(tmp_defaults_1); tmp_assign_source_20 = MAKE_FUNCTION_models$eva_vit$$$function__1__cfg(tmp_defaults_1); UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[249], tmp_assign_source_20); } // Tried code: { PyObject *tmp_assign_source_21; PyObject *tmp_tuple_element_1; PyObject *tmp_expression_name_1; tmp_expression_name_1 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_1 == NULL)) { tmp_expression_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto try_except_handler_3; } tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[250]); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto try_except_handler_3; } tmp_assign_source_21 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_assign_source_21, 0, tmp_tuple_element_1); assert(tmp_class_creation_1__bases_orig == NULL); tmp_class_creation_1__bases_orig = tmp_assign_source_21; } { PyObject *tmp_assign_source_22; PyObject *tmp_dircall_arg1_1; CHECK_OBJECT(tmp_class_creation_1__bases_orig); tmp_dircall_arg1_1 = tmp_class_creation_1__bases_orig; Py_INCREF(tmp_dircall_arg1_1); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1}; tmp_assign_source_22 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_22 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto try_except_handler_3; } assert(tmp_class_creation_1__bases == NULL); tmp_class_creation_1__bases = tmp_assign_source_22; } { PyObject *tmp_assign_source_23; tmp_assign_source_23 = PyDict_New(); assert(tmp_class_creation_1__class_decl_dict == NULL); tmp_class_creation_1__class_decl_dict = tmp_assign_source_23; } { PyObject *tmp_assign_source_24; PyObject *tmp_metaclass_name_1; nuitka_bool tmp_condition_result_1; PyObject *tmp_key_name_1; PyObject *tmp_dict_arg_name_1; PyObject *tmp_dict_arg_name_2; PyObject *tmp_key_name_2; nuitka_bool tmp_condition_result_2; int tmp_truth_name_1; PyObject *tmp_type_arg_1; PyObject *tmp_expression_name_2; PyObject *tmp_subscript_name_1; PyObject *tmp_bases_name_1; tmp_key_name_1 = mod_consts[251]; CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_dict_arg_name_1 = tmp_class_creation_1__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_1, tmp_key_name_1); assert(!(tmp_res == -1)); tmp_condition_result_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto condexpr_true_1; } else { goto condexpr_false_1; } condexpr_true_1:; CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_dict_arg_name_2 = tmp_class_creation_1__class_decl_dict; tmp_key_name_2 = mod_consts[251]; tmp_metaclass_name_1 = DICT_GET_ITEM_WITH_ERROR(tmp_dict_arg_name_2, tmp_key_name_2); if (tmp_metaclass_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto try_except_handler_3; } goto condexpr_end_1; condexpr_false_1:; CHECK_OBJECT(tmp_class_creation_1__bases); tmp_truth_name_1 = CHECK_IF_TRUE(tmp_class_creation_1__bases); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto try_except_handler_3; } tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) { goto condexpr_true_2; } else { goto condexpr_false_2; } condexpr_true_2:; CHECK_OBJECT(tmp_class_creation_1__bases); tmp_expression_name_2 = tmp_class_creation_1__bases; tmp_subscript_name_1 = mod_consts[41]; tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_2, tmp_subscript_name_1, 0); if (tmp_type_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto try_except_handler_3; } tmp_metaclass_name_1 = BUILTIN_TYPE1(tmp_type_arg_1); Py_DECREF(tmp_type_arg_1); if (tmp_metaclass_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto try_except_handler_3; } goto condexpr_end_2; condexpr_false_2:; tmp_metaclass_name_1 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_1); condexpr_end_2:; condexpr_end_1:; CHECK_OBJECT(tmp_class_creation_1__bases); tmp_bases_name_1 = tmp_class_creation_1__bases; tmp_assign_source_24 = SELECT_METACLASS(tmp_metaclass_name_1, tmp_bases_name_1); Py_DECREF(tmp_metaclass_name_1); if (tmp_assign_source_24 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto try_except_handler_3; } assert(tmp_class_creation_1__metaclass == NULL); tmp_class_creation_1__metaclass = tmp_assign_source_24; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_key_name_3; PyObject *tmp_dict_arg_name_3; tmp_key_name_3 = mod_consts[251]; CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_dict_arg_name_3 = tmp_class_creation_1__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_3, tmp_key_name_3); assert(!(tmp_res == -1)); tmp_condition_result_3 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict; tmp_dictdel_key = mod_consts[251]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto try_except_handler_3; } branch_no_1:; { nuitka_bool tmp_condition_result_4; PyObject *tmp_expression_name_3; CHECK_OBJECT(tmp_class_creation_1__metaclass); tmp_expression_name_3 = tmp_class_creation_1__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_3, mod_consts[252]); tmp_condition_result_4 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { PyObject *tmp_assign_source_25; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_4; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_2; PyObject *tmp_kwargs_name_1; CHECK_OBJECT(tmp_class_creation_1__metaclass); tmp_expression_name_4 = tmp_class_creation_1__metaclass; tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[252]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto try_except_handler_3; } tmp_tuple_element_2 = mod_consts[8]; tmp_args_name_1 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_1, 0, tmp_tuple_element_2); CHECK_OBJECT(tmp_class_creation_1__bases); tmp_tuple_element_2 = tmp_class_creation_1__bases; PyTuple_SET_ITEM0(tmp_args_name_1, 1, tmp_tuple_element_2); CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_kwargs_name_1 = tmp_class_creation_1__class_decl_dict; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 32; tmp_assign_source_25 = CALL_FUNCTION(tmp_called_name_1, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); if (tmp_assign_source_25 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto try_except_handler_3; } assert(tmp_class_creation_1__prepared == NULL); tmp_class_creation_1__prepared = tmp_assign_source_25; } { nuitka_bool tmp_condition_result_5; PyObject *tmp_operand_name_1; PyObject *tmp_expression_name_5; CHECK_OBJECT(tmp_class_creation_1__prepared); tmp_expression_name_5 = tmp_class_creation_1__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_5, mod_consts[253]); tmp_operand_name_1 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_name_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto try_except_handler_3; } tmp_condition_result_5 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) { goto branch_yes_3; } else { goto branch_no_3; } } branch_yes_3:; { PyObject *tmp_raise_type_1; PyObject *tmp_raise_value_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_tuple_element_3; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; PyObject *tmp_getattr_default_1; tmp_raise_type_1 = PyExc_TypeError; tmp_left_name_1 = mod_consts[254]; CHECK_OBJECT(tmp_class_creation_1__metaclass); tmp_getattr_target_1 = tmp_class_creation_1__metaclass; tmp_getattr_attr_1 = mod_consts[255]; tmp_getattr_default_1 = mod_consts[256]; tmp_tuple_element_3 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1); if (tmp_tuple_element_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto try_except_handler_3; } tmp_right_name_1 = PyTuple_New(2); { PyObject *tmp_expression_name_6; PyObject *tmp_type_arg_2; PyTuple_SET_ITEM(tmp_right_name_1, 0, tmp_tuple_element_3); CHECK_OBJECT(tmp_class_creation_1__prepared); tmp_type_arg_2 = tmp_class_creation_1__prepared; tmp_expression_name_6 = BUILTIN_TYPE1(tmp_type_arg_2); assert(!(tmp_expression_name_6 == NULL)); tmp_tuple_element_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[255]); Py_DECREF(tmp_expression_name_6); if (tmp_tuple_element_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_right_name_1, 1, tmp_tuple_element_3); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_right_name_1); goto try_except_handler_3; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_raise_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_1, tmp_right_name_1); Py_DECREF(tmp_right_name_1); if (tmp_raise_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto try_except_handler_3; } exception_type = tmp_raise_type_1; Py_INCREF(tmp_raise_type_1); exception_value = tmp_raise_value_1; exception_lineno = 32; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_3; } branch_no_3:; goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_26; tmp_assign_source_26 = PyDict_New(); assert(tmp_class_creation_1__prepared == NULL); tmp_class_creation_1__prepared = tmp_assign_source_26; } branch_end_2:; { PyObject *tmp_assign_source_27; { PyObject *tmp_set_locals_1; CHECK_OBJECT(tmp_class_creation_1__prepared); tmp_set_locals_1 = tmp_class_creation_1__prepared; locals_models$eva_vit$$$class__1_DropPath_32 = tmp_set_locals_1; Py_INCREF(tmp_set_locals_1); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[255]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[255]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__1_DropPath_32, mod_consts[257], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto try_except_handler_5; } tmp_dictset_value = mod_consts[258]; tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__1_DropPath_32, mod_consts[224], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto try_except_handler_5; } tmp_dictset_value = mod_consts[8]; tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__1_DropPath_32, mod_consts[259], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto try_except_handler_5; } if (isFrameUnusable(cache_frame_1347fc2fd0cc8327fc442e80aef3d34a_2)) { Py_XDECREF(cache_frame_1347fc2fd0cc8327fc442e80aef3d34a_2); #if _DEBUG_REFCOUNTS if (cache_frame_1347fc2fd0cc8327fc442e80aef3d34a_2 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_1347fc2fd0cc8327fc442e80aef3d34a_2 = MAKE_FUNCTION_FRAME(codeobj_1347fc2fd0cc8327fc442e80aef3d34a, module_models$eva_vit, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_1347fc2fd0cc8327fc442e80aef3d34a_2->m_type_description == NULL); frame_1347fc2fd0cc8327fc442e80aef3d34a_2 = cache_frame_1347fc2fd0cc8327fc442e80aef3d34a_2; // Push the new frame as the currently active one. pushFrameStack(frame_1347fc2fd0cc8327fc442e80aef3d34a_2); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_1347fc2fd0cc8327fc442e80aef3d34a_2) == 2); // Frame stack // Framed code: { PyObject *tmp_defaults_2; tmp_defaults_2 = mod_consts[260]; Py_INCREF(tmp_defaults_2); tmp_dictset_value = MAKE_FUNCTION_models$eva_vit$$$function__2___init__(tmp_defaults_2); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__1_DropPath_32, mod_consts[9], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 35; type_description_2 = "o"; goto frame_exception_exit_2; } } tmp_dictset_value = MAKE_FUNCTION_models$eva_vit$$$function__3_forward(); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__1_DropPath_32, mod_consts[262], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 39; type_description_2 = "o"; goto frame_exception_exit_2; } { PyObject *tmp_annotations_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; tmp_dict_key_1 = mod_consts[264]; tmp_dict_value_1 = PyObject_GetItem(locals_models$eva_vit$$$class__1_DropPath_32, mod_consts[265]); if (tmp_dict_value_1 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_dict_value_1 = (PyObject *)&PyUnicode_Type; Py_INCREF(tmp_dict_value_1); } } tmp_annotations_1 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_annotations_1, tmp_dict_key_1, tmp_dict_value_1); Py_DECREF(tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dictset_value = MAKE_FUNCTION_models$eva_vit$$$function__4_extra_repr(tmp_annotations_1); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__1_DropPath_32, mod_consts[266], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 42; type_description_2 = "o"; goto frame_exception_exit_2; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_1347fc2fd0cc8327fc442e80aef3d34a_2); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION(frame_1347fc2fd0cc8327fc442e80aef3d34a_2); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_1347fc2fd0cc8327fc442e80aef3d34a_2, exception_lineno); } else if (exception_tb->tb_frame != &frame_1347fc2fd0cc8327fc442e80aef3d34a_2->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_1347fc2fd0cc8327fc442e80aef3d34a_2, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_1347fc2fd0cc8327fc442e80aef3d34a_2, type_description_2, outline_0_var___class__ ); // Release cached frame if used for exception. if (frame_1347fc2fd0cc8327fc442e80aef3d34a_2 == cache_frame_1347fc2fd0cc8327fc442e80aef3d34a_2) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_1347fc2fd0cc8327fc442e80aef3d34a_2); cache_frame_1347fc2fd0cc8327fc442e80aef3d34a_2 = NULL; } assertFrameObject(frame_1347fc2fd0cc8327fc442e80aef3d34a_2); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_1; frame_no_exception_1:; goto skip_nested_handling_1; nested_frame_exit_1:; goto try_except_handler_5; skip_nested_handling_1:; { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT(tmp_class_creation_1__bases); tmp_compexpr_left_1 = tmp_class_creation_1__bases; CHECK_OBJECT(tmp_class_creation_1__bases_orig); tmp_compexpr_right_1 = tmp_class_creation_1__bases_orig; tmp_condition_result_6 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_1, tmp_compexpr_right_1); if (tmp_condition_result_6 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto try_except_handler_5; } if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) { goto branch_yes_4; } else { goto branch_no_4; } assert(tmp_condition_result_6 != NUITKA_BOOL_UNASSIGNED); } branch_yes_4:; CHECK_OBJECT(tmp_class_creation_1__bases_orig); tmp_dictset_value = tmp_class_creation_1__bases_orig; tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__1_DropPath_32, mod_consts[268], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto try_except_handler_5; } branch_no_4:; { PyObject *tmp_assign_source_28; PyObject *tmp_called_name_2; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_4; PyObject *tmp_kwargs_name_2; CHECK_OBJECT(tmp_class_creation_1__metaclass); tmp_called_name_2 = tmp_class_creation_1__metaclass; tmp_tuple_element_4 = mod_consts[8]; tmp_args_name_2 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_name_2, 0, tmp_tuple_element_4); CHECK_OBJECT(tmp_class_creation_1__bases); tmp_tuple_element_4 = tmp_class_creation_1__bases; PyTuple_SET_ITEM0(tmp_args_name_2, 1, tmp_tuple_element_4); tmp_tuple_element_4 = locals_models$eva_vit$$$class__1_DropPath_32; PyTuple_SET_ITEM0(tmp_args_name_2, 2, tmp_tuple_element_4); CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_kwargs_name_2 = tmp_class_creation_1__class_decl_dict; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 32; tmp_assign_source_28 = CALL_FUNCTION(tmp_called_name_2, tmp_args_name_2, tmp_kwargs_name_2); Py_DECREF(tmp_args_name_2); if (tmp_assign_source_28 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 32; goto try_except_handler_5; } assert(outline_0_var___class__ == NULL); outline_0_var___class__ = tmp_assign_source_28; } CHECK_OBJECT(outline_0_var___class__); tmp_assign_source_27 = outline_0_var___class__; Py_INCREF(tmp_assign_source_27); goto try_return_handler_5; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_5:; Py_DECREF(locals_models$eva_vit$$$class__1_DropPath_32); locals_models$eva_vit$$$class__1_DropPath_32 = NULL; goto try_return_handler_4; // Exception handler code: try_except_handler_5:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$eva_vit$$$class__1_DropPath_32); locals_models$eva_vit$$$class__1_DropPath_32 = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_4; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_4:; CHECK_OBJECT(outline_0_var___class__); Py_DECREF(outline_0_var___class__); outline_0_var___class__ = NULL; goto outline_result_1; // Exception handler code: try_except_handler_4:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto outline_exception_1; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_1:; exception_lineno = 32; goto try_except_handler_3; outline_result_1:; UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[8], tmp_assign_source_27); } goto try_end_3; // Exception handler code: try_except_handler_3:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_1__bases_orig); tmp_class_creation_1__bases_orig = NULL; Py_XDECREF(tmp_class_creation_1__bases); tmp_class_creation_1__bases = NULL; Py_XDECREF(tmp_class_creation_1__class_decl_dict); tmp_class_creation_1__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_1__metaclass); tmp_class_creation_1__metaclass = NULL; Py_XDECREF(tmp_class_creation_1__prepared); tmp_class_creation_1__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto frame_exception_exit_1; // End of try: try_end_3:; CHECK_OBJECT(tmp_class_creation_1__bases_orig); Py_DECREF(tmp_class_creation_1__bases_orig); tmp_class_creation_1__bases_orig = NULL; Py_XDECREF(tmp_class_creation_1__bases); tmp_class_creation_1__bases = NULL; Py_XDECREF(tmp_class_creation_1__class_decl_dict); tmp_class_creation_1__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_1__metaclass); tmp_class_creation_1__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_1__prepared); Py_DECREF(tmp_class_creation_1__prepared); tmp_class_creation_1__prepared = NULL; // Tried code: { PyObject *tmp_assign_source_29; PyObject *tmp_tuple_element_5; PyObject *tmp_expression_name_7; tmp_expression_name_7 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_7 == NULL)) { tmp_expression_name_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 46; goto try_except_handler_6; } tmp_tuple_element_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[250]); if (tmp_tuple_element_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 46; goto try_except_handler_6; } tmp_assign_source_29 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_assign_source_29, 0, tmp_tuple_element_5); assert(tmp_class_creation_2__bases_orig == NULL); tmp_class_creation_2__bases_orig = tmp_assign_source_29; } { PyObject *tmp_assign_source_30; PyObject *tmp_dircall_arg1_2; CHECK_OBJECT(tmp_class_creation_2__bases_orig); tmp_dircall_arg1_2 = tmp_class_creation_2__bases_orig; Py_INCREF(tmp_dircall_arg1_2); { PyObject *dir_call_args[] = {tmp_dircall_arg1_2}; tmp_assign_source_30 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_30 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 46; goto try_except_handler_6; } assert(tmp_class_creation_2__bases == NULL); tmp_class_creation_2__bases = tmp_assign_source_30; } { PyObject *tmp_assign_source_31; tmp_assign_source_31 = PyDict_New(); assert(tmp_class_creation_2__class_decl_dict == NULL); tmp_class_creation_2__class_decl_dict = tmp_assign_source_31; } { PyObject *tmp_assign_source_32; PyObject *tmp_metaclass_name_2; nuitka_bool tmp_condition_result_7; PyObject *tmp_key_name_4; PyObject *tmp_dict_arg_name_4; PyObject *tmp_dict_arg_name_5; PyObject *tmp_key_name_5; nuitka_bool tmp_condition_result_8; int tmp_truth_name_2; PyObject *tmp_type_arg_3; PyObject *tmp_expression_name_8; PyObject *tmp_subscript_name_2; PyObject *tmp_bases_name_2; tmp_key_name_4 = mod_consts[251]; CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_dict_arg_name_4 = tmp_class_creation_2__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_4, tmp_key_name_4); assert(!(tmp_res == -1)); tmp_condition_result_7 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) { goto condexpr_true_3; } else { goto condexpr_false_3; } condexpr_true_3:; CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_dict_arg_name_5 = tmp_class_creation_2__class_decl_dict; tmp_key_name_5 = mod_consts[251]; tmp_metaclass_name_2 = DICT_GET_ITEM_WITH_ERROR(tmp_dict_arg_name_5, tmp_key_name_5); if (tmp_metaclass_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 46; goto try_except_handler_6; } goto condexpr_end_3; condexpr_false_3:; CHECK_OBJECT(tmp_class_creation_2__bases); tmp_truth_name_2 = CHECK_IF_TRUE(tmp_class_creation_2__bases); if (tmp_truth_name_2 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 46; goto try_except_handler_6; } tmp_condition_result_8 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) { goto condexpr_true_4; } else { goto condexpr_false_4; } condexpr_true_4:; CHECK_OBJECT(tmp_class_creation_2__bases); tmp_expression_name_8 = tmp_class_creation_2__bases; tmp_subscript_name_2 = mod_consts[41]; tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_8, tmp_subscript_name_2, 0); if (tmp_type_arg_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 46; goto try_except_handler_6; } tmp_metaclass_name_2 = BUILTIN_TYPE1(tmp_type_arg_3); Py_DECREF(tmp_type_arg_3); if (tmp_metaclass_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 46; goto try_except_handler_6; } goto condexpr_end_4; condexpr_false_4:; tmp_metaclass_name_2 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_2); condexpr_end_4:; condexpr_end_3:; CHECK_OBJECT(tmp_class_creation_2__bases); tmp_bases_name_2 = tmp_class_creation_2__bases; tmp_assign_source_32 = SELECT_METACLASS(tmp_metaclass_name_2, tmp_bases_name_2); Py_DECREF(tmp_metaclass_name_2); if (tmp_assign_source_32 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 46; goto try_except_handler_6; } assert(tmp_class_creation_2__metaclass == NULL); tmp_class_creation_2__metaclass = tmp_assign_source_32; } { nuitka_bool tmp_condition_result_9; PyObject *tmp_key_name_6; PyObject *tmp_dict_arg_name_6; tmp_key_name_6 = mod_consts[251]; CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_dict_arg_name_6 = tmp_class_creation_2__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_6, tmp_key_name_6); assert(!(tmp_res == -1)); tmp_condition_result_9 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_9 == NUITKA_BOOL_TRUE) { goto branch_yes_5; } else { goto branch_no_5; } } branch_yes_5:; CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict; tmp_dictdel_key = mod_consts[251]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 46; goto try_except_handler_6; } branch_no_5:; { nuitka_bool tmp_condition_result_10; PyObject *tmp_expression_name_9; CHECK_OBJECT(tmp_class_creation_2__metaclass); tmp_expression_name_9 = tmp_class_creation_2__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_9, mod_consts[252]); tmp_condition_result_10 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_10 == NUITKA_BOOL_TRUE) { goto branch_yes_6; } else { goto branch_no_6; } } branch_yes_6:; { PyObject *tmp_assign_source_33; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_10; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_6; PyObject *tmp_kwargs_name_3; CHECK_OBJECT(tmp_class_creation_2__metaclass); tmp_expression_name_10 = tmp_class_creation_2__metaclass; tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[252]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 46; goto try_except_handler_6; } tmp_tuple_element_6 = mod_consts[104]; tmp_args_name_3 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_3, 0, tmp_tuple_element_6); CHECK_OBJECT(tmp_class_creation_2__bases); tmp_tuple_element_6 = tmp_class_creation_2__bases; PyTuple_SET_ITEM0(tmp_args_name_3, 1, tmp_tuple_element_6); CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_kwargs_name_3 = tmp_class_creation_2__class_decl_dict; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 46; tmp_assign_source_33 = CALL_FUNCTION(tmp_called_name_3, tmp_args_name_3, tmp_kwargs_name_3); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_name_3); if (tmp_assign_source_33 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 46; goto try_except_handler_6; } assert(tmp_class_creation_2__prepared == NULL); tmp_class_creation_2__prepared = tmp_assign_source_33; } { nuitka_bool tmp_condition_result_11; PyObject *tmp_operand_name_2; PyObject *tmp_expression_name_11; CHECK_OBJECT(tmp_class_creation_2__prepared); tmp_expression_name_11 = tmp_class_creation_2__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_11, mod_consts[253]); tmp_operand_name_2 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_name_2); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 46; goto try_except_handler_6; } tmp_condition_result_11 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_11 == NUITKA_BOOL_TRUE) { goto branch_yes_7; } else { goto branch_no_7; } } branch_yes_7:; { PyObject *tmp_raise_type_2; PyObject *tmp_raise_value_2; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_tuple_element_7; PyObject *tmp_getattr_target_2; PyObject *tmp_getattr_attr_2; PyObject *tmp_getattr_default_2; tmp_raise_type_2 = PyExc_TypeError; tmp_left_name_2 = mod_consts[254]; CHECK_OBJECT(tmp_class_creation_2__metaclass); tmp_getattr_target_2 = tmp_class_creation_2__metaclass; tmp_getattr_attr_2 = mod_consts[255]; tmp_getattr_default_2 = mod_consts[256]; tmp_tuple_element_7 = BUILTIN_GETATTR(tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2); if (tmp_tuple_element_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 46; goto try_except_handler_6; } tmp_right_name_2 = PyTuple_New(2); { PyObject *tmp_expression_name_12; PyObject *tmp_type_arg_4; PyTuple_SET_ITEM(tmp_right_name_2, 0, tmp_tuple_element_7); CHECK_OBJECT(tmp_class_creation_2__prepared); tmp_type_arg_4 = tmp_class_creation_2__prepared; tmp_expression_name_12 = BUILTIN_TYPE1(tmp_type_arg_4); assert(!(tmp_expression_name_12 == NULL)); tmp_tuple_element_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_12, mod_consts[255]); Py_DECREF(tmp_expression_name_12); if (tmp_tuple_element_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 46; goto tuple_build_exception_2; } PyTuple_SET_ITEM(tmp_right_name_2, 1, tmp_tuple_element_7); } goto tuple_build_noexception_2; // Exception handling pass through code for tuple_build: tuple_build_exception_2:; Py_DECREF(tmp_right_name_2); goto try_except_handler_6; // Finished with no exception for tuple_build: tuple_build_noexception_2:; tmp_raise_value_2 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_2, tmp_right_name_2); Py_DECREF(tmp_right_name_2); if (tmp_raise_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 46; goto try_except_handler_6; } exception_type = tmp_raise_type_2; Py_INCREF(tmp_raise_type_2); exception_value = tmp_raise_value_2; exception_lineno = 46; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_6; } branch_no_7:; goto branch_end_6; branch_no_6:; { PyObject *tmp_assign_source_34; tmp_assign_source_34 = PyDict_New(); assert(tmp_class_creation_2__prepared == NULL); tmp_class_creation_2__prepared = tmp_assign_source_34; } branch_end_6:; { PyObject *tmp_assign_source_35; { PyObject *tmp_set_locals_2; CHECK_OBJECT(tmp_class_creation_2__prepared); tmp_set_locals_2 = tmp_class_creation_2__prepared; locals_models$eva_vit$$$class__2_Mlp_46 = tmp_set_locals_2; Py_INCREF(tmp_set_locals_2); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[255]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[255]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__2_Mlp_46, mod_consts[257], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 46; goto try_except_handler_8; } tmp_dictset_value = mod_consts[104]; tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__2_Mlp_46, mod_consts[259], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 46; goto try_except_handler_8; } if (isFrameUnusable(cache_frame_b7e284487c7a724fe375c971bffefa37_3)) { Py_XDECREF(cache_frame_b7e284487c7a724fe375c971bffefa37_3); #if _DEBUG_REFCOUNTS if (cache_frame_b7e284487c7a724fe375c971bffefa37_3 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_b7e284487c7a724fe375c971bffefa37_3 = MAKE_FUNCTION_FRAME(codeobj_b7e284487c7a724fe375c971bffefa37, module_models$eva_vit, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_b7e284487c7a724fe375c971bffefa37_3->m_type_description == NULL); frame_b7e284487c7a724fe375c971bffefa37_3 = cache_frame_b7e284487c7a724fe375c971bffefa37_3; // Push the new frame as the currently active one. pushFrameStack(frame_b7e284487c7a724fe375c971bffefa37_3); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_b7e284487c7a724fe375c971bffefa37_3) == 2); // Frame stack // Framed code: { PyObject *tmp_defaults_3; PyObject *tmp_tuple_element_8; struct Nuitka_CellObject *tmp_closure_1[1]; tmp_tuple_element_8 = Py_None; tmp_defaults_3 = PyTuple_New(4); { PyObject *tmp_expression_name_13; PyTuple_SET_ITEM0(tmp_defaults_3, 0, tmp_tuple_element_8); tmp_tuple_element_8 = Py_None; PyTuple_SET_ITEM0(tmp_defaults_3, 1, tmp_tuple_element_8); tmp_expression_name_13 = PyObject_GetItem(locals_models$eva_vit$$$class__2_Mlp_46, mod_consts[17]); if (tmp_expression_name_13 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_13 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_13 == NULL)) { tmp_expression_name_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 47; type_description_2 = "c"; goto tuple_build_exception_3; } Py_INCREF(tmp_expression_name_13); } } tmp_tuple_element_8 = LOOKUP_ATTRIBUTE(tmp_expression_name_13, mod_consts[269]); Py_DECREF(tmp_expression_name_13); if (tmp_tuple_element_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 47; type_description_2 = "c"; goto tuple_build_exception_3; } PyTuple_SET_ITEM(tmp_defaults_3, 2, tmp_tuple_element_8); tmp_tuple_element_8 = mod_consts[101]; PyTuple_SET_ITEM0(tmp_defaults_3, 3, tmp_tuple_element_8); } goto tuple_build_noexception_3; // Exception handling pass through code for tuple_build: tuple_build_exception_3:; Py_DECREF(tmp_defaults_3); goto frame_exception_exit_3; // Finished with no exception for tuple_build: tuple_build_noexception_3:; tmp_closure_1[0] = outline_1_var___class__; Py_INCREF(tmp_closure_1[0]); tmp_dictset_value = MAKE_FUNCTION_models$eva_vit$$$function__5___init__(tmp_defaults_3, tmp_closure_1); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__2_Mlp_46, mod_consts[9], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 47; type_description_2 = "c"; goto frame_exception_exit_3; } } tmp_dictset_value = MAKE_FUNCTION_models$eva_vit$$$function__6_forward(); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__2_Mlp_46, mod_consts[262], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 56; type_description_2 = "c"; goto frame_exception_exit_3; } #if 0 RESTORE_FRAME_EXCEPTION(frame_b7e284487c7a724fe375c971bffefa37_3); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_exception_exit_3:; #if 0 RESTORE_FRAME_EXCEPTION(frame_b7e284487c7a724fe375c971bffefa37_3); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_b7e284487c7a724fe375c971bffefa37_3, exception_lineno); } else if (exception_tb->tb_frame != &frame_b7e284487c7a724fe375c971bffefa37_3->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_b7e284487c7a724fe375c971bffefa37_3, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_b7e284487c7a724fe375c971bffefa37_3, type_description_2, outline_1_var___class__ ); // Release cached frame if used for exception. if (frame_b7e284487c7a724fe375c971bffefa37_3 == cache_frame_b7e284487c7a724fe375c971bffefa37_3) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_b7e284487c7a724fe375c971bffefa37_3); cache_frame_b7e284487c7a724fe375c971bffefa37_3 = NULL; } assertFrameObject(frame_b7e284487c7a724fe375c971bffefa37_3); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_2; frame_no_exception_2:; goto skip_nested_handling_2; nested_frame_exit_2:; goto try_except_handler_8; skip_nested_handling_2:; { nuitka_bool tmp_condition_result_12; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT(tmp_class_creation_2__bases); tmp_compexpr_left_2 = tmp_class_creation_2__bases; CHECK_OBJECT(tmp_class_creation_2__bases_orig); tmp_compexpr_right_2 = tmp_class_creation_2__bases_orig; tmp_condition_result_12 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_2, tmp_compexpr_right_2); if (tmp_condition_result_12 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 46; goto try_except_handler_8; } if (tmp_condition_result_12 == NUITKA_BOOL_TRUE) { goto branch_yes_8; } else { goto branch_no_8; } assert(tmp_condition_result_12 != NUITKA_BOOL_UNASSIGNED); } branch_yes_8:; CHECK_OBJECT(tmp_class_creation_2__bases_orig); tmp_dictset_value = tmp_class_creation_2__bases_orig; tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__2_Mlp_46, mod_consts[268], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 46; goto try_except_handler_8; } branch_no_8:; { PyObject *tmp_assign_source_36; PyObject *tmp_called_name_4; PyObject *tmp_args_name_4; PyObject *tmp_tuple_element_9; PyObject *tmp_kwargs_name_4; CHECK_OBJECT(tmp_class_creation_2__metaclass); tmp_called_name_4 = tmp_class_creation_2__metaclass; tmp_tuple_element_9 = mod_consts[104]; tmp_args_name_4 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_name_4, 0, tmp_tuple_element_9); CHECK_OBJECT(tmp_class_creation_2__bases); tmp_tuple_element_9 = tmp_class_creation_2__bases; PyTuple_SET_ITEM0(tmp_args_name_4, 1, tmp_tuple_element_9); tmp_tuple_element_9 = locals_models$eva_vit$$$class__2_Mlp_46; PyTuple_SET_ITEM0(tmp_args_name_4, 2, tmp_tuple_element_9); CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_kwargs_name_4 = tmp_class_creation_2__class_decl_dict; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 46; tmp_assign_source_36 = CALL_FUNCTION(tmp_called_name_4, tmp_args_name_4, tmp_kwargs_name_4); Py_DECREF(tmp_args_name_4); if (tmp_assign_source_36 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 46; goto try_except_handler_8; } { PyObject *old = Nuitka_Cell_GET(outline_1_var___class__); PyCell_SET(outline_1_var___class__, tmp_assign_source_36); Py_XDECREF(old); } } CHECK_OBJECT(Nuitka_Cell_GET(outline_1_var___class__)); tmp_assign_source_35 = Nuitka_Cell_GET(outline_1_var___class__); Py_INCREF(tmp_assign_source_35); goto try_return_handler_8; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_8:; Py_DECREF(locals_models$eva_vit$$$class__2_Mlp_46); locals_models$eva_vit$$$class__2_Mlp_46 = NULL; goto try_return_handler_7; // Exception handler code: try_except_handler_8:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$eva_vit$$$class__2_Mlp_46); locals_models$eva_vit$$$class__2_Mlp_46 = NULL; // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto try_except_handler_7; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_7:; CHECK_OBJECT(outline_1_var___class__); Py_DECREF(outline_1_var___class__); outline_1_var___class__ = NULL; goto outline_result_2; // Exception handler code: try_except_handler_7:; exception_keeper_type_7 = exception_type; exception_keeper_value_7 = exception_value; exception_keeper_tb_7 = exception_tb; exception_keeper_lineno_7 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(outline_1_var___class__); Py_DECREF(outline_1_var___class__); outline_1_var___class__ = NULL; // Re-raise. exception_type = exception_keeper_type_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto outline_exception_2; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_2:; exception_lineno = 46; goto try_except_handler_6; outline_result_2:; UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[104], tmp_assign_source_35); } goto try_end_4; // Exception handler code: try_except_handler_6:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_2__bases_orig); tmp_class_creation_2__bases_orig = NULL; Py_XDECREF(tmp_class_creation_2__bases); tmp_class_creation_2__bases = NULL; Py_XDECREF(tmp_class_creation_2__class_decl_dict); tmp_class_creation_2__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_2__metaclass); tmp_class_creation_2__metaclass = NULL; Py_XDECREF(tmp_class_creation_2__prepared); tmp_class_creation_2__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto frame_exception_exit_1; // End of try: try_end_4:; CHECK_OBJECT(tmp_class_creation_2__bases_orig); Py_DECREF(tmp_class_creation_2__bases_orig); tmp_class_creation_2__bases_orig = NULL; Py_XDECREF(tmp_class_creation_2__bases); tmp_class_creation_2__bases = NULL; Py_XDECREF(tmp_class_creation_2__class_decl_dict); tmp_class_creation_2__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_2__metaclass); tmp_class_creation_2__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_2__prepared); Py_DECREF(tmp_class_creation_2__prepared); tmp_class_creation_2__prepared = NULL; // Tried code: { PyObject *tmp_assign_source_37; PyObject *tmp_tuple_element_10; PyObject *tmp_expression_name_14; tmp_expression_name_14 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_14 == NULL)) { tmp_expression_name_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 66; goto try_except_handler_9; } tmp_tuple_element_10 = LOOKUP_ATTRIBUTE(tmp_expression_name_14, mod_consts[250]); if (tmp_tuple_element_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 66; goto try_except_handler_9; } tmp_assign_source_37 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_assign_source_37, 0, tmp_tuple_element_10); assert(tmp_class_creation_3__bases_orig == NULL); tmp_class_creation_3__bases_orig = tmp_assign_source_37; } { PyObject *tmp_assign_source_38; PyObject *tmp_dircall_arg1_3; CHECK_OBJECT(tmp_class_creation_3__bases_orig); tmp_dircall_arg1_3 = tmp_class_creation_3__bases_orig; Py_INCREF(tmp_dircall_arg1_3); { PyObject *dir_call_args[] = {tmp_dircall_arg1_3}; tmp_assign_source_38 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_38 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 66; goto try_except_handler_9; } assert(tmp_class_creation_3__bases == NULL); tmp_class_creation_3__bases = tmp_assign_source_38; } { PyObject *tmp_assign_source_39; tmp_assign_source_39 = PyDict_New(); assert(tmp_class_creation_3__class_decl_dict == NULL); tmp_class_creation_3__class_decl_dict = tmp_assign_source_39; } { PyObject *tmp_assign_source_40; PyObject *tmp_metaclass_name_3; nuitka_bool tmp_condition_result_13; PyObject *tmp_key_name_7; PyObject *tmp_dict_arg_name_7; PyObject *tmp_dict_arg_name_8; PyObject *tmp_key_name_8; nuitka_bool tmp_condition_result_14; int tmp_truth_name_3; PyObject *tmp_type_arg_5; PyObject *tmp_expression_name_15; PyObject *tmp_subscript_name_3; PyObject *tmp_bases_name_3; tmp_key_name_7 = mod_consts[251]; CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_dict_arg_name_7 = tmp_class_creation_3__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_7, tmp_key_name_7); assert(!(tmp_res == -1)); tmp_condition_result_13 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_13 == NUITKA_BOOL_TRUE) { goto condexpr_true_5; } else { goto condexpr_false_5; } condexpr_true_5:; CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_dict_arg_name_8 = tmp_class_creation_3__class_decl_dict; tmp_key_name_8 = mod_consts[251]; tmp_metaclass_name_3 = DICT_GET_ITEM_WITH_ERROR(tmp_dict_arg_name_8, tmp_key_name_8); if (tmp_metaclass_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 66; goto try_except_handler_9; } goto condexpr_end_5; condexpr_false_5:; CHECK_OBJECT(tmp_class_creation_3__bases); tmp_truth_name_3 = CHECK_IF_TRUE(tmp_class_creation_3__bases); if (tmp_truth_name_3 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 66; goto try_except_handler_9; } tmp_condition_result_14 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_14 == NUITKA_BOOL_TRUE) { goto condexpr_true_6; } else { goto condexpr_false_6; } condexpr_true_6:; CHECK_OBJECT(tmp_class_creation_3__bases); tmp_expression_name_15 = tmp_class_creation_3__bases; tmp_subscript_name_3 = mod_consts[41]; tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_15, tmp_subscript_name_3, 0); if (tmp_type_arg_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 66; goto try_except_handler_9; } tmp_metaclass_name_3 = BUILTIN_TYPE1(tmp_type_arg_5); Py_DECREF(tmp_type_arg_5); if (tmp_metaclass_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 66; goto try_except_handler_9; } goto condexpr_end_6; condexpr_false_6:; tmp_metaclass_name_3 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_3); condexpr_end_6:; condexpr_end_5:; CHECK_OBJECT(tmp_class_creation_3__bases); tmp_bases_name_3 = tmp_class_creation_3__bases; tmp_assign_source_40 = SELECT_METACLASS(tmp_metaclass_name_3, tmp_bases_name_3); Py_DECREF(tmp_metaclass_name_3); if (tmp_assign_source_40 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 66; goto try_except_handler_9; } assert(tmp_class_creation_3__metaclass == NULL); tmp_class_creation_3__metaclass = tmp_assign_source_40; } { nuitka_bool tmp_condition_result_15; PyObject *tmp_key_name_9; PyObject *tmp_dict_arg_name_9; tmp_key_name_9 = mod_consts[251]; CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_dict_arg_name_9 = tmp_class_creation_3__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_9, tmp_key_name_9); assert(!(tmp_res == -1)); tmp_condition_result_15 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_15 == NUITKA_BOOL_TRUE) { goto branch_yes_9; } else { goto branch_no_9; } } branch_yes_9:; CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict; tmp_dictdel_key = mod_consts[251]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 66; goto try_except_handler_9; } branch_no_9:; { nuitka_bool tmp_condition_result_16; PyObject *tmp_expression_name_16; CHECK_OBJECT(tmp_class_creation_3__metaclass); tmp_expression_name_16 = tmp_class_creation_3__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_16, mod_consts[252]); tmp_condition_result_16 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_16 == NUITKA_BOOL_TRUE) { goto branch_yes_10; } else { goto branch_no_10; } } branch_yes_10:; { PyObject *tmp_assign_source_41; PyObject *tmp_called_name_5; PyObject *tmp_expression_name_17; PyObject *tmp_args_name_5; PyObject *tmp_tuple_element_11; PyObject *tmp_kwargs_name_5; CHECK_OBJECT(tmp_class_creation_3__metaclass); tmp_expression_name_17 = tmp_class_creation_3__metaclass; tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_17, mod_consts[252]); if (tmp_called_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 66; goto try_except_handler_9; } tmp_tuple_element_11 = mod_consts[97]; tmp_args_name_5 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_5, 0, tmp_tuple_element_11); CHECK_OBJECT(tmp_class_creation_3__bases); tmp_tuple_element_11 = tmp_class_creation_3__bases; PyTuple_SET_ITEM0(tmp_args_name_5, 1, tmp_tuple_element_11); CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_kwargs_name_5 = tmp_class_creation_3__class_decl_dict; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 66; tmp_assign_source_41 = CALL_FUNCTION(tmp_called_name_5, tmp_args_name_5, tmp_kwargs_name_5); Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_name_5); if (tmp_assign_source_41 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 66; goto try_except_handler_9; } assert(tmp_class_creation_3__prepared == NULL); tmp_class_creation_3__prepared = tmp_assign_source_41; } { nuitka_bool tmp_condition_result_17; PyObject *tmp_operand_name_3; PyObject *tmp_expression_name_18; CHECK_OBJECT(tmp_class_creation_3__prepared); tmp_expression_name_18 = tmp_class_creation_3__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_18, mod_consts[253]); tmp_operand_name_3 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_name_3); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 66; goto try_except_handler_9; } tmp_condition_result_17 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_17 == NUITKA_BOOL_TRUE) { goto branch_yes_11; } else { goto branch_no_11; } } branch_yes_11:; { PyObject *tmp_raise_type_3; PyObject *tmp_raise_value_3; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_tuple_element_12; PyObject *tmp_getattr_target_3; PyObject *tmp_getattr_attr_3; PyObject *tmp_getattr_default_3; tmp_raise_type_3 = PyExc_TypeError; tmp_left_name_3 = mod_consts[254]; CHECK_OBJECT(tmp_class_creation_3__metaclass); tmp_getattr_target_3 = tmp_class_creation_3__metaclass; tmp_getattr_attr_3 = mod_consts[255]; tmp_getattr_default_3 = mod_consts[256]; tmp_tuple_element_12 = BUILTIN_GETATTR(tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3); if (tmp_tuple_element_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 66; goto try_except_handler_9; } tmp_right_name_3 = PyTuple_New(2); { PyObject *tmp_expression_name_19; PyObject *tmp_type_arg_6; PyTuple_SET_ITEM(tmp_right_name_3, 0, tmp_tuple_element_12); CHECK_OBJECT(tmp_class_creation_3__prepared); tmp_type_arg_6 = tmp_class_creation_3__prepared; tmp_expression_name_19 = BUILTIN_TYPE1(tmp_type_arg_6); assert(!(tmp_expression_name_19 == NULL)); tmp_tuple_element_12 = LOOKUP_ATTRIBUTE(tmp_expression_name_19, mod_consts[255]); Py_DECREF(tmp_expression_name_19); if (tmp_tuple_element_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 66; goto tuple_build_exception_4; } PyTuple_SET_ITEM(tmp_right_name_3, 1, tmp_tuple_element_12); } goto tuple_build_noexception_4; // Exception handling pass through code for tuple_build: tuple_build_exception_4:; Py_DECREF(tmp_right_name_3); goto try_except_handler_9; // Finished with no exception for tuple_build: tuple_build_noexception_4:; tmp_raise_value_3 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_3, tmp_right_name_3); Py_DECREF(tmp_right_name_3); if (tmp_raise_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 66; goto try_except_handler_9; } exception_type = tmp_raise_type_3; Py_INCREF(tmp_raise_type_3); exception_value = tmp_raise_value_3; exception_lineno = 66; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_9; } branch_no_11:; goto branch_end_10; branch_no_10:; { PyObject *tmp_assign_source_42; tmp_assign_source_42 = PyDict_New(); assert(tmp_class_creation_3__prepared == NULL); tmp_class_creation_3__prepared = tmp_assign_source_42; } branch_end_10:; { PyObject *tmp_assign_source_43; { PyObject *tmp_set_locals_3; CHECK_OBJECT(tmp_class_creation_3__prepared); tmp_set_locals_3 = tmp_class_creation_3__prepared; locals_models$eva_vit$$$class__3_Attention_66 = tmp_set_locals_3; Py_INCREF(tmp_set_locals_3); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[255]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[255]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__3_Attention_66, mod_consts[257], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 66; goto try_except_handler_11; } tmp_dictset_value = mod_consts[97]; tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__3_Attention_66, mod_consts[259], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 66; goto try_except_handler_11; } if (isFrameUnusable(cache_frame_2edfa8351c80e7d7fdb434fec9d71413_4)) { Py_XDECREF(cache_frame_2edfa8351c80e7d7fdb434fec9d71413_4); #if _DEBUG_REFCOUNTS if (cache_frame_2edfa8351c80e7d7fdb434fec9d71413_4 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_2edfa8351c80e7d7fdb434fec9d71413_4 = MAKE_FUNCTION_FRAME(codeobj_2edfa8351c80e7d7fdb434fec9d71413, module_models$eva_vit, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_2edfa8351c80e7d7fdb434fec9d71413_4->m_type_description == NULL); frame_2edfa8351c80e7d7fdb434fec9d71413_4 = cache_frame_2edfa8351c80e7d7fdb434fec9d71413_4; // Push the new frame as the currently active one. pushFrameStack(frame_2edfa8351c80e7d7fdb434fec9d71413_4); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_2edfa8351c80e7d7fdb434fec9d71413_4) == 2); // Frame stack // Framed code: { PyObject *tmp_defaults_4; struct Nuitka_CellObject *tmp_closure_2[1]; tmp_defaults_4 = mod_consts[272]; Py_INCREF(tmp_defaults_4); tmp_closure_2[0] = outline_2_var___class__; Py_INCREF(tmp_closure_2[0]); tmp_dictset_value = MAKE_FUNCTION_models$eva_vit$$$function__7___init__(tmp_defaults_4, tmp_closure_2); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__3_Attention_66, mod_consts[9], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 67; type_description_2 = "c"; goto frame_exception_exit_4; } } { PyObject *tmp_defaults_5; tmp_defaults_5 = mod_consts[260]; Py_INCREF(tmp_defaults_5); tmp_dictset_value = MAKE_FUNCTION_models$eva_vit$$$function__8_forward(tmp_defaults_5); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__3_Attention_66, mod_consts[262], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 120; type_description_2 = "c"; goto frame_exception_exit_4; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_2edfa8351c80e7d7fdb434fec9d71413_4); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_3; frame_exception_exit_4:; #if 0 RESTORE_FRAME_EXCEPTION(frame_2edfa8351c80e7d7fdb434fec9d71413_4); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_2edfa8351c80e7d7fdb434fec9d71413_4, exception_lineno); } else if (exception_tb->tb_frame != &frame_2edfa8351c80e7d7fdb434fec9d71413_4->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_2edfa8351c80e7d7fdb434fec9d71413_4, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_2edfa8351c80e7d7fdb434fec9d71413_4, type_description_2, outline_2_var___class__ ); // Release cached frame if used for exception. if (frame_2edfa8351c80e7d7fdb434fec9d71413_4 == cache_frame_2edfa8351c80e7d7fdb434fec9d71413_4) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_2edfa8351c80e7d7fdb434fec9d71413_4); cache_frame_2edfa8351c80e7d7fdb434fec9d71413_4 = NULL; } assertFrameObject(frame_2edfa8351c80e7d7fdb434fec9d71413_4); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_3; frame_no_exception_3:; goto skip_nested_handling_3; nested_frame_exit_3:; goto try_except_handler_11; skip_nested_handling_3:; { nuitka_bool tmp_condition_result_18; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; CHECK_OBJECT(tmp_class_creation_3__bases); tmp_compexpr_left_3 = tmp_class_creation_3__bases; CHECK_OBJECT(tmp_class_creation_3__bases_orig); tmp_compexpr_right_3 = tmp_class_creation_3__bases_orig; tmp_condition_result_18 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_3, tmp_compexpr_right_3); if (tmp_condition_result_18 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 66; goto try_except_handler_11; } if (tmp_condition_result_18 == NUITKA_BOOL_TRUE) { goto branch_yes_12; } else { goto branch_no_12; } assert(tmp_condition_result_18 != NUITKA_BOOL_UNASSIGNED); } branch_yes_12:; CHECK_OBJECT(tmp_class_creation_3__bases_orig); tmp_dictset_value = tmp_class_creation_3__bases_orig; tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__3_Attention_66, mod_consts[268], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 66; goto try_except_handler_11; } branch_no_12:; { PyObject *tmp_assign_source_44; PyObject *tmp_called_name_6; PyObject *tmp_args_name_6; PyObject *tmp_tuple_element_13; PyObject *tmp_kwargs_name_6; CHECK_OBJECT(tmp_class_creation_3__metaclass); tmp_called_name_6 = tmp_class_creation_3__metaclass; tmp_tuple_element_13 = mod_consts[97]; tmp_args_name_6 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_name_6, 0, tmp_tuple_element_13); CHECK_OBJECT(tmp_class_creation_3__bases); tmp_tuple_element_13 = tmp_class_creation_3__bases; PyTuple_SET_ITEM0(tmp_args_name_6, 1, tmp_tuple_element_13); tmp_tuple_element_13 = locals_models$eva_vit$$$class__3_Attention_66; PyTuple_SET_ITEM0(tmp_args_name_6, 2, tmp_tuple_element_13); CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_kwargs_name_6 = tmp_class_creation_3__class_decl_dict; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 66; tmp_assign_source_44 = CALL_FUNCTION(tmp_called_name_6, tmp_args_name_6, tmp_kwargs_name_6); Py_DECREF(tmp_args_name_6); if (tmp_assign_source_44 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 66; goto try_except_handler_11; } { PyObject *old = Nuitka_Cell_GET(outline_2_var___class__); PyCell_SET(outline_2_var___class__, tmp_assign_source_44); Py_XDECREF(old); } } CHECK_OBJECT(Nuitka_Cell_GET(outline_2_var___class__)); tmp_assign_source_43 = Nuitka_Cell_GET(outline_2_var___class__); Py_INCREF(tmp_assign_source_43); goto try_return_handler_11; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_11:; Py_DECREF(locals_models$eva_vit$$$class__3_Attention_66); locals_models$eva_vit$$$class__3_Attention_66 = NULL; goto try_return_handler_10; // Exception handler code: try_except_handler_11:; exception_keeper_type_9 = exception_type; exception_keeper_value_9 = exception_value; exception_keeper_tb_9 = exception_tb; exception_keeper_lineno_9 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$eva_vit$$$class__3_Attention_66); locals_models$eva_vit$$$class__3_Attention_66 = NULL; // Re-raise. exception_type = exception_keeper_type_9; exception_value = exception_keeper_value_9; exception_tb = exception_keeper_tb_9; exception_lineno = exception_keeper_lineno_9; goto try_except_handler_10; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_10:; CHECK_OBJECT(outline_2_var___class__); Py_DECREF(outline_2_var___class__); outline_2_var___class__ = NULL; goto outline_result_3; // Exception handler code: try_except_handler_10:; exception_keeper_type_10 = exception_type; exception_keeper_value_10 = exception_value; exception_keeper_tb_10 = exception_tb; exception_keeper_lineno_10 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(outline_2_var___class__); Py_DECREF(outline_2_var___class__); outline_2_var___class__ = NULL; // Re-raise. exception_type = exception_keeper_type_10; exception_value = exception_keeper_value_10; exception_tb = exception_keeper_tb_10; exception_lineno = exception_keeper_lineno_10; goto outline_exception_3; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_3:; exception_lineno = 66; goto try_except_handler_9; outline_result_3:; UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[97], tmp_assign_source_43); } goto try_end_5; // Exception handler code: try_except_handler_9:; exception_keeper_type_11 = exception_type; exception_keeper_value_11 = exception_value; exception_keeper_tb_11 = exception_tb; exception_keeper_lineno_11 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_3__bases_orig); tmp_class_creation_3__bases_orig = NULL; Py_XDECREF(tmp_class_creation_3__bases); tmp_class_creation_3__bases = NULL; Py_XDECREF(tmp_class_creation_3__class_decl_dict); tmp_class_creation_3__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_3__metaclass); tmp_class_creation_3__metaclass = NULL; Py_XDECREF(tmp_class_creation_3__prepared); tmp_class_creation_3__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_11; exception_value = exception_keeper_value_11; exception_tb = exception_keeper_tb_11; exception_lineno = exception_keeper_lineno_11; goto frame_exception_exit_1; // End of try: try_end_5:; CHECK_OBJECT(tmp_class_creation_3__bases_orig); Py_DECREF(tmp_class_creation_3__bases_orig); tmp_class_creation_3__bases_orig = NULL; Py_XDECREF(tmp_class_creation_3__bases); tmp_class_creation_3__bases = NULL; Py_XDECREF(tmp_class_creation_3__class_decl_dict); tmp_class_creation_3__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_3__metaclass); tmp_class_creation_3__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_3__prepared); Py_DECREF(tmp_class_creation_3__prepared); tmp_class_creation_3__prepared = NULL; // Tried code: { PyObject *tmp_assign_source_45; PyObject *tmp_tuple_element_14; PyObject *tmp_expression_name_20; tmp_expression_name_20 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_20 == NULL)) { tmp_expression_name_20 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_20 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; goto try_except_handler_12; } tmp_tuple_element_14 = LOOKUP_ATTRIBUTE(tmp_expression_name_20, mod_consts[250]); if (tmp_tuple_element_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; goto try_except_handler_12; } tmp_assign_source_45 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_assign_source_45, 0, tmp_tuple_element_14); assert(tmp_class_creation_4__bases_orig == NULL); tmp_class_creation_4__bases_orig = tmp_assign_source_45; } { PyObject *tmp_assign_source_46; PyObject *tmp_dircall_arg1_4; CHECK_OBJECT(tmp_class_creation_4__bases_orig); tmp_dircall_arg1_4 = tmp_class_creation_4__bases_orig; Py_INCREF(tmp_dircall_arg1_4); { PyObject *dir_call_args[] = {tmp_dircall_arg1_4}; tmp_assign_source_46 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_46 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; goto try_except_handler_12; } assert(tmp_class_creation_4__bases == NULL); tmp_class_creation_4__bases = tmp_assign_source_46; } { PyObject *tmp_assign_source_47; tmp_assign_source_47 = PyDict_New(); assert(tmp_class_creation_4__class_decl_dict == NULL); tmp_class_creation_4__class_decl_dict = tmp_assign_source_47; } { PyObject *tmp_assign_source_48; PyObject *tmp_metaclass_name_4; nuitka_bool tmp_condition_result_19; PyObject *tmp_key_name_10; PyObject *tmp_dict_arg_name_10; PyObject *tmp_dict_arg_name_11; PyObject *tmp_key_name_11; nuitka_bool tmp_condition_result_20; int tmp_truth_name_4; PyObject *tmp_type_arg_7; PyObject *tmp_expression_name_21; PyObject *tmp_subscript_name_4; PyObject *tmp_bases_name_4; tmp_key_name_10 = mod_consts[251]; CHECK_OBJECT(tmp_class_creation_4__class_decl_dict); tmp_dict_arg_name_10 = tmp_class_creation_4__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_10, tmp_key_name_10); assert(!(tmp_res == -1)); tmp_condition_result_19 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_19 == NUITKA_BOOL_TRUE) { goto condexpr_true_7; } else { goto condexpr_false_7; } condexpr_true_7:; CHECK_OBJECT(tmp_class_creation_4__class_decl_dict); tmp_dict_arg_name_11 = tmp_class_creation_4__class_decl_dict; tmp_key_name_11 = mod_consts[251]; tmp_metaclass_name_4 = DICT_GET_ITEM_WITH_ERROR(tmp_dict_arg_name_11, tmp_key_name_11); if (tmp_metaclass_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; goto try_except_handler_12; } goto condexpr_end_7; condexpr_false_7:; CHECK_OBJECT(tmp_class_creation_4__bases); tmp_truth_name_4 = CHECK_IF_TRUE(tmp_class_creation_4__bases); if (tmp_truth_name_4 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; goto try_except_handler_12; } tmp_condition_result_20 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_20 == NUITKA_BOOL_TRUE) { goto condexpr_true_8; } else { goto condexpr_false_8; } condexpr_true_8:; CHECK_OBJECT(tmp_class_creation_4__bases); tmp_expression_name_21 = tmp_class_creation_4__bases; tmp_subscript_name_4 = mod_consts[41]; tmp_type_arg_7 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_21, tmp_subscript_name_4, 0); if (tmp_type_arg_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; goto try_except_handler_12; } tmp_metaclass_name_4 = BUILTIN_TYPE1(tmp_type_arg_7); Py_DECREF(tmp_type_arg_7); if (tmp_metaclass_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; goto try_except_handler_12; } goto condexpr_end_8; condexpr_false_8:; tmp_metaclass_name_4 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_4); condexpr_end_8:; condexpr_end_7:; CHECK_OBJECT(tmp_class_creation_4__bases); tmp_bases_name_4 = tmp_class_creation_4__bases; tmp_assign_source_48 = SELECT_METACLASS(tmp_metaclass_name_4, tmp_bases_name_4); Py_DECREF(tmp_metaclass_name_4); if (tmp_assign_source_48 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; goto try_except_handler_12; } assert(tmp_class_creation_4__metaclass == NULL); tmp_class_creation_4__metaclass = tmp_assign_source_48; } { nuitka_bool tmp_condition_result_21; PyObject *tmp_key_name_12; PyObject *tmp_dict_arg_name_12; tmp_key_name_12 = mod_consts[251]; CHECK_OBJECT(tmp_class_creation_4__class_decl_dict); tmp_dict_arg_name_12 = tmp_class_creation_4__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_12, tmp_key_name_12); assert(!(tmp_res == -1)); tmp_condition_result_21 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_21 == NUITKA_BOOL_TRUE) { goto branch_yes_13; } else { goto branch_no_13; } } branch_yes_13:; CHECK_OBJECT(tmp_class_creation_4__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_4__class_decl_dict; tmp_dictdel_key = mod_consts[251]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; goto try_except_handler_12; } branch_no_13:; { nuitka_bool tmp_condition_result_22; PyObject *tmp_expression_name_22; CHECK_OBJECT(tmp_class_creation_4__metaclass); tmp_expression_name_22 = tmp_class_creation_4__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_22, mod_consts[252]); tmp_condition_result_22 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_22 == NUITKA_BOOL_TRUE) { goto branch_yes_14; } else { goto branch_no_14; } } branch_yes_14:; { PyObject *tmp_assign_source_49; PyObject *tmp_called_name_7; PyObject *tmp_expression_name_23; PyObject *tmp_args_name_7; PyObject *tmp_tuple_element_15; PyObject *tmp_kwargs_name_7; CHECK_OBJECT(tmp_class_creation_4__metaclass); tmp_expression_name_23 = tmp_class_creation_4__metaclass; tmp_called_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_23, mod_consts[252]); if (tmp_called_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; goto try_except_handler_12; } tmp_tuple_element_15 = mod_consts[149]; tmp_args_name_7 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_7, 0, tmp_tuple_element_15); CHECK_OBJECT(tmp_class_creation_4__bases); tmp_tuple_element_15 = tmp_class_creation_4__bases; PyTuple_SET_ITEM0(tmp_args_name_7, 1, tmp_tuple_element_15); CHECK_OBJECT(tmp_class_creation_4__class_decl_dict); tmp_kwargs_name_7 = tmp_class_creation_4__class_decl_dict; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 153; tmp_assign_source_49 = CALL_FUNCTION(tmp_called_name_7, tmp_args_name_7, tmp_kwargs_name_7); Py_DECREF(tmp_called_name_7); Py_DECREF(tmp_args_name_7); if (tmp_assign_source_49 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; goto try_except_handler_12; } assert(tmp_class_creation_4__prepared == NULL); tmp_class_creation_4__prepared = tmp_assign_source_49; } { nuitka_bool tmp_condition_result_23; PyObject *tmp_operand_name_4; PyObject *tmp_expression_name_24; CHECK_OBJECT(tmp_class_creation_4__prepared); tmp_expression_name_24 = tmp_class_creation_4__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_24, mod_consts[253]); tmp_operand_name_4 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_name_4); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; goto try_except_handler_12; } tmp_condition_result_23 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_23 == NUITKA_BOOL_TRUE) { goto branch_yes_15; } else { goto branch_no_15; } } branch_yes_15:; { PyObject *tmp_raise_type_4; PyObject *tmp_raise_value_4; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; PyObject *tmp_tuple_element_16; PyObject *tmp_getattr_target_4; PyObject *tmp_getattr_attr_4; PyObject *tmp_getattr_default_4; tmp_raise_type_4 = PyExc_TypeError; tmp_left_name_4 = mod_consts[254]; CHECK_OBJECT(tmp_class_creation_4__metaclass); tmp_getattr_target_4 = tmp_class_creation_4__metaclass; tmp_getattr_attr_4 = mod_consts[255]; tmp_getattr_default_4 = mod_consts[256]; tmp_tuple_element_16 = BUILTIN_GETATTR(tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4); if (tmp_tuple_element_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; goto try_except_handler_12; } tmp_right_name_4 = PyTuple_New(2); { PyObject *tmp_expression_name_25; PyObject *tmp_type_arg_8; PyTuple_SET_ITEM(tmp_right_name_4, 0, tmp_tuple_element_16); CHECK_OBJECT(tmp_class_creation_4__prepared); tmp_type_arg_8 = tmp_class_creation_4__prepared; tmp_expression_name_25 = BUILTIN_TYPE1(tmp_type_arg_8); assert(!(tmp_expression_name_25 == NULL)); tmp_tuple_element_16 = LOOKUP_ATTRIBUTE(tmp_expression_name_25, mod_consts[255]); Py_DECREF(tmp_expression_name_25); if (tmp_tuple_element_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; goto tuple_build_exception_5; } PyTuple_SET_ITEM(tmp_right_name_4, 1, tmp_tuple_element_16); } goto tuple_build_noexception_5; // Exception handling pass through code for tuple_build: tuple_build_exception_5:; Py_DECREF(tmp_right_name_4); goto try_except_handler_12; // Finished with no exception for tuple_build: tuple_build_noexception_5:; tmp_raise_value_4 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_4, tmp_right_name_4); Py_DECREF(tmp_right_name_4); if (tmp_raise_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; goto try_except_handler_12; } exception_type = tmp_raise_type_4; Py_INCREF(tmp_raise_type_4); exception_value = tmp_raise_value_4; exception_lineno = 153; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_12; } branch_no_15:; goto branch_end_14; branch_no_14:; { PyObject *tmp_assign_source_50; tmp_assign_source_50 = PyDict_New(); assert(tmp_class_creation_4__prepared == NULL); tmp_class_creation_4__prepared = tmp_assign_source_50; } branch_end_14:; { PyObject *tmp_assign_source_51; { PyObject *tmp_set_locals_4; CHECK_OBJECT(tmp_class_creation_4__prepared); tmp_set_locals_4 = tmp_class_creation_4__prepared; locals_models$eva_vit$$$class__4_Block_153 = tmp_set_locals_4; Py_INCREF(tmp_set_locals_4); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[255]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[255]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__4_Block_153, mod_consts[257], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; goto try_except_handler_14; } tmp_dictset_value = mod_consts[149]; tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__4_Block_153, mod_consts[259], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; goto try_except_handler_14; } if (isFrameUnusable(cache_frame_307103cd4c8c91221c1b5d3bbd668de5_5)) { Py_XDECREF(cache_frame_307103cd4c8c91221c1b5d3bbd668de5_5); #if _DEBUG_REFCOUNTS if (cache_frame_307103cd4c8c91221c1b5d3bbd668de5_5 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_307103cd4c8c91221c1b5d3bbd668de5_5 = MAKE_FUNCTION_FRAME(codeobj_307103cd4c8c91221c1b5d3bbd668de5, module_models$eva_vit, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_307103cd4c8c91221c1b5d3bbd668de5_5->m_type_description == NULL); frame_307103cd4c8c91221c1b5d3bbd668de5_5 = cache_frame_307103cd4c8c91221c1b5d3bbd668de5_5; // Push the new frame as the currently active one. pushFrameStack(frame_307103cd4c8c91221c1b5d3bbd668de5_5); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_307103cd4c8c91221c1b5d3bbd668de5_5) == 2); // Frame stack // Framed code: { PyObject *tmp_defaults_6; PyObject *tmp_tuple_element_17; struct Nuitka_CellObject *tmp_closure_3[1]; tmp_tuple_element_17 = mod_consts[275]; tmp_defaults_6 = PyTuple_New(11); { PyObject *tmp_expression_name_26; PyObject *tmp_expression_name_27; PyTuple_SET_ITEM0(tmp_defaults_6, 0, tmp_tuple_element_17); tmp_tuple_element_17 = Py_False; PyTuple_SET_ITEM0(tmp_defaults_6, 1, tmp_tuple_element_17); tmp_tuple_element_17 = Py_None; PyTuple_SET_ITEM0(tmp_defaults_6, 2, tmp_tuple_element_17); tmp_tuple_element_17 = mod_consts[101]; PyTuple_SET_ITEM0(tmp_defaults_6, 3, tmp_tuple_element_17); tmp_tuple_element_17 = mod_consts[101]; PyTuple_SET_ITEM0(tmp_defaults_6, 4, tmp_tuple_element_17); tmp_tuple_element_17 = mod_consts[101]; PyTuple_SET_ITEM0(tmp_defaults_6, 5, tmp_tuple_element_17); tmp_tuple_element_17 = Py_None; PyTuple_SET_ITEM0(tmp_defaults_6, 6, tmp_tuple_element_17); tmp_expression_name_26 = PyObject_GetItem(locals_models$eva_vit$$$class__4_Block_153, mod_consts[17]); if (tmp_expression_name_26 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_26 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_26 == NULL)) { tmp_expression_name_26 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_26 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 156; type_description_2 = "c"; goto tuple_build_exception_6; } Py_INCREF(tmp_expression_name_26); } } tmp_tuple_element_17 = LOOKUP_ATTRIBUTE(tmp_expression_name_26, mod_consts[269]); Py_DECREF(tmp_expression_name_26); if (tmp_tuple_element_17 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 156; type_description_2 = "c"; goto tuple_build_exception_6; } PyTuple_SET_ITEM(tmp_defaults_6, 7, tmp_tuple_element_17); tmp_expression_name_27 = PyObject_GetItem(locals_models$eva_vit$$$class__4_Block_153, mod_consts[17]); if (tmp_expression_name_27 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_27 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_27 == NULL)) { tmp_expression_name_27 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_27 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 156; type_description_2 = "c"; goto tuple_build_exception_6; } Py_INCREF(tmp_expression_name_27); } } tmp_tuple_element_17 = LOOKUP_ATTRIBUTE(tmp_expression_name_27, mod_consts[173]); Py_DECREF(tmp_expression_name_27); if (tmp_tuple_element_17 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 156; type_description_2 = "c"; goto tuple_build_exception_6; } PyTuple_SET_ITEM(tmp_defaults_6, 8, tmp_tuple_element_17); tmp_tuple_element_17 = Py_None; PyTuple_SET_ITEM0(tmp_defaults_6, 9, tmp_tuple_element_17); tmp_tuple_element_17 = Py_None; PyTuple_SET_ITEM0(tmp_defaults_6, 10, tmp_tuple_element_17); } goto tuple_build_noexception_6; // Exception handling pass through code for tuple_build: tuple_build_exception_6:; Py_DECREF(tmp_defaults_6); goto frame_exception_exit_5; // Finished with no exception for tuple_build: tuple_build_noexception_6:; tmp_closure_3[0] = outline_3_var___class__; Py_INCREF(tmp_closure_3[0]); tmp_dictset_value = MAKE_FUNCTION_models$eva_vit$$$function__9___init__(tmp_defaults_6, tmp_closure_3); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__4_Block_153, mod_consts[9], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 155; type_description_2 = "c"; goto frame_exception_exit_5; } } { PyObject *tmp_defaults_7; tmp_defaults_7 = mod_consts[260]; Py_INCREF(tmp_defaults_7); tmp_dictset_value = MAKE_FUNCTION_models$eva_vit$$$function__10_forward(tmp_defaults_7); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__4_Block_153, mod_consts[262], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 175; type_description_2 = "c"; goto frame_exception_exit_5; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_307103cd4c8c91221c1b5d3bbd668de5_5); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_4; frame_exception_exit_5:; #if 0 RESTORE_FRAME_EXCEPTION(frame_307103cd4c8c91221c1b5d3bbd668de5_5); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_307103cd4c8c91221c1b5d3bbd668de5_5, exception_lineno); } else if (exception_tb->tb_frame != &frame_307103cd4c8c91221c1b5d3bbd668de5_5->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_307103cd4c8c91221c1b5d3bbd668de5_5, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_307103cd4c8c91221c1b5d3bbd668de5_5, type_description_2, outline_3_var___class__ ); // Release cached frame if used for exception. if (frame_307103cd4c8c91221c1b5d3bbd668de5_5 == cache_frame_307103cd4c8c91221c1b5d3bbd668de5_5) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_307103cd4c8c91221c1b5d3bbd668de5_5); cache_frame_307103cd4c8c91221c1b5d3bbd668de5_5 = NULL; } assertFrameObject(frame_307103cd4c8c91221c1b5d3bbd668de5_5); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_4; frame_no_exception_4:; goto skip_nested_handling_4; nested_frame_exit_4:; goto try_except_handler_14; skip_nested_handling_4:; { nuitka_bool tmp_condition_result_24; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; CHECK_OBJECT(tmp_class_creation_4__bases); tmp_compexpr_left_4 = tmp_class_creation_4__bases; CHECK_OBJECT(tmp_class_creation_4__bases_orig); tmp_compexpr_right_4 = tmp_class_creation_4__bases_orig; tmp_condition_result_24 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_4, tmp_compexpr_right_4); if (tmp_condition_result_24 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; goto try_except_handler_14; } if (tmp_condition_result_24 == NUITKA_BOOL_TRUE) { goto branch_yes_16; } else { goto branch_no_16; } assert(tmp_condition_result_24 != NUITKA_BOOL_UNASSIGNED); } branch_yes_16:; CHECK_OBJECT(tmp_class_creation_4__bases_orig); tmp_dictset_value = tmp_class_creation_4__bases_orig; tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__4_Block_153, mod_consts[268], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; goto try_except_handler_14; } branch_no_16:; { PyObject *tmp_assign_source_52; PyObject *tmp_called_name_8; PyObject *tmp_args_name_8; PyObject *tmp_tuple_element_18; PyObject *tmp_kwargs_name_8; CHECK_OBJECT(tmp_class_creation_4__metaclass); tmp_called_name_8 = tmp_class_creation_4__metaclass; tmp_tuple_element_18 = mod_consts[149]; tmp_args_name_8 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_name_8, 0, tmp_tuple_element_18); CHECK_OBJECT(tmp_class_creation_4__bases); tmp_tuple_element_18 = tmp_class_creation_4__bases; PyTuple_SET_ITEM0(tmp_args_name_8, 1, tmp_tuple_element_18); tmp_tuple_element_18 = locals_models$eva_vit$$$class__4_Block_153; PyTuple_SET_ITEM0(tmp_args_name_8, 2, tmp_tuple_element_18); CHECK_OBJECT(tmp_class_creation_4__class_decl_dict); tmp_kwargs_name_8 = tmp_class_creation_4__class_decl_dict; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 153; tmp_assign_source_52 = CALL_FUNCTION(tmp_called_name_8, tmp_args_name_8, tmp_kwargs_name_8); Py_DECREF(tmp_args_name_8); if (tmp_assign_source_52 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 153; goto try_except_handler_14; } { PyObject *old = Nuitka_Cell_GET(outline_3_var___class__); PyCell_SET(outline_3_var___class__, tmp_assign_source_52); Py_XDECREF(old); } } CHECK_OBJECT(Nuitka_Cell_GET(outline_3_var___class__)); tmp_assign_source_51 = Nuitka_Cell_GET(outline_3_var___class__); Py_INCREF(tmp_assign_source_51); goto try_return_handler_14; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_14:; Py_DECREF(locals_models$eva_vit$$$class__4_Block_153); locals_models$eva_vit$$$class__4_Block_153 = NULL; goto try_return_handler_13; // Exception handler code: try_except_handler_14:; exception_keeper_type_12 = exception_type; exception_keeper_value_12 = exception_value; exception_keeper_tb_12 = exception_tb; exception_keeper_lineno_12 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$eva_vit$$$class__4_Block_153); locals_models$eva_vit$$$class__4_Block_153 = NULL; // Re-raise. exception_type = exception_keeper_type_12; exception_value = exception_keeper_value_12; exception_tb = exception_keeper_tb_12; exception_lineno = exception_keeper_lineno_12; goto try_except_handler_13; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_13:; CHECK_OBJECT(outline_3_var___class__); Py_DECREF(outline_3_var___class__); outline_3_var___class__ = NULL; goto outline_result_4; // Exception handler code: try_except_handler_13:; exception_keeper_type_13 = exception_type; exception_keeper_value_13 = exception_value; exception_keeper_tb_13 = exception_tb; exception_keeper_lineno_13 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(outline_3_var___class__); Py_DECREF(outline_3_var___class__); outline_3_var___class__ = NULL; // Re-raise. exception_type = exception_keeper_type_13; exception_value = exception_keeper_value_13; exception_tb = exception_keeper_tb_13; exception_lineno = exception_keeper_lineno_13; goto outline_exception_4; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_4:; exception_lineno = 153; goto try_except_handler_12; outline_result_4:; UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[149], tmp_assign_source_51); } goto try_end_6; // Exception handler code: try_except_handler_12:; exception_keeper_type_14 = exception_type; exception_keeper_value_14 = exception_value; exception_keeper_tb_14 = exception_tb; exception_keeper_lineno_14 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_4__bases_orig); tmp_class_creation_4__bases_orig = NULL; Py_XDECREF(tmp_class_creation_4__bases); tmp_class_creation_4__bases = NULL; Py_XDECREF(tmp_class_creation_4__class_decl_dict); tmp_class_creation_4__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_4__metaclass); tmp_class_creation_4__metaclass = NULL; Py_XDECREF(tmp_class_creation_4__prepared); tmp_class_creation_4__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_14; exception_value = exception_keeper_value_14; exception_tb = exception_keeper_tb_14; exception_lineno = exception_keeper_lineno_14; goto frame_exception_exit_1; // End of try: try_end_6:; CHECK_OBJECT(tmp_class_creation_4__bases_orig); Py_DECREF(tmp_class_creation_4__bases_orig); tmp_class_creation_4__bases_orig = NULL; Py_XDECREF(tmp_class_creation_4__bases); tmp_class_creation_4__bases = NULL; Py_XDECREF(tmp_class_creation_4__class_decl_dict); tmp_class_creation_4__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_4__metaclass); tmp_class_creation_4__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_4__prepared); Py_DECREF(tmp_class_creation_4__prepared); tmp_class_creation_4__prepared = NULL; // Tried code: { PyObject *tmp_assign_source_53; PyObject *tmp_tuple_element_19; PyObject *tmp_expression_name_28; tmp_expression_name_28 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_28 == NULL)) { tmp_expression_name_28 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_28 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; goto try_except_handler_15; } tmp_tuple_element_19 = LOOKUP_ATTRIBUTE(tmp_expression_name_28, mod_consts[250]); if (tmp_tuple_element_19 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; goto try_except_handler_15; } tmp_assign_source_53 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_assign_source_53, 0, tmp_tuple_element_19); assert(tmp_class_creation_5__bases_orig == NULL); tmp_class_creation_5__bases_orig = tmp_assign_source_53; } { PyObject *tmp_assign_source_54; PyObject *tmp_dircall_arg1_5; CHECK_OBJECT(tmp_class_creation_5__bases_orig); tmp_dircall_arg1_5 = tmp_class_creation_5__bases_orig; Py_INCREF(tmp_dircall_arg1_5); { PyObject *dir_call_args[] = {tmp_dircall_arg1_5}; tmp_assign_source_54 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_54 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; goto try_except_handler_15; } assert(tmp_class_creation_5__bases == NULL); tmp_class_creation_5__bases = tmp_assign_source_54; } { PyObject *tmp_assign_source_55; tmp_assign_source_55 = PyDict_New(); assert(tmp_class_creation_5__class_decl_dict == NULL); tmp_class_creation_5__class_decl_dict = tmp_assign_source_55; } { PyObject *tmp_assign_source_56; PyObject *tmp_metaclass_name_5; nuitka_bool tmp_condition_result_25; PyObject *tmp_key_name_13; PyObject *tmp_dict_arg_name_13; PyObject *tmp_dict_arg_name_14; PyObject *tmp_key_name_14; nuitka_bool tmp_condition_result_26; int tmp_truth_name_5; PyObject *tmp_type_arg_9; PyObject *tmp_expression_name_29; PyObject *tmp_subscript_name_5; PyObject *tmp_bases_name_5; tmp_key_name_13 = mod_consts[251]; CHECK_OBJECT(tmp_class_creation_5__class_decl_dict); tmp_dict_arg_name_13 = tmp_class_creation_5__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_13, tmp_key_name_13); assert(!(tmp_res == -1)); tmp_condition_result_25 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_25 == NUITKA_BOOL_TRUE) { goto condexpr_true_9; } else { goto condexpr_false_9; } condexpr_true_9:; CHECK_OBJECT(tmp_class_creation_5__class_decl_dict); tmp_dict_arg_name_14 = tmp_class_creation_5__class_decl_dict; tmp_key_name_14 = mod_consts[251]; tmp_metaclass_name_5 = DICT_GET_ITEM_WITH_ERROR(tmp_dict_arg_name_14, tmp_key_name_14); if (tmp_metaclass_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; goto try_except_handler_15; } goto condexpr_end_9; condexpr_false_9:; CHECK_OBJECT(tmp_class_creation_5__bases); tmp_truth_name_5 = CHECK_IF_TRUE(tmp_class_creation_5__bases); if (tmp_truth_name_5 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; goto try_except_handler_15; } tmp_condition_result_26 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_26 == NUITKA_BOOL_TRUE) { goto condexpr_true_10; } else { goto condexpr_false_10; } condexpr_true_10:; CHECK_OBJECT(tmp_class_creation_5__bases); tmp_expression_name_29 = tmp_class_creation_5__bases; tmp_subscript_name_5 = mod_consts[41]; tmp_type_arg_9 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_29, tmp_subscript_name_5, 0); if (tmp_type_arg_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; goto try_except_handler_15; } tmp_metaclass_name_5 = BUILTIN_TYPE1(tmp_type_arg_9); Py_DECREF(tmp_type_arg_9); if (tmp_metaclass_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; goto try_except_handler_15; } goto condexpr_end_10; condexpr_false_10:; tmp_metaclass_name_5 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_5); condexpr_end_10:; condexpr_end_9:; CHECK_OBJECT(tmp_class_creation_5__bases); tmp_bases_name_5 = tmp_class_creation_5__bases; tmp_assign_source_56 = SELECT_METACLASS(tmp_metaclass_name_5, tmp_bases_name_5); Py_DECREF(tmp_metaclass_name_5); if (tmp_assign_source_56 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; goto try_except_handler_15; } assert(tmp_class_creation_5__metaclass == NULL); tmp_class_creation_5__metaclass = tmp_assign_source_56; } { nuitka_bool tmp_condition_result_27; PyObject *tmp_key_name_15; PyObject *tmp_dict_arg_name_15; tmp_key_name_15 = mod_consts[251]; CHECK_OBJECT(tmp_class_creation_5__class_decl_dict); tmp_dict_arg_name_15 = tmp_class_creation_5__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_15, tmp_key_name_15); assert(!(tmp_res == -1)); tmp_condition_result_27 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_27 == NUITKA_BOOL_TRUE) { goto branch_yes_17; } else { goto branch_no_17; } } branch_yes_17:; CHECK_OBJECT(tmp_class_creation_5__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_5__class_decl_dict; tmp_dictdel_key = mod_consts[251]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; goto try_except_handler_15; } branch_no_17:; { nuitka_bool tmp_condition_result_28; PyObject *tmp_expression_name_30; CHECK_OBJECT(tmp_class_creation_5__metaclass); tmp_expression_name_30 = tmp_class_creation_5__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_30, mod_consts[252]); tmp_condition_result_28 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_28 == NUITKA_BOOL_TRUE) { goto branch_yes_18; } else { goto branch_no_18; } } branch_yes_18:; { PyObject *tmp_assign_source_57; PyObject *tmp_called_name_9; PyObject *tmp_expression_name_31; PyObject *tmp_args_name_9; PyObject *tmp_tuple_element_20; PyObject *tmp_kwargs_name_9; CHECK_OBJECT(tmp_class_creation_5__metaclass); tmp_expression_name_31 = tmp_class_creation_5__metaclass; tmp_called_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_31, mod_consts[252]); if (tmp_called_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; goto try_except_handler_15; } tmp_tuple_element_20 = mod_consts[135]; tmp_args_name_9 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_9, 0, tmp_tuple_element_20); CHECK_OBJECT(tmp_class_creation_5__bases); tmp_tuple_element_20 = tmp_class_creation_5__bases; PyTuple_SET_ITEM0(tmp_args_name_9, 1, tmp_tuple_element_20); CHECK_OBJECT(tmp_class_creation_5__class_decl_dict); tmp_kwargs_name_9 = tmp_class_creation_5__class_decl_dict; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 185; tmp_assign_source_57 = CALL_FUNCTION(tmp_called_name_9, tmp_args_name_9, tmp_kwargs_name_9); Py_DECREF(tmp_called_name_9); Py_DECREF(tmp_args_name_9); if (tmp_assign_source_57 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; goto try_except_handler_15; } assert(tmp_class_creation_5__prepared == NULL); tmp_class_creation_5__prepared = tmp_assign_source_57; } { nuitka_bool tmp_condition_result_29; PyObject *tmp_operand_name_5; PyObject *tmp_expression_name_32; CHECK_OBJECT(tmp_class_creation_5__prepared); tmp_expression_name_32 = tmp_class_creation_5__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_32, mod_consts[253]); tmp_operand_name_5 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_name_5); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; goto try_except_handler_15; } tmp_condition_result_29 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_29 == NUITKA_BOOL_TRUE) { goto branch_yes_19; } else { goto branch_no_19; } } branch_yes_19:; { PyObject *tmp_raise_type_5; PyObject *tmp_raise_value_5; PyObject *tmp_left_name_5; PyObject *tmp_right_name_5; PyObject *tmp_tuple_element_21; PyObject *tmp_getattr_target_5; PyObject *tmp_getattr_attr_5; PyObject *tmp_getattr_default_5; tmp_raise_type_5 = PyExc_TypeError; tmp_left_name_5 = mod_consts[254]; CHECK_OBJECT(tmp_class_creation_5__metaclass); tmp_getattr_target_5 = tmp_class_creation_5__metaclass; tmp_getattr_attr_5 = mod_consts[255]; tmp_getattr_default_5 = mod_consts[256]; tmp_tuple_element_21 = BUILTIN_GETATTR(tmp_getattr_target_5, tmp_getattr_attr_5, tmp_getattr_default_5); if (tmp_tuple_element_21 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; goto try_except_handler_15; } tmp_right_name_5 = PyTuple_New(2); { PyObject *tmp_expression_name_33; PyObject *tmp_type_arg_10; PyTuple_SET_ITEM(tmp_right_name_5, 0, tmp_tuple_element_21); CHECK_OBJECT(tmp_class_creation_5__prepared); tmp_type_arg_10 = tmp_class_creation_5__prepared; tmp_expression_name_33 = BUILTIN_TYPE1(tmp_type_arg_10); assert(!(tmp_expression_name_33 == NULL)); tmp_tuple_element_21 = LOOKUP_ATTRIBUTE(tmp_expression_name_33, mod_consts[255]); Py_DECREF(tmp_expression_name_33); if (tmp_tuple_element_21 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; goto tuple_build_exception_7; } PyTuple_SET_ITEM(tmp_right_name_5, 1, tmp_tuple_element_21); } goto tuple_build_noexception_7; // Exception handling pass through code for tuple_build: tuple_build_exception_7:; Py_DECREF(tmp_right_name_5); goto try_except_handler_15; // Finished with no exception for tuple_build: tuple_build_noexception_7:; tmp_raise_value_5 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_5, tmp_right_name_5); Py_DECREF(tmp_right_name_5); if (tmp_raise_value_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; goto try_except_handler_15; } exception_type = tmp_raise_type_5; Py_INCREF(tmp_raise_type_5); exception_value = tmp_raise_value_5; exception_lineno = 185; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_15; } branch_no_19:; goto branch_end_18; branch_no_18:; { PyObject *tmp_assign_source_58; tmp_assign_source_58 = PyDict_New(); assert(tmp_class_creation_5__prepared == NULL); tmp_class_creation_5__prepared = tmp_assign_source_58; } branch_end_18:; { PyObject *tmp_assign_source_59; { PyObject *tmp_set_locals_5; CHECK_OBJECT(tmp_class_creation_5__prepared); tmp_set_locals_5 = tmp_class_creation_5__prepared; locals_models$eva_vit$$$class__5_PatchEmbed_185 = tmp_set_locals_5; Py_INCREF(tmp_set_locals_5); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[255]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[255]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__5_PatchEmbed_185, mod_consts[257], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; goto try_except_handler_17; } tmp_dictset_value = mod_consts[278]; tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__5_PatchEmbed_185, mod_consts[224], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; goto try_except_handler_17; } tmp_dictset_value = mod_consts[135]; tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__5_PatchEmbed_185, mod_consts[259], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; goto try_except_handler_17; } if (isFrameUnusable(cache_frame_1cd964112254225e4c50e7367fadca6e_6)) { Py_XDECREF(cache_frame_1cd964112254225e4c50e7367fadca6e_6); #if _DEBUG_REFCOUNTS if (cache_frame_1cd964112254225e4c50e7367fadca6e_6 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_1cd964112254225e4c50e7367fadca6e_6 = MAKE_FUNCTION_FRAME(codeobj_1cd964112254225e4c50e7367fadca6e, module_models$eva_vit, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_1cd964112254225e4c50e7367fadca6e_6->m_type_description == NULL); frame_1cd964112254225e4c50e7367fadca6e_6 = cache_frame_1cd964112254225e4c50e7367fadca6e_6; // Push the new frame as the currently active one. pushFrameStack(frame_1cd964112254225e4c50e7367fadca6e_6); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_1cd964112254225e4c50e7367fadca6e_6) == 2); // Frame stack // Framed code: { PyObject *tmp_defaults_8; struct Nuitka_CellObject *tmp_closure_4[1]; tmp_defaults_8 = mod_consts[279]; Py_INCREF(tmp_defaults_8); tmp_closure_4[0] = outline_4_var___class__; Py_INCREF(tmp_closure_4[0]); tmp_dictset_value = MAKE_FUNCTION_models$eva_vit$$$function__11___init__(tmp_defaults_8, tmp_closure_4); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__5_PatchEmbed_185, mod_consts[9], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 188; type_description_2 = "c"; goto frame_exception_exit_6; } } tmp_dictset_value = MAKE_FUNCTION_models$eva_vit$$$function__12_forward(); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__5_PatchEmbed_185, mod_consts[262], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 200; type_description_2 = "c"; goto frame_exception_exit_6; } #if 0 RESTORE_FRAME_EXCEPTION(frame_1cd964112254225e4c50e7367fadca6e_6); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_5; frame_exception_exit_6:; #if 0 RESTORE_FRAME_EXCEPTION(frame_1cd964112254225e4c50e7367fadca6e_6); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_1cd964112254225e4c50e7367fadca6e_6, exception_lineno); } else if (exception_tb->tb_frame != &frame_1cd964112254225e4c50e7367fadca6e_6->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_1cd964112254225e4c50e7367fadca6e_6, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_1cd964112254225e4c50e7367fadca6e_6, type_description_2, outline_4_var___class__ ); // Release cached frame if used for exception. if (frame_1cd964112254225e4c50e7367fadca6e_6 == cache_frame_1cd964112254225e4c50e7367fadca6e_6) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_1cd964112254225e4c50e7367fadca6e_6); cache_frame_1cd964112254225e4c50e7367fadca6e_6 = NULL; } assertFrameObject(frame_1cd964112254225e4c50e7367fadca6e_6); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_5; frame_no_exception_5:; goto skip_nested_handling_5; nested_frame_exit_5:; goto try_except_handler_17; skip_nested_handling_5:; { nuitka_bool tmp_condition_result_30; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; CHECK_OBJECT(tmp_class_creation_5__bases); tmp_compexpr_left_5 = tmp_class_creation_5__bases; CHECK_OBJECT(tmp_class_creation_5__bases_orig); tmp_compexpr_right_5 = tmp_class_creation_5__bases_orig; tmp_condition_result_30 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_5, tmp_compexpr_right_5); if (tmp_condition_result_30 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; goto try_except_handler_17; } if (tmp_condition_result_30 == NUITKA_BOOL_TRUE) { goto branch_yes_20; } else { goto branch_no_20; } assert(tmp_condition_result_30 != NUITKA_BOOL_UNASSIGNED); } branch_yes_20:; CHECK_OBJECT(tmp_class_creation_5__bases_orig); tmp_dictset_value = tmp_class_creation_5__bases_orig; tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__5_PatchEmbed_185, mod_consts[268], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; goto try_except_handler_17; } branch_no_20:; { PyObject *tmp_assign_source_60; PyObject *tmp_called_name_10; PyObject *tmp_args_name_10; PyObject *tmp_tuple_element_22; PyObject *tmp_kwargs_name_10; CHECK_OBJECT(tmp_class_creation_5__metaclass); tmp_called_name_10 = tmp_class_creation_5__metaclass; tmp_tuple_element_22 = mod_consts[135]; tmp_args_name_10 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_name_10, 0, tmp_tuple_element_22); CHECK_OBJECT(tmp_class_creation_5__bases); tmp_tuple_element_22 = tmp_class_creation_5__bases; PyTuple_SET_ITEM0(tmp_args_name_10, 1, tmp_tuple_element_22); tmp_tuple_element_22 = locals_models$eva_vit$$$class__5_PatchEmbed_185; PyTuple_SET_ITEM0(tmp_args_name_10, 2, tmp_tuple_element_22); CHECK_OBJECT(tmp_class_creation_5__class_decl_dict); tmp_kwargs_name_10 = tmp_class_creation_5__class_decl_dict; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 185; tmp_assign_source_60 = CALL_FUNCTION(tmp_called_name_10, tmp_args_name_10, tmp_kwargs_name_10); Py_DECREF(tmp_args_name_10); if (tmp_assign_source_60 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; goto try_except_handler_17; } { PyObject *old = Nuitka_Cell_GET(outline_4_var___class__); PyCell_SET(outline_4_var___class__, tmp_assign_source_60); Py_XDECREF(old); } } CHECK_OBJECT(Nuitka_Cell_GET(outline_4_var___class__)); tmp_assign_source_59 = Nuitka_Cell_GET(outline_4_var___class__); Py_INCREF(tmp_assign_source_59); goto try_return_handler_17; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_17:; Py_DECREF(locals_models$eva_vit$$$class__5_PatchEmbed_185); locals_models$eva_vit$$$class__5_PatchEmbed_185 = NULL; goto try_return_handler_16; // Exception handler code: try_except_handler_17:; exception_keeper_type_15 = exception_type; exception_keeper_value_15 = exception_value; exception_keeper_tb_15 = exception_tb; exception_keeper_lineno_15 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$eva_vit$$$class__5_PatchEmbed_185); locals_models$eva_vit$$$class__5_PatchEmbed_185 = NULL; // Re-raise. exception_type = exception_keeper_type_15; exception_value = exception_keeper_value_15; exception_tb = exception_keeper_tb_15; exception_lineno = exception_keeper_lineno_15; goto try_except_handler_16; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_16:; CHECK_OBJECT(outline_4_var___class__); Py_DECREF(outline_4_var___class__); outline_4_var___class__ = NULL; goto outline_result_5; // Exception handler code: try_except_handler_16:; exception_keeper_type_16 = exception_type; exception_keeper_value_16 = exception_value; exception_keeper_tb_16 = exception_tb; exception_keeper_lineno_16 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(outline_4_var___class__); Py_DECREF(outline_4_var___class__); outline_4_var___class__ = NULL; // Re-raise. exception_type = exception_keeper_type_16; exception_value = exception_keeper_value_16; exception_tb = exception_keeper_tb_16; exception_lineno = exception_keeper_lineno_16; goto outline_exception_5; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_5:; exception_lineno = 185; goto try_except_handler_15; outline_result_5:; UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[135], tmp_assign_source_59); } goto try_end_7; // Exception handler code: try_except_handler_15:; exception_keeper_type_17 = exception_type; exception_keeper_value_17 = exception_value; exception_keeper_tb_17 = exception_tb; exception_keeper_lineno_17 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_5__bases_orig); tmp_class_creation_5__bases_orig = NULL; Py_XDECREF(tmp_class_creation_5__bases); tmp_class_creation_5__bases = NULL; Py_XDECREF(tmp_class_creation_5__class_decl_dict); tmp_class_creation_5__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_5__metaclass); tmp_class_creation_5__metaclass = NULL; Py_XDECREF(tmp_class_creation_5__prepared); tmp_class_creation_5__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_17; exception_value = exception_keeper_value_17; exception_tb = exception_keeper_tb_17; exception_lineno = exception_keeper_lineno_17; goto frame_exception_exit_1; // End of try: try_end_7:; CHECK_OBJECT(tmp_class_creation_5__bases_orig); Py_DECREF(tmp_class_creation_5__bases_orig); tmp_class_creation_5__bases_orig = NULL; Py_XDECREF(tmp_class_creation_5__bases); tmp_class_creation_5__bases = NULL; Py_XDECREF(tmp_class_creation_5__class_decl_dict); tmp_class_creation_5__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_5__metaclass); tmp_class_creation_5__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_5__prepared); Py_DECREF(tmp_class_creation_5__prepared); tmp_class_creation_5__prepared = NULL; // Tried code: { PyObject *tmp_assign_source_61; PyObject *tmp_tuple_element_23; PyObject *tmp_expression_name_34; tmp_expression_name_34 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_34 == NULL)) { tmp_expression_name_34 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_34 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; goto try_except_handler_18; } tmp_tuple_element_23 = LOOKUP_ATTRIBUTE(tmp_expression_name_34, mod_consts[250]); if (tmp_tuple_element_23 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; goto try_except_handler_18; } tmp_assign_source_61 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_assign_source_61, 0, tmp_tuple_element_23); assert(tmp_class_creation_6__bases_orig == NULL); tmp_class_creation_6__bases_orig = tmp_assign_source_61; } { PyObject *tmp_assign_source_62; PyObject *tmp_dircall_arg1_6; CHECK_OBJECT(tmp_class_creation_6__bases_orig); tmp_dircall_arg1_6 = tmp_class_creation_6__bases_orig; Py_INCREF(tmp_dircall_arg1_6); { PyObject *dir_call_args[] = {tmp_dircall_arg1_6}; tmp_assign_source_62 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_62 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; goto try_except_handler_18; } assert(tmp_class_creation_6__bases == NULL); tmp_class_creation_6__bases = tmp_assign_source_62; } { PyObject *tmp_assign_source_63; tmp_assign_source_63 = PyDict_New(); assert(tmp_class_creation_6__class_decl_dict == NULL); tmp_class_creation_6__class_decl_dict = tmp_assign_source_63; } { PyObject *tmp_assign_source_64; PyObject *tmp_metaclass_name_6; nuitka_bool tmp_condition_result_31; PyObject *tmp_key_name_16; PyObject *tmp_dict_arg_name_16; PyObject *tmp_dict_arg_name_17; PyObject *tmp_key_name_17; nuitka_bool tmp_condition_result_32; int tmp_truth_name_6; PyObject *tmp_type_arg_11; PyObject *tmp_expression_name_35; PyObject *tmp_subscript_name_6; PyObject *tmp_bases_name_6; tmp_key_name_16 = mod_consts[251]; CHECK_OBJECT(tmp_class_creation_6__class_decl_dict); tmp_dict_arg_name_16 = tmp_class_creation_6__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_16, tmp_key_name_16); assert(!(tmp_res == -1)); tmp_condition_result_31 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_31 == NUITKA_BOOL_TRUE) { goto condexpr_true_11; } else { goto condexpr_false_11; } condexpr_true_11:; CHECK_OBJECT(tmp_class_creation_6__class_decl_dict); tmp_dict_arg_name_17 = tmp_class_creation_6__class_decl_dict; tmp_key_name_17 = mod_consts[251]; tmp_metaclass_name_6 = DICT_GET_ITEM_WITH_ERROR(tmp_dict_arg_name_17, tmp_key_name_17); if (tmp_metaclass_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; goto try_except_handler_18; } goto condexpr_end_11; condexpr_false_11:; CHECK_OBJECT(tmp_class_creation_6__bases); tmp_truth_name_6 = CHECK_IF_TRUE(tmp_class_creation_6__bases); if (tmp_truth_name_6 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; goto try_except_handler_18; } tmp_condition_result_32 = tmp_truth_name_6 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_32 == NUITKA_BOOL_TRUE) { goto condexpr_true_12; } else { goto condexpr_false_12; } condexpr_true_12:; CHECK_OBJECT(tmp_class_creation_6__bases); tmp_expression_name_35 = tmp_class_creation_6__bases; tmp_subscript_name_6 = mod_consts[41]; tmp_type_arg_11 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_35, tmp_subscript_name_6, 0); if (tmp_type_arg_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; goto try_except_handler_18; } tmp_metaclass_name_6 = BUILTIN_TYPE1(tmp_type_arg_11); Py_DECREF(tmp_type_arg_11); if (tmp_metaclass_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; goto try_except_handler_18; } goto condexpr_end_12; condexpr_false_12:; tmp_metaclass_name_6 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_6); condexpr_end_12:; condexpr_end_11:; CHECK_OBJECT(tmp_class_creation_6__bases); tmp_bases_name_6 = tmp_class_creation_6__bases; tmp_assign_source_64 = SELECT_METACLASS(tmp_metaclass_name_6, tmp_bases_name_6); Py_DECREF(tmp_metaclass_name_6); if (tmp_assign_source_64 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; goto try_except_handler_18; } assert(tmp_class_creation_6__metaclass == NULL); tmp_class_creation_6__metaclass = tmp_assign_source_64; } { nuitka_bool tmp_condition_result_33; PyObject *tmp_key_name_18; PyObject *tmp_dict_arg_name_18; tmp_key_name_18 = mod_consts[251]; CHECK_OBJECT(tmp_class_creation_6__class_decl_dict); tmp_dict_arg_name_18 = tmp_class_creation_6__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_18, tmp_key_name_18); assert(!(tmp_res == -1)); tmp_condition_result_33 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_33 == NUITKA_BOOL_TRUE) { goto branch_yes_21; } else { goto branch_no_21; } } branch_yes_21:; CHECK_OBJECT(tmp_class_creation_6__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_6__class_decl_dict; tmp_dictdel_key = mod_consts[251]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; goto try_except_handler_18; } branch_no_21:; { nuitka_bool tmp_condition_result_34; PyObject *tmp_expression_name_36; CHECK_OBJECT(tmp_class_creation_6__metaclass); tmp_expression_name_36 = tmp_class_creation_6__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_36, mod_consts[252]); tmp_condition_result_34 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_34 == NUITKA_BOOL_TRUE) { goto branch_yes_22; } else { goto branch_no_22; } } branch_yes_22:; { PyObject *tmp_assign_source_65; PyObject *tmp_called_name_11; PyObject *tmp_expression_name_37; PyObject *tmp_args_name_11; PyObject *tmp_tuple_element_24; PyObject *tmp_kwargs_name_11; CHECK_OBJECT(tmp_class_creation_6__metaclass); tmp_expression_name_37 = tmp_class_creation_6__metaclass; tmp_called_name_11 = LOOKUP_ATTRIBUTE(tmp_expression_name_37, mod_consts[252]); if (tmp_called_name_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; goto try_except_handler_18; } tmp_tuple_element_24 = mod_consts[142]; tmp_args_name_11 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_11, 0, tmp_tuple_element_24); CHECK_OBJECT(tmp_class_creation_6__bases); tmp_tuple_element_24 = tmp_class_creation_6__bases; PyTuple_SET_ITEM0(tmp_args_name_11, 1, tmp_tuple_element_24); CHECK_OBJECT(tmp_class_creation_6__class_decl_dict); tmp_kwargs_name_11 = tmp_class_creation_6__class_decl_dict; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 209; tmp_assign_source_65 = CALL_FUNCTION(tmp_called_name_11, tmp_args_name_11, tmp_kwargs_name_11); Py_DECREF(tmp_called_name_11); Py_DECREF(tmp_args_name_11); if (tmp_assign_source_65 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; goto try_except_handler_18; } assert(tmp_class_creation_6__prepared == NULL); tmp_class_creation_6__prepared = tmp_assign_source_65; } { nuitka_bool tmp_condition_result_35; PyObject *tmp_operand_name_6; PyObject *tmp_expression_name_38; CHECK_OBJECT(tmp_class_creation_6__prepared); tmp_expression_name_38 = tmp_class_creation_6__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_38, mod_consts[253]); tmp_operand_name_6 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_name_6); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; goto try_except_handler_18; } tmp_condition_result_35 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_35 == NUITKA_BOOL_TRUE) { goto branch_yes_23; } else { goto branch_no_23; } } branch_yes_23:; { PyObject *tmp_raise_type_6; PyObject *tmp_raise_value_6; PyObject *tmp_left_name_6; PyObject *tmp_right_name_6; PyObject *tmp_tuple_element_25; PyObject *tmp_getattr_target_6; PyObject *tmp_getattr_attr_6; PyObject *tmp_getattr_default_6; tmp_raise_type_6 = PyExc_TypeError; tmp_left_name_6 = mod_consts[254]; CHECK_OBJECT(tmp_class_creation_6__metaclass); tmp_getattr_target_6 = tmp_class_creation_6__metaclass; tmp_getattr_attr_6 = mod_consts[255]; tmp_getattr_default_6 = mod_consts[256]; tmp_tuple_element_25 = BUILTIN_GETATTR(tmp_getattr_target_6, tmp_getattr_attr_6, tmp_getattr_default_6); if (tmp_tuple_element_25 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; goto try_except_handler_18; } tmp_right_name_6 = PyTuple_New(2); { PyObject *tmp_expression_name_39; PyObject *tmp_type_arg_12; PyTuple_SET_ITEM(tmp_right_name_6, 0, tmp_tuple_element_25); CHECK_OBJECT(tmp_class_creation_6__prepared); tmp_type_arg_12 = tmp_class_creation_6__prepared; tmp_expression_name_39 = BUILTIN_TYPE1(tmp_type_arg_12); assert(!(tmp_expression_name_39 == NULL)); tmp_tuple_element_25 = LOOKUP_ATTRIBUTE(tmp_expression_name_39, mod_consts[255]); Py_DECREF(tmp_expression_name_39); if (tmp_tuple_element_25 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; goto tuple_build_exception_8; } PyTuple_SET_ITEM(tmp_right_name_6, 1, tmp_tuple_element_25); } goto tuple_build_noexception_8; // Exception handling pass through code for tuple_build: tuple_build_exception_8:; Py_DECREF(tmp_right_name_6); goto try_except_handler_18; // Finished with no exception for tuple_build: tuple_build_noexception_8:; tmp_raise_value_6 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_6, tmp_right_name_6); Py_DECREF(tmp_right_name_6); if (tmp_raise_value_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; goto try_except_handler_18; } exception_type = tmp_raise_type_6; Py_INCREF(tmp_raise_type_6); exception_value = tmp_raise_value_6; exception_lineno = 209; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_18; } branch_no_23:; goto branch_end_22; branch_no_22:; { PyObject *tmp_assign_source_66; tmp_assign_source_66 = PyDict_New(); assert(tmp_class_creation_6__prepared == NULL); tmp_class_creation_6__prepared = tmp_assign_source_66; } branch_end_22:; { PyObject *tmp_assign_source_67; { PyObject *tmp_set_locals_6; CHECK_OBJECT(tmp_class_creation_6__prepared); tmp_set_locals_6 = tmp_class_creation_6__prepared; locals_models$eva_vit$$$class__6_RelativePositionBias_209 = tmp_set_locals_6; Py_INCREF(tmp_set_locals_6); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[255]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[255]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__6_RelativePositionBias_209, mod_consts[257], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; goto try_except_handler_20; } tmp_dictset_value = mod_consts[142]; tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__6_RelativePositionBias_209, mod_consts[259], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; goto try_except_handler_20; } if (isFrameUnusable(cache_frame_1bb0233c85dac073bd221db7b8d08c7d_7)) { Py_XDECREF(cache_frame_1bb0233c85dac073bd221db7b8d08c7d_7); #if _DEBUG_REFCOUNTS if (cache_frame_1bb0233c85dac073bd221db7b8d08c7d_7 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_1bb0233c85dac073bd221db7b8d08c7d_7 = MAKE_FUNCTION_FRAME(codeobj_1bb0233c85dac073bd221db7b8d08c7d, module_models$eva_vit, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_1bb0233c85dac073bd221db7b8d08c7d_7->m_type_description == NULL); frame_1bb0233c85dac073bd221db7b8d08c7d_7 = cache_frame_1bb0233c85dac073bd221db7b8d08c7d_7; // Push the new frame as the currently active one. pushFrameStack(frame_1bb0233c85dac073bd221db7b8d08c7d_7); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_1bb0233c85dac073bd221db7b8d08c7d_7) == 2); // Frame stack // Framed code: { struct Nuitka_CellObject *tmp_closure_5[1]; tmp_closure_5[0] = outline_5_var___class__; Py_INCREF(tmp_closure_5[0]); tmp_dictset_value = MAKE_FUNCTION_models$eva_vit$$$function__13___init__(tmp_closure_5); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__6_RelativePositionBias_209, mod_consts[9], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 211; type_description_2 = "c"; goto frame_exception_exit_7; } } tmp_dictset_value = MAKE_FUNCTION_models$eva_vit$$$function__14_forward(); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__6_RelativePositionBias_209, mod_consts[262], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 240; type_description_2 = "c"; goto frame_exception_exit_7; } #if 0 RESTORE_FRAME_EXCEPTION(frame_1bb0233c85dac073bd221db7b8d08c7d_7); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_6; frame_exception_exit_7:; #if 0 RESTORE_FRAME_EXCEPTION(frame_1bb0233c85dac073bd221db7b8d08c7d_7); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_1bb0233c85dac073bd221db7b8d08c7d_7, exception_lineno); } else if (exception_tb->tb_frame != &frame_1bb0233c85dac073bd221db7b8d08c7d_7->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_1bb0233c85dac073bd221db7b8d08c7d_7, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_1bb0233c85dac073bd221db7b8d08c7d_7, type_description_2, outline_5_var___class__ ); // Release cached frame if used for exception. if (frame_1bb0233c85dac073bd221db7b8d08c7d_7 == cache_frame_1bb0233c85dac073bd221db7b8d08c7d_7) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_1bb0233c85dac073bd221db7b8d08c7d_7); cache_frame_1bb0233c85dac073bd221db7b8d08c7d_7 = NULL; } assertFrameObject(frame_1bb0233c85dac073bd221db7b8d08c7d_7); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_6; frame_no_exception_6:; goto skip_nested_handling_6; nested_frame_exit_6:; goto try_except_handler_20; skip_nested_handling_6:; { nuitka_bool tmp_condition_result_36; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; CHECK_OBJECT(tmp_class_creation_6__bases); tmp_compexpr_left_6 = tmp_class_creation_6__bases; CHECK_OBJECT(tmp_class_creation_6__bases_orig); tmp_compexpr_right_6 = tmp_class_creation_6__bases_orig; tmp_condition_result_36 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_6, tmp_compexpr_right_6); if (tmp_condition_result_36 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; goto try_except_handler_20; } if (tmp_condition_result_36 == NUITKA_BOOL_TRUE) { goto branch_yes_24; } else { goto branch_no_24; } assert(tmp_condition_result_36 != NUITKA_BOOL_UNASSIGNED); } branch_yes_24:; CHECK_OBJECT(tmp_class_creation_6__bases_orig); tmp_dictset_value = tmp_class_creation_6__bases_orig; tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__6_RelativePositionBias_209, mod_consts[268], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; goto try_except_handler_20; } branch_no_24:; { PyObject *tmp_assign_source_68; PyObject *tmp_called_name_12; PyObject *tmp_args_name_12; PyObject *tmp_tuple_element_26; PyObject *tmp_kwargs_name_12; CHECK_OBJECT(tmp_class_creation_6__metaclass); tmp_called_name_12 = tmp_class_creation_6__metaclass; tmp_tuple_element_26 = mod_consts[142]; tmp_args_name_12 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_name_12, 0, tmp_tuple_element_26); CHECK_OBJECT(tmp_class_creation_6__bases); tmp_tuple_element_26 = tmp_class_creation_6__bases; PyTuple_SET_ITEM0(tmp_args_name_12, 1, tmp_tuple_element_26); tmp_tuple_element_26 = locals_models$eva_vit$$$class__6_RelativePositionBias_209; PyTuple_SET_ITEM0(tmp_args_name_12, 2, tmp_tuple_element_26); CHECK_OBJECT(tmp_class_creation_6__class_decl_dict); tmp_kwargs_name_12 = tmp_class_creation_6__class_decl_dict; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 209; tmp_assign_source_68 = CALL_FUNCTION(tmp_called_name_12, tmp_args_name_12, tmp_kwargs_name_12); Py_DECREF(tmp_args_name_12); if (tmp_assign_source_68 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 209; goto try_except_handler_20; } { PyObject *old = Nuitka_Cell_GET(outline_5_var___class__); PyCell_SET(outline_5_var___class__, tmp_assign_source_68); Py_XDECREF(old); } } CHECK_OBJECT(Nuitka_Cell_GET(outline_5_var___class__)); tmp_assign_source_67 = Nuitka_Cell_GET(outline_5_var___class__); Py_INCREF(tmp_assign_source_67); goto try_return_handler_20; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_20:; Py_DECREF(locals_models$eva_vit$$$class__6_RelativePositionBias_209); locals_models$eva_vit$$$class__6_RelativePositionBias_209 = NULL; goto try_return_handler_19; // Exception handler code: try_except_handler_20:; exception_keeper_type_18 = exception_type; exception_keeper_value_18 = exception_value; exception_keeper_tb_18 = exception_tb; exception_keeper_lineno_18 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$eva_vit$$$class__6_RelativePositionBias_209); locals_models$eva_vit$$$class__6_RelativePositionBias_209 = NULL; // Re-raise. exception_type = exception_keeper_type_18; exception_value = exception_keeper_value_18; exception_tb = exception_keeper_tb_18; exception_lineno = exception_keeper_lineno_18; goto try_except_handler_19; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_19:; CHECK_OBJECT(outline_5_var___class__); Py_DECREF(outline_5_var___class__); outline_5_var___class__ = NULL; goto outline_result_6; // Exception handler code: try_except_handler_19:; exception_keeper_type_19 = exception_type; exception_keeper_value_19 = exception_value; exception_keeper_tb_19 = exception_tb; exception_keeper_lineno_19 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(outline_5_var___class__); Py_DECREF(outline_5_var___class__); outline_5_var___class__ = NULL; // Re-raise. exception_type = exception_keeper_type_19; exception_value = exception_keeper_value_19; exception_tb = exception_keeper_tb_19; exception_lineno = exception_keeper_lineno_19; goto outline_exception_6; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_6:; exception_lineno = 209; goto try_except_handler_18; outline_result_6:; UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[142], tmp_assign_source_67); } goto try_end_8; // Exception handler code: try_except_handler_18:; exception_keeper_type_20 = exception_type; exception_keeper_value_20 = exception_value; exception_keeper_tb_20 = exception_tb; exception_keeper_lineno_20 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_6__bases_orig); tmp_class_creation_6__bases_orig = NULL; Py_XDECREF(tmp_class_creation_6__bases); tmp_class_creation_6__bases = NULL; Py_XDECREF(tmp_class_creation_6__class_decl_dict); tmp_class_creation_6__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_6__metaclass); tmp_class_creation_6__metaclass = NULL; Py_XDECREF(tmp_class_creation_6__prepared); tmp_class_creation_6__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_20; exception_value = exception_keeper_value_20; exception_tb = exception_keeper_tb_20; exception_lineno = exception_keeper_lineno_20; goto frame_exception_exit_1; // End of try: try_end_8:; CHECK_OBJECT(tmp_class_creation_6__bases_orig); Py_DECREF(tmp_class_creation_6__bases_orig); tmp_class_creation_6__bases_orig = NULL; Py_XDECREF(tmp_class_creation_6__bases); tmp_class_creation_6__bases = NULL; Py_XDECREF(tmp_class_creation_6__class_decl_dict); tmp_class_creation_6__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_6__metaclass); tmp_class_creation_6__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_6__prepared); Py_DECREF(tmp_class_creation_6__prepared); tmp_class_creation_6__prepared = NULL; // Tried code: { PyObject *tmp_assign_source_69; PyObject *tmp_tuple_element_27; PyObject *tmp_expression_name_40; tmp_expression_name_40 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_40 == NULL)) { tmp_expression_name_40 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_40 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; goto try_except_handler_21; } tmp_tuple_element_27 = LOOKUP_ATTRIBUTE(tmp_expression_name_40, mod_consts[250]); if (tmp_tuple_element_27 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; goto try_except_handler_21; } tmp_assign_source_69 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_assign_source_69, 0, tmp_tuple_element_27); assert(tmp_class_creation_7__bases_orig == NULL); tmp_class_creation_7__bases_orig = tmp_assign_source_69; } { PyObject *tmp_assign_source_70; PyObject *tmp_dircall_arg1_7; CHECK_OBJECT(tmp_class_creation_7__bases_orig); tmp_dircall_arg1_7 = tmp_class_creation_7__bases_orig; Py_INCREF(tmp_dircall_arg1_7); { PyObject *dir_call_args[] = {tmp_dircall_arg1_7}; tmp_assign_source_70 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_70 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; goto try_except_handler_21; } assert(tmp_class_creation_7__bases == NULL); tmp_class_creation_7__bases = tmp_assign_source_70; } { PyObject *tmp_assign_source_71; tmp_assign_source_71 = PyDict_New(); assert(tmp_class_creation_7__class_decl_dict == NULL); tmp_class_creation_7__class_decl_dict = tmp_assign_source_71; } { PyObject *tmp_assign_source_72; PyObject *tmp_metaclass_name_7; nuitka_bool tmp_condition_result_37; PyObject *tmp_key_name_19; PyObject *tmp_dict_arg_name_19; PyObject *tmp_dict_arg_name_20; PyObject *tmp_key_name_20; nuitka_bool tmp_condition_result_38; int tmp_truth_name_7; PyObject *tmp_type_arg_13; PyObject *tmp_expression_name_41; PyObject *tmp_subscript_name_7; PyObject *tmp_bases_name_7; tmp_key_name_19 = mod_consts[251]; CHECK_OBJECT(tmp_class_creation_7__class_decl_dict); tmp_dict_arg_name_19 = tmp_class_creation_7__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_19, tmp_key_name_19); assert(!(tmp_res == -1)); tmp_condition_result_37 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_37 == NUITKA_BOOL_TRUE) { goto condexpr_true_13; } else { goto condexpr_false_13; } condexpr_true_13:; CHECK_OBJECT(tmp_class_creation_7__class_decl_dict); tmp_dict_arg_name_20 = tmp_class_creation_7__class_decl_dict; tmp_key_name_20 = mod_consts[251]; tmp_metaclass_name_7 = DICT_GET_ITEM_WITH_ERROR(tmp_dict_arg_name_20, tmp_key_name_20); if (tmp_metaclass_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; goto try_except_handler_21; } goto condexpr_end_13; condexpr_false_13:; CHECK_OBJECT(tmp_class_creation_7__bases); tmp_truth_name_7 = CHECK_IF_TRUE(tmp_class_creation_7__bases); if (tmp_truth_name_7 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; goto try_except_handler_21; } tmp_condition_result_38 = tmp_truth_name_7 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_38 == NUITKA_BOOL_TRUE) { goto condexpr_true_14; } else { goto condexpr_false_14; } condexpr_true_14:; CHECK_OBJECT(tmp_class_creation_7__bases); tmp_expression_name_41 = tmp_class_creation_7__bases; tmp_subscript_name_7 = mod_consts[41]; tmp_type_arg_13 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_41, tmp_subscript_name_7, 0); if (tmp_type_arg_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; goto try_except_handler_21; } tmp_metaclass_name_7 = BUILTIN_TYPE1(tmp_type_arg_13); Py_DECREF(tmp_type_arg_13); if (tmp_metaclass_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; goto try_except_handler_21; } goto condexpr_end_14; condexpr_false_14:; tmp_metaclass_name_7 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_7); condexpr_end_14:; condexpr_end_13:; CHECK_OBJECT(tmp_class_creation_7__bases); tmp_bases_name_7 = tmp_class_creation_7__bases; tmp_assign_source_72 = SELECT_METACLASS(tmp_metaclass_name_7, tmp_bases_name_7); Py_DECREF(tmp_metaclass_name_7); if (tmp_assign_source_72 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; goto try_except_handler_21; } assert(tmp_class_creation_7__metaclass == NULL); tmp_class_creation_7__metaclass = tmp_assign_source_72; } { nuitka_bool tmp_condition_result_39; PyObject *tmp_key_name_21; PyObject *tmp_dict_arg_name_21; tmp_key_name_21 = mod_consts[251]; CHECK_OBJECT(tmp_class_creation_7__class_decl_dict); tmp_dict_arg_name_21 = tmp_class_creation_7__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_21, tmp_key_name_21); assert(!(tmp_res == -1)); tmp_condition_result_39 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_39 == NUITKA_BOOL_TRUE) { goto branch_yes_25; } else { goto branch_no_25; } } branch_yes_25:; CHECK_OBJECT(tmp_class_creation_7__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_7__class_decl_dict; tmp_dictdel_key = mod_consts[251]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; goto try_except_handler_21; } branch_no_25:; { nuitka_bool tmp_condition_result_40; PyObject *tmp_expression_name_42; CHECK_OBJECT(tmp_class_creation_7__metaclass); tmp_expression_name_42 = tmp_class_creation_7__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_42, mod_consts[252]); tmp_condition_result_40 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_40 == NUITKA_BOOL_TRUE) { goto branch_yes_26; } else { goto branch_no_26; } } branch_yes_26:; { PyObject *tmp_assign_source_73; PyObject *tmp_called_name_13; PyObject *tmp_expression_name_43; PyObject *tmp_args_name_13; PyObject *tmp_tuple_element_28; PyObject *tmp_kwargs_name_13; CHECK_OBJECT(tmp_class_creation_7__metaclass); tmp_expression_name_43 = tmp_class_creation_7__metaclass; tmp_called_name_13 = LOOKUP_ATTRIBUTE(tmp_expression_name_43, mod_consts[252]); if (tmp_called_name_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; goto try_except_handler_21; } tmp_tuple_element_28 = mod_consts[204]; tmp_args_name_13 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_13, 0, tmp_tuple_element_28); CHECK_OBJECT(tmp_class_creation_7__bases); tmp_tuple_element_28 = tmp_class_creation_7__bases; PyTuple_SET_ITEM0(tmp_args_name_13, 1, tmp_tuple_element_28); CHECK_OBJECT(tmp_class_creation_7__class_decl_dict); tmp_kwargs_name_13 = tmp_class_creation_7__class_decl_dict; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 248; tmp_assign_source_73 = CALL_FUNCTION(tmp_called_name_13, tmp_args_name_13, tmp_kwargs_name_13); Py_DECREF(tmp_called_name_13); Py_DECREF(tmp_args_name_13); if (tmp_assign_source_73 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; goto try_except_handler_21; } assert(tmp_class_creation_7__prepared == NULL); tmp_class_creation_7__prepared = tmp_assign_source_73; } { nuitka_bool tmp_condition_result_41; PyObject *tmp_operand_name_7; PyObject *tmp_expression_name_44; CHECK_OBJECT(tmp_class_creation_7__prepared); tmp_expression_name_44 = tmp_class_creation_7__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_44, mod_consts[253]); tmp_operand_name_7 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_name_7); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; goto try_except_handler_21; } tmp_condition_result_41 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_41 == NUITKA_BOOL_TRUE) { goto branch_yes_27; } else { goto branch_no_27; } } branch_yes_27:; { PyObject *tmp_raise_type_7; PyObject *tmp_raise_value_7; PyObject *tmp_left_name_7; PyObject *tmp_right_name_7; PyObject *tmp_tuple_element_29; PyObject *tmp_getattr_target_7; PyObject *tmp_getattr_attr_7; PyObject *tmp_getattr_default_7; tmp_raise_type_7 = PyExc_TypeError; tmp_left_name_7 = mod_consts[254]; CHECK_OBJECT(tmp_class_creation_7__metaclass); tmp_getattr_target_7 = tmp_class_creation_7__metaclass; tmp_getattr_attr_7 = mod_consts[255]; tmp_getattr_default_7 = mod_consts[256]; tmp_tuple_element_29 = BUILTIN_GETATTR(tmp_getattr_target_7, tmp_getattr_attr_7, tmp_getattr_default_7); if (tmp_tuple_element_29 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; goto try_except_handler_21; } tmp_right_name_7 = PyTuple_New(2); { PyObject *tmp_expression_name_45; PyObject *tmp_type_arg_14; PyTuple_SET_ITEM(tmp_right_name_7, 0, tmp_tuple_element_29); CHECK_OBJECT(tmp_class_creation_7__prepared); tmp_type_arg_14 = tmp_class_creation_7__prepared; tmp_expression_name_45 = BUILTIN_TYPE1(tmp_type_arg_14); assert(!(tmp_expression_name_45 == NULL)); tmp_tuple_element_29 = LOOKUP_ATTRIBUTE(tmp_expression_name_45, mod_consts[255]); Py_DECREF(tmp_expression_name_45); if (tmp_tuple_element_29 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; goto tuple_build_exception_9; } PyTuple_SET_ITEM(tmp_right_name_7, 1, tmp_tuple_element_29); } goto tuple_build_noexception_9; // Exception handling pass through code for tuple_build: tuple_build_exception_9:; Py_DECREF(tmp_right_name_7); goto try_except_handler_21; // Finished with no exception for tuple_build: tuple_build_noexception_9:; tmp_raise_value_7 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_7, tmp_right_name_7); Py_DECREF(tmp_right_name_7); if (tmp_raise_value_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; goto try_except_handler_21; } exception_type = tmp_raise_type_7; Py_INCREF(tmp_raise_type_7); exception_value = tmp_raise_value_7; exception_lineno = 248; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_21; } branch_no_27:; goto branch_end_26; branch_no_26:; { PyObject *tmp_assign_source_74; tmp_assign_source_74 = PyDict_New(); assert(tmp_class_creation_7__prepared == NULL); tmp_class_creation_7__prepared = tmp_assign_source_74; } branch_end_26:; { PyObject *tmp_assign_source_75; { PyObject *tmp_set_locals_7; CHECK_OBJECT(tmp_class_creation_7__prepared); tmp_set_locals_7 = tmp_class_creation_7__prepared; locals_models$eva_vit$$$class__7_VisionTransformer_248 = tmp_set_locals_7; Py_INCREF(tmp_set_locals_7); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[255]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[255]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__7_VisionTransformer_248, mod_consts[257], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; goto try_except_handler_23; } tmp_dictset_value = mod_consts[284]; tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__7_VisionTransformer_248, mod_consts[224], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; goto try_except_handler_23; } tmp_dictset_value = mod_consts[204]; tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__7_VisionTransformer_248, mod_consts[259], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; goto try_except_handler_23; } if (isFrameUnusable(cache_frame_15d041386150a57970a9bb49e9945556_8)) { Py_XDECREF(cache_frame_15d041386150a57970a9bb49e9945556_8); #if _DEBUG_REFCOUNTS if (cache_frame_15d041386150a57970a9bb49e9945556_8 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_15d041386150a57970a9bb49e9945556_8 = MAKE_FUNCTION_FRAME(codeobj_15d041386150a57970a9bb49e9945556, module_models$eva_vit, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_15d041386150a57970a9bb49e9945556_8->m_type_description == NULL); frame_15d041386150a57970a9bb49e9945556_8 = cache_frame_15d041386150a57970a9bb49e9945556_8; // Push the new frame as the currently active one. pushFrameStack(frame_15d041386150a57970a9bb49e9945556_8); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_15d041386150a57970a9bb49e9945556_8) == 2); // Frame stack // Framed code: { PyObject *tmp_defaults_9; PyObject *tmp_tuple_element_30; struct Nuitka_CellObject *tmp_closure_6[1]; tmp_tuple_element_30 = mod_consts[285]; tmp_defaults_9 = PyTuple_New(21); { PyObject *tmp_expression_name_46; PyTuple_SET_ITEM0(tmp_defaults_9, 0, tmp_tuple_element_30); tmp_tuple_element_30 = mod_consts[209]; PyTuple_SET_ITEM0(tmp_defaults_9, 1, tmp_tuple_element_30); tmp_tuple_element_30 = mod_consts[30]; PyTuple_SET_ITEM0(tmp_defaults_9, 2, tmp_tuple_element_30); tmp_tuple_element_30 = mod_consts[286]; PyTuple_SET_ITEM0(tmp_defaults_9, 3, tmp_tuple_element_30); tmp_tuple_element_30 = mod_consts[287]; PyTuple_SET_ITEM0(tmp_defaults_9, 4, tmp_tuple_element_30); tmp_tuple_element_30 = mod_consts[288]; PyTuple_SET_ITEM0(tmp_defaults_9, 5, tmp_tuple_element_30); tmp_tuple_element_30 = mod_consts[288]; PyTuple_SET_ITEM0(tmp_defaults_9, 6, tmp_tuple_element_30); tmp_tuple_element_30 = mod_consts[275]; PyTuple_SET_ITEM0(tmp_defaults_9, 7, tmp_tuple_element_30); tmp_tuple_element_30 = Py_False; PyTuple_SET_ITEM0(tmp_defaults_9, 8, tmp_tuple_element_30); tmp_tuple_element_30 = Py_None; PyTuple_SET_ITEM0(tmp_defaults_9, 9, tmp_tuple_element_30); tmp_tuple_element_30 = mod_consts[101]; PyTuple_SET_ITEM0(tmp_defaults_9, 10, tmp_tuple_element_30); tmp_tuple_element_30 = mod_consts[101]; PyTuple_SET_ITEM0(tmp_defaults_9, 11, tmp_tuple_element_30); tmp_tuple_element_30 = mod_consts[101]; PyTuple_SET_ITEM0(tmp_defaults_9, 12, tmp_tuple_element_30); tmp_expression_name_46 = PyObject_GetItem(locals_models$eva_vit$$$class__7_VisionTransformer_248, mod_consts[17]); if (tmp_expression_name_46 == NULL) { if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { tmp_expression_name_46 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_46 == NULL)) { tmp_expression_name_46 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_46 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 253; type_description_2 = "c"; goto tuple_build_exception_10; } Py_INCREF(tmp_expression_name_46); } } tmp_tuple_element_30 = LOOKUP_ATTRIBUTE(tmp_expression_name_46, mod_consts[173]); Py_DECREF(tmp_expression_name_46); if (tmp_tuple_element_30 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 253; type_description_2 = "c"; goto tuple_build_exception_10; } PyTuple_SET_ITEM(tmp_defaults_9, 13, tmp_tuple_element_30); tmp_tuple_element_30 = Py_None; PyTuple_SET_ITEM0(tmp_defaults_9, 14, tmp_tuple_element_30); tmp_tuple_element_30 = Py_True; PyTuple_SET_ITEM0(tmp_defaults_9, 15, tmp_tuple_element_30); tmp_tuple_element_30 = Py_False; PyTuple_SET_ITEM0(tmp_defaults_9, 16, tmp_tuple_element_30); tmp_tuple_element_30 = Py_False; PyTuple_SET_ITEM0(tmp_defaults_9, 17, tmp_tuple_element_30); tmp_tuple_element_30 = Py_True; PyTuple_SET_ITEM0(tmp_defaults_9, 18, tmp_tuple_element_30); tmp_tuple_element_30 = mod_consts[289]; PyTuple_SET_ITEM0(tmp_defaults_9, 19, tmp_tuple_element_30); tmp_tuple_element_30 = Py_False; PyTuple_SET_ITEM0(tmp_defaults_9, 20, tmp_tuple_element_30); } goto tuple_build_noexception_10; // Exception handling pass through code for tuple_build: tuple_build_exception_10:; Py_DECREF(tmp_defaults_9); goto frame_exception_exit_8; // Finished with no exception for tuple_build: tuple_build_noexception_10:; tmp_closure_6[0] = outline_6_var___class__; Py_INCREF(tmp_closure_6[0]); tmp_dictset_value = MAKE_FUNCTION_models$eva_vit$$$function__15___init__(tmp_defaults_9, tmp_closure_6); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__7_VisionTransformer_248, mod_consts[9], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 251; type_description_2 = "c"; goto frame_exception_exit_8; } } tmp_dictset_value = MAKE_FUNCTION_models$eva_vit$$$function__16_fix_init_weight(); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__7_VisionTransformer_248, mod_consts[160], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 302; type_description_2 = "c"; goto frame_exception_exit_8; } tmp_dictset_value = MAKE_FUNCTION_models$eva_vit$$$function__17__init_weights(); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__7_VisionTransformer_248, mod_consts[159], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 310; type_description_2 = "c"; goto frame_exception_exit_8; } tmp_dictset_value = MAKE_FUNCTION_models$eva_vit$$$function__18_get_classifier(); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__7_VisionTransformer_248, mod_consts[293], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 319; type_description_2 = "c"; goto frame_exception_exit_8; } { PyObject *tmp_defaults_10; tmp_defaults_10 = mod_consts[248]; Py_INCREF(tmp_defaults_10); tmp_dictset_value = MAKE_FUNCTION_models$eva_vit$$$function__19_reset_classifier(tmp_defaults_10); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__7_VisionTransformer_248, mod_consts[295], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 322; type_description_2 = "c"; goto frame_exception_exit_8; } } tmp_dictset_value = MAKE_FUNCTION_models$eva_vit$$$function__20_forward_features(); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__7_VisionTransformer_248, mod_consts[179], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 326; type_description_2 = "c"; goto frame_exception_exit_8; } tmp_dictset_value = MAKE_FUNCTION_models$eva_vit$$$function__21_forward(); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__7_VisionTransformer_248, mod_consts[262], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 351; type_description_2 = "c"; goto frame_exception_exit_8; } tmp_dictset_value = MAKE_FUNCTION_models$eva_vit$$$function__22_get_intermediate_layers(); tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__7_VisionTransformer_248, mod_consts[299], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 356; type_description_2 = "c"; goto frame_exception_exit_8; } #if 0 RESTORE_FRAME_EXCEPTION(frame_15d041386150a57970a9bb49e9945556_8); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_7; frame_exception_exit_8:; #if 0 RESTORE_FRAME_EXCEPTION(frame_15d041386150a57970a9bb49e9945556_8); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_15d041386150a57970a9bb49e9945556_8, exception_lineno); } else if (exception_tb->tb_frame != &frame_15d041386150a57970a9bb49e9945556_8->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_15d041386150a57970a9bb49e9945556_8, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_15d041386150a57970a9bb49e9945556_8, type_description_2, outline_6_var___class__ ); // Release cached frame if used for exception. if (frame_15d041386150a57970a9bb49e9945556_8 == cache_frame_15d041386150a57970a9bb49e9945556_8) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_15d041386150a57970a9bb49e9945556_8); cache_frame_15d041386150a57970a9bb49e9945556_8 = NULL; } assertFrameObject(frame_15d041386150a57970a9bb49e9945556_8); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_7; frame_no_exception_7:; goto skip_nested_handling_7; nested_frame_exit_7:; goto try_except_handler_23; skip_nested_handling_7:; { nuitka_bool tmp_condition_result_42; PyObject *tmp_compexpr_left_7; PyObject *tmp_compexpr_right_7; CHECK_OBJECT(tmp_class_creation_7__bases); tmp_compexpr_left_7 = tmp_class_creation_7__bases; CHECK_OBJECT(tmp_class_creation_7__bases_orig); tmp_compexpr_right_7 = tmp_class_creation_7__bases_orig; tmp_condition_result_42 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_7, tmp_compexpr_right_7); if (tmp_condition_result_42 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; goto try_except_handler_23; } if (tmp_condition_result_42 == NUITKA_BOOL_TRUE) { goto branch_yes_28; } else { goto branch_no_28; } assert(tmp_condition_result_42 != NUITKA_BOOL_UNASSIGNED); } branch_yes_28:; CHECK_OBJECT(tmp_class_creation_7__bases_orig); tmp_dictset_value = tmp_class_creation_7__bases_orig; tmp_res = PyObject_SetItem(locals_models$eva_vit$$$class__7_VisionTransformer_248, mod_consts[268], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; goto try_except_handler_23; } branch_no_28:; { PyObject *tmp_assign_source_76; PyObject *tmp_called_name_14; PyObject *tmp_args_name_14; PyObject *tmp_tuple_element_31; PyObject *tmp_kwargs_name_14; CHECK_OBJECT(tmp_class_creation_7__metaclass); tmp_called_name_14 = tmp_class_creation_7__metaclass; tmp_tuple_element_31 = mod_consts[204]; tmp_args_name_14 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_name_14, 0, tmp_tuple_element_31); CHECK_OBJECT(tmp_class_creation_7__bases); tmp_tuple_element_31 = tmp_class_creation_7__bases; PyTuple_SET_ITEM0(tmp_args_name_14, 1, tmp_tuple_element_31); tmp_tuple_element_31 = locals_models$eva_vit$$$class__7_VisionTransformer_248; PyTuple_SET_ITEM0(tmp_args_name_14, 2, tmp_tuple_element_31); CHECK_OBJECT(tmp_class_creation_7__class_decl_dict); tmp_kwargs_name_14 = tmp_class_creation_7__class_decl_dict; frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame.f_lineno = 248; tmp_assign_source_76 = CALL_FUNCTION(tmp_called_name_14, tmp_args_name_14, tmp_kwargs_name_14); Py_DECREF(tmp_args_name_14); if (tmp_assign_source_76 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 248; goto try_except_handler_23; } { PyObject *old = Nuitka_Cell_GET(outline_6_var___class__); PyCell_SET(outline_6_var___class__, tmp_assign_source_76); Py_XDECREF(old); } } CHECK_OBJECT(Nuitka_Cell_GET(outline_6_var___class__)); tmp_assign_source_75 = Nuitka_Cell_GET(outline_6_var___class__); Py_INCREF(tmp_assign_source_75); goto try_return_handler_23; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_23:; Py_DECREF(locals_models$eva_vit$$$class__7_VisionTransformer_248); locals_models$eva_vit$$$class__7_VisionTransformer_248 = NULL; goto try_return_handler_22; // Exception handler code: try_except_handler_23:; exception_keeper_type_21 = exception_type; exception_keeper_value_21 = exception_value; exception_keeper_tb_21 = exception_tb; exception_keeper_lineno_21 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$eva_vit$$$class__7_VisionTransformer_248); locals_models$eva_vit$$$class__7_VisionTransformer_248 = NULL; // Re-raise. exception_type = exception_keeper_type_21; exception_value = exception_keeper_value_21; exception_tb = exception_keeper_tb_21; exception_lineno = exception_keeper_lineno_21; goto try_except_handler_22; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_22:; CHECK_OBJECT(outline_6_var___class__); Py_DECREF(outline_6_var___class__); outline_6_var___class__ = NULL; goto outline_result_7; // Exception handler code: try_except_handler_22:; exception_keeper_type_22 = exception_type; exception_keeper_value_22 = exception_value; exception_keeper_tb_22 = exception_tb; exception_keeper_lineno_22 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(outline_6_var___class__); Py_DECREF(outline_6_var___class__); outline_6_var___class__ = NULL; // Re-raise. exception_type = exception_keeper_type_22; exception_value = exception_keeper_value_22; exception_tb = exception_keeper_tb_22; exception_lineno = exception_keeper_lineno_22; goto outline_exception_7; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_7:; exception_lineno = 248; goto try_except_handler_21; outline_result_7:; UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[204], tmp_assign_source_75); } goto try_end_9; // Exception handler code: try_except_handler_21:; exception_keeper_type_23 = exception_type; exception_keeper_value_23 = exception_value; exception_keeper_tb_23 = exception_tb; exception_keeper_lineno_23 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_7__bases_orig); tmp_class_creation_7__bases_orig = NULL; Py_XDECREF(tmp_class_creation_7__bases); tmp_class_creation_7__bases = NULL; Py_XDECREF(tmp_class_creation_7__class_decl_dict); tmp_class_creation_7__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_7__metaclass); tmp_class_creation_7__metaclass = NULL; Py_XDECREF(tmp_class_creation_7__prepared); tmp_class_creation_7__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_23; exception_value = exception_keeper_value_23; exception_tb = exception_keeper_tb_23; exception_lineno = exception_keeper_lineno_23; goto frame_exception_exit_1; // End of try: try_end_9:; CHECK_OBJECT(tmp_class_creation_7__bases_orig); Py_DECREF(tmp_class_creation_7__bases_orig); tmp_class_creation_7__bases_orig = NULL; Py_XDECREF(tmp_class_creation_7__bases); tmp_class_creation_7__bases = NULL; Py_XDECREF(tmp_class_creation_7__class_decl_dict); tmp_class_creation_7__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_7__metaclass); tmp_class_creation_7__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_7__prepared); Py_DECREF(tmp_class_creation_7__prepared); tmp_class_creation_7__prepared = NULL; { PyObject *tmp_assign_source_77; tmp_assign_source_77 = MAKE_FUNCTION_models$eva_vit$$$function__23_interpolate_pos_embed(); UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[219], tmp_assign_source_77); } { PyObject *tmp_assign_source_78; PyObject *tmp_annotations_2; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; PyObject *tmp_expression_name_47; tmp_dict_key_2 = mod_consts[183]; tmp_expression_name_47 = GET_STRING_DICT_VALUE(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[17]); if (unlikely(tmp_expression_name_47 == NULL)) { tmp_expression_name_47 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); } if (tmp_expression_name_47 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 399; goto frame_exception_exit_1; } tmp_dict_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_47, mod_consts[250]); if (tmp_dict_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 399; goto frame_exception_exit_1; } tmp_annotations_2 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_2, tmp_dict_value_2); Py_DECREF(tmp_dict_value_2); assert(!(tmp_res != 0)); tmp_assign_source_78 = MAKE_FUNCTION_models$eva_vit$$$function__24_convert_weights_to_fp16(tmp_annotations_2); UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[223], tmp_assign_source_78); } // Restore frame exception if necessary. #if 0 RESTORE_FRAME_EXCEPTION(frame_ca7d5a72cb9493a006e151c55e0654a6); #endif popFrameStack(); assertFrameObject(frame_ca7d5a72cb9493a006e151c55e0654a6); goto frame_no_exception_8; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_ca7d5a72cb9493a006e151c55e0654a6); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_ca7d5a72cb9493a006e151c55e0654a6, exception_lineno); } else if (exception_tb->tb_frame != &frame_ca7d5a72cb9493a006e151c55e0654a6->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_ca7d5a72cb9493a006e151c55e0654a6, exception_lineno); } // Put the previous frame back on top. popFrameStack(); // Return the error. goto module_exception_exit; frame_no_exception_8:; { PyObject *tmp_assign_source_79; PyObject *tmp_defaults_11; tmp_defaults_11 = mod_consts[301]; Py_INCREF(tmp_defaults_11); tmp_assign_source_79 = MAKE_FUNCTION_models$eva_vit$$$function__25_create_eva_vit_g(tmp_defaults_11); UPDATE_STRING_DICT1(moduledict_models$eva_vit, (Nuitka_StringObject *)mod_consts[302], tmp_assign_source_79); } return module_models$eva_vit; module_exception_exit: RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; }