diff --git "a/medomni/models.build/module.models.medomni_bp.cpp" "b/medomni/models.build/module.models.medomni_bp.cpp" deleted file mode 100644--- "a/medomni/models.build/module.models.medomni_bp.cpp" +++ /dev/null @@ -1,38679 +0,0 @@ -/* Generated code for Python module 'models.medomni_bp' - * 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$medomni_bp" 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$medomni_bp; -PyDictObject *moduledict_models$medomni_bp; - -/* The declarations of module constants used, if any. */ -static PyObject *mod_consts[427]; - -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.medomni_bp")); - 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$medomni_bp(void) { - // The module may not have been used at all, then ignore this. - if (constants_created == false) return; - - checkConstantsBlob(&mod_consts[0], "models.medomni_bp"); -} -#endif - -// The module code objects. -static PyCodeObject *codeobj_9b154103e79061564ce08a43fe982301; -static PyCodeObject *codeobj_a23b435d9c357edb4040285571eceffb; -static PyCodeObject *codeobj_7e1dda8ee60d26582f97bb31596ad357; -static PyCodeObject *codeobj_b2b96fbed34f62b539d2c554c20d923d; -static PyCodeObject *codeobj_f5b91561ae1c4fa3afdef10fa21f1b7d; -static PyCodeObject *codeobj_61c6cd3e0de25dc41165ffa6ed32e42c; -static PyCodeObject *codeobj_ed9b4f20c21c660dd0d8fe8c995d8bb3; -static PyCodeObject *codeobj_df4c04242bced16e5cdef975c429cb8d; -static PyCodeObject *codeobj_63b85d45078d5c768ad6f82e6838a770; -static PyCodeObject *codeobj_ce5a7e5610b05275766f110c9eb7c5a7; -static PyCodeObject *codeobj_25d4492c6bc24c9ba55d89fcd7c18a51; -static PyCodeObject *codeobj_8e2d9ccb6d85da198b831c3a3c5e69c6; -static PyCodeObject *codeobj_6c800241dc87d02997e9d2e4b01fc079; -static PyCodeObject *codeobj_9f24eb05d199684a8b5a54133678fb42; -static PyCodeObject *codeobj_aee592ce980fa3c1d3fed78e1558148c; -static PyCodeObject *codeobj_59989aa3b41bd36889beee060e2da0b4; -static PyCodeObject *codeobj_f49b4cc387c566c587dd5b706722b99c; -static PyCodeObject *codeobj_4db878a8d04a4dfe8c38caaa351601be; -static PyCodeObject *codeobj_168b01bfd9d8202de2e66d125c81eec9; -static PyCodeObject *codeobj_cf7c573f3eabc09b380bf631954f6108; -static PyCodeObject *codeobj_b1ee5fd62d6c69da575619caa1d8e0c3; -static PyCodeObject *codeobj_d2f1eea242db134fa0b488a0ed0074d2; -static PyCodeObject *codeobj_fe557d162e569c6a186cf09bbb51e6fa; -static PyCodeObject *codeobj_678266b6b2faeb3dc81b89982e327d91; -static PyCodeObject *codeobj_e81ebbfb2ec3a1af6ddd6a3d2c75c165; -static PyCodeObject *codeobj_048bbd020f35504ab633cfd37d07e770; -static PyCodeObject *codeobj_3b40d46a4cb1e9e3d54dc40920fbf9d6; -static PyCodeObject *codeobj_40a21ff435291cacab2ca20091a7e59f; -static PyCodeObject *codeobj_213cbc07f24f34b89cdb18c9cf2e6690; -static PyCodeObject *codeobj_c18430faac4f931c946f463c136a2236; -static PyCodeObject *codeobj_b0b331f085277111601888195501fa13; -static PyCodeObject *codeobj_a45548cd58c2face9e36cbc89b979801; -static PyCodeObject *codeobj_30f7346d71ee32c85eb9e23ad4f81d69; -static PyCodeObject *codeobj_5d568379025a008913acddc22c837d7b; - -static void createModuleCodeObjects(void) { - module_filename_obj = MAKE_RELATIVE_PATH(mod_consts[400]); CHECK_OBJECT(module_filename_obj); - codeobj_9b154103e79061564ce08a43fe982301 = MAKE_CODEOBJECT(module_filename_obj, 356, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[306], mod_consts[401], NULL, 1, 0, 0); - codeobj_a23b435d9c357edb4040285571eceffb = MAKE_CODEOBJECT(module_filename_obj, 350, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[402], mod_consts[403], NULL, 1, 0, 0); - codeobj_7e1dda8ee60d26582f97bb31596ad357 = MAKE_CODEOBJECT(module_filename_obj, 293, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[402], mod_consts[404], NULL, 1, 0, 0); - codeobj_b2b96fbed34f62b539d2c554c20d923d = MAKE_CODEOBJECT(module_filename_obj, 457, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[402], mod_consts[405], NULL, 1, 0, 0); - codeobj_f5b91561ae1c4fa3afdef10fa21f1b7d = MAKE_CODEOBJECT(module_filename_obj, 371, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[402], mod_consts[406], NULL, 1, 0, 0); - codeobj_61c6cd3e0de25dc41165ffa6ed32e42c = MAKE_CODEOBJECT(module_filename_obj, 372, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[402], mod_consts[406], NULL, 1, 0, 0); - codeobj_ed9b4f20c21c660dd0d8fe8c995d8bb3 = MAKE_CODEOBJECT(module_filename_obj, 362, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[402], mod_consts[407], NULL, 1, 0, 0); - codeobj_df4c04242bced16e5cdef975c429cb8d = MAKE_CODEOBJECT(module_filename_obj, 375, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[402], mod_consts[408], NULL, 1, 0, 0); - codeobj_63b85d45078d5c768ad6f82e6838a770 = MAKE_CODEOBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[409], NULL, NULL, 0, 0, 0); - codeobj_ce5a7e5610b05275766f110c9eb7c5a7 = MAKE_CODEOBJECT(module_filename_obj, 214, CO_OPTIMIZED | CO_NOFREE, mod_consts[125], mod_consts[410], NULL, 0, 0, 0); - codeobj_25d4492c6bc24c9ba55d89fcd7c18a51 = MAKE_CODEOBJECT(module_filename_obj, 64, CO_NOFREE, mod_consts[47], mod_consts[410], NULL, 0, 0, 0); - codeobj_8e2d9ccb6d85da198b831c3a3c5e69c6 = MAKE_CODEOBJECT(module_filename_obj, 31, CO_NOFREE, mod_consts[17], mod_consts[410], NULL, 0, 0, 0); - codeobj_6c800241dc87d02997e9d2e4b01fc079 = MAKE_CODEOBJECT(module_filename_obj, 39, CO_NOFREE, mod_consts[76], mod_consts[410], NULL, 0, 0, 0); - codeobj_9f24eb05d199684a8b5a54133678fb42 = MAKE_CODEOBJECT(module_filename_obj, 133, CO_NOFREE, mod_consts[383], mod_consts[410], NULL, 0, 0, 0); - codeobj_aee592ce980fa3c1d3fed78e1558148c = MAKE_CODEOBJECT(module_filename_obj, 80, CO_NOFREE, mod_consts[164], mod_consts[410], NULL, 0, 0, 0); - codeobj_59989aa3b41bd36889beee060e2da0b4 = MAKE_CODEOBJECT(module_filename_obj, 81, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[31], mod_consts[411], mod_consts[410], 3, 0, 0); - codeobj_f49b4cc387c566c587dd5b706722b99c = MAKE_CODEOBJECT(module_filename_obj, 138, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[31], mod_consts[412], mod_consts[410], 7, 0, 0); - codeobj_4db878a8d04a4dfe8c38caaa351601be = MAKE_CODEOBJECT(module_filename_obj, 65, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[31], mod_consts[413], mod_consts[410], 2, 0, 0); - codeobj_168b01bfd9d8202de2e66d125c81eec9 = MAKE_CODEOBJECT(module_filename_obj, 56, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[50], mod_consts[414], NULL, 2, 0, 0); - codeobj_cf7c573f3eabc09b380bf631954f6108 = MAKE_CODEOBJECT(module_filename_obj, 282, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[231], mod_consts[415], NULL, 4, 0, 0); - codeobj_b1ee5fd62d6c69da575619caa1d8e0c3 = MAKE_CODEOBJECT(module_filename_obj, 86, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[2], mod_consts[416], NULL, 3, 0, 0); - codeobj_d2f1eea242db134fa0b488a0ed0074d2 = MAKE_CODEOBJECT(module_filename_obj, 69, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[2], mod_consts[417], NULL, 3, 0, 0); - codeobj_fe557d162e569c6a186cf09bbb51e6fa = MAKE_CODEOBJECT(module_filename_obj, 345, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[2], mod_consts[418], NULL, 2, 0, 0); - codeobj_678266b6b2faeb3dc81b89982e327d91 = MAKE_CODEOBJECT(module_filename_obj, 215, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[2], mod_consts[419], mod_consts[410], 2, 0, 0); - codeobj_e81ebbfb2ec3a1af6ddd6a3d2c75c165 = MAKE_CODEOBJECT(module_filename_obj, 34, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[2], mod_consts[420], mod_consts[410], 2, 0, 0); - codeobj_048bbd020f35504ab633cfd37d07e770 = MAKE_CODEOBJECT(module_filename_obj, 42, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[2], mod_consts[420], mod_consts[410], 2, 0, 0); - codeobj_3b40d46a4cb1e9e3d54dc40920fbf9d6 = MAKE_CODEOBJECT(module_filename_obj, 487, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[398], mod_consts[421], NULL, 3, 0, 0); - codeobj_40a21ff435291cacab2ca20091a7e59f = MAKE_CODEOBJECT(module_filename_obj, 315, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[264], mod_consts[422], NULL, 4, 0, 0); - codeobj_213cbc07f24f34b89cdb18c9cf2e6690 = MAKE_CODEOBJECT(module_filename_obj, 325, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[248], mod_consts[423], NULL, 6, 0, 0); - codeobj_c18430faac4f931c946f463c136a2236 = MAKE_CODEOBJECT(module_filename_obj, 47, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[12], mod_consts[424], NULL, 1, 0, 0); - codeobj_b0b331f085277111601888195501fa13 = MAKE_CODEOBJECT(module_filename_obj, 104, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[287], mod_consts[425], NULL, 2, 0, 0); - codeobj_a45548cd58c2face9e36cbc89b979801 = MAKE_CODEOBJECT(module_filename_obj, 118, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[293], mod_consts[425], NULL, 2, 0, 0); - codeobj_30f7346d71ee32c85eb9e23ad4f81d69 = MAKE_CODEOBJECT(module_filename_obj, 90, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[382], mod_consts[425], NULL, 2, 0, 0); - codeobj_5d568379025a008913acddc22c837d7b = MAKE_CODEOBJECT(module_filename_obj, 276, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[179], mod_consts[426], NULL, 1, 0, 0); -} - -// The module function declarations. -static PyObject *MAKE_GENERATOR_models$medomni_bp$$$function__17_forward$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure); - - -NUITKA_CROSS_MODULE PyObject *impl_models$$$function__1__mro_entries_conversion(PyObject **python_pars); - - -NUITKA_CROSS_MODULE PyObject *impl_models$$$function__2_complex_call_helper_star_list(PyObject **python_pars); - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__10_trans_det(); - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__11_trans_keypoint(); - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__12___init__(PyObject *defaults, struct Nuitka_CellObject **closure); - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__12___init__$$$function__1_forward(struct Nuitka_CellObject **closure); - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__13_vit_to_cpu(); - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__14_encode_img(); - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__15_prompt_concat(); - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__16_prompt_wrap(PyObject *defaults); - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__17_forward(); - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__18_from_config(PyObject *defaults); - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__1_forward(PyObject *annotations, struct Nuitka_CellObject **closure); - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__2_forward(PyObject *annotations, struct Nuitka_CellObject **closure); - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__3_replace_batchnorm_2d(); - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__4_dice_loss(); - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__5___init__(struct Nuitka_CellObject **closure); - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__6_forward(); - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__7___init__(struct Nuitka_CellObject **closure); - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__8_forward(); - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__9_trans_seg(); - - -// The module function definitions. -static PyObject *impl_models$medomni_bp$$$function__1_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 *var_orig_type = NULL; - PyObject *var_ret = NULL; - struct Nuitka_FrameObject *frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165; - 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_e81ebbfb2ec3a1af6ddd6a3d2c75c165 = 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_e81ebbfb2ec3a1af6ddd6a3d2c75c165)) { - Py_XDECREF(cache_frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165); - -#if _DEBUG_REFCOUNTS - if (cache_frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165 = MAKE_FUNCTION_FRAME(codeobj_e81ebbfb2ec3a1af6ddd6a3d2c75c165, module_models$medomni_bp, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - assert(cache_frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165->m_type_description == NULL); - frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165 = cache_frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165; - - // Push the new frame as the currently active one. - pushFrameStack(frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165) == 2); // Frame stack - - // Framed code: - { - PyObject *tmp_assign_source_1; - PyObject *tmp_expression_name_1; - CHECK_OBJECT(par_x); - tmp_expression_name_1 = par_x; - tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[0]); - if (tmp_assign_source_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 35; - type_description_1 = "ooooc"; - goto frame_exception_exit_1; - } - assert(var_orig_type == NULL); - var_orig_type = tmp_assign_source_1; - } - { - PyObject *tmp_assign_source_2; - PyObject *tmp_called_name_1; - PyObject *tmp_expression_name_2; - PyObject *tmp_type_arg_name_1; - PyObject *tmp_object_arg_name_1; - PyObject *tmp_args_element_name_1; - PyObject *tmp_called_name_2; - PyObject *tmp_expression_name_3; - PyObject *tmp_args_element_name_2; - PyObject *tmp_expression_name_4; - if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { - - FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[1]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 36; - type_description_1 = "ooooc"; - 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_expression_name_2 = BUILTIN_SUPER0(tmp_type_arg_name_1, tmp_object_arg_name_1); - if (tmp_expression_name_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 36; - type_description_1 = "ooooc"; - goto frame_exception_exit_1; - } - tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[2]); - Py_DECREF(tmp_expression_name_2); - if (tmp_called_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 36; - type_description_1 = "ooooc"; - 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[3]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 36; - type_description_1 = "ooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_3 = par_x; - tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[4]); - 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 = 36; - type_description_1 = "ooooc"; - goto frame_exception_exit_1; - } - tmp_expression_name_4 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_4 == NULL)) { - tmp_expression_name_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_4 == 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 = 36; - type_description_1 = "ooooc"; - goto frame_exception_exit_1; - } - tmp_args_element_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[6]); - 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 = 36; - type_description_1 = "ooooc"; - goto frame_exception_exit_1; - } - frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165->m_frame.f_lineno = 36; - 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 = 36; - type_description_1 = "ooooc"; - goto frame_exception_exit_1; - } - frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165->m_frame.f_lineno = 36; - tmp_assign_source_2 = 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_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 36; - type_description_1 = "ooooc"; - goto frame_exception_exit_1; - } - assert(var_ret == NULL); - var_ret = tmp_assign_source_2; - } - { - PyObject *tmp_called_instance_1; - PyObject *tmp_args_element_name_3; - CHECK_OBJECT(var_ret); - tmp_called_instance_1 = var_ret; - CHECK_OBJECT(var_orig_type); - tmp_args_element_name_3 = var_orig_type; - frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165->m_frame.f_lineno = 37; - tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[4], tmp_args_element_name_3); - if (tmp_return_value == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 37; - type_description_1 = "ooooc"; - goto frame_exception_exit_1; - } - goto frame_return_exit_1; - } - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_1; - - frame_return_exit_1:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_1; - - frame_exception_exit_1:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165, exception_lineno); - } else if (exception_tb->tb_frame != &frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165, - type_description_1, - par_self, - par_x, - var_orig_type, - var_ret, - self->m_closure[0] - ); - - - // Release cached frame if used for exception. - if (frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165 == cache_frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165); - cache_frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165 = NULL; - } - - assertFrameObject(frame_e81ebbfb2ec3a1af6ddd6a3d2c75c165); - - // 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_self); - Py_DECREF(par_self); - par_self = NULL; - Py_XDECREF(par_x); - par_x = NULL; - Py_XDECREF(var_orig_type); - var_orig_type = NULL; - Py_XDECREF(var_ret); - var_ret = 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_x); - par_x = NULL; - Py_XDECREF(var_orig_type); - var_orig_type = NULL; - Py_XDECREF(var_ret); - var_ret = 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$medomni_bp$$$function__2_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 *var_orig_type = NULL; - PyObject *var_ret = NULL; - struct Nuitka_FrameObject *frame_048bbd020f35504ab633cfd37d07e770; - 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_048bbd020f35504ab633cfd37d07e770 = 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_048bbd020f35504ab633cfd37d07e770)) { - Py_XDECREF(cache_frame_048bbd020f35504ab633cfd37d07e770); - -#if _DEBUG_REFCOUNTS - if (cache_frame_048bbd020f35504ab633cfd37d07e770 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_048bbd020f35504ab633cfd37d07e770 = MAKE_FUNCTION_FRAME(codeobj_048bbd020f35504ab633cfd37d07e770, module_models$medomni_bp, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - assert(cache_frame_048bbd020f35504ab633cfd37d07e770->m_type_description == NULL); - frame_048bbd020f35504ab633cfd37d07e770 = cache_frame_048bbd020f35504ab633cfd37d07e770; - - // Push the new frame as the currently active one. - pushFrameStack(frame_048bbd020f35504ab633cfd37d07e770); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_048bbd020f35504ab633cfd37d07e770) == 2); // Frame stack - - // Framed code: - { - PyObject *tmp_assign_source_1; - PyObject *tmp_expression_name_1; - CHECK_OBJECT(par_x); - tmp_expression_name_1 = par_x; - tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[0]); - if (tmp_assign_source_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 43; - type_description_1 = "ooooc"; - goto frame_exception_exit_1; - } - assert(var_orig_type == NULL); - var_orig_type = tmp_assign_source_1; - } - { - PyObject *tmp_assign_source_2; - PyObject *tmp_called_name_1; - PyObject *tmp_expression_name_2; - PyObject *tmp_type_arg_name_1; - PyObject *tmp_object_arg_name_1; - PyObject *tmp_args_element_name_1; - PyObject *tmp_called_name_2; - PyObject *tmp_expression_name_3; - PyObject *tmp_args_element_name_2; - PyObject *tmp_expression_name_4; - if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { - - FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[1]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 44; - type_description_1 = "ooooc"; - 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_expression_name_2 = BUILTIN_SUPER0(tmp_type_arg_name_1, tmp_object_arg_name_1); - if (tmp_expression_name_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 44; - type_description_1 = "ooooc"; - goto frame_exception_exit_1; - } - tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[2]); - Py_DECREF(tmp_expression_name_2); - if (tmp_called_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 44; - type_description_1 = "ooooc"; - 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[3]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 44; - type_description_1 = "ooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_3 = par_x; - tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[4]); - 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 = 44; - type_description_1 = "ooooc"; - goto frame_exception_exit_1; - } - tmp_expression_name_4 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_4 == NULL)) { - tmp_expression_name_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_4 == 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 = 44; - type_description_1 = "ooooc"; - goto frame_exception_exit_1; - } - tmp_args_element_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[6]); - 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 = 44; - type_description_1 = "ooooc"; - goto frame_exception_exit_1; - } - frame_048bbd020f35504ab633cfd37d07e770->m_frame.f_lineno = 44; - 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 = 44; - type_description_1 = "ooooc"; - goto frame_exception_exit_1; - } - frame_048bbd020f35504ab633cfd37d07e770->m_frame.f_lineno = 44; - tmp_assign_source_2 = 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_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 44; - type_description_1 = "ooooc"; - goto frame_exception_exit_1; - } - assert(var_ret == NULL); - var_ret = tmp_assign_source_2; - } - { - PyObject *tmp_called_instance_1; - PyObject *tmp_args_element_name_3; - CHECK_OBJECT(var_ret); - tmp_called_instance_1 = var_ret; - CHECK_OBJECT(var_orig_type); - tmp_args_element_name_3 = var_orig_type; - frame_048bbd020f35504ab633cfd37d07e770->m_frame.f_lineno = 45; - tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[4], tmp_args_element_name_3); - if (tmp_return_value == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 45; - type_description_1 = "ooooc"; - goto frame_exception_exit_1; - } - goto frame_return_exit_1; - } - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_048bbd020f35504ab633cfd37d07e770); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_1; - - frame_return_exit_1:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_048bbd020f35504ab633cfd37d07e770); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_1; - - frame_exception_exit_1:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_048bbd020f35504ab633cfd37d07e770); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_048bbd020f35504ab633cfd37d07e770, exception_lineno); - } else if (exception_tb->tb_frame != &frame_048bbd020f35504ab633cfd37d07e770->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_048bbd020f35504ab633cfd37d07e770, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_048bbd020f35504ab633cfd37d07e770, - type_description_1, - par_self, - par_x, - var_orig_type, - var_ret, - self->m_closure[0] - ); - - - // Release cached frame if used for exception. - if (frame_048bbd020f35504ab633cfd37d07e770 == cache_frame_048bbd020f35504ab633cfd37d07e770) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_048bbd020f35504ab633cfd37d07e770); - cache_frame_048bbd020f35504ab633cfd37d07e770 = NULL; - } - - assertFrameObject(frame_048bbd020f35504ab633cfd37d07e770); - - // 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_self); - Py_DECREF(par_self); - par_self = NULL; - Py_XDECREF(par_x); - par_x = NULL; - Py_XDECREF(var_orig_type); - var_orig_type = NULL; - Py_XDECREF(var_ret); - var_ret = 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_x); - par_x = NULL; - Py_XDECREF(var_orig_type); - var_orig_type = NULL; - Py_XDECREF(var_ret); - var_ret = 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$medomni_bp$$$function__3_replace_batchnorm_2d(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_name = NULL; - PyObject *var_module = 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_c18430faac4f931c946f463c136a2236; - 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; - bool tmp_result; - 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 *tmp_return_value = NULL; - static struct Nuitka_FrameObject *cache_frame_c18430faac4f931c946f463c136a2236 = 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_c18430faac4f931c946f463c136a2236)) { - Py_XDECREF(cache_frame_c18430faac4f931c946f463c136a2236); - -#if _DEBUG_REFCOUNTS - if (cache_frame_c18430faac4f931c946f463c136a2236 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_c18430faac4f931c946f463c136a2236 = MAKE_FUNCTION_FRAME(codeobj_c18430faac4f931c946f463c136a2236, module_models$medomni_bp, sizeof(void *)+sizeof(void *)+sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - assert(cache_frame_c18430faac4f931c946f463c136a2236->m_type_description == NULL); - frame_c18430faac4f931c946f463c136a2236 = cache_frame_c18430faac4f931c946f463c136a2236; - - // Push the new frame as the currently active one. - pushFrameStack(frame_c18430faac4f931c946f463c136a2236); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_c18430faac4f931c946f463c136a2236) == 2); // Frame stack - - // Framed code: - { - PyObject *tmp_assign_source_1; - PyObject *tmp_iter_arg_1; - PyObject *tmp_called_name_1; - PyObject *tmp_args_element_name_1; - PyObject *tmp_called_instance_1; - PyObject *tmp_expression_name_1; - tmp_called_name_1 = (PyObject *)&PyReversed_Type; - CHECK_OBJECT(par_model); - tmp_expression_name_1 = par_model; - tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[7]); - if (tmp_called_instance_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 48; - type_description_1 = "ooo"; - goto frame_exception_exit_1; - } - frame_c18430faac4f931c946f463c136a2236->m_frame.f_lineno = 48; - tmp_args_element_name_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[8]); - Py_DECREF(tmp_called_instance_1); - if (tmp_args_element_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 48; - type_description_1 = "ooo"; - goto frame_exception_exit_1; - } - frame_c18430faac4f931c946f463c136a2236->m_frame.f_lineno = 48; - 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 = 48; - type_description_1 = "ooo"; - goto frame_exception_exit_1; - } - tmp_assign_source_1 = MAKE_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 = 48; - type_description_1 = "ooo"; - goto frame_exception_exit_1; - } - assert(tmp_for_loop_1__for_iterator == NULL); - tmp_for_loop_1__for_iterator = tmp_assign_source_1; - } - // Tried code: - loop_start_1:; - { - PyObject *tmp_next_source_1; - PyObject *tmp_assign_source_2; - CHECK_OBJECT(tmp_for_loop_1__for_iterator); - tmp_next_source_1 = tmp_for_loop_1__for_iterator; - tmp_assign_source_2 = ITERATOR_NEXT(tmp_next_source_1); - if (tmp_assign_source_2 == 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 = "ooo"; - exception_lineno = 48; - goto try_except_handler_2; - } - } - - { - PyObject *old = tmp_for_loop_1__iter_value; - tmp_for_loop_1__iter_value = tmp_assign_source_2; - Py_XDECREF(old); - } - - } - // Tried code: - { - PyObject *tmp_assign_source_3; - 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_3 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2); - if (tmp_assign_source_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 48; - type_description_1 = "ooo"; - goto try_except_handler_3; - } - { - PyObject *old = tmp_tuple_unpack_1__source_iter; - tmp_tuple_unpack_1__source_iter = tmp_assign_source_3; - Py_XDECREF(old); - } - - } - // Tried code: - { - PyObject *tmp_assign_source_4; - PyObject *tmp_unpack_1; - CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); - tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; - tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_1, 0, 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 = "ooo"; - exception_lineno = 48; - goto try_except_handler_4; - } - { - PyObject *old = tmp_tuple_unpack_1__element_1; - tmp_tuple_unpack_1__element_1 = tmp_assign_source_4; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_5; - PyObject *tmp_unpack_2; - CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); - tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; - tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_2, 1, 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 = "ooo"; - exception_lineno = 48; - goto try_except_handler_4; - } - { - PyObject *old = tmp_tuple_unpack_1__element_2; - tmp_tuple_unpack_1__element_2 = tmp_assign_source_5; - 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 = "ooo"; - exception_lineno = 48; - goto try_except_handler_4; - } - } - } else { - Py_DECREF(tmp_iterator_attempt); - - exception_type = PyExc_ValueError; - Py_INCREF(PyExc_ValueError); - exception_value = mod_consts[9]; - Py_INCREF(exception_value); - exception_tb = NULL; - - type_description_1 = "ooo"; - exception_lineno = 48; - 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_6; - CHECK_OBJECT(tmp_tuple_unpack_1__element_1); - tmp_assign_source_6 = tmp_tuple_unpack_1__element_1; - { - PyObject *old = var_name; - var_name = tmp_assign_source_6; - Py_INCREF(var_name); - Py_XDECREF(old); - } - - } - 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; - { - PyObject *old = var_module; - var_module = tmp_assign_source_7; - Py_INCREF(var_module); - 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; - { - bool tmp_condition_result_1; - PyObject *tmp_compexpr_left_1; - PyObject *tmp_compexpr_right_1; - PyObject *tmp_len_arg_1; - PyObject *tmp_list_arg_1; - PyObject *tmp_called_instance_2; - PyObject *tmp_tmp_condition_result_1_object_1; - CHECK_OBJECT(var_module); - tmp_called_instance_2 = var_module; - frame_c18430faac4f931c946f463c136a2236->m_frame.f_lineno = 49; - tmp_list_arg_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[10]); - if (tmp_list_arg_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 49; - type_description_1 = "ooo"; - goto try_except_handler_2; - } - tmp_len_arg_1 = MAKE_LIST(tmp_list_arg_1); - Py_DECREF(tmp_list_arg_1); - if (tmp_len_arg_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 49; - type_description_1 = "ooo"; - goto try_except_handler_2; - } - tmp_compexpr_left_1 = BUILTIN_LEN(tmp_len_arg_1); - Py_DECREF(tmp_len_arg_1); - if (tmp_compexpr_left_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 49; - type_description_1 = "ooo"; - goto try_except_handler_2; - } - tmp_compexpr_right_1 = mod_consts[11]; - tmp_tmp_condition_result_1_object_1 = RICH_COMPARE_GT_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_1, tmp_compexpr_right_1); - Py_DECREF(tmp_compexpr_left_1); - assert(!(tmp_tmp_condition_result_1_object_1 == NULL)); - tmp_condition_result_1 = CHECK_IF_TRUE(tmp_tmp_condition_result_1_object_1) == 1; - Py_DECREF(tmp_tmp_condition_result_1_object_1); - if (tmp_condition_result_1 != false) { - goto branch_yes_1; - } else { - goto branch_no_1; - } - } - branch_yes_1:; - { - PyObject *tmp_ass_subvalue_1; - PyObject *tmp_called_name_2; - PyObject *tmp_args_element_name_2; - PyObject *tmp_ass_subscribed_1; - PyObject *tmp_expression_name_2; - PyObject *tmp_ass_subscript_1; - tmp_called_name_2 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[12]); - - if (unlikely(tmp_called_name_2 == NULL)) { - tmp_called_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[12]); - } - - if (tmp_called_name_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 50; - type_description_1 = "ooo"; - goto try_except_handler_2; - } - if (var_module == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[13]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 50; - type_description_1 = "ooo"; - goto try_except_handler_2; - } - - tmp_args_element_name_2 = var_module; - frame_c18430faac4f931c946f463c136a2236->m_frame.f_lineno = 50; - tmp_ass_subvalue_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_2, tmp_args_element_name_2); - if (tmp_ass_subvalue_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 50; - type_description_1 = "ooo"; - goto try_except_handler_2; - } - if (par_model == NULL) { - Py_DECREF(tmp_ass_subvalue_1); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[14]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 50; - type_description_1 = "ooo"; - goto try_except_handler_2; - } - - tmp_expression_name_2 = par_model; - tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[7]); - if (tmp_ass_subscribed_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_ass_subvalue_1); - - exception_lineno = 50; - type_description_1 = "ooo"; - goto try_except_handler_2; - } - CHECK_OBJECT(var_name); - tmp_ass_subscript_1 = var_name; - tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1); - Py_DECREF(tmp_ass_subscribed_1); - Py_DECREF(tmp_ass_subvalue_1); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 50; - type_description_1 = "ooo"; - goto try_except_handler_2; - } - } - branch_no_1:; - { - nuitka_bool tmp_condition_result_2; - PyObject *tmp_isinstance_inst_1; - PyObject *tmp_isinstance_cls_1; - PyObject *tmp_expression_name_3; - if (var_module == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[13]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 52; - type_description_1 = "ooo"; - goto try_except_handler_2; - } - - tmp_isinstance_inst_1 = var_module; - tmp_expression_name_3 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[15]); - - if (unlikely(tmp_expression_name_3 == NULL)) { - tmp_expression_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]); - } - - if (tmp_expression_name_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 52; - type_description_1 = "ooo"; - goto try_except_handler_2; - } - tmp_isinstance_cls_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[16]); - if (tmp_isinstance_cls_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 52; - type_description_1 = "ooo"; - goto try_except_handler_2; - } - 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 = 52; - type_description_1 = "ooo"; - goto try_except_handler_2; - } - tmp_condition_result_2 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; - if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) { - goto branch_yes_2; - } else { - goto branch_no_2; - } - } - branch_yes_2:; - { - PyObject *tmp_ass_subvalue_2; - PyObject *tmp_called_name_3; - PyObject *tmp_kwargs_name_1; - PyObject *tmp_dict_key_1; - PyObject *tmp_dict_value_1; - PyObject *tmp_ass_subscribed_2; - PyObject *tmp_expression_name_5; - PyObject *tmp_ass_subscript_2; - tmp_called_name_3 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[17]); - - if (unlikely(tmp_called_name_3 == NULL)) { - tmp_called_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); - } - - if (tmp_called_name_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 53; - type_description_1 = "ooo"; - goto try_except_handler_2; - } - tmp_dict_key_1 = mod_consts[18]; - tmp_dict_value_1 = mod_consts[19]; - tmp_kwargs_name_1 = _PyDict_NewPresized( 2 ); - { - PyObject *tmp_expression_name_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[20]; - if (var_module == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[13]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 53; - type_description_1 = "ooo"; - goto dict_build_exception_1; - } - - tmp_expression_name_4 = var_module; - tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[21]); - if (tmp_dict_value_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 53; - type_description_1 = "ooo"; - 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_kwargs_name_1); - goto try_except_handler_2; - // Finished with no exception for dict_build: - dict_build_noexception_1:; - frame_c18430faac4f931c946f463c136a2236->m_frame.f_lineno = 53; - tmp_ass_subvalue_2 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_3, tmp_kwargs_name_1); - Py_DECREF(tmp_kwargs_name_1); - if (tmp_ass_subvalue_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 53; - type_description_1 = "ooo"; - goto try_except_handler_2; - } - if (par_model == NULL) { - Py_DECREF(tmp_ass_subvalue_2); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[14]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 53; - type_description_1 = "ooo"; - goto try_except_handler_2; - } - - tmp_expression_name_5 = par_model; - tmp_ass_subscribed_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[7]); - if (tmp_ass_subscribed_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_ass_subvalue_2); - - exception_lineno = 53; - type_description_1 = "ooo"; - goto try_except_handler_2; - } - CHECK_OBJECT(var_name); - tmp_ass_subscript_2 = var_name; - tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2); - Py_DECREF(tmp_ass_subscribed_2); - Py_DECREF(tmp_ass_subvalue_2); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 53; - type_description_1 = "ooo"; - goto try_except_handler_2; - } - } - branch_no_2:; - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 48; - type_description_1 = "ooo"; - 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:; - 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_model == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[14]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 54; - type_description_1 = "ooo"; - goto frame_exception_exit_1; - } - - tmp_return_value = par_model; - Py_INCREF(tmp_return_value); - goto frame_return_exit_1; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_c18430faac4f931c946f463c136a2236); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_1; - - frame_return_exit_1:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_c18430faac4f931c946f463c136a2236); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_1; - - frame_exception_exit_1:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_c18430faac4f931c946f463c136a2236); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_c18430faac4f931c946f463c136a2236, exception_lineno); - } else if (exception_tb->tb_frame != &frame_c18430faac4f931c946f463c136a2236->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_c18430faac4f931c946f463c136a2236, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_c18430faac4f931c946f463c136a2236, - type_description_1, - par_model, - var_name, - var_module - ); - - - // Release cached frame if used for exception. - if (frame_c18430faac4f931c946f463c136a2236 == cache_frame_c18430faac4f931c946f463c136a2236) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_c18430faac4f931c946f463c136a2236); - cache_frame_c18430faac4f931c946f463c136a2236 = NULL; - } - - assertFrameObject(frame_c18430faac4f931c946f463c136a2236); - - // 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_model); - par_model = NULL; - Py_XDECREF(var_name); - var_name = NULL; - Py_XDECREF(var_module); - var_module = 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_model); - par_model = NULL; - Py_XDECREF(var_name); - var_name = NULL; - Py_XDECREF(var_module); - var_module = 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$medomni_bp$$$function__4_dice_loss(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_input = python_pars[0]; - PyObject *par_target = python_pars[1]; - PyObject *var_smooth = NULL; - PyObject *var_iflat = NULL; - PyObject *var_tflat = NULL; - PyObject *var_intersection = NULL; - struct Nuitka_FrameObject *frame_168b01bfd9d8202de2e66d125c81eec9; - 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_168b01bfd9d8202de2e66d125c81eec9 = 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_168b01bfd9d8202de2e66d125c81eec9)) { - Py_XDECREF(cache_frame_168b01bfd9d8202de2e66d125c81eec9); - -#if _DEBUG_REFCOUNTS - if (cache_frame_168b01bfd9d8202de2e66d125c81eec9 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_168b01bfd9d8202de2e66d125c81eec9 = MAKE_FUNCTION_FRAME(codeobj_168b01bfd9d8202de2e66d125c81eec9, module_models$medomni_bp, 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_168b01bfd9d8202de2e66d125c81eec9->m_type_description == NULL); - frame_168b01bfd9d8202de2e66d125c81eec9 = cache_frame_168b01bfd9d8202de2e66d125c81eec9; - - // Push the new frame as the currently active one. - pushFrameStack(frame_168b01bfd9d8202de2e66d125c81eec9); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_168b01bfd9d8202de2e66d125c81eec9) == 2); // Frame stack - - // Framed code: - { - PyObject *tmp_assign_source_1; - PyObject *tmp_called_instance_1; - PyObject *tmp_args_element_name_1; - tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_called_instance_1 == NULL)) { - tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_called_instance_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 57; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(par_input); - tmp_args_element_name_1 = par_input; - frame_168b01bfd9d8202de2e66d125c81eec9->m_frame.f_lineno = 57; - tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[22], 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 = "oooooo"; - goto frame_exception_exit_1; - } - { - PyObject *old = par_input; - par_input = tmp_assign_source_1; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_2; - tmp_assign_source_2 = mod_consts[23]; - assert(var_smooth == NULL); - Py_INCREF(tmp_assign_source_2); - var_smooth = tmp_assign_source_2; - } - { - PyObject *tmp_assign_source_3; - PyObject *tmp_called_instance_2; - CHECK_OBJECT(par_input); - tmp_called_instance_2 = par_input; - frame_168b01bfd9d8202de2e66d125c81eec9->m_frame.f_lineno = 59; - tmp_assign_source_3 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_2, - mod_consts[24], - &PyTuple_GET_ITEM(mod_consts[25], 0) - ); - - if (tmp_assign_source_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 59; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - assert(var_iflat == NULL); - var_iflat = tmp_assign_source_3; - } - { - PyObject *tmp_assign_source_4; - PyObject *tmp_called_instance_3; - CHECK_OBJECT(par_target); - tmp_called_instance_3 = par_target; - frame_168b01bfd9d8202de2e66d125c81eec9->m_frame.f_lineno = 60; - tmp_assign_source_4 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_3, - mod_consts[24], - &PyTuple_GET_ITEM(mod_consts[25], 0) - ); - - if (tmp_assign_source_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 60; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - assert(var_tflat == NULL); - var_tflat = tmp_assign_source_4; - } - { - PyObject *tmp_assign_source_5; - PyObject *tmp_called_instance_4; - PyObject *tmp_left_name_1; - PyObject *tmp_right_name_1; - CHECK_OBJECT(var_iflat); - tmp_left_name_1 = var_iflat; - CHECK_OBJECT(var_tflat); - tmp_right_name_1 = var_tflat; - tmp_called_instance_4 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_1, tmp_right_name_1); - if (tmp_called_instance_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 61; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - frame_168b01bfd9d8202de2e66d125c81eec9->m_frame.f_lineno = 61; - tmp_assign_source_5 = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[26]); - Py_DECREF(tmp_called_instance_4); - if (tmp_assign_source_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 61; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - assert(var_intersection == NULL); - var_intersection = tmp_assign_source_5; - } - { - PyObject *tmp_left_name_2; - PyObject *tmp_left_name_3; - PyObject *tmp_left_name_4; - PyObject *tmp_right_name_2; - PyObject *tmp_right_name_3; - PyObject *tmp_right_name_4; - PyObject *tmp_left_name_5; - PyObject *tmp_left_name_6; - PyObject *tmp_called_instance_5; - PyObject *tmp_right_name_5; - PyObject *tmp_called_instance_6; - PyObject *tmp_right_name_6; - tmp_left_name_4 = mod_consts[27]; - CHECK_OBJECT(var_intersection); - tmp_right_name_2 = var_intersection; - tmp_left_name_3 = BINARY_OPERATION_MULT_OBJECT_FLOAT_OBJECT(tmp_left_name_4, tmp_right_name_2); - if (tmp_left_name_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 62; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(var_smooth); - tmp_right_name_3 = var_smooth; - tmp_left_name_2 = BINARY_OPERATION_ADD_OBJECT_OBJECT_FLOAT(tmp_left_name_3, tmp_right_name_3); - 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 = 62; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - if (var_iflat == NULL) { - Py_DECREF(tmp_left_name_2); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 62; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - - tmp_called_instance_5 = var_iflat; - frame_168b01bfd9d8202de2e66d125c81eec9->m_frame.f_lineno = 62; - tmp_left_name_6 = CALL_METHOD_NO_ARGS(tmp_called_instance_5, mod_consts[26]); - if (tmp_left_name_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_left_name_2); - - exception_lineno = 62; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - if (var_tflat == NULL) { - Py_DECREF(tmp_left_name_2); - Py_DECREF(tmp_left_name_6); - 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 = 62; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - - tmp_called_instance_6 = var_tflat; - frame_168b01bfd9d8202de2e66d125c81eec9->m_frame.f_lineno = 62; - tmp_right_name_5 = CALL_METHOD_NO_ARGS(tmp_called_instance_6, mod_consts[26]); - if (tmp_right_name_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_left_name_2); - Py_DECREF(tmp_left_name_6); - - exception_lineno = 62; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - tmp_left_name_5 = BINARY_OPERATION_ADD_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_left_name_2); - - exception_lineno = 62; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - if (var_smooth == NULL) { - Py_DECREF(tmp_left_name_2); - Py_DECREF(tmp_left_name_5); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[30]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 62; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - - tmp_right_name_6 = var_smooth; - tmp_right_name_4 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_5, tmp_right_name_6); - Py_DECREF(tmp_left_name_5); - 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 = 62; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - tmp_return_value = BINARY_OPERATION_TRUEDIV_OBJECT_OBJECT_OBJECT(tmp_left_name_2, tmp_right_name_4); - Py_DECREF(tmp_left_name_2); - Py_DECREF(tmp_right_name_4); - if (tmp_return_value == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 62; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - goto frame_return_exit_1; - } - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_168b01bfd9d8202de2e66d125c81eec9); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_1; - - frame_return_exit_1:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_168b01bfd9d8202de2e66d125c81eec9); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_1; - - frame_exception_exit_1:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_168b01bfd9d8202de2e66d125c81eec9); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_168b01bfd9d8202de2e66d125c81eec9, exception_lineno); - } else if (exception_tb->tb_frame != &frame_168b01bfd9d8202de2e66d125c81eec9->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_168b01bfd9d8202de2e66d125c81eec9, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_168b01bfd9d8202de2e66d125c81eec9, - type_description_1, - par_input, - par_target, - var_smooth, - var_iflat, - var_tflat, - var_intersection - ); - - - // Release cached frame if used for exception. - if (frame_168b01bfd9d8202de2e66d125c81eec9 == cache_frame_168b01bfd9d8202de2e66d125c81eec9) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_168b01bfd9d8202de2e66d125c81eec9); - cache_frame_168b01bfd9d8202de2e66d125c81eec9 = NULL; - } - - assertFrameObject(frame_168b01bfd9d8202de2e66d125c81eec9); - - // 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_input); - par_input = NULL; - Py_XDECREF(par_target); - par_target = NULL; - Py_XDECREF(var_smooth); - var_smooth = NULL; - Py_XDECREF(var_iflat); - var_iflat = NULL; - Py_XDECREF(var_tflat); - var_tflat = NULL; - Py_XDECREF(var_intersection); - var_intersection = 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_input); - par_input = NULL; - Py_XDECREF(par_target); - par_target = NULL; - Py_XDECREF(var_smooth); - var_smooth = NULL; - Py_XDECREF(var_iflat); - var_iflat = NULL; - Py_XDECREF(var_tflat); - var_tflat = NULL; - Py_XDECREF(var_intersection); - var_intersection = 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$medomni_bp$$$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_gamma = python_pars[1]; - struct Nuitka_FrameObject *frame_4db878a8d04a4dfe8c38caaa351601be; - 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_4db878a8d04a4dfe8c38caaa351601be = 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_4db878a8d04a4dfe8c38caaa351601be)) { - Py_XDECREF(cache_frame_4db878a8d04a4dfe8c38caaa351601be); - -#if _DEBUG_REFCOUNTS - if (cache_frame_4db878a8d04a4dfe8c38caaa351601be == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_4db878a8d04a4dfe8c38caaa351601be = MAKE_FUNCTION_FRAME(codeobj_4db878a8d04a4dfe8c38caaa351601be, module_models$medomni_bp, sizeof(void *)+sizeof(void *)+sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - assert(cache_frame_4db878a8d04a4dfe8c38caaa351601be->m_type_description == NULL); - frame_4db878a8d04a4dfe8c38caaa351601be = cache_frame_4db878a8d04a4dfe8c38caaa351601be; - - // Push the new frame as the currently active one. - pushFrameStack(frame_4db878a8d04a4dfe8c38caaa351601be); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_4db878a8d04a4dfe8c38caaa351601be) == 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[1]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 66; - type_description_1 = "ooc"; - 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 = 66; - type_description_1 = "ooc"; - goto frame_exception_exit_1; - } - frame_4db878a8d04a4dfe8c38caaa351601be->m_frame.f_lineno = 66; - tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[31]); - 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 = 66; - type_description_1 = "ooc"; - goto frame_exception_exit_1; - } - Py_DECREF(tmp_call_result_1); - } - { - PyObject *tmp_assattr_name_1; - PyObject *tmp_assattr_target_1; - CHECK_OBJECT(par_gamma); - tmp_assattr_name_1 = par_gamma; - CHECK_OBJECT(par_self); - tmp_assattr_target_1 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[32], tmp_assattr_name_1); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 67; - type_description_1 = "ooc"; - goto frame_exception_exit_1; - } - } - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_4db878a8d04a4dfe8c38caaa351601be); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_1; - - frame_exception_exit_1:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_4db878a8d04a4dfe8c38caaa351601be); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_4db878a8d04a4dfe8c38caaa351601be, exception_lineno); - } else if (exception_tb->tb_frame != &frame_4db878a8d04a4dfe8c38caaa351601be->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_4db878a8d04a4dfe8c38caaa351601be, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_4db878a8d04a4dfe8c38caaa351601be, - type_description_1, - par_self, - par_gamma, - self->m_closure[0] - ); - - - // Release cached frame if used for exception. - if (frame_4db878a8d04a4dfe8c38caaa351601be == cache_frame_4db878a8d04a4dfe8c38caaa351601be) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_4db878a8d04a4dfe8c38caaa351601be); - cache_frame_4db878a8d04a4dfe8c38caaa351601be = NULL; - } - - assertFrameObject(frame_4db878a8d04a4dfe8c38caaa351601be); - - // 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_gamma); - Py_DECREF(par_gamma); - par_gamma = 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_gamma); - Py_DECREF(par_gamma); - par_gamma = 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$medomni_bp$$$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_input = python_pars[1]; - PyObject *par_target = python_pars[2]; - PyObject *var_max_val = NULL; - PyObject *var_loss = NULL; - PyObject *var_invprobs = NULL; - struct Nuitka_FrameObject *frame_d2f1eea242db134fa0b488a0ed0074d2; - 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; - PyObject *tmp_return_value = NULL; - static struct Nuitka_FrameObject *cache_frame_d2f1eea242db134fa0b488a0ed0074d2 = 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_d2f1eea242db134fa0b488a0ed0074d2)) { - Py_XDECREF(cache_frame_d2f1eea242db134fa0b488a0ed0074d2); - -#if _DEBUG_REFCOUNTS - if (cache_frame_d2f1eea242db134fa0b488a0ed0074d2 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_d2f1eea242db134fa0b488a0ed0074d2 = MAKE_FUNCTION_FRAME(codeobj_d2f1eea242db134fa0b488a0ed0074d2, module_models$medomni_bp, 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_d2f1eea242db134fa0b488a0ed0074d2->m_type_description == NULL); - frame_d2f1eea242db134fa0b488a0ed0074d2 = cache_frame_d2f1eea242db134fa0b488a0ed0074d2; - - // Push the new frame as the currently active one. - pushFrameStack(frame_d2f1eea242db134fa0b488a0ed0074d2); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_d2f1eea242db134fa0b488a0ed0074d2) == 2); // Frame stack - - // Framed code: - { - nuitka_bool tmp_condition_result_1; - PyObject *tmp_operand_name_1; - PyObject *tmp_compexpr_left_1; - PyObject *tmp_compexpr_right_1; - PyObject *tmp_called_instance_1; - PyObject *tmp_called_instance_2; - CHECK_OBJECT(par_target); - tmp_called_instance_1 = par_target; - frame_d2f1eea242db134fa0b488a0ed0074d2->m_frame.f_lineno = 70; - tmp_compexpr_left_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[33]); - if (tmp_compexpr_left_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 70; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(par_input); - tmp_called_instance_2 = par_input; - frame_d2f1eea242db134fa0b488a0ed0074d2->m_frame.f_lineno = 70; - tmp_compexpr_right_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[33]); - if (tmp_compexpr_right_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_compexpr_left_1); - - exception_lineno = 70; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - tmp_operand_name_1 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_1, tmp_compexpr_right_1); - Py_DECREF(tmp_compexpr_left_1); - Py_DECREF(tmp_compexpr_right_1); - if (tmp_operand_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 70; - type_description_1 = "oooooo"; - goto frame_exception_exit_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 = 70; - type_description_1 = "oooooo"; - 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_make_exception_arg_1; - PyObject *tmp_called_name_1; - PyObject *tmp_expression_name_1; - PyObject *tmp_args_element_name_1; - PyObject *tmp_called_instance_3; - PyObject *tmp_args_element_name_2; - PyObject *tmp_called_instance_4; - tmp_expression_name_1 = mod_consts[34]; - tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[35]); - assert(!(tmp_called_name_1 == NULL)); - if (par_target == NULL) { - Py_DECREF(tmp_called_name_1); - 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 = 72; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - - tmp_called_instance_3 = par_target; - frame_d2f1eea242db134fa0b488a0ed0074d2->m_frame.f_lineno = 72; - tmp_args_element_name_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[33]); - 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 = 72; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - if (par_input == NULL) { - Py_DECREF(tmp_called_name_1); - Py_DECREF(tmp_args_element_name_1); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[37]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 72; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - - tmp_called_instance_4 = par_input; - frame_d2f1eea242db134fa0b488a0ed0074d2->m_frame.f_lineno = 72; - tmp_args_element_name_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[33]); - 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 = 72; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - frame_d2f1eea242db134fa0b488a0ed0074d2->m_frame.f_lineno = 71; - { - PyObject *call_args[] = {tmp_args_element_name_1, tmp_args_element_name_2}; - tmp_make_exception_arg_1 = CALL_FUNCTION_WITH_ARGS2(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_make_exception_arg_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 71; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - frame_d2f1eea242db134fa0b488a0ed0074d2->m_frame.f_lineno = 71; - tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_1); - Py_DECREF(tmp_make_exception_arg_1); - assert(!(tmp_raise_type_1 == NULL)); - exception_type = tmp_raise_type_1; - exception_lineno = 71; - RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb); - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - branch_no_1:; - { - PyObject *tmp_assign_source_1; - PyObject *tmp_called_name_2; - PyObject *tmp_expression_name_2; - PyObject *tmp_operand_name_2; - PyObject *tmp_kwargs_name_1; - if (par_input == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[37]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 73; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - - tmp_operand_name_2 = par_input; - tmp_expression_name_2 = UNARY_OPERATION(PyNumber_Negative, tmp_operand_name_2); - if (tmp_expression_name_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 73; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[38]); - Py_DECREF(tmp_expression_name_2); - if (tmp_called_name_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 73; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - tmp_kwargs_name_1 = PyDict_Copy(mod_consts[39]); - frame_d2f1eea242db134fa0b488a0ed0074d2->m_frame.f_lineno = 73; - tmp_assign_source_1 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_2, tmp_kwargs_name_1); - Py_DECREF(tmp_called_name_2); - 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 = 73; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - assert(var_max_val == NULL); - var_max_val = tmp_assign_source_1; - } - { - PyObject *tmp_assign_source_2; - PyObject *tmp_left_name_1; - PyObject *tmp_left_name_2; - PyObject *tmp_left_name_3; - PyObject *tmp_right_name_1; - PyObject *tmp_left_name_4; - PyObject *tmp_right_name_2; - PyObject *tmp_right_name_3; - PyObject *tmp_right_name_4; - PyObject *tmp_called_instance_5; - PyObject *tmp_left_name_5; - PyObject *tmp_called_instance_6; - PyObject *tmp_operand_name_3; - PyObject *tmp_right_name_5; - PyObject *tmp_called_instance_7; - PyObject *tmp_left_name_6; - PyObject *tmp_operand_name_4; - PyObject *tmp_right_name_6; - if (par_input == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[37]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 74; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - - tmp_left_name_3 = par_input; - if (par_input == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[37]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 74; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - - tmp_left_name_4 = par_input; - if (par_target == NULL) { - - 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 = 74; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - - tmp_right_name_2 = par_target; - tmp_right_name_1 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_4, tmp_right_name_2); - if (tmp_right_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 74; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - tmp_left_name_2 = BINARY_OPERATION_SUB_OBJECT_OBJECT_OBJECT(tmp_left_name_3, tmp_right_name_1); - Py_DECREF(tmp_right_name_1); - if (tmp_left_name_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 74; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(var_max_val); - tmp_right_name_3 = var_max_val; - tmp_left_name_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_2, tmp_right_name_3); - Py_DECREF(tmp_left_name_2); - if (tmp_left_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 74; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - if (var_max_val == NULL) { - Py_DECREF(tmp_left_name_1); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[40]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 75; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - - tmp_operand_name_3 = var_max_val; - tmp_called_instance_6 = UNARY_OPERATION(PyNumber_Negative, tmp_operand_name_3); - if (tmp_called_instance_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_left_name_1); - - exception_lineno = 75; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - frame_d2f1eea242db134fa0b488a0ed0074d2->m_frame.f_lineno = 75; - tmp_left_name_5 = CALL_METHOD_NO_ARGS(tmp_called_instance_6, mod_consts[41]); - Py_DECREF(tmp_called_instance_6); - if (tmp_left_name_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_left_name_1); - - exception_lineno = 75; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - if (par_input == NULL) { - Py_DECREF(tmp_left_name_1); - Py_DECREF(tmp_left_name_5); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[37]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 75; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - - tmp_operand_name_4 = par_input; - tmp_left_name_6 = UNARY_OPERATION(PyNumber_Negative, tmp_operand_name_4); - if (tmp_left_name_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_left_name_1); - Py_DECREF(tmp_left_name_5); - - exception_lineno = 75; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - if (var_max_val == NULL) { - Py_DECREF(tmp_left_name_1); - Py_DECREF(tmp_left_name_5); - Py_DECREF(tmp_left_name_6); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[40]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 75; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - - tmp_right_name_6 = var_max_val; - tmp_called_instance_7 = BINARY_OPERATION_SUB_OBJECT_OBJECT_OBJECT(tmp_left_name_6, tmp_right_name_6); - Py_DECREF(tmp_left_name_6); - if (tmp_called_instance_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_left_name_1); - Py_DECREF(tmp_left_name_5); - - exception_lineno = 75; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - frame_d2f1eea242db134fa0b488a0ed0074d2->m_frame.f_lineno = 75; - tmp_right_name_5 = CALL_METHOD_NO_ARGS(tmp_called_instance_7, mod_consts[41]); - Py_DECREF(tmp_called_instance_7); - if (tmp_right_name_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_left_name_1); - Py_DECREF(tmp_left_name_5); - - exception_lineno = 75; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - tmp_called_instance_5 = BINARY_OPERATION_ADD_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_called_instance_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_left_name_1); - - exception_lineno = 75; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - frame_d2f1eea242db134fa0b488a0ed0074d2->m_frame.f_lineno = 75; - tmp_right_name_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_5, mod_consts[42]); - Py_DECREF(tmp_called_instance_5); - if (tmp_right_name_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_left_name_1); - - exception_lineno = 75; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - tmp_assign_source_2 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_1, tmp_right_name_4); - Py_DECREF(tmp_left_name_1); - Py_DECREF(tmp_right_name_4); - if (tmp_assign_source_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 74; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - assert(var_loss == NULL); - var_loss = tmp_assign_source_2; - } - { - PyObject *tmp_assign_source_3; - PyObject *tmp_called_name_3; - PyObject *tmp_expression_name_3; - PyObject *tmp_args_element_name_3; - PyObject *tmp_left_name_7; - PyObject *tmp_operand_name_5; - PyObject *tmp_right_name_7; - PyObject *tmp_left_name_8; - PyObject *tmp_left_name_9; - PyObject *tmp_right_name_8; - PyObject *tmp_right_name_9; - tmp_expression_name_3 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[43]); - - if (unlikely(tmp_expression_name_3 == NULL)) { - tmp_expression_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[43]); - } - - if (tmp_expression_name_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 76; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[44]); - if (tmp_called_name_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 76; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - if (par_input == NULL) { - Py_DECREF(tmp_called_name_3); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[37]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 76; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - - tmp_operand_name_5 = par_input; - tmp_left_name_7 = UNARY_OPERATION(PyNumber_Negative, tmp_operand_name_5); - if (tmp_left_name_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_3); - - exception_lineno = 76; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - if (par_target == NULL) { - Py_DECREF(tmp_called_name_3); - Py_DECREF(tmp_left_name_7); - 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 = 76; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - - tmp_left_name_9 = par_target; - tmp_right_name_8 = mod_consts[27]; - tmp_left_name_8 = BINARY_OPERATION_MULT_OBJECT_OBJECT_FLOAT(tmp_left_name_9, tmp_right_name_8); - if (tmp_left_name_8 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_3); - Py_DECREF(tmp_left_name_7); - - exception_lineno = 76; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - tmp_right_name_9 = mod_consts[23]; - tmp_right_name_7 = BINARY_OPERATION_SUB_OBJECT_OBJECT_FLOAT(tmp_left_name_8, tmp_right_name_9); - Py_DECREF(tmp_left_name_8); - if (tmp_right_name_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_3); - Py_DECREF(tmp_left_name_7); - - exception_lineno = 76; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - tmp_args_element_name_3 = BINARY_OPERATION_MULT_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_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 = 76; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - frame_d2f1eea242db134fa0b488a0ed0074d2->m_frame.f_lineno = 76; - tmp_assign_source_3 = 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_assign_source_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 76; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - assert(var_invprobs == NULL); - var_invprobs = tmp_assign_source_3; - } - { - PyObject *tmp_assign_source_4; - PyObject *tmp_left_name_10; - PyObject *tmp_called_instance_8; - PyObject *tmp_left_name_11; - PyObject *tmp_right_name_10; - PyObject *tmp_expression_name_4; - PyObject *tmp_right_name_11; - CHECK_OBJECT(var_invprobs); - tmp_left_name_11 = var_invprobs; - CHECK_OBJECT(par_self); - tmp_expression_name_4 = par_self; - tmp_right_name_10 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[32]); - if (tmp_right_name_10 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 77; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - tmp_called_instance_8 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_11, tmp_right_name_10); - Py_DECREF(tmp_right_name_10); - if (tmp_called_instance_8 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 77; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - frame_d2f1eea242db134fa0b488a0ed0074d2->m_frame.f_lineno = 77; - tmp_left_name_10 = CALL_METHOD_NO_ARGS(tmp_called_instance_8, mod_consts[41]); - Py_DECREF(tmp_called_instance_8); - if (tmp_left_name_10 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 77; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(var_loss); - tmp_right_name_11 = var_loss; - tmp_assign_source_4 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_10, tmp_right_name_11); - Py_DECREF(tmp_left_name_10); - if (tmp_assign_source_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 77; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - { - PyObject *old = var_loss; - var_loss = tmp_assign_source_4; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_called_instance_9; - CHECK_OBJECT(var_loss); - tmp_called_instance_9 = var_loss; - frame_d2f1eea242db134fa0b488a0ed0074d2->m_frame.f_lineno = 78; - tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_9, mod_consts[45]); - if (tmp_return_value == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 78; - type_description_1 = "oooooo"; - goto frame_exception_exit_1; - } - goto frame_return_exit_1; - } - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_d2f1eea242db134fa0b488a0ed0074d2); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_1; - - frame_return_exit_1:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_d2f1eea242db134fa0b488a0ed0074d2); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_1; - - frame_exception_exit_1:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_d2f1eea242db134fa0b488a0ed0074d2); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_d2f1eea242db134fa0b488a0ed0074d2, exception_lineno); - } else if (exception_tb->tb_frame != &frame_d2f1eea242db134fa0b488a0ed0074d2->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_d2f1eea242db134fa0b488a0ed0074d2, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_d2f1eea242db134fa0b488a0ed0074d2, - type_description_1, - par_self, - par_input, - par_target, - var_max_val, - var_loss, - var_invprobs - ); - - - // Release cached frame if used for exception. - if (frame_d2f1eea242db134fa0b488a0ed0074d2 == cache_frame_d2f1eea242db134fa0b488a0ed0074d2) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_d2f1eea242db134fa0b488a0ed0074d2); - cache_frame_d2f1eea242db134fa0b488a0ed0074d2 = NULL; - } - - assertFrameObject(frame_d2f1eea242db134fa0b488a0ed0074d2); - - // 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_input); - par_input = NULL; - Py_XDECREF(par_target); - par_target = NULL; - Py_XDECREF(var_max_val); - var_max_val = NULL; - Py_XDECREF(var_loss); - var_loss = NULL; - Py_XDECREF(var_invprobs); - var_invprobs = 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_input); - par_input = NULL; - Py_XDECREF(par_target); - par_target = NULL; - Py_XDECREF(var_max_val); - var_max_val = NULL; - Py_XDECREF(var_loss); - var_loss = NULL; - Py_XDECREF(var_invprobs); - var_invprobs = 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$medomni_bp$$$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_alpha = python_pars[1]; - PyObject *par_gamma = python_pars[2]; - struct Nuitka_FrameObject *frame_59989aa3b41bd36889beee060e2da0b4; - 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_59989aa3b41bd36889beee060e2da0b4 = 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_59989aa3b41bd36889beee060e2da0b4)) { - Py_XDECREF(cache_frame_59989aa3b41bd36889beee060e2da0b4); - -#if _DEBUG_REFCOUNTS - if (cache_frame_59989aa3b41bd36889beee060e2da0b4 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_59989aa3b41bd36889beee060e2da0b4 = MAKE_FUNCTION_FRAME(codeobj_59989aa3b41bd36889beee060e2da0b4, module_models$medomni_bp, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - assert(cache_frame_59989aa3b41bd36889beee060e2da0b4->m_type_description == NULL); - frame_59989aa3b41bd36889beee060e2da0b4 = cache_frame_59989aa3b41bd36889beee060e2da0b4; - - // Push the new frame as the currently active one. - pushFrameStack(frame_59989aa3b41bd36889beee060e2da0b4); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_59989aa3b41bd36889beee060e2da0b4) == 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[1]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 82; - type_description_1 = "oooc"; - 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 = 82; - type_description_1 = "oooc"; - goto frame_exception_exit_1; - } - frame_59989aa3b41bd36889beee060e2da0b4->m_frame.f_lineno = 82; - tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[31]); - 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 = 82; - type_description_1 = "oooc"; - goto frame_exception_exit_1; - } - Py_DECREF(tmp_call_result_1); - } - { - PyObject *tmp_assattr_name_1; - PyObject *tmp_assattr_target_1; - CHECK_OBJECT(par_alpha); - tmp_assattr_name_1 = par_alpha; - CHECK_OBJECT(par_self); - tmp_assattr_target_1 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[46], tmp_assattr_name_1); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 83; - type_description_1 = "oooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_2; - PyObject *tmp_called_name_1; - PyObject *tmp_args_element_name_1; - PyObject *tmp_assattr_target_2; - tmp_called_name_1 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[47]); - - if (unlikely(tmp_called_name_1 == NULL)) { - tmp_called_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[47]); - } - - if (tmp_called_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 84; - type_description_1 = "oooc"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(par_gamma); - tmp_args_element_name_1 = par_gamma; - frame_59989aa3b41bd36889beee060e2da0b4->m_frame.f_lineno = 84; - tmp_assattr_name_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, 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 = 84; - type_description_1 = "oooc"; - 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[48], 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 = 84; - type_description_1 = "oooc"; - goto frame_exception_exit_1; - } - } - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_59989aa3b41bd36889beee060e2da0b4); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_1; - - frame_exception_exit_1:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_59989aa3b41bd36889beee060e2da0b4); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_59989aa3b41bd36889beee060e2da0b4, exception_lineno); - } else if (exception_tb->tb_frame != &frame_59989aa3b41bd36889beee060e2da0b4->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_59989aa3b41bd36889beee060e2da0b4, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_59989aa3b41bd36889beee060e2da0b4, - type_description_1, - par_self, - par_alpha, - par_gamma, - self->m_closure[0] - ); - - - // Release cached frame if used for exception. - if (frame_59989aa3b41bd36889beee060e2da0b4 == cache_frame_59989aa3b41bd36889beee060e2da0b4) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_59989aa3b41bd36889beee060e2da0b4); - cache_frame_59989aa3b41bd36889beee060e2da0b4 = NULL; - } - - assertFrameObject(frame_59989aa3b41bd36889beee060e2da0b4); - - // 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_alpha); - Py_DECREF(par_alpha); - par_alpha = NULL; - CHECK_OBJECT(par_gamma); - Py_DECREF(par_gamma); - par_gamma = 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_alpha); - Py_DECREF(par_alpha); - par_alpha = NULL; - CHECK_OBJECT(par_gamma); - Py_DECREF(par_gamma); - par_gamma = 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$medomni_bp$$$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_input = python_pars[1]; - PyObject *par_target = python_pars[2]; - PyObject *var_loss = NULL; - struct Nuitka_FrameObject *frame_b1ee5fd62d6c69da575619caa1d8e0c3; - 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_b1ee5fd62d6c69da575619caa1d8e0c3 = 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_b1ee5fd62d6c69da575619caa1d8e0c3)) { - Py_XDECREF(cache_frame_b1ee5fd62d6c69da575619caa1d8e0c3); - -#if _DEBUG_REFCOUNTS - if (cache_frame_b1ee5fd62d6c69da575619caa1d8e0c3 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_b1ee5fd62d6c69da575619caa1d8e0c3 = MAKE_FUNCTION_FRAME(codeobj_b1ee5fd62d6c69da575619caa1d8e0c3, module_models$medomni_bp, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - assert(cache_frame_b1ee5fd62d6c69da575619caa1d8e0c3->m_type_description == NULL); - frame_b1ee5fd62d6c69da575619caa1d8e0c3 = cache_frame_b1ee5fd62d6c69da575619caa1d8e0c3; - - // Push the new frame as the currently active one. - pushFrameStack(frame_b1ee5fd62d6c69da575619caa1d8e0c3); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_b1ee5fd62d6c69da575619caa1d8e0c3) == 2); // Frame stack - - // Framed code: - { - PyObject *tmp_assign_source_1; - PyObject *tmp_left_name_1; - PyObject *tmp_left_name_2; - PyObject *tmp_expression_name_1; - PyObject *tmp_right_name_1; - PyObject *tmp_called_instance_1; - PyObject *tmp_args_element_name_1; - PyObject *tmp_args_element_name_2; - PyObject *tmp_right_name_2; - PyObject *tmp_called_name_1; - PyObject *tmp_expression_name_2; - PyObject *tmp_args_element_name_3; - PyObject *tmp_called_name_2; - PyObject *tmp_args_element_name_4; - PyObject *tmp_args_element_name_5; - CHECK_OBJECT(par_self); - tmp_expression_name_1 = par_self; - tmp_left_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[46]); - if (tmp_left_name_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 87; - type_description_1 = "oooo"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_left_name_2); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 87; - type_description_1 = "oooo"; - goto frame_exception_exit_1; - } - - tmp_called_instance_1 = par_self; - CHECK_OBJECT(par_input); - tmp_args_element_name_1 = par_input; - CHECK_OBJECT(par_target); - tmp_args_element_name_2 = par_target; - frame_b1ee5fd62d6c69da575619caa1d8e0c3->m_frame.f_lineno = 87; - { - PyObject *call_args[] = {tmp_args_element_name_1, tmp_args_element_name_2}; - tmp_right_name_1 = CALL_METHOD_WITH_ARGS2( - tmp_called_instance_1, - mod_consts[48], - call_args - ); - } - - 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 = 87; - type_description_1 = "oooo"; - 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); - - - exception_lineno = 87; - type_description_1 = "oooo"; - goto frame_exception_exit_1; - } - tmp_expression_name_2 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_2 == NULL)) { - tmp_expression_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_left_name_1); - - exception_lineno = 87; - type_description_1 = "oooo"; - goto frame_exception_exit_1; - } - tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[42]); - if (tmp_called_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_left_name_1); - - exception_lineno = 87; - type_description_1 = "oooo"; - goto frame_exception_exit_1; - } - tmp_called_name_2 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[50]); - - if (unlikely(tmp_called_name_2 == NULL)) { - tmp_called_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[50]); - } - - if (tmp_called_name_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_left_name_1); - Py_DECREF(tmp_called_name_1); - - exception_lineno = 87; - type_description_1 = "oooo"; - goto frame_exception_exit_1; - } - if (par_input == NULL) { - Py_DECREF(tmp_left_name_1); - Py_DECREF(tmp_called_name_1); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[37]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 87; - type_description_1 = "oooo"; - goto frame_exception_exit_1; - } - - tmp_args_element_name_4 = par_input; - if (par_target == NULL) { - Py_DECREF(tmp_left_name_1); - Py_DECREF(tmp_called_name_1); - 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 = 87; - type_description_1 = "oooo"; - goto frame_exception_exit_1; - } - - tmp_args_element_name_5 = par_target; - frame_b1ee5fd62d6c69da575619caa1d8e0c3->m_frame.f_lineno = 87; - { - PyObject *call_args[] = {tmp_args_element_name_4, tmp_args_element_name_5}; - tmp_args_element_name_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_2, call_args); - } - - if (tmp_args_element_name_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_left_name_1); - Py_DECREF(tmp_called_name_1); - - exception_lineno = 87; - type_description_1 = "oooo"; - goto frame_exception_exit_1; - } - frame_b1ee5fd62d6c69da575619caa1d8e0c3->m_frame.f_lineno = 87; - tmp_right_name_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_3); - Py_DECREF(tmp_called_name_1); - 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); - Py_DECREF(tmp_left_name_1); - - exception_lineno = 87; - type_description_1 = "oooo"; - goto frame_exception_exit_1; - } - tmp_assign_source_1 = BINARY_OPERATION_SUB_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_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 87; - type_description_1 = "oooo"; - goto frame_exception_exit_1; - } - assert(var_loss == NULL); - var_loss = tmp_assign_source_1; - } - { - PyObject *tmp_called_instance_2; - CHECK_OBJECT(var_loss); - tmp_called_instance_2 = var_loss; - frame_b1ee5fd62d6c69da575619caa1d8e0c3->m_frame.f_lineno = 88; - tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[45]); - if (tmp_return_value == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 88; - type_description_1 = "oooo"; - goto frame_exception_exit_1; - } - goto frame_return_exit_1; - } - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_b1ee5fd62d6c69da575619caa1d8e0c3); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_1; - - frame_return_exit_1:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_b1ee5fd62d6c69da575619caa1d8e0c3); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_1; - - frame_exception_exit_1:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_b1ee5fd62d6c69da575619caa1d8e0c3); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_b1ee5fd62d6c69da575619caa1d8e0c3, exception_lineno); - } else if (exception_tb->tb_frame != &frame_b1ee5fd62d6c69da575619caa1d8e0c3->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_b1ee5fd62d6c69da575619caa1d8e0c3, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_b1ee5fd62d6c69da575619caa1d8e0c3, - type_description_1, - par_self, - par_input, - par_target, - var_loss - ); - - - // Release cached frame if used for exception. - if (frame_b1ee5fd62d6c69da575619caa1d8e0c3 == cache_frame_b1ee5fd62d6c69da575619caa1d8e0c3) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_b1ee5fd62d6c69da575619caa1d8e0c3); - cache_frame_b1ee5fd62d6c69da575619caa1d8e0c3 = NULL; - } - - assertFrameObject(frame_b1ee5fd62d6c69da575619caa1d8e0c3); - - // 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_input); - par_input = NULL; - Py_XDECREF(par_target); - par_target = NULL; - Py_XDECREF(var_loss); - var_loss = 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_input); - par_input = NULL; - Py_XDECREF(par_target); - par_target = NULL; - Py_XDECREF(var_loss); - var_loss = 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$medomni_bp$$$function__9_trans_seg(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_sample_num = python_pars[0]; - PyObject *par_bsz = python_pars[1]; - PyObject *var_labels = NULL; - PyObject *var_c_bsz = NULL; - PyObject *var_num1 = NULL; - PyObject *var_num2 = NULL; - PyObject *var_num3 = NULL; - PyObject *var_c4 = NULL; - PyObject *var_num = NULL; - PyObject *tmp_for_loop_1__for_iterator = NULL; - PyObject *tmp_for_loop_1__iter_value = NULL; - PyObject *tmp_for_loop_2__for_iterator = NULL; - PyObject *tmp_for_loop_2__iter_value = NULL; - PyObject *tmp_for_loop_3__for_iterator = NULL; - PyObject *tmp_for_loop_3__iter_value = NULL; - struct Nuitka_FrameObject *frame_30f7346d71ee32c85eb9e23ad4f81d69; - 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; - 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; - PyObject *tmp_return_value = NULL; - static struct Nuitka_FrameObject *cache_frame_30f7346d71ee32c85eb9e23ad4f81d69 = 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_30f7346d71ee32c85eb9e23ad4f81d69)) { - Py_XDECREF(cache_frame_30f7346d71ee32c85eb9e23ad4f81d69); - -#if _DEBUG_REFCOUNTS - if (cache_frame_30f7346d71ee32c85eb9e23ad4f81d69 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_30f7346d71ee32c85eb9e23ad4f81d69 = MAKE_FUNCTION_FRAME(codeobj_30f7346d71ee32c85eb9e23ad4f81d69, module_models$medomni_bp, 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_30f7346d71ee32c85eb9e23ad4f81d69->m_type_description == NULL); - frame_30f7346d71ee32c85eb9e23ad4f81d69 = cache_frame_30f7346d71ee32c85eb9e23ad4f81d69; - - // Push the new frame as the currently active one. - pushFrameStack(frame_30f7346d71ee32c85eb9e23ad4f81d69); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_30f7346d71ee32c85eb9e23ad4f81d69) == 2); // Frame stack - - // Framed code: - { - PyObject *tmp_assign_source_1; - PyObject *tmp_called_instance_1; - PyObject *tmp_args_element_name_1; - PyObject *tmp_tuple_element_1; - tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_called_instance_1 == NULL)) { - tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_called_instance_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 91; - type_description_1 = "ooooooooo"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(par_bsz); - tmp_tuple_element_1 = par_bsz; - tmp_args_element_name_1 = PyTuple_New(2); - PyTuple_SET_ITEM0(tmp_args_element_name_1, 0, tmp_tuple_element_1); - tmp_tuple_element_1 = mod_consts[52]; - PyTuple_SET_ITEM0(tmp_args_element_name_1, 1, tmp_tuple_element_1); - frame_30f7346d71ee32c85eb9e23ad4f81d69->m_frame.f_lineno = 91; - tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[51], tmp_args_element_name_1); - Py_DECREF(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 = 91; - type_description_1 = "ooooooooo"; - goto frame_exception_exit_1; - } - assert(var_labels == NULL); - var_labels = tmp_assign_source_1; - } - { - PyObject *tmp_assign_source_2; - tmp_assign_source_2 = mod_consts[11]; - assert(var_c_bsz == NULL); - Py_INCREF(tmp_assign_source_2); - var_c_bsz = tmp_assign_source_2; - } - { - PyObject *tmp_assign_source_3; - PyObject *tmp_iter_arg_1; - CHECK_OBJECT(par_sample_num); - tmp_iter_arg_1 = par_sample_num; - tmp_assign_source_3 = MAKE_ITERATOR(tmp_iter_arg_1); - if (tmp_assign_source_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 93; - 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_3; - } - // Tried code: - loop_start_1:; - { - PyObject *tmp_next_source_1; - PyObject *tmp_assign_source_4; - CHECK_OBJECT(tmp_for_loop_1__for_iterator); - tmp_next_source_1 = tmp_for_loop_1__for_iterator; - tmp_assign_source_4 = ITERATOR_NEXT(tmp_next_source_1); - if (tmp_assign_source_4 == 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 = 93; - goto try_except_handler_2; - } - } - - { - PyObject *old = tmp_for_loop_1__iter_value; - tmp_for_loop_1__iter_value = tmp_assign_source_4; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_5; - CHECK_OBJECT(tmp_for_loop_1__iter_value); - tmp_assign_source_5 = tmp_for_loop_1__iter_value; - { - PyObject *old = var_num1; - var_num1 = tmp_assign_source_5; - Py_INCREF(var_num1); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_6; - PyObject *tmp_called_instance_2; - CHECK_OBJECT(var_num1); - tmp_called_instance_2 = var_num1; - frame_30f7346d71ee32c85eb9e23ad4f81d69->m_frame.f_lineno = 94; - tmp_assign_source_6 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_2, - mod_consts[53], - &PyTuple_GET_ITEM(mod_consts[54], 0) - ); - - if (tmp_assign_source_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 94; - type_description_1 = "ooooooooo"; - goto try_except_handler_2; - } - { - PyObject *old = var_num2; - var_num2 = tmp_assign_source_6; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_7; - PyObject *tmp_iter_arg_2; - CHECK_OBJECT(var_num2); - tmp_iter_arg_2 = var_num2; - tmp_assign_source_7 = MAKE_ITERATOR(tmp_iter_arg_2); - if (tmp_assign_source_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 95; - type_description_1 = "ooooooooo"; - goto try_except_handler_2; - } - { - PyObject *old = tmp_for_loop_2__for_iterator; - tmp_for_loop_2__for_iterator = tmp_assign_source_7; - Py_XDECREF(old); - } - - } - // Tried code: - loop_start_2:; - { - PyObject *tmp_next_source_2; - PyObject *tmp_assign_source_8; - CHECK_OBJECT(tmp_for_loop_2__for_iterator); - tmp_next_source_2 = tmp_for_loop_2__for_iterator; - tmp_assign_source_8 = ITERATOR_NEXT(tmp_next_source_2); - if (tmp_assign_source_8 == NULL) { - if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { - - goto loop_end_2; - } else { - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - type_description_1 = "ooooooooo"; - exception_lineno = 95; - goto try_except_handler_3; - } - } - - { - PyObject *old = tmp_for_loop_2__iter_value; - tmp_for_loop_2__iter_value = tmp_assign_source_8; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_9; - CHECK_OBJECT(tmp_for_loop_2__iter_value); - tmp_assign_source_9 = tmp_for_loop_2__iter_value; - { - PyObject *old = var_num3; - var_num3 = tmp_assign_source_9; - Py_INCREF(var_num3); - Py_XDECREF(old); - } - - } - { - 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(var_num3); - tmp_compexpr_left_1 = var_num3; - tmp_compexpr_right_1 = mod_consts[55]; - tmp_tmp_condition_result_1_object_1 = RICH_COMPARE_NE_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 = 96; - type_description_1 = "ooooooooo"; - goto try_except_handler_3; - } - 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 = 96; - type_description_1 = "ooooooooo"; - goto try_except_handler_3; - } - 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_assign_source_10; - tmp_assign_source_10 = mod_consts[11]; - { - PyObject *old = var_c4; - var_c4 = tmp_assign_source_10; - Py_INCREF(var_c4); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_11; - PyObject *tmp_iter_arg_3; - PyObject *tmp_called_instance_3; - CHECK_OBJECT(var_num3); - tmp_called_instance_3 = var_num3; - frame_30f7346d71ee32c85eb9e23ad4f81d69->m_frame.f_lineno = 98; - tmp_iter_arg_3 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_3, - mod_consts[53], - &PyTuple_GET_ITEM(mod_consts[56], 0) - ); - - if (tmp_iter_arg_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 98; - type_description_1 = "ooooooooo"; - goto try_except_handler_3; - } - tmp_assign_source_11 = MAKE_ITERATOR(tmp_iter_arg_3); - Py_DECREF(tmp_iter_arg_3); - if (tmp_assign_source_11 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 98; - type_description_1 = "ooooooooo"; - goto try_except_handler_3; - } - { - PyObject *old = tmp_for_loop_3__for_iterator; - tmp_for_loop_3__for_iterator = tmp_assign_source_11; - Py_XDECREF(old); - } - - } - // Tried code: - loop_start_3:; - { - PyObject *tmp_next_source_3; - PyObject *tmp_assign_source_12; - CHECK_OBJECT(tmp_for_loop_3__for_iterator); - tmp_next_source_3 = tmp_for_loop_3__for_iterator; - tmp_assign_source_12 = ITERATOR_NEXT(tmp_next_source_3); - if (tmp_assign_source_12 == NULL) { - if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { - - goto loop_end_3; - } else { - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - type_description_1 = "ooooooooo"; - exception_lineno = 98; - goto try_except_handler_4; - } - } - - { - PyObject *old = tmp_for_loop_3__iter_value; - tmp_for_loop_3__iter_value = tmp_assign_source_12; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_13; - CHECK_OBJECT(tmp_for_loop_3__iter_value); - tmp_assign_source_13 = tmp_for_loop_3__iter_value; - { - PyObject *old = var_num; - var_num = tmp_assign_source_13; - Py_INCREF(var_num); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_ass_subvalue_1; - PyObject *tmp_float_arg_1; - PyObject *tmp_ass_subscribed_1; - PyObject *tmp_ass_subscript_1; - PyObject *tmp_tuple_element_2; - CHECK_OBJECT(var_num); - tmp_float_arg_1 = var_num; - tmp_ass_subvalue_1 = TO_FLOAT(tmp_float_arg_1); - if (tmp_ass_subvalue_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 99; - type_description_1 = "ooooooooo"; - goto try_except_handler_4; - } - if (var_labels == NULL) { - Py_DECREF(tmp_ass_subvalue_1); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[57]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 99; - type_description_1 = "ooooooooo"; - goto try_except_handler_4; - } - - tmp_ass_subscribed_1 = var_labels; - if (var_c_bsz == NULL) { - Py_DECREF(tmp_ass_subvalue_1); - 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 = 99; - type_description_1 = "ooooooooo"; - goto try_except_handler_4; - } - - tmp_tuple_element_2 = var_c_bsz; - tmp_ass_subscript_1 = PyTuple_New(2); - PyTuple_SET_ITEM0(tmp_ass_subscript_1, 0, tmp_tuple_element_2); - if (var_c4 == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[59]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 99; - type_description_1 = "ooooooooo"; - goto tuple_build_exception_1; - } - - tmp_tuple_element_2 = var_c4; - PyTuple_SET_ITEM0(tmp_ass_subscript_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_ass_subvalue_1); - Py_DECREF(tmp_ass_subscript_1); - goto try_except_handler_4; - // Finished with no exception for tuple_build: - tuple_build_noexception_1:; - tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1); - Py_DECREF(tmp_ass_subscript_1); - Py_DECREF(tmp_ass_subvalue_1); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 99; - type_description_1 = "ooooooooo"; - goto try_except_handler_4; - } - } - { - PyObject *tmp_assign_source_14; - PyObject *tmp_left_name_1; - PyObject *tmp_right_name_1; - if (var_c4 == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[59]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 100; - type_description_1 = "ooooooooo"; - goto try_except_handler_4; - } - - tmp_left_name_1 = var_c4; - tmp_right_name_1 = mod_consts[60]; - tmp_result = BINARY_OPERATION_ADD_LONG_LONG_INPLACE(&tmp_left_name_1, tmp_right_name_1); - assert(!(tmp_result == false)); - tmp_assign_source_14 = tmp_left_name_1; - var_c4 = tmp_assign_source_14; - - } - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 98; - type_description_1 = "ooooooooo"; - goto try_except_handler_4; - } - goto loop_start_3; - loop_end_3:; - 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_for_loop_3__iter_value); - tmp_for_loop_3__iter_value = NULL; - Py_XDECREF(tmp_for_loop_3__for_iterator); - tmp_for_loop_3__for_iterator = 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:; - Py_XDECREF(tmp_for_loop_3__iter_value); - tmp_for_loop_3__iter_value = NULL; - Py_XDECREF(tmp_for_loop_3__for_iterator); - tmp_for_loop_3__for_iterator = NULL; - { - PyObject *tmp_assign_source_15; - PyObject *tmp_left_name_2; - PyObject *tmp_right_name_2; - if (var_c_bsz == 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 = 101; - type_description_1 = "ooooooooo"; - goto try_except_handler_3; - } - - tmp_left_name_2 = var_c_bsz; - tmp_right_name_2 = mod_consts[60]; - tmp_result = BINARY_OPERATION_ADD_OBJECT_LONG_INPLACE(&tmp_left_name_2, tmp_right_name_2); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 101; - type_description_1 = "ooooooooo"; - goto try_except_handler_3; - } - tmp_assign_source_15 = tmp_left_name_2; - var_c_bsz = tmp_assign_source_15; - - } - branch_no_1:; - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 95; - type_description_1 = "ooooooooo"; - goto try_except_handler_3; - } - goto loop_start_2; - loop_end_2:; - 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_for_loop_2__iter_value); - tmp_for_loop_2__iter_value = NULL; - Py_XDECREF(tmp_for_loop_2__for_iterator); - tmp_for_loop_2__for_iterator = 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_for_loop_2__iter_value); - tmp_for_loop_2__iter_value = NULL; - Py_XDECREF(tmp_for_loop_2__for_iterator); - tmp_for_loop_2__for_iterator = NULL; - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 93; - type_description_1 = "ooooooooo"; - 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:; - 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_labels == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[57]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 102; - type_description_1 = "ooooooooo"; - goto frame_exception_exit_1; - } - - tmp_return_value = var_labels; - Py_INCREF(tmp_return_value); - goto frame_return_exit_1; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_30f7346d71ee32c85eb9e23ad4f81d69); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_1; - - frame_return_exit_1:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_30f7346d71ee32c85eb9e23ad4f81d69); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_1; - - frame_exception_exit_1:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_30f7346d71ee32c85eb9e23ad4f81d69); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_30f7346d71ee32c85eb9e23ad4f81d69, exception_lineno); - } else if (exception_tb->tb_frame != &frame_30f7346d71ee32c85eb9e23ad4f81d69->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_30f7346d71ee32c85eb9e23ad4f81d69, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_30f7346d71ee32c85eb9e23ad4f81d69, - type_description_1, - par_sample_num, - par_bsz, - var_labels, - var_c_bsz, - var_num1, - var_num2, - var_num3, - var_c4, - var_num - ); - - - // Release cached frame if used for exception. - if (frame_30f7346d71ee32c85eb9e23ad4f81d69 == cache_frame_30f7346d71ee32c85eb9e23ad4f81d69) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_30f7346d71ee32c85eb9e23ad4f81d69); - cache_frame_30f7346d71ee32c85eb9e23ad4f81d69 = NULL; - } - - assertFrameObject(frame_30f7346d71ee32c85eb9e23ad4f81d69); - - // 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_sample_num); - par_sample_num = NULL; - Py_XDECREF(par_bsz); - par_bsz = NULL; - Py_XDECREF(var_labels); - var_labels = NULL; - Py_XDECREF(var_c_bsz); - var_c_bsz = NULL; - Py_XDECREF(var_num1); - var_num1 = NULL; - Py_XDECREF(var_num2); - var_num2 = NULL; - Py_XDECREF(var_num3); - var_num3 = NULL; - Py_XDECREF(var_c4); - var_c4 = NULL; - Py_XDECREF(var_num); - var_num = 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_sample_num); - par_sample_num = NULL; - Py_XDECREF(par_bsz); - par_bsz = NULL; - Py_XDECREF(var_labels); - var_labels = NULL; - Py_XDECREF(var_c_bsz); - var_c_bsz = NULL; - Py_XDECREF(var_num1); - var_num1 = NULL; - Py_XDECREF(var_num2); - var_num2 = NULL; - Py_XDECREF(var_num3); - var_num3 = NULL; - Py_XDECREF(var_c4); - var_c4 = NULL; - Py_XDECREF(var_num); - var_num = 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$medomni_bp$$$function__10_trans_det(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_sample_num = python_pars[0]; - PyObject *par_bsz = python_pars[1]; - PyObject *var_labels = NULL; - PyObject *var_c_bsz = NULL; - PyObject *var_num1 = NULL; - PyObject *var_num2 = NULL; - PyObject *var_num3 = NULL; - PyObject *var_c4 = NULL; - PyObject *var_num = NULL; - PyObject *tmp_for_loop_1__for_iterator = NULL; - PyObject *tmp_for_loop_1__iter_value = NULL; - PyObject *tmp_for_loop_2__for_iterator = NULL; - PyObject *tmp_for_loop_2__iter_value = NULL; - PyObject *tmp_for_loop_3__for_iterator = NULL; - PyObject *tmp_for_loop_3__iter_value = NULL; - struct Nuitka_FrameObject *frame_b0b331f085277111601888195501fa13; - 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; - 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; - PyObject *tmp_return_value = NULL; - static struct Nuitka_FrameObject *cache_frame_b0b331f085277111601888195501fa13 = 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_b0b331f085277111601888195501fa13)) { - Py_XDECREF(cache_frame_b0b331f085277111601888195501fa13); - -#if _DEBUG_REFCOUNTS - if (cache_frame_b0b331f085277111601888195501fa13 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_b0b331f085277111601888195501fa13 = MAKE_FUNCTION_FRAME(codeobj_b0b331f085277111601888195501fa13, module_models$medomni_bp, 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_b0b331f085277111601888195501fa13->m_type_description == NULL); - frame_b0b331f085277111601888195501fa13 = cache_frame_b0b331f085277111601888195501fa13; - - // Push the new frame as the currently active one. - pushFrameStack(frame_b0b331f085277111601888195501fa13); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_b0b331f085277111601888195501fa13) == 2); // Frame stack - - // Framed code: - { - PyObject *tmp_assign_source_1; - PyObject *tmp_called_instance_1; - PyObject *tmp_args_element_name_1; - PyObject *tmp_tuple_element_1; - tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_called_instance_1 == NULL)) { - tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_called_instance_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 105; - type_description_1 = "ooooooooo"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(par_bsz); - tmp_tuple_element_1 = par_bsz; - tmp_args_element_name_1 = PyTuple_New(2); - PyTuple_SET_ITEM0(tmp_args_element_name_1, 0, tmp_tuple_element_1); - tmp_tuple_element_1 = mod_consts[61]; - PyTuple_SET_ITEM0(tmp_args_element_name_1, 1, tmp_tuple_element_1); - frame_b0b331f085277111601888195501fa13->m_frame.f_lineno = 105; - tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[51], tmp_args_element_name_1); - Py_DECREF(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 = 105; - type_description_1 = "ooooooooo"; - goto frame_exception_exit_1; - } - assert(var_labels == NULL); - var_labels = tmp_assign_source_1; - } - { - PyObject *tmp_assign_source_2; - tmp_assign_source_2 = mod_consts[11]; - assert(var_c_bsz == NULL); - Py_INCREF(tmp_assign_source_2); - var_c_bsz = tmp_assign_source_2; - } - { - PyObject *tmp_assign_source_3; - PyObject *tmp_iter_arg_1; - CHECK_OBJECT(par_sample_num); - tmp_iter_arg_1 = par_sample_num; - tmp_assign_source_3 = MAKE_ITERATOR(tmp_iter_arg_1); - if (tmp_assign_source_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 107; - 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_3; - } - // Tried code: - loop_start_1:; - { - PyObject *tmp_next_source_1; - PyObject *tmp_assign_source_4; - CHECK_OBJECT(tmp_for_loop_1__for_iterator); - tmp_next_source_1 = tmp_for_loop_1__for_iterator; - tmp_assign_source_4 = ITERATOR_NEXT(tmp_next_source_1); - if (tmp_assign_source_4 == 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 = 107; - goto try_except_handler_2; - } - } - - { - PyObject *old = tmp_for_loop_1__iter_value; - tmp_for_loop_1__iter_value = tmp_assign_source_4; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_5; - CHECK_OBJECT(tmp_for_loop_1__iter_value); - tmp_assign_source_5 = tmp_for_loop_1__iter_value; - { - PyObject *old = var_num1; - var_num1 = tmp_assign_source_5; - Py_INCREF(var_num1); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_6; - PyObject *tmp_called_instance_2; - CHECK_OBJECT(var_num1); - tmp_called_instance_2 = var_num1; - frame_b0b331f085277111601888195501fa13->m_frame.f_lineno = 108; - tmp_assign_source_6 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_2, - mod_consts[53], - &PyTuple_GET_ITEM(mod_consts[62], 0) - ); - - if (tmp_assign_source_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 108; - type_description_1 = "ooooooooo"; - goto try_except_handler_2; - } - { - PyObject *old = var_num2; - var_num2 = tmp_assign_source_6; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_7; - PyObject *tmp_iter_arg_2; - CHECK_OBJECT(var_num2); - tmp_iter_arg_2 = var_num2; - tmp_assign_source_7 = MAKE_ITERATOR(tmp_iter_arg_2); - if (tmp_assign_source_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 109; - type_description_1 = "ooooooooo"; - goto try_except_handler_2; - } - { - PyObject *old = tmp_for_loop_2__for_iterator; - tmp_for_loop_2__for_iterator = tmp_assign_source_7; - Py_XDECREF(old); - } - - } - // Tried code: - loop_start_2:; - { - PyObject *tmp_next_source_2; - PyObject *tmp_assign_source_8; - CHECK_OBJECT(tmp_for_loop_2__for_iterator); - tmp_next_source_2 = tmp_for_loop_2__for_iterator; - tmp_assign_source_8 = ITERATOR_NEXT(tmp_next_source_2); - if (tmp_assign_source_8 == NULL) { - if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { - - goto loop_end_2; - } else { - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - type_description_1 = "ooooooooo"; - exception_lineno = 109; - goto try_except_handler_3; - } - } - - { - PyObject *old = tmp_for_loop_2__iter_value; - tmp_for_loop_2__iter_value = tmp_assign_source_8; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_9; - CHECK_OBJECT(tmp_for_loop_2__iter_value); - tmp_assign_source_9 = tmp_for_loop_2__iter_value; - { - PyObject *old = var_num3; - var_num3 = tmp_assign_source_9; - Py_INCREF(var_num3); - Py_XDECREF(old); - } - - } - { - 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(var_num3); - tmp_compexpr_left_1 = var_num3; - tmp_compexpr_right_1 = mod_consts[55]; - tmp_tmp_condition_result_1_object_1 = RICH_COMPARE_NE_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 = 110; - type_description_1 = "ooooooooo"; - goto try_except_handler_3; - } - 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 = 110; - type_description_1 = "ooooooooo"; - goto try_except_handler_3; - } - 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_assign_source_10; - tmp_assign_source_10 = mod_consts[11]; - { - PyObject *old = var_c4; - var_c4 = tmp_assign_source_10; - Py_INCREF(var_c4); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_11; - PyObject *tmp_iter_arg_3; - PyObject *tmp_called_instance_3; - CHECK_OBJECT(var_num3); - tmp_called_instance_3 = var_num3; - frame_b0b331f085277111601888195501fa13->m_frame.f_lineno = 112; - tmp_iter_arg_3 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_3, - mod_consts[53], - &PyTuple_GET_ITEM(mod_consts[56], 0) - ); - - if (tmp_iter_arg_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 112; - type_description_1 = "ooooooooo"; - goto try_except_handler_3; - } - tmp_assign_source_11 = MAKE_ITERATOR(tmp_iter_arg_3); - Py_DECREF(tmp_iter_arg_3); - if (tmp_assign_source_11 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 112; - type_description_1 = "ooooooooo"; - goto try_except_handler_3; - } - { - PyObject *old = tmp_for_loop_3__for_iterator; - tmp_for_loop_3__for_iterator = tmp_assign_source_11; - Py_XDECREF(old); - } - - } - // Tried code: - loop_start_3:; - { - PyObject *tmp_next_source_3; - PyObject *tmp_assign_source_12; - CHECK_OBJECT(tmp_for_loop_3__for_iterator); - tmp_next_source_3 = tmp_for_loop_3__for_iterator; - tmp_assign_source_12 = ITERATOR_NEXT(tmp_next_source_3); - if (tmp_assign_source_12 == NULL) { - if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { - - goto loop_end_3; - } else { - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - type_description_1 = "ooooooooo"; - exception_lineno = 112; - goto try_except_handler_4; - } - } - - { - PyObject *old = tmp_for_loop_3__iter_value; - tmp_for_loop_3__iter_value = tmp_assign_source_12; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_13; - CHECK_OBJECT(tmp_for_loop_3__iter_value); - tmp_assign_source_13 = tmp_for_loop_3__iter_value; - { - PyObject *old = var_num; - var_num = tmp_assign_source_13; - Py_INCREF(var_num); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_ass_subvalue_1; - PyObject *tmp_float_arg_1; - PyObject *tmp_ass_subscribed_1; - PyObject *tmp_ass_subscript_1; - PyObject *tmp_tuple_element_2; - CHECK_OBJECT(var_num); - tmp_float_arg_1 = var_num; - tmp_ass_subvalue_1 = TO_FLOAT(tmp_float_arg_1); - if (tmp_ass_subvalue_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 113; - type_description_1 = "ooooooooo"; - goto try_except_handler_4; - } - if (var_labels == NULL) { - Py_DECREF(tmp_ass_subvalue_1); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[57]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 113; - type_description_1 = "ooooooooo"; - goto try_except_handler_4; - } - - tmp_ass_subscribed_1 = var_labels; - if (var_c_bsz == NULL) { - Py_DECREF(tmp_ass_subvalue_1); - 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 = 113; - type_description_1 = "ooooooooo"; - goto try_except_handler_4; - } - - tmp_tuple_element_2 = var_c_bsz; - tmp_ass_subscript_1 = PyTuple_New(2); - PyTuple_SET_ITEM0(tmp_ass_subscript_1, 0, tmp_tuple_element_2); - if (var_c4 == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[59]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 113; - type_description_1 = "ooooooooo"; - goto tuple_build_exception_1; - } - - tmp_tuple_element_2 = var_c4; - PyTuple_SET_ITEM0(tmp_ass_subscript_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_ass_subvalue_1); - Py_DECREF(tmp_ass_subscript_1); - goto try_except_handler_4; - // Finished with no exception for tuple_build: - tuple_build_noexception_1:; - tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1); - Py_DECREF(tmp_ass_subscript_1); - Py_DECREF(tmp_ass_subvalue_1); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 113; - type_description_1 = "ooooooooo"; - goto try_except_handler_4; - } - } - { - PyObject *tmp_assign_source_14; - PyObject *tmp_left_name_1; - PyObject *tmp_right_name_1; - if (var_c4 == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[59]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 114; - type_description_1 = "ooooooooo"; - goto try_except_handler_4; - } - - tmp_left_name_1 = var_c4; - tmp_right_name_1 = mod_consts[60]; - tmp_result = BINARY_OPERATION_ADD_LONG_LONG_INPLACE(&tmp_left_name_1, tmp_right_name_1); - assert(!(tmp_result == false)); - tmp_assign_source_14 = tmp_left_name_1; - var_c4 = tmp_assign_source_14; - - } - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 112; - type_description_1 = "ooooooooo"; - goto try_except_handler_4; - } - goto loop_start_3; - loop_end_3:; - 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_for_loop_3__iter_value); - tmp_for_loop_3__iter_value = NULL; - Py_XDECREF(tmp_for_loop_3__for_iterator); - tmp_for_loop_3__for_iterator = 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:; - Py_XDECREF(tmp_for_loop_3__iter_value); - tmp_for_loop_3__iter_value = NULL; - Py_XDECREF(tmp_for_loop_3__for_iterator); - tmp_for_loop_3__for_iterator = NULL; - { - PyObject *tmp_assign_source_15; - PyObject *tmp_left_name_2; - PyObject *tmp_right_name_2; - if (var_c_bsz == 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 = 115; - type_description_1 = "ooooooooo"; - goto try_except_handler_3; - } - - tmp_left_name_2 = var_c_bsz; - tmp_right_name_2 = mod_consts[60]; - tmp_result = BINARY_OPERATION_ADD_OBJECT_LONG_INPLACE(&tmp_left_name_2, tmp_right_name_2); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 115; - type_description_1 = "ooooooooo"; - goto try_except_handler_3; - } - tmp_assign_source_15 = tmp_left_name_2; - var_c_bsz = tmp_assign_source_15; - - } - branch_no_1:; - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 109; - type_description_1 = "ooooooooo"; - goto try_except_handler_3; - } - goto loop_start_2; - loop_end_2:; - 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_for_loop_2__iter_value); - tmp_for_loop_2__iter_value = NULL; - Py_XDECREF(tmp_for_loop_2__for_iterator); - tmp_for_loop_2__for_iterator = 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_for_loop_2__iter_value); - tmp_for_loop_2__iter_value = NULL; - Py_XDECREF(tmp_for_loop_2__for_iterator); - tmp_for_loop_2__for_iterator = NULL; - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 107; - type_description_1 = "ooooooooo"; - 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:; - 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_labels == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[57]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 116; - type_description_1 = "ooooooooo"; - goto frame_exception_exit_1; - } - - tmp_return_value = var_labels; - Py_INCREF(tmp_return_value); - goto frame_return_exit_1; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_b0b331f085277111601888195501fa13); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_1; - - frame_return_exit_1:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_b0b331f085277111601888195501fa13); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_1; - - frame_exception_exit_1:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_b0b331f085277111601888195501fa13); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_b0b331f085277111601888195501fa13, exception_lineno); - } else if (exception_tb->tb_frame != &frame_b0b331f085277111601888195501fa13->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_b0b331f085277111601888195501fa13, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_b0b331f085277111601888195501fa13, - type_description_1, - par_sample_num, - par_bsz, - var_labels, - var_c_bsz, - var_num1, - var_num2, - var_num3, - var_c4, - var_num - ); - - - // Release cached frame if used for exception. - if (frame_b0b331f085277111601888195501fa13 == cache_frame_b0b331f085277111601888195501fa13) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_b0b331f085277111601888195501fa13); - cache_frame_b0b331f085277111601888195501fa13 = NULL; - } - - assertFrameObject(frame_b0b331f085277111601888195501fa13); - - // 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_sample_num); - par_sample_num = NULL; - Py_XDECREF(par_bsz); - par_bsz = NULL; - Py_XDECREF(var_labels); - var_labels = NULL; - Py_XDECREF(var_c_bsz); - var_c_bsz = NULL; - Py_XDECREF(var_num1); - var_num1 = NULL; - Py_XDECREF(var_num2); - var_num2 = NULL; - Py_XDECREF(var_num3); - var_num3 = NULL; - Py_XDECREF(var_c4); - var_c4 = NULL; - Py_XDECREF(var_num); - var_num = 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_sample_num); - par_sample_num = NULL; - Py_XDECREF(par_bsz); - par_bsz = NULL; - Py_XDECREF(var_labels); - var_labels = NULL; - Py_XDECREF(var_c_bsz); - var_c_bsz = NULL; - Py_XDECREF(var_num1); - var_num1 = NULL; - Py_XDECREF(var_num2); - var_num2 = NULL; - Py_XDECREF(var_num3); - var_num3 = NULL; - Py_XDECREF(var_c4); - var_c4 = NULL; - Py_XDECREF(var_num); - var_num = 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$medomni_bp$$$function__11_trans_keypoint(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_sample_num = python_pars[0]; - PyObject *par_bsz = python_pars[1]; - PyObject *var_labels = NULL; - PyObject *var_c_bsz = NULL; - PyObject *var_num1 = NULL; - PyObject *var_num2 = NULL; - PyObject *var_num3 = NULL; - PyObject *var_c4 = NULL; - PyObject *var_num = NULL; - PyObject *tmp_for_loop_1__for_iterator = NULL; - PyObject *tmp_for_loop_1__iter_value = NULL; - PyObject *tmp_for_loop_2__for_iterator = NULL; - PyObject *tmp_for_loop_2__iter_value = NULL; - PyObject *tmp_for_loop_3__for_iterator = NULL; - PyObject *tmp_for_loop_3__iter_value = NULL; - struct Nuitka_FrameObject *frame_a45548cd58c2face9e36cbc89b979801; - 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; - 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; - PyObject *tmp_return_value = NULL; - static struct Nuitka_FrameObject *cache_frame_a45548cd58c2face9e36cbc89b979801 = 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_a45548cd58c2face9e36cbc89b979801)) { - Py_XDECREF(cache_frame_a45548cd58c2face9e36cbc89b979801); - -#if _DEBUG_REFCOUNTS - if (cache_frame_a45548cd58c2face9e36cbc89b979801 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_a45548cd58c2face9e36cbc89b979801 = MAKE_FUNCTION_FRAME(codeobj_a45548cd58c2face9e36cbc89b979801, module_models$medomni_bp, 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_a45548cd58c2face9e36cbc89b979801->m_type_description == NULL); - frame_a45548cd58c2face9e36cbc89b979801 = cache_frame_a45548cd58c2face9e36cbc89b979801; - - // Push the new frame as the currently active one. - pushFrameStack(frame_a45548cd58c2face9e36cbc89b979801); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_a45548cd58c2face9e36cbc89b979801) == 2); // Frame stack - - // Framed code: - { - PyObject *tmp_assign_source_1; - PyObject *tmp_called_instance_1; - PyObject *tmp_args_element_name_1; - PyObject *tmp_tuple_element_1; - tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_called_instance_1 == NULL)) { - tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_called_instance_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 119; - type_description_1 = "ooooooooo"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(par_bsz); - tmp_tuple_element_1 = par_bsz; - tmp_args_element_name_1 = PyTuple_New(2); - PyTuple_SET_ITEM0(tmp_args_element_name_1, 0, tmp_tuple_element_1); - tmp_tuple_element_1 = mod_consts[63]; - PyTuple_SET_ITEM0(tmp_args_element_name_1, 1, tmp_tuple_element_1); - frame_a45548cd58c2face9e36cbc89b979801->m_frame.f_lineno = 119; - tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[51], tmp_args_element_name_1); - Py_DECREF(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 = 119; - type_description_1 = "ooooooooo"; - goto frame_exception_exit_1; - } - assert(var_labels == NULL); - var_labels = tmp_assign_source_1; - } - { - PyObject *tmp_assign_source_2; - tmp_assign_source_2 = mod_consts[11]; - assert(var_c_bsz == NULL); - Py_INCREF(tmp_assign_source_2); - var_c_bsz = tmp_assign_source_2; - } - { - PyObject *tmp_assign_source_3; - PyObject *tmp_iter_arg_1; - CHECK_OBJECT(par_sample_num); - tmp_iter_arg_1 = par_sample_num; - tmp_assign_source_3 = MAKE_ITERATOR(tmp_iter_arg_1); - if (tmp_assign_source_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 121; - 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_3; - } - // Tried code: - loop_start_1:; - { - PyObject *tmp_next_source_1; - PyObject *tmp_assign_source_4; - CHECK_OBJECT(tmp_for_loop_1__for_iterator); - tmp_next_source_1 = tmp_for_loop_1__for_iterator; - tmp_assign_source_4 = ITERATOR_NEXT(tmp_next_source_1); - if (tmp_assign_source_4 == 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 = 121; - goto try_except_handler_2; - } - } - - { - PyObject *old = tmp_for_loop_1__iter_value; - tmp_for_loop_1__iter_value = tmp_assign_source_4; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_5; - CHECK_OBJECT(tmp_for_loop_1__iter_value); - tmp_assign_source_5 = tmp_for_loop_1__iter_value; - { - PyObject *old = var_num1; - var_num1 = tmp_assign_source_5; - Py_INCREF(var_num1); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_6; - PyObject *tmp_called_instance_2; - CHECK_OBJECT(var_num1); - tmp_called_instance_2 = var_num1; - frame_a45548cd58c2face9e36cbc89b979801->m_frame.f_lineno = 122; - tmp_assign_source_6 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_2, - mod_consts[53], - &PyTuple_GET_ITEM(mod_consts[62], 0) - ); - - if (tmp_assign_source_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 122; - type_description_1 = "ooooooooo"; - goto try_except_handler_2; - } - { - PyObject *old = var_num2; - var_num2 = tmp_assign_source_6; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_7; - PyObject *tmp_iter_arg_2; - CHECK_OBJECT(var_num2); - tmp_iter_arg_2 = var_num2; - tmp_assign_source_7 = MAKE_ITERATOR(tmp_iter_arg_2); - if (tmp_assign_source_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 123; - type_description_1 = "ooooooooo"; - goto try_except_handler_2; - } - { - PyObject *old = tmp_for_loop_2__for_iterator; - tmp_for_loop_2__for_iterator = tmp_assign_source_7; - Py_XDECREF(old); - } - - } - // Tried code: - loop_start_2:; - { - PyObject *tmp_next_source_2; - PyObject *tmp_assign_source_8; - CHECK_OBJECT(tmp_for_loop_2__for_iterator); - tmp_next_source_2 = tmp_for_loop_2__for_iterator; - tmp_assign_source_8 = ITERATOR_NEXT(tmp_next_source_2); - if (tmp_assign_source_8 == NULL) { - if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { - - goto loop_end_2; - } else { - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - type_description_1 = "ooooooooo"; - exception_lineno = 123; - goto try_except_handler_3; - } - } - - { - PyObject *old = tmp_for_loop_2__iter_value; - tmp_for_loop_2__iter_value = tmp_assign_source_8; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_9; - CHECK_OBJECT(tmp_for_loop_2__iter_value); - tmp_assign_source_9 = tmp_for_loop_2__iter_value; - { - PyObject *old = var_num3; - var_num3 = tmp_assign_source_9; - Py_INCREF(var_num3); - Py_XDECREF(old); - } - - } - { - 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(var_num3); - tmp_compexpr_left_1 = var_num3; - tmp_compexpr_right_1 = mod_consts[55]; - tmp_tmp_condition_result_1_object_1 = RICH_COMPARE_NE_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 = 124; - type_description_1 = "ooooooooo"; - goto try_except_handler_3; - } - 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 = 124; - type_description_1 = "ooooooooo"; - goto try_except_handler_3; - } - 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_assign_source_10; - tmp_assign_source_10 = mod_consts[11]; - { - PyObject *old = var_c4; - var_c4 = tmp_assign_source_10; - Py_INCREF(var_c4); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_11; - PyObject *tmp_iter_arg_3; - PyObject *tmp_called_instance_3; - CHECK_OBJECT(var_num3); - tmp_called_instance_3 = var_num3; - frame_a45548cd58c2face9e36cbc89b979801->m_frame.f_lineno = 126; - tmp_iter_arg_3 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_3, - mod_consts[53], - &PyTuple_GET_ITEM(mod_consts[56], 0) - ); - - if (tmp_iter_arg_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 126; - type_description_1 = "ooooooooo"; - goto try_except_handler_3; - } - tmp_assign_source_11 = MAKE_ITERATOR(tmp_iter_arg_3); - Py_DECREF(tmp_iter_arg_3); - if (tmp_assign_source_11 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 126; - type_description_1 = "ooooooooo"; - goto try_except_handler_3; - } - { - PyObject *old = tmp_for_loop_3__for_iterator; - tmp_for_loop_3__for_iterator = tmp_assign_source_11; - Py_XDECREF(old); - } - - } - // Tried code: - loop_start_3:; - { - PyObject *tmp_next_source_3; - PyObject *tmp_assign_source_12; - CHECK_OBJECT(tmp_for_loop_3__for_iterator); - tmp_next_source_3 = tmp_for_loop_3__for_iterator; - tmp_assign_source_12 = ITERATOR_NEXT(tmp_next_source_3); - if (tmp_assign_source_12 == NULL) { - if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { - - goto loop_end_3; - } else { - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - type_description_1 = "ooooooooo"; - exception_lineno = 126; - goto try_except_handler_4; - } - } - - { - PyObject *old = tmp_for_loop_3__iter_value; - tmp_for_loop_3__iter_value = tmp_assign_source_12; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_13; - CHECK_OBJECT(tmp_for_loop_3__iter_value); - tmp_assign_source_13 = tmp_for_loop_3__iter_value; - { - PyObject *old = var_num; - var_num = tmp_assign_source_13; - Py_INCREF(var_num); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_ass_subvalue_1; - PyObject *tmp_float_arg_1; - PyObject *tmp_ass_subscribed_1; - PyObject *tmp_ass_subscript_1; - PyObject *tmp_tuple_element_2; - CHECK_OBJECT(var_num); - tmp_float_arg_1 = var_num; - tmp_ass_subvalue_1 = TO_FLOAT(tmp_float_arg_1); - if (tmp_ass_subvalue_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 127; - type_description_1 = "ooooooooo"; - goto try_except_handler_4; - } - if (var_labels == NULL) { - Py_DECREF(tmp_ass_subvalue_1); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[57]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 127; - type_description_1 = "ooooooooo"; - goto try_except_handler_4; - } - - tmp_ass_subscribed_1 = var_labels; - if (var_c_bsz == NULL) { - Py_DECREF(tmp_ass_subvalue_1); - 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 = 127; - type_description_1 = "ooooooooo"; - goto try_except_handler_4; - } - - tmp_tuple_element_2 = var_c_bsz; - tmp_ass_subscript_1 = PyTuple_New(2); - PyTuple_SET_ITEM0(tmp_ass_subscript_1, 0, tmp_tuple_element_2); - if (var_c4 == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[59]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 127; - type_description_1 = "ooooooooo"; - goto tuple_build_exception_1; - } - - tmp_tuple_element_2 = var_c4; - PyTuple_SET_ITEM0(tmp_ass_subscript_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_ass_subvalue_1); - Py_DECREF(tmp_ass_subscript_1); - goto try_except_handler_4; - // Finished with no exception for tuple_build: - tuple_build_noexception_1:; - tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1); - Py_DECREF(tmp_ass_subscript_1); - Py_DECREF(tmp_ass_subvalue_1); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 127; - type_description_1 = "ooooooooo"; - goto try_except_handler_4; - } - } - { - PyObject *tmp_assign_source_14; - PyObject *tmp_left_name_1; - PyObject *tmp_right_name_1; - if (var_c4 == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[59]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 128; - type_description_1 = "ooooooooo"; - goto try_except_handler_4; - } - - tmp_left_name_1 = var_c4; - tmp_right_name_1 = mod_consts[60]; - tmp_result = BINARY_OPERATION_ADD_LONG_LONG_INPLACE(&tmp_left_name_1, tmp_right_name_1); - assert(!(tmp_result == false)); - tmp_assign_source_14 = tmp_left_name_1; - var_c4 = tmp_assign_source_14; - - } - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 126; - type_description_1 = "ooooooooo"; - goto try_except_handler_4; - } - goto loop_start_3; - loop_end_3:; - 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_for_loop_3__iter_value); - tmp_for_loop_3__iter_value = NULL; - Py_XDECREF(tmp_for_loop_3__for_iterator); - tmp_for_loop_3__for_iterator = 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:; - Py_XDECREF(tmp_for_loop_3__iter_value); - tmp_for_loop_3__iter_value = NULL; - Py_XDECREF(tmp_for_loop_3__for_iterator); - tmp_for_loop_3__for_iterator = NULL; - { - PyObject *tmp_assign_source_15; - PyObject *tmp_left_name_2; - PyObject *tmp_right_name_2; - if (var_c_bsz == 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 = 129; - type_description_1 = "ooooooooo"; - goto try_except_handler_3; - } - - tmp_left_name_2 = var_c_bsz; - tmp_right_name_2 = mod_consts[60]; - tmp_result = BINARY_OPERATION_ADD_OBJECT_LONG_INPLACE(&tmp_left_name_2, tmp_right_name_2); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 129; - type_description_1 = "ooooooooo"; - goto try_except_handler_3; - } - tmp_assign_source_15 = tmp_left_name_2; - var_c_bsz = tmp_assign_source_15; - - } - branch_no_1:; - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 123; - type_description_1 = "ooooooooo"; - goto try_except_handler_3; - } - goto loop_start_2; - loop_end_2:; - 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_for_loop_2__iter_value); - tmp_for_loop_2__iter_value = NULL; - Py_XDECREF(tmp_for_loop_2__for_iterator); - tmp_for_loop_2__for_iterator = 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_for_loop_2__iter_value); - tmp_for_loop_2__iter_value = NULL; - Py_XDECREF(tmp_for_loop_2__for_iterator); - tmp_for_loop_2__for_iterator = NULL; - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 121; - type_description_1 = "ooooooooo"; - 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:; - 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_labels == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[57]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 130; - type_description_1 = "ooooooooo"; - goto frame_exception_exit_1; - } - - tmp_return_value = var_labels; - Py_INCREF(tmp_return_value); - goto frame_return_exit_1; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_a45548cd58c2face9e36cbc89b979801); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_1; - - frame_return_exit_1:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_a45548cd58c2face9e36cbc89b979801); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_1; - - frame_exception_exit_1:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_a45548cd58c2face9e36cbc89b979801); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_a45548cd58c2face9e36cbc89b979801, exception_lineno); - } else if (exception_tb->tb_frame != &frame_a45548cd58c2face9e36cbc89b979801->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_a45548cd58c2face9e36cbc89b979801, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_a45548cd58c2face9e36cbc89b979801, - type_description_1, - par_sample_num, - par_bsz, - var_labels, - var_c_bsz, - var_num1, - var_num2, - var_num3, - var_c4, - var_num - ); - - - // Release cached frame if used for exception. - if (frame_a45548cd58c2face9e36cbc89b979801 == cache_frame_a45548cd58c2face9e36cbc89b979801) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_a45548cd58c2face9e36cbc89b979801); - cache_frame_a45548cd58c2face9e36cbc89b979801 = NULL; - } - - assertFrameObject(frame_a45548cd58c2face9e36cbc89b979801); - - // 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_sample_num); - par_sample_num = NULL; - Py_XDECREF(par_bsz); - par_bsz = NULL; - Py_XDECREF(var_labels); - var_labels = NULL; - Py_XDECREF(var_c_bsz); - var_c_bsz = NULL; - Py_XDECREF(var_num1); - var_num1 = NULL; - Py_XDECREF(var_num2); - var_num2 = NULL; - Py_XDECREF(var_num3); - var_num3 = NULL; - Py_XDECREF(var_c4); - var_c4 = NULL; - Py_XDECREF(var_num); - var_num = 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_sample_num); - par_sample_num = NULL; - Py_XDECREF(par_bsz); - par_bsz = NULL; - Py_XDECREF(var_labels); - var_labels = NULL; - Py_XDECREF(var_c_bsz); - var_c_bsz = NULL; - Py_XDECREF(var_num1); - var_num1 = NULL; - Py_XDECREF(var_num2); - var_num2 = NULL; - Py_XDECREF(var_num3); - var_num3 = NULL; - Py_XDECREF(var_c4); - var_c4 = NULL; - Py_XDECREF(var_num); - var_num = 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$medomni_bp$$$function__12___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_freeze_vit = python_pars[1]; - PyObject *par_num_query_token = python_pars[2]; - PyObject *par_llama_model = python_pars[3]; - PyObject *par_max_txt_len = python_pars[4]; - PyObject *par_low_resource = python_pars[5]; - PyObject *par_end_sym = python_pars[6]; - PyObject *var_name = NULL; - PyObject *var_param = NULL; - PyObject *var_special_token = NULL; - PyObject *var_CastOutputToFloat = NULL; - PyObject *var_peft_config = NULL; - PyObject *var_text_det = NULL; - PyObject *var_text2seg_2d = NULL; - PyObject *var_text2seg_3d = NULL; - struct Nuitka_CellObject *outline_0_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_for_loop_1__for_iterator = NULL; - PyObject *tmp_for_loop_1__iter_value = NULL; - PyObject *tmp_for_loop_2__for_iterator = NULL; - PyObject *tmp_for_loop_2__iter_value = NULL; - PyObject *tmp_for_loop_3__for_iterator = NULL; - PyObject *tmp_for_loop_3__iter_value = NULL; - PyObject *tmp_for_loop_4__for_iterator = NULL; - PyObject *tmp_for_loop_4__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; - PyObject *tmp_tuple_unpack_2__element_1 = NULL; - PyObject *tmp_tuple_unpack_2__element_2 = NULL; - PyObject *tmp_tuple_unpack_2__source_iter = NULL; - PyObject *tmp_tuple_unpack_3__element_1 = NULL; - PyObject *tmp_tuple_unpack_3__element_2 = NULL; - PyObject *tmp_tuple_unpack_3__source_iter = NULL; - PyObject *tmp_tuple_unpack_4__element_1 = NULL; - PyObject *tmp_tuple_unpack_4__element_2 = NULL; - PyObject *tmp_tuple_unpack_4__source_iter = NULL; - struct Nuitka_FrameObject *frame_f49b4cc387c566c587dd5b706722b99c; - 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 *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 *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 *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 *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 *exception_keeper_type_12; - PyObject *exception_keeper_value_12; - PyTracebackObject *exception_keeper_tb_12; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12; - PyObject *tmp_dictset_value; - PyObject *tmp_dictset_dict; - PyObject *tmp_dictset_key; - int tmp_res; - PyObject *tmp_dictdel_dict; - PyObject *tmp_dictdel_key; - PyObject *locals_models$medomni_bp$$$function__12___init__$$$class__1_CastOutputToFloat_214 = NULL; - struct Nuitka_FrameObject *frame_ce5a7e5610b05275766f110c9eb7c5a7_2; - NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; - static struct Nuitka_FrameObject *cache_frame_ce5a7e5610b05275766f110c9eb7c5a7_2 = NULL; - 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 *exception_keeper_type_15; - PyObject *exception_keeper_value_15; - PyTracebackObject *exception_keeper_tb_15; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15; - static struct Nuitka_FrameObject *cache_frame_f49b4cc387c566c587dd5b706722b99c = NULL; - PyObject *tmp_return_value = NULL; - PyObject *exception_keeper_type_16; - PyObject *exception_keeper_value_16; - PyTracebackObject *exception_keeper_tb_16; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16; - - // Actual function body. - // Tried code: - if (isFrameUnusable(cache_frame_f49b4cc387c566c587dd5b706722b99c)) { - Py_XDECREF(cache_frame_f49b4cc387c566c587dd5b706722b99c); - -#if _DEBUG_REFCOUNTS - if (cache_frame_f49b4cc387c566c587dd5b706722b99c == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_f49b4cc387c566c587dd5b706722b99c = MAKE_FUNCTION_FRAME(codeobj_f49b4cc387c566c587dd5b706722b99c, module_models$medomni_bp, 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_f49b4cc387c566c587dd5b706722b99c->m_type_description == NULL); - frame_f49b4cc387c566c587dd5b706722b99c = cache_frame_f49b4cc387c566c587dd5b706722b99c; - - // Push the new frame as the currently active one. - pushFrameStack(frame_f49b4cc387c566c587dd5b706722b99c); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_f49b4cc387c566c587dd5b706722b99c) == 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[1]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 147; - 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 = 147; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 147; - tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[31]); - 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 = 147; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - Py_DECREF(tmp_call_result_1); - } - { - PyObject *tmp_assattr_name_1; - PyObject *tmp_called_instance_2; - PyObject *tmp_assattr_target_1; - CHECK_OBJECT(par_self); - tmp_called_instance_2 = par_self; - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 149; - tmp_assattr_name_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[64]); - if (tmp_assattr_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 149; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_1); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 149; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_1 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[65], 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 = 149; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_2; - PyObject *tmp_assattr_target_2; - CHECK_OBJECT(par_low_resource); - tmp_assattr_name_2 = par_low_resource; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 150; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_2 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[66], tmp_assattr_name_2); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 150; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_called_name_1; - PyObject *tmp_call_result_2; - tmp_called_name_1 = LOOKUP_BUILTIN(mod_consts[67]); - assert(tmp_called_name_1 != NULL); - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 152; - tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, mod_consts[68]); - if (tmp_call_result_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 152; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - Py_DECREF(tmp_call_result_2); - } - { - PyObject *tmp_assattr_name_3; - PyObject *tmp_called_instance_3; - PyObject *tmp_assattr_target_3; - tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[69]); - - if (unlikely(tmp_called_instance_3 == NULL)) { - tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[69]); - } - - if (tmp_called_instance_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 153; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 153; - tmp_assattr_name_3 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_3, - mod_consts[70], - &PyTuple_GET_ITEM(mod_consts[71], 0) - ); - - if (tmp_assattr_name_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 153; - type_description_1 = "oooooooooooooooc"; - 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[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 153; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_3 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[72], 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 = 153; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_4; - PyObject *tmp_called_name_2; - PyObject *tmp_kwargs_name_1; - PyObject *tmp_assattr_target_4; - tmp_called_name_2 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[73]); - - if (unlikely(tmp_called_name_2 == NULL)) { - tmp_called_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[73]); - } - - if (tmp_called_name_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 154; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_kwargs_name_1 = PyDict_Copy(mod_consts[74]); - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 154; - tmp_assattr_name_4 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_2, tmp_kwargs_name_1); - Py_DECREF(tmp_kwargs_name_1); - if (tmp_assattr_name_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 154; - type_description_1 = "oooooooooooooooc"; - 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[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 154; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_4 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[75], 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 = 154; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_5; - PyObject *tmp_called_name_3; - PyObject *tmp_assattr_target_5; - tmp_called_name_3 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[76]); - - if (unlikely(tmp_called_name_3 == NULL)) { - tmp_called_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[76]); - } - - if (tmp_called_name_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 155; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 155; - tmp_assattr_name_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_3, mod_consts[77]); - if (tmp_assattr_name_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 155; - type_description_1 = "oooooooooooooooc"; - 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[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 155; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_5 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[78], 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 = 155; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_6; - PyObject *tmp_called_name_4; - PyObject *tmp_assattr_target_6; - tmp_called_name_4 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[76]); - - if (unlikely(tmp_called_name_4 == NULL)) { - tmp_called_name_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[76]); - } - - if (tmp_called_name_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 156; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 156; - tmp_assattr_name_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_4, mod_consts[79]); - if (tmp_assattr_name_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 156; - type_description_1 = "oooooooooooooooc"; - 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[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 156; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_6 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[80], 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 = 156; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - nuitka_bool tmp_condition_result_1; - int tmp_truth_name_1; - CHECK_OBJECT(par_freeze_vit); - tmp_truth_name_1 = CHECK_IF_TRUE(par_freeze_vit); - if (tmp_truth_name_1 == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 158; - type_description_1 = "oooooooooooooooc"; - 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_assign_source_1; - PyObject *tmp_iter_arg_1; - PyObject *tmp_called_instance_4; - PyObject *tmp_expression_name_1; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 159; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_1 = par_self; - tmp_called_instance_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[72]); - if (tmp_called_instance_4 == 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; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 159; - tmp_iter_arg_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[81]); - Py_DECREF(tmp_called_instance_4); - if (tmp_iter_arg_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; - } - tmp_assign_source_1 = MAKE_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 = 159; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - assert(tmp_for_loop_1__for_iterator == NULL); - tmp_for_loop_1__for_iterator = tmp_assign_source_1; - } - // Tried code: - loop_start_1:; - { - PyObject *tmp_next_source_1; - PyObject *tmp_assign_source_2; - CHECK_OBJECT(tmp_for_loop_1__for_iterator); - tmp_next_source_1 = tmp_for_loop_1__for_iterator; - tmp_assign_source_2 = ITERATOR_NEXT(tmp_next_source_1); - if (tmp_assign_source_2 == 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 = "oooooooooooooooc"; - exception_lineno = 159; - goto try_except_handler_2; - } - } - - { - PyObject *old = tmp_for_loop_1__iter_value; - tmp_for_loop_1__iter_value = tmp_assign_source_2; - Py_XDECREF(old); - } - - } - // Tried code: - { - PyObject *tmp_assign_source_3; - 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_3 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2); - if (tmp_assign_source_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 159; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_3; - } - { - PyObject *old = tmp_tuple_unpack_1__source_iter; - tmp_tuple_unpack_1__source_iter = tmp_assign_source_3; - Py_XDECREF(old); - } - - } - // Tried code: - { - PyObject *tmp_assign_source_4; - PyObject *tmp_unpack_1; - CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); - tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; - tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_1, 0, 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 = 159; - goto try_except_handler_4; - } - { - PyObject *old = tmp_tuple_unpack_1__element_1; - tmp_tuple_unpack_1__element_1 = tmp_assign_source_4; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_5; - PyObject *tmp_unpack_2; - CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); - tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; - tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_2, 1, 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 = "oooooooooooooooc"; - exception_lineno = 159; - goto try_except_handler_4; - } - { - PyObject *old = tmp_tuple_unpack_1__element_2; - tmp_tuple_unpack_1__element_2 = tmp_assign_source_5; - 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 = "oooooooooooooooc"; - exception_lineno = 159; - goto try_except_handler_4; - } - } - } else { - Py_DECREF(tmp_iterator_attempt); - - exception_type = PyExc_ValueError; - Py_INCREF(PyExc_ValueError); - exception_value = mod_consts[9]; - Py_INCREF(exception_value); - exception_tb = NULL; - - type_description_1 = "oooooooooooooooc"; - exception_lineno = 159; - 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_6; - CHECK_OBJECT(tmp_tuple_unpack_1__element_1); - tmp_assign_source_6 = tmp_tuple_unpack_1__element_1; - { - PyObject *old = var_name; - var_name = tmp_assign_source_6; - Py_INCREF(var_name); - Py_XDECREF(old); - } - - } - 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; - { - PyObject *old = var_param; - var_param = tmp_assign_source_7; - Py_INCREF(var_param); - 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_assattr_name_7; - PyObject *tmp_assattr_target_7; - tmp_assattr_name_7 = Py_False; - CHECK_OBJECT(var_param); - tmp_assattr_target_7 = var_param; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[82], tmp_assattr_name_7); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 160; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_2; - } - } - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 159; - type_description_1 = "oooooooooooooooc"; - 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:; - 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; - { - PyObject *tmp_assattr_name_8; - PyObject *tmp_called_instance_5; - PyObject *tmp_expression_name_2; - PyObject *tmp_assattr_target_8; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 161; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_2 = par_self; - tmp_called_instance_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[72]); - if (tmp_called_instance_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 161; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 161; - tmp_assattr_name_8 = CALL_METHOD_NO_ARGS(tmp_called_instance_5, mod_consts[83]); - Py_DECREF(tmp_called_instance_5); - if (tmp_assattr_name_8 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 161; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_8); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 161; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_8 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_8, mod_consts[72], tmp_assattr_name_8); - Py_DECREF(tmp_assattr_name_8); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 161; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_9; - PyObject *tmp_assattr_target_9; - PyObject *tmp_expression_name_3; - tmp_assattr_name_9 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[84]); - - if (unlikely(tmp_assattr_name_9 == NULL)) { - tmp_assattr_name_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[84]); - } - - if (tmp_assattr_name_9 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 162; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 162; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_3 = par_self; - tmp_assattr_target_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[72]); - if (tmp_assattr_target_9 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 162; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_9, mod_consts[85], tmp_assattr_name_9); - Py_DECREF(tmp_assattr_target_9); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 162; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assign_source_8; - PyObject *tmp_iter_arg_3; - PyObject *tmp_called_instance_6; - PyObject *tmp_expression_name_4; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 163; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_4 = par_self; - tmp_called_instance_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[78]); - if (tmp_called_instance_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 163; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 163; - tmp_iter_arg_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_6, mod_consts[81]); - Py_DECREF(tmp_called_instance_6); - if (tmp_iter_arg_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 163; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_assign_source_8 = MAKE_ITERATOR(tmp_iter_arg_3); - Py_DECREF(tmp_iter_arg_3); - if (tmp_assign_source_8 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 163; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - assert(tmp_for_loop_2__for_iterator == NULL); - tmp_for_loop_2__for_iterator = tmp_assign_source_8; - } - // Tried code: - loop_start_2:; - { - PyObject *tmp_next_source_2; - PyObject *tmp_assign_source_9; - CHECK_OBJECT(tmp_for_loop_2__for_iterator); - tmp_next_source_2 = tmp_for_loop_2__for_iterator; - tmp_assign_source_9 = ITERATOR_NEXT(tmp_next_source_2); - if (tmp_assign_source_9 == NULL) { - if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { - - goto loop_end_2; - } else { - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - type_description_1 = "oooooooooooooooc"; - exception_lineno = 163; - goto try_except_handler_5; - } - } - - { - PyObject *old = tmp_for_loop_2__iter_value; - tmp_for_loop_2__iter_value = tmp_assign_source_9; - Py_XDECREF(old); - } - - } - // Tried code: - { - PyObject *tmp_assign_source_10; - PyObject *tmp_iter_arg_4; - CHECK_OBJECT(tmp_for_loop_2__iter_value); - tmp_iter_arg_4 = tmp_for_loop_2__iter_value; - tmp_assign_source_10 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_4); - if (tmp_assign_source_10 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 163; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_6; - } - { - PyObject *old = tmp_tuple_unpack_2__source_iter; - tmp_tuple_unpack_2__source_iter = tmp_assign_source_10; - Py_XDECREF(old); - } - - } - // Tried code: - { - PyObject *tmp_assign_source_11; - PyObject *tmp_unpack_3; - CHECK_OBJECT(tmp_tuple_unpack_2__source_iter); - tmp_unpack_3 = tmp_tuple_unpack_2__source_iter; - tmp_assign_source_11 = UNPACK_NEXT(tmp_unpack_3, 0, 2); - if (tmp_assign_source_11 == 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 = 163; - goto try_except_handler_7; - } - { - PyObject *old = tmp_tuple_unpack_2__element_1; - tmp_tuple_unpack_2__element_1 = tmp_assign_source_11; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_12; - PyObject *tmp_unpack_4; - CHECK_OBJECT(tmp_tuple_unpack_2__source_iter); - tmp_unpack_4 = tmp_tuple_unpack_2__source_iter; - tmp_assign_source_12 = UNPACK_NEXT(tmp_unpack_4, 1, 2); - if (tmp_assign_source_12 == 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 = 163; - goto try_except_handler_7; - } - { - PyObject *old = tmp_tuple_unpack_2__element_2; - tmp_tuple_unpack_2__element_2 = tmp_assign_source_12; - Py_XDECREF(old); - } - - } - { - 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 = "oooooooooooooooc"; - exception_lineno = 163; - goto try_except_handler_7; - } - } - } else { - Py_DECREF(tmp_iterator_attempt); - - exception_type = PyExc_ValueError; - Py_INCREF(PyExc_ValueError); - exception_value = mod_consts[9]; - Py_INCREF(exception_value); - exception_tb = NULL; - - type_description_1 = "oooooooooooooooc"; - exception_lineno = 163; - goto try_except_handler_7; - } - } - goto try_end_4; - // Exception handler code: - try_except_handler_7:; - 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__source_iter); - tmp_tuple_unpack_2__source_iter = 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 try_except_handler_6; - // End of try: - try_end_4:; - goto try_end_5; - // Exception handler code: - try_except_handler_6:; - 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_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; - // 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 try_except_handler_5; - // End of try: - try_end_5:; - Py_XDECREF(tmp_tuple_unpack_2__source_iter); - tmp_tuple_unpack_2__source_iter = NULL; - { - PyObject *tmp_assign_source_13; - CHECK_OBJECT(tmp_tuple_unpack_2__element_1); - tmp_assign_source_13 = tmp_tuple_unpack_2__element_1; - { - PyObject *old = var_name; - var_name = tmp_assign_source_13; - Py_INCREF(var_name); - Py_XDECREF(old); - } - - } - Py_XDECREF(tmp_tuple_unpack_2__element_1); - tmp_tuple_unpack_2__element_1 = NULL; - - { - PyObject *tmp_assign_source_14; - CHECK_OBJECT(tmp_tuple_unpack_2__element_2); - tmp_assign_source_14 = tmp_tuple_unpack_2__element_2; - { - PyObject *old = var_param; - var_param = tmp_assign_source_14; - Py_INCREF(var_param); - Py_XDECREF(old); - } - - } - Py_XDECREF(tmp_tuple_unpack_2__element_2); - tmp_tuple_unpack_2__element_2 = 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; - { - PyObject *tmp_assattr_name_10; - PyObject *tmp_assattr_target_10; - tmp_assattr_name_10 = Py_False; - CHECK_OBJECT(var_param); - tmp_assattr_target_10 = var_param; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_10, mod_consts[82], tmp_assattr_name_10); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 164; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_5; - } - } - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 163; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_5; - } - goto loop_start_2; - loop_end_2:; - goto try_end_6; - // Exception handler code: - try_except_handler_5:; - 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(tmp_for_loop_2__iter_value); - tmp_for_loop_2__iter_value = NULL; - Py_XDECREF(tmp_for_loop_2__for_iterator); - tmp_for_loop_2__for_iterator = 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 frame_exception_exit_1; - // End of try: - try_end_6:; - Py_XDECREF(tmp_for_loop_2__iter_value); - tmp_for_loop_2__iter_value = NULL; - Py_XDECREF(tmp_for_loop_2__for_iterator); - tmp_for_loop_2__for_iterator = NULL; - { - PyObject *tmp_assattr_name_11; - PyObject *tmp_called_instance_7; - PyObject *tmp_expression_name_5; - PyObject *tmp_assattr_target_11; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 165; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_5 = par_self; - tmp_called_instance_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[78]); - if (tmp_called_instance_7 == 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; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 165; - tmp_assattr_name_11 = CALL_METHOD_NO_ARGS(tmp_called_instance_7, mod_consts[83]); - Py_DECREF(tmp_called_instance_7); - if (tmp_assattr_name_11 == 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; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_11); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 165; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_11 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_11, mod_consts[78], tmp_assattr_name_11); - Py_DECREF(tmp_assattr_name_11); - 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_assattr_name_12; - PyObject *tmp_assattr_target_12; - PyObject *tmp_expression_name_6; - tmp_assattr_name_12 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[84]); - - if (unlikely(tmp_assattr_name_12 == NULL)) { - tmp_assattr_name_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[84]); - } - - if (tmp_assattr_name_12 == 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; - } - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 166; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_6 = par_self; - tmp_assattr_target_12 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[78]); - if (tmp_assattr_target_12 == 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_result = SET_ATTRIBUTE(tmp_assattr_target_12, mod_consts[85], tmp_assattr_name_12); - Py_DECREF(tmp_assattr_target_12); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 166; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assign_source_15; - PyObject *tmp_iter_arg_5; - PyObject *tmp_called_instance_8; - PyObject *tmp_expression_name_7; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - 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_expression_name_7 = par_self; - tmp_called_instance_8 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[75]); - if (tmp_called_instance_8 == 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; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 167; - tmp_iter_arg_5 = CALL_METHOD_NO_ARGS(tmp_called_instance_8, mod_consts[81]); - Py_DECREF(tmp_called_instance_8); - if (tmp_iter_arg_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_assign_source_15 = MAKE_ITERATOR(tmp_iter_arg_5); - Py_DECREF(tmp_iter_arg_5); - if (tmp_assign_source_15 == 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; - } - assert(tmp_for_loop_3__for_iterator == NULL); - tmp_for_loop_3__for_iterator = tmp_assign_source_15; - } - // Tried code: - loop_start_3:; - { - PyObject *tmp_next_source_3; - PyObject *tmp_assign_source_16; - CHECK_OBJECT(tmp_for_loop_3__for_iterator); - tmp_next_source_3 = tmp_for_loop_3__for_iterator; - tmp_assign_source_16 = ITERATOR_NEXT(tmp_next_source_3); - if (tmp_assign_source_16 == NULL) { - if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { - - goto loop_end_3; - } else { - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - type_description_1 = "oooooooooooooooc"; - exception_lineno = 167; - goto try_except_handler_8; - } - } - - { - PyObject *old = tmp_for_loop_3__iter_value; - tmp_for_loop_3__iter_value = tmp_assign_source_16; - Py_XDECREF(old); - } - - } - // Tried code: - { - PyObject *tmp_assign_source_17; - PyObject *tmp_iter_arg_6; - CHECK_OBJECT(tmp_for_loop_3__iter_value); - tmp_iter_arg_6 = tmp_for_loop_3__iter_value; - tmp_assign_source_17 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_6); - if (tmp_assign_source_17 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 167; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_9; - } - { - PyObject *old = tmp_tuple_unpack_3__source_iter; - tmp_tuple_unpack_3__source_iter = tmp_assign_source_17; - Py_XDECREF(old); - } - - } - // Tried code: - { - PyObject *tmp_assign_source_18; - PyObject *tmp_unpack_5; - CHECK_OBJECT(tmp_tuple_unpack_3__source_iter); - tmp_unpack_5 = tmp_tuple_unpack_3__source_iter; - tmp_assign_source_18 = UNPACK_NEXT(tmp_unpack_5, 0, 2); - if (tmp_assign_source_18 == 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 = 167; - goto try_except_handler_10; - } - { - PyObject *old = tmp_tuple_unpack_3__element_1; - tmp_tuple_unpack_3__element_1 = tmp_assign_source_18; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_19; - PyObject *tmp_unpack_6; - CHECK_OBJECT(tmp_tuple_unpack_3__source_iter); - tmp_unpack_6 = tmp_tuple_unpack_3__source_iter; - tmp_assign_source_19 = UNPACK_NEXT(tmp_unpack_6, 1, 2); - if (tmp_assign_source_19 == 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 = 167; - goto try_except_handler_10; - } - { - PyObject *old = tmp_tuple_unpack_3__element_2; - tmp_tuple_unpack_3__element_2 = tmp_assign_source_19; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_iterator_name_3; - CHECK_OBJECT(tmp_tuple_unpack_3__source_iter); - tmp_iterator_name_3 = tmp_tuple_unpack_3__source_iter; - // Check if iterator has left-over elements. - CHECK_OBJECT(tmp_iterator_name_3); assert(HAS_ITERNEXT(tmp_iterator_name_3)); - - tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_3)->tp_iternext)(tmp_iterator_name_3); - - 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 = 167; - goto try_except_handler_10; - } - } - } else { - Py_DECREF(tmp_iterator_attempt); - - exception_type = PyExc_ValueError; - Py_INCREF(PyExc_ValueError); - exception_value = mod_consts[9]; - Py_INCREF(exception_value); - exception_tb = NULL; - - type_description_1 = "oooooooooooooooc"; - exception_lineno = 167; - goto try_except_handler_10; - } - } - goto try_end_7; - // Exception handler code: - try_except_handler_10:; - 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; - - Py_XDECREF(tmp_tuple_unpack_3__source_iter); - tmp_tuple_unpack_3__source_iter = 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 try_except_handler_9; - // End of try: - try_end_7:; - goto try_end_8; - // Exception handler code: - try_except_handler_9:; - 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_tuple_unpack_3__element_1); - tmp_tuple_unpack_3__element_1 = NULL; - Py_XDECREF(tmp_tuple_unpack_3__element_2); - tmp_tuple_unpack_3__element_2 = 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 try_except_handler_8; - // End of try: - try_end_8:; - Py_XDECREF(tmp_tuple_unpack_3__source_iter); - tmp_tuple_unpack_3__source_iter = NULL; - { - PyObject *tmp_assign_source_20; - CHECK_OBJECT(tmp_tuple_unpack_3__element_1); - tmp_assign_source_20 = tmp_tuple_unpack_3__element_1; - { - PyObject *old = var_name; - var_name = tmp_assign_source_20; - Py_INCREF(var_name); - Py_XDECREF(old); - } - - } - Py_XDECREF(tmp_tuple_unpack_3__element_1); - tmp_tuple_unpack_3__element_1 = NULL; - - { - PyObject *tmp_assign_source_21; - CHECK_OBJECT(tmp_tuple_unpack_3__element_2); - tmp_assign_source_21 = tmp_tuple_unpack_3__element_2; - { - PyObject *old = var_param; - var_param = tmp_assign_source_21; - Py_INCREF(var_param); - Py_XDECREF(old); - } - - } - Py_XDECREF(tmp_tuple_unpack_3__element_2); - tmp_tuple_unpack_3__element_2 = NULL; - - Py_XDECREF(tmp_tuple_unpack_3__element_1); - tmp_tuple_unpack_3__element_1 = NULL; - Py_XDECREF(tmp_tuple_unpack_3__element_2); - tmp_tuple_unpack_3__element_2 = NULL; - { - PyObject *tmp_assattr_name_13; - PyObject *tmp_assattr_target_13; - tmp_assattr_name_13 = Py_False; - CHECK_OBJECT(var_param); - tmp_assattr_target_13 = var_param; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_13, mod_consts[82], tmp_assattr_name_13); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 168; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_8; - } - } - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 167; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_8; - } - goto loop_start_3; - loop_end_3:; - goto try_end_9; - // Exception handler code: - try_except_handler_8:; - 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_XDECREF(tmp_for_loop_3__iter_value); - tmp_for_loop_3__iter_value = NULL; - Py_XDECREF(tmp_for_loop_3__for_iterator); - tmp_for_loop_3__for_iterator = 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 frame_exception_exit_1; - // End of try: - try_end_9:; - Py_XDECREF(tmp_for_loop_3__iter_value); - tmp_for_loop_3__iter_value = NULL; - Py_XDECREF(tmp_for_loop_3__for_iterator); - tmp_for_loop_3__for_iterator = NULL; - { - PyObject *tmp_assattr_name_14; - PyObject *tmp_called_instance_9; - PyObject *tmp_expression_name_8; - PyObject *tmp_assattr_target_14; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 169; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_8 = par_self; - tmp_called_instance_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[75]); - if (tmp_called_instance_9 == 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; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 169; - tmp_assattr_name_14 = CALL_METHOD_NO_ARGS(tmp_called_instance_9, mod_consts[83]); - Py_DECREF(tmp_called_instance_9); - if (tmp_assattr_name_14 == 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; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_14); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 169; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_14 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_14, mod_consts[75], 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 = 169; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_15; - PyObject *tmp_assattr_target_15; - PyObject *tmp_expression_name_9; - tmp_assattr_name_15 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[84]); - - if (unlikely(tmp_assattr_name_15 == NULL)) { - tmp_assattr_name_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[84]); - } - - if (tmp_assattr_name_15 == 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; - } - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - 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_expression_name_9 = par_self; - tmp_assattr_target_15 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[75]); - if (tmp_assattr_target_15 == 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_result = SET_ATTRIBUTE(tmp_assattr_target_15, mod_consts[85], tmp_assattr_name_15); - Py_DECREF(tmp_assattr_target_15); - 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_assign_source_22; - PyObject *tmp_iter_arg_7; - PyObject *tmp_called_instance_10; - PyObject *tmp_expression_name_10; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - 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_expression_name_10 = par_self; - tmp_called_instance_10 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[80]); - if (tmp_called_instance_10 == 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; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 171; - tmp_iter_arg_7 = CALL_METHOD_NO_ARGS(tmp_called_instance_10, mod_consts[81]); - Py_DECREF(tmp_called_instance_10); - if (tmp_iter_arg_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; - } - tmp_assign_source_22 = MAKE_ITERATOR(tmp_iter_arg_7); - Py_DECREF(tmp_iter_arg_7); - if (tmp_assign_source_22 == 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; - } - assert(tmp_for_loop_4__for_iterator == NULL); - tmp_for_loop_4__for_iterator = tmp_assign_source_22; - } - // Tried code: - loop_start_4:; - { - PyObject *tmp_next_source_4; - PyObject *tmp_assign_source_23; - CHECK_OBJECT(tmp_for_loop_4__for_iterator); - tmp_next_source_4 = tmp_for_loop_4__for_iterator; - tmp_assign_source_23 = ITERATOR_NEXT(tmp_next_source_4); - if (tmp_assign_source_23 == NULL) { - if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { - - goto loop_end_4; - } else { - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - type_description_1 = "oooooooooooooooc"; - exception_lineno = 171; - goto try_except_handler_11; - } - } - - { - PyObject *old = tmp_for_loop_4__iter_value; - tmp_for_loop_4__iter_value = tmp_assign_source_23; - Py_XDECREF(old); - } - - } - // Tried code: - { - PyObject *tmp_assign_source_24; - PyObject *tmp_iter_arg_8; - CHECK_OBJECT(tmp_for_loop_4__iter_value); - tmp_iter_arg_8 = tmp_for_loop_4__iter_value; - tmp_assign_source_24 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_8); - if (tmp_assign_source_24 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 171; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_12; - } - { - PyObject *old = tmp_tuple_unpack_4__source_iter; - tmp_tuple_unpack_4__source_iter = tmp_assign_source_24; - Py_XDECREF(old); - } - - } - // Tried code: - { - PyObject *tmp_assign_source_25; - PyObject *tmp_unpack_7; - CHECK_OBJECT(tmp_tuple_unpack_4__source_iter); - tmp_unpack_7 = tmp_tuple_unpack_4__source_iter; - tmp_assign_source_25 = UNPACK_NEXT(tmp_unpack_7, 0, 2); - if (tmp_assign_source_25 == 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 = 171; - goto try_except_handler_13; - } - { - PyObject *old = tmp_tuple_unpack_4__element_1; - tmp_tuple_unpack_4__element_1 = tmp_assign_source_25; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_26; - PyObject *tmp_unpack_8; - CHECK_OBJECT(tmp_tuple_unpack_4__source_iter); - tmp_unpack_8 = tmp_tuple_unpack_4__source_iter; - tmp_assign_source_26 = UNPACK_NEXT(tmp_unpack_8, 1, 2); - if (tmp_assign_source_26 == 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 = 171; - goto try_except_handler_13; - } - { - PyObject *old = tmp_tuple_unpack_4__element_2; - tmp_tuple_unpack_4__element_2 = tmp_assign_source_26; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_iterator_name_4; - CHECK_OBJECT(tmp_tuple_unpack_4__source_iter); - tmp_iterator_name_4 = tmp_tuple_unpack_4__source_iter; - // Check if iterator has left-over elements. - CHECK_OBJECT(tmp_iterator_name_4); assert(HAS_ITERNEXT(tmp_iterator_name_4)); - - tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_4)->tp_iternext)(tmp_iterator_name_4); - - 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 = 171; - goto try_except_handler_13; - } - } - } else { - Py_DECREF(tmp_iterator_attempt); - - exception_type = PyExc_ValueError; - Py_INCREF(PyExc_ValueError); - exception_value = mod_consts[9]; - Py_INCREF(exception_value); - exception_tb = NULL; - - type_description_1 = "oooooooooooooooc"; - exception_lineno = 171; - goto try_except_handler_13; - } - } - goto try_end_10; - // Exception handler code: - try_except_handler_13:; - 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; - - Py_XDECREF(tmp_tuple_unpack_4__source_iter); - tmp_tuple_unpack_4__source_iter = 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 try_except_handler_12; - // End of try: - try_end_10:; - goto try_end_11; - // Exception handler code: - try_except_handler_12:; - 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_tuple_unpack_4__element_1); - tmp_tuple_unpack_4__element_1 = NULL; - Py_XDECREF(tmp_tuple_unpack_4__element_2); - tmp_tuple_unpack_4__element_2 = 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 try_except_handler_11; - // End of try: - try_end_11:; - Py_XDECREF(tmp_tuple_unpack_4__source_iter); - tmp_tuple_unpack_4__source_iter = NULL; - { - PyObject *tmp_assign_source_27; - CHECK_OBJECT(tmp_tuple_unpack_4__element_1); - tmp_assign_source_27 = tmp_tuple_unpack_4__element_1; - { - PyObject *old = var_name; - var_name = tmp_assign_source_27; - Py_INCREF(var_name); - Py_XDECREF(old); - } - - } - Py_XDECREF(tmp_tuple_unpack_4__element_1); - tmp_tuple_unpack_4__element_1 = NULL; - - { - PyObject *tmp_assign_source_28; - CHECK_OBJECT(tmp_tuple_unpack_4__element_2); - tmp_assign_source_28 = tmp_tuple_unpack_4__element_2; - { - PyObject *old = var_param; - var_param = tmp_assign_source_28; - Py_INCREF(var_param); - Py_XDECREF(old); - } - - } - Py_XDECREF(tmp_tuple_unpack_4__element_2); - tmp_tuple_unpack_4__element_2 = NULL; - - Py_XDECREF(tmp_tuple_unpack_4__element_1); - tmp_tuple_unpack_4__element_1 = NULL; - Py_XDECREF(tmp_tuple_unpack_4__element_2); - tmp_tuple_unpack_4__element_2 = NULL; - { - PyObject *tmp_assattr_name_16; - PyObject *tmp_assattr_target_16; - tmp_assattr_name_16 = Py_False; - CHECK_OBJECT(var_param); - tmp_assattr_target_16 = var_param; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_16, mod_consts[82], tmp_assattr_name_16); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 172; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_11; - } - } - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 171; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_11; - } - goto loop_start_4; - loop_end_4:; - goto try_end_12; - // Exception handler code: - try_except_handler_11:; - 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_XDECREF(tmp_for_loop_4__iter_value); - tmp_for_loop_4__iter_value = NULL; - Py_XDECREF(tmp_for_loop_4__for_iterator); - tmp_for_loop_4__for_iterator = 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 frame_exception_exit_1; - // End of try: - try_end_12:; - Py_XDECREF(tmp_for_loop_4__iter_value); - tmp_for_loop_4__iter_value = NULL; - Py_XDECREF(tmp_for_loop_4__for_iterator); - tmp_for_loop_4__for_iterator = NULL; - { - PyObject *tmp_assattr_name_17; - PyObject *tmp_called_instance_11; - PyObject *tmp_expression_name_11; - PyObject *tmp_assattr_target_17; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 173; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_11 = par_self; - tmp_called_instance_11 = LOOKUP_ATTRIBUTE(tmp_expression_name_11, mod_consts[80]); - if (tmp_called_instance_11 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 173; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 173; - tmp_assattr_name_17 = CALL_METHOD_NO_ARGS(tmp_called_instance_11, mod_consts[83]); - Py_DECREF(tmp_called_instance_11); - if (tmp_assattr_name_17 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 173; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_17); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 173; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_17 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_17, mod_consts[80], tmp_assattr_name_17); - Py_DECREF(tmp_assattr_name_17); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 173; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_18; - PyObject *tmp_assattr_target_18; - PyObject *tmp_expression_name_12; - tmp_assattr_name_18 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[84]); - - if (unlikely(tmp_assattr_name_18 == NULL)) { - tmp_assattr_name_18 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[84]); - } - - if (tmp_assattr_name_18 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 174; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 174; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_12 = par_self; - tmp_assattr_target_18 = LOOKUP_ATTRIBUTE(tmp_expression_name_12, mod_consts[80]); - if (tmp_assattr_target_18 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 174; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_18, mod_consts[85], tmp_assattr_name_18); - Py_DECREF(tmp_assattr_target_18); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 174; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_called_instance_12; - PyObject *tmp_call_result_3; - tmp_called_instance_12 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[86]); - - if (unlikely(tmp_called_instance_12 == NULL)) { - tmp_called_instance_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[86]); - } - - if (tmp_called_instance_12 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 175; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 175; - tmp_call_result_3 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_12, - mod_consts[87], - &PyTuple_GET_ITEM(mod_consts[88], 0) - ); - - if (tmp_call_result_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 175; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - Py_DECREF(tmp_call_result_3); - } - branch_no_1:; - { - PyObject *tmp_called_name_5; - PyObject *tmp_call_result_4; - tmp_called_name_5 = LOOKUP_BUILTIN(mod_consts[67]); - assert(tmp_called_name_5 != NULL); - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 176; - tmp_call_result_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_5, mod_consts[89]); - if (tmp_call_result_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 176; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - Py_DECREF(tmp_call_result_4); - } - { - PyObject *tmp_called_name_6; - PyObject *tmp_call_result_5; - tmp_called_name_6 = LOOKUP_BUILTIN(mod_consts[67]); - assert(tmp_called_name_6 != NULL); - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 178; - tmp_call_result_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_6, mod_consts[90]); - if (tmp_call_result_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 178; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - Py_DECREF(tmp_call_result_5); - } - { - PyObject *tmp_assattr_name_19; - PyObject *tmp_called_name_7; - PyObject *tmp_expression_name_13; - PyObject *tmp_args_name_1; - PyObject *tmp_tuple_element_1; - PyObject *tmp_kwargs_name_2; - PyObject *tmp_assattr_target_19; - tmp_expression_name_13 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[91]); - - if (unlikely(tmp_expression_name_13 == NULL)) { - tmp_expression_name_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[91]); - } - - if (tmp_expression_name_13 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 179; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_called_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_13, mod_consts[70]); - if (tmp_called_name_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 179; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(par_llama_model); - tmp_tuple_element_1 = par_llama_model; - tmp_args_name_1 = PyTuple_New(1); - PyTuple_SET_ITEM0(tmp_args_name_1, 0, tmp_tuple_element_1); - tmp_kwargs_name_2 = PyDict_Copy(mod_consts[92]); - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 179; - tmp_assattr_name_19 = CALL_FUNCTION(tmp_called_name_7, tmp_args_name_1, tmp_kwargs_name_2); - Py_DECREF(tmp_called_name_7); - Py_DECREF(tmp_args_name_1); - Py_DECREF(tmp_kwargs_name_2); - if (tmp_assattr_name_19 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 179; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_19); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 179; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_19 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_19, mod_consts[93], tmp_assattr_name_19); - Py_DECREF(tmp_assattr_name_19); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 179; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assign_source_29; - tmp_assign_source_29 = PyDict_New(); - assert(var_special_token == NULL); - var_special_token = tmp_assign_source_29; - } - tmp_dictset_value = LIST_COPY(mod_consts[94]); - CHECK_OBJECT(var_special_token); - tmp_dictset_dict = var_special_token; - tmp_dictset_key = mod_consts[95]; - tmp_res = PyDict_SetItem(tmp_dictset_dict, tmp_dictset_key, tmp_dictset_value); - Py_DECREF(tmp_dictset_value); - assert(!(tmp_res != 0)); - { - PyObject *tmp_called_name_8; - PyObject *tmp_expression_name_14; - PyObject *tmp_expression_name_15; - PyObject *tmp_call_result_6; - PyObject *tmp_args_element_name_1; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 182; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_15 = par_self; - tmp_expression_name_14 = LOOKUP_ATTRIBUTE(tmp_expression_name_15, mod_consts[93]); - if (tmp_expression_name_14 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 182; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_called_name_8 = LOOKUP_ATTRIBUTE(tmp_expression_name_14, mod_consts[96]); - Py_DECREF(tmp_expression_name_14); - if (tmp_called_name_8 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 182; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (var_special_token == NULL) { - Py_DECREF(tmp_called_name_8); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[97]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 183; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_args_element_name_1 = var_special_token; - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 182; - tmp_call_result_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_8, tmp_args_element_name_1); - Py_DECREF(tmp_called_name_8); - if (tmp_call_result_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 182; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - Py_DECREF(tmp_call_result_6); - } - { - PyObject *tmp_called_instance_13; - PyObject *tmp_expression_name_16; - PyObject *tmp_call_result_7; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 185; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_16 = par_self; - tmp_called_instance_13 = LOOKUP_ATTRIBUTE(tmp_expression_name_16, mod_consts[93]); - if (tmp_called_instance_13 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 185; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 185; - tmp_call_result_7 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_13, - mod_consts[98], - &PyTuple_GET_ITEM(mod_consts[99], 0) - ); - - Py_DECREF(tmp_called_instance_13); - if (tmp_call_result_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 185; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - Py_DECREF(tmp_call_result_7); - } - { - PyObject *tmp_called_instance_14; - PyObject *tmp_expression_name_17; - PyObject *tmp_call_result_8; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 186; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_17 = par_self; - tmp_called_instance_14 = LOOKUP_ATTRIBUTE(tmp_expression_name_17, mod_consts[93]); - if (tmp_called_instance_14 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 186; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 186; - tmp_call_result_8 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_14, - mod_consts[98], - &PyTuple_GET_ITEM(mod_consts[100], 0) - ); - - Py_DECREF(tmp_called_instance_14); - if (tmp_call_result_8 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 186; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - Py_DECREF(tmp_call_result_8); - } - { - PyObject *tmp_called_instance_15; - PyObject *tmp_expression_name_18; - PyObject *tmp_call_result_9; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 187; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_18 = par_self; - tmp_called_instance_15 = LOOKUP_ATTRIBUTE(tmp_expression_name_18, mod_consts[93]); - if (tmp_called_instance_15 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 187; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 187; - tmp_call_result_9 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_15, - mod_consts[98], - &PyTuple_GET_ITEM(mod_consts[101], 0) - ); - - Py_DECREF(tmp_called_instance_15); - if (tmp_call_result_9 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 187; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - Py_DECREF(tmp_call_result_9); - } - { - PyObject *tmp_called_instance_16; - PyObject *tmp_expression_name_19; - PyObject *tmp_call_result_10; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 189; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_19 = par_self; - tmp_called_instance_16 = LOOKUP_ATTRIBUTE(tmp_expression_name_19, mod_consts[93]); - if (tmp_called_instance_16 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 189; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 189; - tmp_call_result_10 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_16, - mod_consts[98], - &PyTuple_GET_ITEM(mod_consts[102], 0) - ); - - Py_DECREF(tmp_called_instance_16); - if (tmp_call_result_10 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 189; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - Py_DECREF(tmp_call_result_10); - } - { - PyObject *tmp_assattr_name_20; - PyObject *tmp_expression_name_20; - PyObject *tmp_expression_name_21; - PyObject *tmp_called_name_9; - PyObject *tmp_expression_name_22; - PyObject *tmp_args_name_2; - PyObject *tmp_kwargs_name_3; - PyObject *tmp_subscript_name_1; - PyObject *tmp_assattr_target_20; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 190; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_22 = par_self; - tmp_called_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_22, mod_consts[93]); - if (tmp_called_name_9 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 190; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_args_name_2 = mod_consts[99]; - tmp_kwargs_name_3 = PyDict_Copy(mod_consts[103]); - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 190; - tmp_expression_name_21 = CALL_FUNCTION(tmp_called_name_9, tmp_args_name_2, tmp_kwargs_name_3); - Py_DECREF(tmp_called_name_9); - Py_DECREF(tmp_kwargs_name_3); - if (tmp_expression_name_21 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 190; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_expression_name_20 = LOOKUP_ATTRIBUTE(tmp_expression_name_21, mod_consts[104]); - Py_DECREF(tmp_expression_name_21); - if (tmp_expression_name_20 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 190; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_subscript_name_1 = mod_consts[11]; - tmp_assattr_name_20 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_20, tmp_subscript_name_1, 0); - Py_DECREF(tmp_expression_name_20); - if (tmp_assattr_name_20 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 190; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_20); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 190; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_20 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_20, mod_consts[105], tmp_assattr_name_20); - Py_DECREF(tmp_assattr_name_20); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 190; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_21; - PyObject *tmp_expression_name_23; - PyObject *tmp_expression_name_24; - PyObject *tmp_called_name_10; - PyObject *tmp_expression_name_25; - PyObject *tmp_args_name_3; - PyObject *tmp_kwargs_name_4; - PyObject *tmp_subscript_name_2; - PyObject *tmp_assattr_target_21; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 191; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_25 = par_self; - tmp_called_name_10 = LOOKUP_ATTRIBUTE(tmp_expression_name_25, mod_consts[93]); - if (tmp_called_name_10 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 191; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_args_name_3 = mod_consts[100]; - tmp_kwargs_name_4 = PyDict_Copy(mod_consts[103]); - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 191; - tmp_expression_name_24 = CALL_FUNCTION(tmp_called_name_10, tmp_args_name_3, tmp_kwargs_name_4); - Py_DECREF(tmp_called_name_10); - Py_DECREF(tmp_kwargs_name_4); - if (tmp_expression_name_24 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 191; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_expression_name_23 = LOOKUP_ATTRIBUTE(tmp_expression_name_24, mod_consts[104]); - Py_DECREF(tmp_expression_name_24); - if (tmp_expression_name_23 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 191; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_subscript_name_2 = mod_consts[11]; - tmp_assattr_name_21 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_23, tmp_subscript_name_2, 0); - Py_DECREF(tmp_expression_name_23); - if (tmp_assattr_name_21 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 191; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_21); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 191; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_21 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_21, mod_consts[106], tmp_assattr_name_21); - Py_DECREF(tmp_assattr_name_21); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 191; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_22; - PyObject *tmp_expression_name_26; - PyObject *tmp_expression_name_27; - PyObject *tmp_called_name_11; - PyObject *tmp_expression_name_28; - PyObject *tmp_args_name_4; - PyObject *tmp_kwargs_name_5; - PyObject *tmp_subscript_name_3; - PyObject *tmp_assattr_target_22; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 192; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_28 = par_self; - tmp_called_name_11 = LOOKUP_ATTRIBUTE(tmp_expression_name_28, mod_consts[93]); - if (tmp_called_name_11 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 192; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_args_name_4 = mod_consts[101]; - tmp_kwargs_name_5 = PyDict_Copy(mod_consts[103]); - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 192; - tmp_expression_name_27 = CALL_FUNCTION(tmp_called_name_11, tmp_args_name_4, tmp_kwargs_name_5); - Py_DECREF(tmp_called_name_11); - Py_DECREF(tmp_kwargs_name_5); - if (tmp_expression_name_27 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 192; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_expression_name_26 = LOOKUP_ATTRIBUTE(tmp_expression_name_27, mod_consts[104]); - Py_DECREF(tmp_expression_name_27); - if (tmp_expression_name_26 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 192; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_subscript_name_3 = mod_consts[11]; - tmp_assattr_name_22 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_26, tmp_subscript_name_3, 0); - Py_DECREF(tmp_expression_name_26); - if (tmp_assattr_name_22 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 192; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_22); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 192; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_22 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_22, mod_consts[107], tmp_assattr_name_22); - Py_DECREF(tmp_assattr_name_22); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 192; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_23; - PyObject *tmp_expression_name_29; - PyObject *tmp_expression_name_30; - PyObject *tmp_called_name_12; - PyObject *tmp_expression_name_31; - PyObject *tmp_args_name_5; - PyObject *tmp_kwargs_name_6; - PyObject *tmp_subscript_name_4; - PyObject *tmp_assattr_target_23; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 194; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_31 = par_self; - tmp_called_name_12 = LOOKUP_ATTRIBUTE(tmp_expression_name_31, mod_consts[93]); - if (tmp_called_name_12 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 194; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_args_name_5 = mod_consts[102]; - tmp_kwargs_name_6 = PyDict_Copy(mod_consts[103]); - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 194; - tmp_expression_name_30 = CALL_FUNCTION(tmp_called_name_12, tmp_args_name_5, tmp_kwargs_name_6); - Py_DECREF(tmp_called_name_12); - Py_DECREF(tmp_kwargs_name_6); - if (tmp_expression_name_30 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 194; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_expression_name_29 = LOOKUP_ATTRIBUTE(tmp_expression_name_30, mod_consts[104]); - Py_DECREF(tmp_expression_name_30); - if (tmp_expression_name_29 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 194; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_subscript_name_4 = mod_consts[11]; - tmp_assattr_name_23 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_29, tmp_subscript_name_4, 0); - Py_DECREF(tmp_expression_name_29); - if (tmp_assattr_name_23 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 194; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_23); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 194; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_23 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_23, mod_consts[108], tmp_assattr_name_23); - Py_DECREF(tmp_assattr_name_23); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 194; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_24; - PyObject *tmp_assattr_target_24; - PyObject *tmp_expression_name_32; - tmp_assattr_name_24 = mod_consts[11]; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 195; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_32 = par_self; - tmp_assattr_target_24 = LOOKUP_ATTRIBUTE(tmp_expression_name_32, mod_consts[93]); - if (tmp_assattr_target_24 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 195; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_24, mod_consts[109], tmp_assattr_name_24); - Py_DECREF(tmp_assattr_target_24); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 195; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - nuitka_bool tmp_condition_result_2; - PyObject *tmp_expression_name_33; - PyObject *tmp_attribute_value_1; - int tmp_truth_name_2; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 197; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_33 = par_self; - tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_33, mod_consts[66]); - if (tmp_attribute_value_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 197; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_truth_name_2 = CHECK_IF_TRUE(tmp_attribute_value_1); - if (tmp_truth_name_2 == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_attribute_value_1); - - exception_lineno = 197; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_condition_result_2 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; - Py_DECREF(tmp_attribute_value_1); - if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) { - goto branch_yes_2; - } else { - goto branch_no_2; - } - } - branch_yes_2:; - { - PyObject *tmp_assattr_name_25; - PyObject *tmp_called_name_13; - PyObject *tmp_expression_name_34; - PyObject *tmp_args_name_6; - PyObject *tmp_tuple_element_2; - PyObject *tmp_kwargs_name_7; - PyObject *tmp_dict_key_1; - PyObject *tmp_dict_value_1; - PyObject *tmp_expression_name_35; - PyObject *tmp_assattr_target_25; - tmp_expression_name_34 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[110]); - - if (unlikely(tmp_expression_name_34 == NULL)) { - tmp_expression_name_34 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[110]); - } - - if (tmp_expression_name_34 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 198; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_called_name_13 = LOOKUP_ATTRIBUTE(tmp_expression_name_34, mod_consts[70]); - if (tmp_called_name_13 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 198; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_llama_model == NULL) { - Py_DECREF(tmp_called_name_13); - 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 = 199; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_tuple_element_2 = par_llama_model; - tmp_args_name_6 = PyTuple_New(1); - PyTuple_SET_ITEM0(tmp_args_name_6, 0, tmp_tuple_element_2); - tmp_dict_key_1 = mod_consts[112]; - tmp_expression_name_35 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_35 == NULL)) { - tmp_expression_name_35 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_35 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_13); - Py_DECREF(tmp_args_name_6); - - exception_lineno = 200; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_35, mod_consts[113]); - if (tmp_dict_value_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_13); - Py_DECREF(tmp_args_name_6); - - exception_lineno = 200; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_kwargs_name_7 = _PyDict_NewPresized( 3 ); - tmp_res = PyDict_SetItem(tmp_kwargs_name_7, tmp_dict_key_1, tmp_dict_value_1); - Py_DECREF(tmp_dict_value_1); - assert(!(tmp_res != 0)); - tmp_dict_key_1 = mod_consts[114]; - tmp_dict_value_1 = Py_True; - tmp_res = PyDict_SetItem(tmp_kwargs_name_7, tmp_dict_key_1, tmp_dict_value_1); - assert(!(tmp_res != 0)); - tmp_dict_key_1 = mod_consts[115]; - tmp_dict_value_1 = mod_consts[116]; - tmp_res = PyDict_SetItem(tmp_kwargs_name_7, tmp_dict_key_1, tmp_dict_value_1); - assert(!(tmp_res != 0)); - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 198; - tmp_assattr_name_25 = CALL_FUNCTION(tmp_called_name_13, tmp_args_name_6, tmp_kwargs_name_7); - Py_DECREF(tmp_called_name_13); - Py_DECREF(tmp_args_name_6); - Py_DECREF(tmp_kwargs_name_7); - if (tmp_assattr_name_25 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 198; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_25); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 198; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_25 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_25, mod_consts[111], tmp_assattr_name_25); - Py_DECREF(tmp_assattr_name_25); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 198; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - goto branch_end_2; - branch_no_2:; - { - PyObject *tmp_assattr_name_26; - PyObject *tmp_called_name_14; - PyObject *tmp_expression_name_36; - PyObject *tmp_args_name_7; - PyObject *tmp_tuple_element_3; - PyObject *tmp_kwargs_name_8; - PyObject *tmp_dict_key_2; - PyObject *tmp_dict_value_2; - PyObject *tmp_expression_name_37; - PyObject *tmp_assattr_target_26; - tmp_expression_name_36 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[110]); - - if (unlikely(tmp_expression_name_36 == NULL)) { - tmp_expression_name_36 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[110]); - } - - if (tmp_expression_name_36 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 205; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_called_name_14 = LOOKUP_ATTRIBUTE(tmp_expression_name_36, mod_consts[70]); - if (tmp_called_name_14 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 205; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_llama_model == NULL) { - Py_DECREF(tmp_called_name_14); - 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 = 206; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_tuple_element_3 = par_llama_model; - tmp_args_name_7 = PyTuple_New(1); - PyTuple_SET_ITEM0(tmp_args_name_7, 0, tmp_tuple_element_3); - tmp_dict_key_2 = mod_consts[112]; - tmp_expression_name_37 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_37 == NULL)) { - tmp_expression_name_37 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_37 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_14); - Py_DECREF(tmp_args_name_7); - - exception_lineno = 207; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_dict_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_37, mod_consts[113]); - if (tmp_dict_value_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_14); - Py_DECREF(tmp_args_name_7); - - exception_lineno = 207; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_kwargs_name_8 = _PyDict_NewPresized( 1 ); - tmp_res = PyDict_SetItem(tmp_kwargs_name_8, tmp_dict_key_2, tmp_dict_value_2); - Py_DECREF(tmp_dict_value_2); - assert(!(tmp_res != 0)); - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 205; - tmp_assattr_name_26 = CALL_FUNCTION(tmp_called_name_14, tmp_args_name_7, tmp_kwargs_name_8); - Py_DECREF(tmp_called_name_14); - Py_DECREF(tmp_args_name_7); - Py_DECREF(tmp_kwargs_name_8); - if (tmp_assattr_name_26 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 205; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_26); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 205; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_26 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_26, mod_consts[111], tmp_assattr_name_26); - Py_DECREF(tmp_assattr_name_26); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 205; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - branch_end_2:; - { - PyObject *tmp_called_name_15; - PyObject *tmp_expression_name_38; - PyObject *tmp_expression_name_39; - PyObject *tmp_call_result_11; - PyObject *tmp_args_element_name_2; - PyObject *tmp_len_arg_1; - PyObject *tmp_expression_name_40; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 210; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_39 = par_self; - tmp_expression_name_38 = LOOKUP_ATTRIBUTE(tmp_expression_name_39, mod_consts[111]); - if (tmp_expression_name_38 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 210; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_called_name_15 = LOOKUP_ATTRIBUTE(tmp_expression_name_38, mod_consts[117]); - Py_DECREF(tmp_expression_name_38); - if (tmp_called_name_15 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 210; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_called_name_15); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 210; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_40 = par_self; - tmp_len_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_40, mod_consts[93]); - if (tmp_len_arg_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_15); - - exception_lineno = 210; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_args_element_name_2 = BUILTIN_LEN(tmp_len_arg_1); - Py_DECREF(tmp_len_arg_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_15); - - exception_lineno = 210; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 210; - tmp_call_result_11 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_15, tmp_args_element_name_2); - Py_DECREF(tmp_called_name_15); - Py_DECREF(tmp_args_element_name_2); - if (tmp_call_result_11 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 210; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - Py_DECREF(tmp_call_result_11); - } - { - PyObject *tmp_assattr_name_27; - PyObject *tmp_called_instance_17; - PyObject *tmp_expression_name_41; - PyObject *tmp_assattr_target_27; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 211; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_41 = par_self; - tmp_called_instance_17 = LOOKUP_ATTRIBUTE(tmp_expression_name_41, mod_consts[111]); - if (tmp_called_instance_17 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 211; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 211; - tmp_assattr_name_27 = CALL_METHOD_NO_ARGS(tmp_called_instance_17, mod_consts[118]); - Py_DECREF(tmp_called_instance_17); - if (tmp_assattr_name_27 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 211; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_27); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 211; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_27 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_27, mod_consts[119], tmp_assattr_name_27); - Py_DECREF(tmp_assattr_name_27); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 211; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_28; - PyObject *tmp_called_instance_18; - PyObject *tmp_expression_name_42; - PyObject *tmp_assattr_target_28; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 212; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_42 = par_self; - tmp_called_instance_18 = LOOKUP_ATTRIBUTE(tmp_expression_name_42, mod_consts[111]); - if (tmp_called_instance_18 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 212; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 212; - tmp_assattr_name_28 = CALL_METHOD_NO_ARGS(tmp_called_instance_18, mod_consts[120]); - Py_DECREF(tmp_called_instance_18); - if (tmp_assattr_name_28 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 212; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_28); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 212; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_28 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_28, mod_consts[121], tmp_assattr_name_28); - Py_DECREF(tmp_assattr_name_28); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 212; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - // Tried code: - { - PyObject *tmp_assign_source_30; - PyObject *tmp_tuple_element_4; - PyObject *tmp_expression_name_43; - tmp_expression_name_43 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[15]); - - if (unlikely(tmp_expression_name_43 == NULL)) { - tmp_expression_name_43 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]); - } - - if (tmp_expression_name_43 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 214; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_14; - } - tmp_tuple_element_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_43, mod_consts[122]); - if (tmp_tuple_element_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 214; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_14; - } - tmp_assign_source_30 = PyTuple_New(1); - PyTuple_SET_ITEM(tmp_assign_source_30, 0, tmp_tuple_element_4); - assert(tmp_class_creation_1__bases_orig == NULL); - tmp_class_creation_1__bases_orig = tmp_assign_source_30; - } - { - PyObject *tmp_assign_source_31; - 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_31 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); - } - if (tmp_assign_source_31 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 214; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_14; - } - assert(tmp_class_creation_1__bases == NULL); - tmp_class_creation_1__bases = tmp_assign_source_31; - } - { - PyObject *tmp_assign_source_32; - tmp_assign_source_32 = PyDict_New(); - assert(tmp_class_creation_1__class_decl_dict == NULL); - tmp_class_creation_1__class_decl_dict = tmp_assign_source_32; - } - { - PyObject *tmp_assign_source_33; - PyObject *tmp_metaclass_name_1; - nuitka_bool tmp_condition_result_3; - 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_4; - int tmp_truth_name_3; - PyObject *tmp_type_arg_1; - PyObject *tmp_expression_name_44; - PyObject *tmp_subscript_name_5; - PyObject *tmp_bases_name_1; - tmp_key_name_1 = mod_consts[123]; - 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_3 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; - if (tmp_condition_result_3 == 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[123]; - 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 = 214; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_14; - } - goto condexpr_end_1; - condexpr_false_1:; - CHECK_OBJECT(tmp_class_creation_1__bases); - tmp_truth_name_3 = CHECK_IF_TRUE(tmp_class_creation_1__bases); - if (tmp_truth_name_3 == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 214; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_14; - } - tmp_condition_result_4 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; - if (tmp_condition_result_4 == 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_44 = tmp_class_creation_1__bases; - tmp_subscript_name_5 = mod_consts[11]; - tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_44, tmp_subscript_name_5, 0); - if (tmp_type_arg_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 214; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_14; - } - 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 = 214; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_14; - } - 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_33 = SELECT_METACLASS(tmp_metaclass_name_1, tmp_bases_name_1); - Py_DECREF(tmp_metaclass_name_1); - if (tmp_assign_source_33 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 214; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_14; - } - assert(tmp_class_creation_1__metaclass == NULL); - tmp_class_creation_1__metaclass = tmp_assign_source_33; - } - { - nuitka_bool tmp_condition_result_5; - PyObject *tmp_key_name_3; - PyObject *tmp_dict_arg_name_3; - tmp_key_name_3 = mod_consts[123]; - 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_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:; - CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); - tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict; - tmp_dictdel_key = mod_consts[123]; - 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 = 214; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_14; - } - branch_no_3:; - { - nuitka_bool tmp_condition_result_6; - PyObject *tmp_expression_name_45; - CHECK_OBJECT(tmp_class_creation_1__metaclass); - tmp_expression_name_45 = tmp_class_creation_1__metaclass; - tmp_result = HAS_ATTR_BOOL(tmp_expression_name_45, mod_consts[124]); - tmp_condition_result_6 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; - if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) { - goto branch_yes_4; - } else { - goto branch_no_4; - } - } - branch_yes_4:; - { - PyObject *tmp_assign_source_34; - PyObject *tmp_called_name_16; - PyObject *tmp_expression_name_46; - PyObject *tmp_args_name_8; - PyObject *tmp_tuple_element_5; - PyObject *tmp_kwargs_name_9; - CHECK_OBJECT(tmp_class_creation_1__metaclass); - tmp_expression_name_46 = tmp_class_creation_1__metaclass; - tmp_called_name_16 = LOOKUP_ATTRIBUTE(tmp_expression_name_46, mod_consts[124]); - if (tmp_called_name_16 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 214; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_14; - } - tmp_tuple_element_5 = mod_consts[125]; - tmp_args_name_8 = PyTuple_New(2); - PyTuple_SET_ITEM0(tmp_args_name_8, 0, tmp_tuple_element_5); - CHECK_OBJECT(tmp_class_creation_1__bases); - tmp_tuple_element_5 = tmp_class_creation_1__bases; - PyTuple_SET_ITEM0(tmp_args_name_8, 1, tmp_tuple_element_5); - CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); - tmp_kwargs_name_9 = tmp_class_creation_1__class_decl_dict; - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 214; - tmp_assign_source_34 = CALL_FUNCTION(tmp_called_name_16, tmp_args_name_8, tmp_kwargs_name_9); - Py_DECREF(tmp_called_name_16); - Py_DECREF(tmp_args_name_8); - if (tmp_assign_source_34 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 214; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_14; - } - assert(tmp_class_creation_1__prepared == NULL); - tmp_class_creation_1__prepared = tmp_assign_source_34; - } - { - nuitka_bool tmp_condition_result_7; - PyObject *tmp_operand_name_1; - PyObject *tmp_expression_name_47; - CHECK_OBJECT(tmp_class_creation_1__prepared); - tmp_expression_name_47 = tmp_class_creation_1__prepared; - tmp_result = HAS_ATTR_BOOL(tmp_expression_name_47, mod_consts[126]); - 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 = 214; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_14; - } - tmp_condition_result_7 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; - if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) { - goto branch_yes_5; - } else { - goto branch_no_5; - } - } - branch_yes_5:; - { - PyObject *tmp_raise_type_1; - PyObject *tmp_raise_value_1; - PyObject *tmp_left_name_1; - PyObject *tmp_right_name_1; - PyObject *tmp_tuple_element_6; - 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[127]; - CHECK_OBJECT(tmp_class_creation_1__metaclass); - tmp_getattr_target_1 = tmp_class_creation_1__metaclass; - tmp_getattr_attr_1 = mod_consts[128]; - tmp_getattr_default_1 = mod_consts[129]; - tmp_tuple_element_6 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1); - if (tmp_tuple_element_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 214; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_14; - } - tmp_right_name_1 = PyTuple_New(2); - { - PyObject *tmp_expression_name_48; - PyObject *tmp_type_arg_2; - PyTuple_SET_ITEM(tmp_right_name_1, 0, tmp_tuple_element_6); - CHECK_OBJECT(tmp_class_creation_1__prepared); - tmp_type_arg_2 = tmp_class_creation_1__prepared; - tmp_expression_name_48 = BUILTIN_TYPE1(tmp_type_arg_2); - assert(!(tmp_expression_name_48 == NULL)); - tmp_tuple_element_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_48, mod_consts[128]); - Py_DECREF(tmp_expression_name_48); - if (tmp_tuple_element_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 214; - type_description_1 = "oooooooooooooooc"; - goto tuple_build_exception_1; - } - PyTuple_SET_ITEM(tmp_right_name_1, 1, tmp_tuple_element_6); - } - 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_14; - // 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 = 214; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_14; - } - exception_type = tmp_raise_type_1; - Py_INCREF(tmp_raise_type_1); - exception_value = tmp_raise_value_1; - exception_lineno = 214; - RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_14; - } - branch_no_5:; - goto branch_end_4; - branch_no_4:; - { - PyObject *tmp_assign_source_35; - tmp_assign_source_35 = PyDict_New(); - assert(tmp_class_creation_1__prepared == NULL); - tmp_class_creation_1__prepared = tmp_assign_source_35; - } - branch_end_4:; - { - PyObject *tmp_assign_source_36; - { - PyObject *tmp_set_locals_1; - CHECK_OBJECT(tmp_class_creation_1__prepared); - tmp_set_locals_1 = tmp_class_creation_1__prepared; - locals_models$medomni_bp$$$function__12___init__$$$class__1_CastOutputToFloat_214 = tmp_set_locals_1; - Py_INCREF(tmp_set_locals_1); - } - // Tried code: - // Tried code: - tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[128]); - - if (unlikely(tmp_dictset_value == NULL)) { - tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[128]); - } - - assert(!(tmp_dictset_value == NULL)); - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$function__12___init__$$$class__1_CastOutputToFloat_214, mod_consts[130], tmp_dictset_value); - if (tmp_res != 0) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 214; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_16; - } - tmp_dictset_value = mod_consts[131]; - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$function__12___init__$$$class__1_CastOutputToFloat_214, mod_consts[132], tmp_dictset_value); - if (tmp_res != 0) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 214; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_16; - } - if (isFrameUnusable(cache_frame_ce5a7e5610b05275766f110c9eb7c5a7_2)) { - Py_XDECREF(cache_frame_ce5a7e5610b05275766f110c9eb7c5a7_2); - -#if _DEBUG_REFCOUNTS - if (cache_frame_ce5a7e5610b05275766f110c9eb7c5a7_2 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_ce5a7e5610b05275766f110c9eb7c5a7_2 = MAKE_FUNCTION_FRAME(codeobj_ce5a7e5610b05275766f110c9eb7c5a7, module_models$medomni_bp, sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - assert(cache_frame_ce5a7e5610b05275766f110c9eb7c5a7_2->m_type_description == NULL); - frame_ce5a7e5610b05275766f110c9eb7c5a7_2 = cache_frame_ce5a7e5610b05275766f110c9eb7c5a7_2; - - // Push the new frame as the currently active one. - pushFrameStack(frame_ce5a7e5610b05275766f110c9eb7c5a7_2); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_ce5a7e5610b05275766f110c9eb7c5a7_2) == 2); // Frame stack - - // Framed code: - { - struct Nuitka_CellObject *tmp_closure_1[1]; - - tmp_closure_1[0] = outline_0_var___class__; - Py_INCREF(tmp_closure_1[0]); - - tmp_dictset_value = MAKE_FUNCTION_models$medomni_bp$$$function__12___init__$$$function__1_forward(tmp_closure_1); - - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$function__12___init__$$$class__1_CastOutputToFloat_214, mod_consts[2], 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 = 215; - type_description_2 = "c"; - goto frame_exception_exit_2; - } - } - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_ce5a7e5610b05275766f110c9eb7c5a7_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_ce5a7e5610b05275766f110c9eb7c5a7_2); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_ce5a7e5610b05275766f110c9eb7c5a7_2, exception_lineno); - } else if (exception_tb->tb_frame != &frame_ce5a7e5610b05275766f110c9eb7c5a7_2->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_ce5a7e5610b05275766f110c9eb7c5a7_2, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_ce5a7e5610b05275766f110c9eb7c5a7_2, - type_description_2, - outline_0_var___class__ - ); - - - // Release cached frame if used for exception. - if (frame_ce5a7e5610b05275766f110c9eb7c5a7_2 == cache_frame_ce5a7e5610b05275766f110c9eb7c5a7_2) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_ce5a7e5610b05275766f110c9eb7c5a7_2); - cache_frame_ce5a7e5610b05275766f110c9eb7c5a7_2 = NULL; - } - - assertFrameObject(frame_ce5a7e5610b05275766f110c9eb7c5a7_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 = "oooooooooooooooc"; - goto try_except_handler_16; - skip_nested_handling_1:; - { - nuitka_bool tmp_condition_result_8; - 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_8 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_1, tmp_compexpr_right_1); - if (tmp_condition_result_8 == NUITKA_BOOL_EXCEPTION) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 214; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_16; - } - if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) { - goto branch_yes_6; - } else { - goto branch_no_6; - } - assert(tmp_condition_result_8 != NUITKA_BOOL_UNASSIGNED); - } - branch_yes_6:; - CHECK_OBJECT(tmp_class_creation_1__bases_orig); - tmp_dictset_value = tmp_class_creation_1__bases_orig; - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$function__12___init__$$$class__1_CastOutputToFloat_214, mod_consts[134], tmp_dictset_value); - if (tmp_res != 0) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 214; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_16; - } - branch_no_6:; - { - PyObject *tmp_assign_source_37; - PyObject *tmp_called_name_17; - PyObject *tmp_args_name_9; - PyObject *tmp_tuple_element_7; - PyObject *tmp_kwargs_name_10; - CHECK_OBJECT(tmp_class_creation_1__metaclass); - tmp_called_name_17 = tmp_class_creation_1__metaclass; - tmp_tuple_element_7 = mod_consts[125]; - tmp_args_name_9 = PyTuple_New(3); - PyTuple_SET_ITEM0(tmp_args_name_9, 0, tmp_tuple_element_7); - CHECK_OBJECT(tmp_class_creation_1__bases); - tmp_tuple_element_7 = tmp_class_creation_1__bases; - PyTuple_SET_ITEM0(tmp_args_name_9, 1, tmp_tuple_element_7); - tmp_tuple_element_7 = locals_models$medomni_bp$$$function__12___init__$$$class__1_CastOutputToFloat_214; - PyTuple_SET_ITEM0(tmp_args_name_9, 2, tmp_tuple_element_7); - CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); - tmp_kwargs_name_10 = tmp_class_creation_1__class_decl_dict; - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 214; - tmp_assign_source_37 = CALL_FUNCTION(tmp_called_name_17, tmp_args_name_9, tmp_kwargs_name_10); - Py_DECREF(tmp_args_name_9); - if (tmp_assign_source_37 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 214; - type_description_1 = "oooooooooooooooc"; - goto try_except_handler_16; - } - { - PyObject *old = Nuitka_Cell_GET(outline_0_var___class__); - PyCell_SET(outline_0_var___class__, tmp_assign_source_37); - Py_XDECREF(old); - } - - } - CHECK_OBJECT(Nuitka_Cell_GET(outline_0_var___class__)); - tmp_assign_source_36 = Nuitka_Cell_GET(outline_0_var___class__); - Py_INCREF(tmp_assign_source_36); - goto try_return_handler_16; - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_16:; - Py_DECREF(locals_models$medomni_bp$$$function__12___init__$$$class__1_CastOutputToFloat_214); - locals_models$medomni_bp$$$function__12___init__$$$class__1_CastOutputToFloat_214 = NULL; - goto try_return_handler_15; - // Exception handler code: - try_except_handler_16:; - 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; - - Py_DECREF(locals_models$medomni_bp$$$function__12___init__$$$class__1_CastOutputToFloat_214); - locals_models$medomni_bp$$$function__12___init__$$$class__1_CastOutputToFloat_214 = 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 try_except_handler_15; - // End of try: - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_15:; - 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_15:; - 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; - - CHECK_OBJECT(outline_0_var___class__); - Py_DECREF(outline_0_var___class__); - outline_0_var___class__ = 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 outline_exception_1; - // End of try: - NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); - return NULL; - outline_exception_1:; - exception_lineno = 214; - goto try_except_handler_14; - outline_result_1:; - assert(var_CastOutputToFloat == NULL); - var_CastOutputToFloat = tmp_assign_source_36; - } - goto try_end_13; - // Exception handler code: - try_except_handler_14:; - 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_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_15; - exception_value = exception_keeper_value_15; - exception_tb = exception_keeper_tb_15; - exception_lineno = exception_keeper_lineno_15; - - goto frame_exception_exit_1; - // End of try: - try_end_13:; - 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; - { - PyObject *tmp_assattr_name_29; - PyObject *tmp_called_name_18; - PyObject *tmp_args_element_name_3; - PyObject *tmp_expression_name_49; - PyObject *tmp_expression_name_50; - PyObject *tmp_assattr_target_29; - PyObject *tmp_expression_name_51; - CHECK_OBJECT(var_CastOutputToFloat); - tmp_called_name_18 = var_CastOutputToFloat; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 216; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_50 = par_self; - tmp_expression_name_49 = LOOKUP_ATTRIBUTE(tmp_expression_name_50, mod_consts[111]); - if (tmp_expression_name_49 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 216; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_args_element_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_49, mod_consts[135]); - Py_DECREF(tmp_expression_name_49); - if (tmp_args_element_name_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 216; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 216; - tmp_assattr_name_29 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_18, tmp_args_element_name_3); - Py_DECREF(tmp_args_element_name_3); - if (tmp_assattr_name_29 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 216; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_29); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 216; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_51 = par_self; - tmp_assattr_target_29 = LOOKUP_ATTRIBUTE(tmp_expression_name_51, mod_consts[111]); - if (tmp_assattr_target_29 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_assattr_name_29); - - exception_lineno = 216; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_29, mod_consts[135], tmp_assattr_name_29); - Py_DECREF(tmp_assattr_name_29); - Py_DECREF(tmp_assattr_target_29); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 216; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_called_name_19; - PyObject *tmp_call_result_12; - tmp_called_name_19 = LOOKUP_BUILTIN(mod_consts[67]); - assert(tmp_called_name_19 != NULL); - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 219; - tmp_call_result_12 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_19, mod_consts[136]); - if (tmp_call_result_12 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 219; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - Py_DECREF(tmp_call_result_12); - } - { - PyObject *tmp_assign_source_38; - PyObject *tmp_called_name_20; - PyObject *tmp_kwargs_name_11; - tmp_called_name_20 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[137]); - - if (unlikely(tmp_called_name_20 == NULL)) { - tmp_called_name_20 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[137]); - } - - if (tmp_called_name_20 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 220; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_kwargs_name_11 = DEEP_COPY(mod_consts[138]); - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 220; - tmp_assign_source_38 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_20, tmp_kwargs_name_11); - Py_DECREF(tmp_kwargs_name_11); - if (tmp_assign_source_38 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 220; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - assert(var_peft_config == NULL); - var_peft_config = tmp_assign_source_38; - } - { - PyObject *tmp_assattr_name_30; - PyObject *tmp_called_name_21; - PyObject *tmp_args_element_name_4; - PyObject *tmp_expression_name_52; - PyObject *tmp_args_element_name_5; - PyObject *tmp_assattr_target_30; - tmp_called_name_21 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[139]); - - if (unlikely(tmp_called_name_21 == NULL)) { - tmp_called_name_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[139]); - } - - if (tmp_called_name_21 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 226; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 226; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_52 = par_self; - tmp_args_element_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_52, mod_consts[111]); - if (tmp_args_element_name_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 226; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(var_peft_config); - tmp_args_element_name_5 = var_peft_config; - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 226; - { - PyObject *call_args[] = {tmp_args_element_name_4, tmp_args_element_name_5}; - tmp_assattr_name_30 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_21, call_args); - } - - Py_DECREF(tmp_args_element_name_4); - if (tmp_assattr_name_30 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 226; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_30); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 226; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_30 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_30, mod_consts[111], tmp_assattr_name_30); - Py_DECREF(tmp_assattr_name_30); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 226; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_31; - PyObject *tmp_called_name_22; - PyObject *tmp_expression_name_53; - PyObject *tmp_args_element_name_6; - PyObject *tmp_args_element_name_7; - PyObject *tmp_expression_name_54; - PyObject *tmp_expression_name_55; - PyObject *tmp_expression_name_56; - PyObject *tmp_assattr_target_31; - tmp_expression_name_53 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[15]); - - if (unlikely(tmp_expression_name_53 == NULL)) { - tmp_expression_name_53 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]); - } - - if (tmp_expression_name_53 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 227; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_called_name_22 = LOOKUP_ATTRIBUTE(tmp_expression_name_53, mod_consts[140]); - if (tmp_called_name_22 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 227; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_args_element_name_6 = mod_consts[77]; - if (par_self == NULL) { - Py_DECREF(tmp_called_name_22); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 227; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_56 = par_self; - tmp_expression_name_55 = LOOKUP_ATTRIBUTE(tmp_expression_name_56, mod_consts[111]); - if (tmp_expression_name_55 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_22); - - exception_lineno = 227; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_expression_name_54 = LOOKUP_ATTRIBUTE(tmp_expression_name_55, mod_consts[141]); - Py_DECREF(tmp_expression_name_55); - if (tmp_expression_name_54 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_22); - - exception_lineno = 227; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_args_element_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_54, mod_consts[142]); - Py_DECREF(tmp_expression_name_54); - if (tmp_args_element_name_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_22); - - exception_lineno = 227; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 227; - { - PyObject *call_args[] = {tmp_args_element_name_6, tmp_args_element_name_7}; - tmp_assattr_name_31 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_22, call_args); - } - - Py_DECREF(tmp_called_name_22); - Py_DECREF(tmp_args_element_name_7); - if (tmp_assattr_name_31 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 227; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_31); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 227; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_31 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_31, mod_consts[143], tmp_assattr_name_31); - Py_DECREF(tmp_assattr_name_31); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 227; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_32; - PyObject *tmp_called_name_23; - PyObject *tmp_expression_name_57; - PyObject *tmp_args_element_name_8; - PyObject *tmp_args_element_name_9; - PyObject *tmp_expression_name_58; - PyObject *tmp_expression_name_59; - PyObject *tmp_expression_name_60; - PyObject *tmp_assattr_target_32; - tmp_expression_name_57 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[15]); - - if (unlikely(tmp_expression_name_57 == NULL)) { - tmp_expression_name_57 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]); - } - - if (tmp_expression_name_57 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 228; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_called_name_23 = LOOKUP_ATTRIBUTE(tmp_expression_name_57, mod_consts[140]); - if (tmp_called_name_23 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 228; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_args_element_name_8 = mod_consts[79]; - if (par_self == NULL) { - Py_DECREF(tmp_called_name_23); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 228; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_60 = par_self; - tmp_expression_name_59 = LOOKUP_ATTRIBUTE(tmp_expression_name_60, mod_consts[111]); - if (tmp_expression_name_59 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_23); - - exception_lineno = 228; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_expression_name_58 = LOOKUP_ATTRIBUTE(tmp_expression_name_59, mod_consts[141]); - Py_DECREF(tmp_expression_name_59); - if (tmp_expression_name_58 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_23); - - exception_lineno = 228; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_args_element_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_58, mod_consts[142]); - Py_DECREF(tmp_expression_name_58); - if (tmp_args_element_name_9 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_23); - - exception_lineno = 228; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 228; - { - PyObject *call_args[] = {tmp_args_element_name_8, tmp_args_element_name_9}; - tmp_assattr_name_32 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_23, call_args); - } - - Py_DECREF(tmp_called_name_23); - Py_DECREF(tmp_args_element_name_9); - if (tmp_assattr_name_32 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 228; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_32); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 228; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_32 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_32, mod_consts[144], tmp_assattr_name_32); - Py_DECREF(tmp_assattr_name_32); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 228; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assign_source_39; - PyObject *tmp_called_name_24; - PyObject *tmp_expression_name_61; - PyObject *tmp_args_element_name_10; - PyObject *tmp_called_name_25; - PyObject *tmp_args_element_name_11; - PyObject *tmp_expression_name_62; - PyObject *tmp_expression_name_63; - PyObject *tmp_expression_name_64; - PyObject *tmp_args_element_name_12; - PyObject *tmp_called_name_26; - PyObject *tmp_expression_name_65; - PyObject *tmp_args_element_name_13; - PyObject *tmp_expression_name_66; - PyObject *tmp_expression_name_67; - PyObject *tmp_expression_name_68; - PyObject *tmp_args_element_name_14; - PyObject *tmp_args_element_name_15; - PyObject *tmp_called_name_27; - PyObject *tmp_expression_name_69; - PyObject *tmp_kwargs_name_12; - PyObject *tmp_args_element_name_16; - PyObject *tmp_called_name_28; - PyObject *tmp_args_element_name_17; - PyObject *tmp_called_instance_19; - tmp_expression_name_61 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[15]); - - if (unlikely(tmp_expression_name_61 == NULL)) { - tmp_expression_name_61 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]); - } - - if (tmp_expression_name_61 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 231; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_called_name_24 = LOOKUP_ATTRIBUTE(tmp_expression_name_61, mod_consts[122]); - if (tmp_called_name_24 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 231; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_called_name_25 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[76]); - - if (unlikely(tmp_called_name_25 == NULL)) { - tmp_called_name_25 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[76]); - } - - if (tmp_called_name_25 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_24); - - exception_lineno = 232; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_called_name_24); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 232; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_64 = par_self; - tmp_expression_name_63 = LOOKUP_ATTRIBUTE(tmp_expression_name_64, mod_consts[111]); - if (tmp_expression_name_63 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_24); - - exception_lineno = 232; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_expression_name_62 = LOOKUP_ATTRIBUTE(tmp_expression_name_63, mod_consts[141]); - Py_DECREF(tmp_expression_name_63); - if (tmp_expression_name_62 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_24); - - exception_lineno = 232; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_args_element_name_11 = LOOKUP_ATTRIBUTE(tmp_expression_name_62, mod_consts[142]); - Py_DECREF(tmp_expression_name_62); - if (tmp_args_element_name_11 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_24); - - exception_lineno = 232; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 232; - tmp_args_element_name_10 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_25, 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_24); - - exception_lineno = 232; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_expression_name_65 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[15]); - - if (unlikely(tmp_expression_name_65 == NULL)) { - tmp_expression_name_65 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]); - } - - if (tmp_expression_name_65 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_24); - Py_DECREF(tmp_args_element_name_10); - - exception_lineno = 233; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_called_name_26 = LOOKUP_ATTRIBUTE(tmp_expression_name_65, mod_consts[140]); - if (tmp_called_name_26 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_24); - Py_DECREF(tmp_args_element_name_10); - - exception_lineno = 233; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_called_name_24); - Py_DECREF(tmp_args_element_name_10); - Py_DECREF(tmp_called_name_26); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 233; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_68 = par_self; - tmp_expression_name_67 = LOOKUP_ATTRIBUTE(tmp_expression_name_68, mod_consts[111]); - if (tmp_expression_name_67 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_24); - Py_DECREF(tmp_args_element_name_10); - Py_DECREF(tmp_called_name_26); - - exception_lineno = 233; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_expression_name_66 = LOOKUP_ATTRIBUTE(tmp_expression_name_67, mod_consts[141]); - Py_DECREF(tmp_expression_name_67); - if (tmp_expression_name_66 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_24); - Py_DECREF(tmp_args_element_name_10); - Py_DECREF(tmp_called_name_26); - - exception_lineno = 233; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_args_element_name_13 = LOOKUP_ATTRIBUTE(tmp_expression_name_66, mod_consts[142]); - Py_DECREF(tmp_expression_name_66); - if (tmp_args_element_name_13 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_24); - Py_DECREF(tmp_args_element_name_10); - Py_DECREF(tmp_called_name_26); - - exception_lineno = 233; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_args_element_name_14 = mod_consts[79]; - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 233; - { - PyObject *call_args[] = {tmp_args_element_name_13, tmp_args_element_name_14}; - tmp_args_element_name_12 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_26, call_args); - } - - Py_DECREF(tmp_called_name_26); - Py_DECREF(tmp_args_element_name_13); - if (tmp_args_element_name_12 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_24); - Py_DECREF(tmp_args_element_name_10); - - exception_lineno = 233; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_expression_name_69 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[15]); - - if (unlikely(tmp_expression_name_69 == NULL)) { - tmp_expression_name_69 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]); - } - - if (tmp_expression_name_69 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_24); - Py_DECREF(tmp_args_element_name_10); - Py_DECREF(tmp_args_element_name_12); - - exception_lineno = 234; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_called_name_27 = LOOKUP_ATTRIBUTE(tmp_expression_name_69, mod_consts[145]); - if (tmp_called_name_27 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_24); - Py_DECREF(tmp_args_element_name_10); - Py_DECREF(tmp_args_element_name_12); - - exception_lineno = 234; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_kwargs_name_12 = PyDict_Copy(mod_consts[146]); - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 234; - tmp_args_element_name_15 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_27, tmp_kwargs_name_12); - Py_DECREF(tmp_called_name_27); - Py_DECREF(tmp_kwargs_name_12); - if (tmp_args_element_name_15 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_24); - Py_DECREF(tmp_args_element_name_10); - Py_DECREF(tmp_args_element_name_12); - - exception_lineno = 234; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_called_name_28 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[76]); - - if (unlikely(tmp_called_name_28 == NULL)) { - tmp_called_name_28 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[76]); - } - - if (tmp_called_name_28 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_24); - Py_DECREF(tmp_args_element_name_10); - Py_DECREF(tmp_args_element_name_12); - Py_DECREF(tmp_args_element_name_15); - - exception_lineno = 235; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 235; - tmp_args_element_name_16 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_28, mod_consts[79]); - if (tmp_args_element_name_16 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_24); - Py_DECREF(tmp_args_element_name_10); - Py_DECREF(tmp_args_element_name_12); - Py_DECREF(tmp_args_element_name_15); - - exception_lineno = 235; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_called_instance_19 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[15]); - - if (unlikely(tmp_called_instance_19 == NULL)) { - tmp_called_instance_19 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]); - } - - if (tmp_called_instance_19 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_24); - Py_DECREF(tmp_args_element_name_10); - Py_DECREF(tmp_args_element_name_12); - Py_DECREF(tmp_args_element_name_15); - Py_DECREF(tmp_args_element_name_16); - - exception_lineno = 236; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 236; - tmp_args_element_name_17 = CALL_METHOD_WITH_ARGS2( - tmp_called_instance_19, - mod_consts[140], - &PyTuple_GET_ITEM(mod_consts[147], 0) - ); - - if (tmp_args_element_name_17 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_24); - Py_DECREF(tmp_args_element_name_10); - Py_DECREF(tmp_args_element_name_12); - Py_DECREF(tmp_args_element_name_15); - Py_DECREF(tmp_args_element_name_16); - - exception_lineno = 236; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 231; - { - PyObject *call_args[] = {tmp_args_element_name_10, tmp_args_element_name_12, tmp_args_element_name_15, tmp_args_element_name_16, tmp_args_element_name_17}; - tmp_assign_source_39 = CALL_FUNCTION_WITH_ARGS5(tmp_called_name_24, call_args); - } - - Py_DECREF(tmp_called_name_24); - Py_DECREF(tmp_args_element_name_10); - Py_DECREF(tmp_args_element_name_12); - Py_DECREF(tmp_args_element_name_15); - Py_DECREF(tmp_args_element_name_16); - Py_DECREF(tmp_args_element_name_17); - if (tmp_assign_source_39 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 231; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - assert(var_text_det == NULL); - var_text_det = tmp_assign_source_39; - } - { - PyObject *tmp_assattr_name_33; - PyObject *tmp_assattr_target_33; - CHECK_OBJECT(var_text_det); - tmp_assattr_name_33 = var_text_det; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 238; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_33 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_33, mod_consts[148], tmp_assattr_name_33); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 238; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_34; - PyObject *tmp_called_instance_20; - PyObject *tmp_expression_name_70; - PyObject *tmp_assattr_target_34; - tmp_expression_name_70 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_70 == NULL)) { - tmp_expression_name_70 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_70 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 239; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_called_instance_20 = LOOKUP_ATTRIBUTE(tmp_expression_name_70, mod_consts[15]); - if (tmp_called_instance_20 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 239; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 239; - tmp_assattr_name_34 = CALL_METHOD_NO_ARGS(tmp_called_instance_20, mod_consts[149]); - Py_DECREF(tmp_called_instance_20); - if (tmp_assattr_name_34 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 239; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_34); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 239; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_34 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_34, mod_consts[150], tmp_assattr_name_34); - Py_DECREF(tmp_assattr_name_34); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 239; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_35; - PyObject *tmp_called_name_29; - PyObject *tmp_expression_name_71; - PyObject *tmp_kwargs_name_13; - PyObject *tmp_assattr_target_35; - tmp_expression_name_71 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[151]); - - if (unlikely(tmp_expression_name_71 == NULL)) { - tmp_expression_name_71 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[151]); - } - - if (tmp_expression_name_71 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 253; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_called_name_29 = LOOKUP_ATTRIBUTE(tmp_expression_name_71, mod_consts[152]); - if (tmp_called_name_29 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 253; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_kwargs_name_13 = PyDict_Copy(mod_consts[153]); - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 253; - tmp_assattr_name_35 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_29, tmp_kwargs_name_13); - Py_DECREF(tmp_called_name_29); - Py_DECREF(tmp_kwargs_name_13); - if (tmp_assattr_name_35 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 253; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_35); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 253; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_35 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_35, mod_consts[154], tmp_assattr_name_35); - Py_DECREF(tmp_assattr_name_35); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 253; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_36; - PyObject *tmp_called_name_30; - PyObject *tmp_args_element_name_18; - PyObject *tmp_expression_name_72; - PyObject *tmp_assattr_target_36; - tmp_called_name_30 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[12]); - - if (unlikely(tmp_called_name_30 == NULL)) { - tmp_called_name_30 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[12]); - } - - if (tmp_called_name_30 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 254; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 254; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_72 = par_self; - tmp_args_element_name_18 = LOOKUP_ATTRIBUTE(tmp_expression_name_72, mod_consts[154]); - if (tmp_args_element_name_18 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 254; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 254; - tmp_assattr_name_36 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_30, tmp_args_element_name_18); - Py_DECREF(tmp_args_element_name_18); - if (tmp_assattr_name_36 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 254; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_36); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 254; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_36 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_36, mod_consts[154], tmp_assattr_name_36); - Py_DECREF(tmp_assattr_name_36); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 254; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assign_source_40; - PyObject *tmp_called_name_31; - PyObject *tmp_expression_name_73; - PyObject *tmp_args_element_name_19; - PyObject *tmp_called_name_32; - PyObject *tmp_args_element_name_20; - PyObject *tmp_expression_name_74; - PyObject *tmp_expression_name_75; - PyObject *tmp_expression_name_76; - PyObject *tmp_args_element_name_21; - PyObject *tmp_called_name_33; - PyObject *tmp_expression_name_77; - PyObject *tmp_args_element_name_22; - PyObject *tmp_expression_name_78; - PyObject *tmp_expression_name_79; - PyObject *tmp_expression_name_80; - PyObject *tmp_args_element_name_23; - tmp_expression_name_73 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[15]); - - if (unlikely(tmp_expression_name_73 == NULL)) { - tmp_expression_name_73 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]); - } - - if (tmp_expression_name_73 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 256; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_called_name_31 = LOOKUP_ATTRIBUTE(tmp_expression_name_73, mod_consts[122]); - if (tmp_called_name_31 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 256; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_called_name_32 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[76]); - - if (unlikely(tmp_called_name_32 == NULL)) { - tmp_called_name_32 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[76]); - } - - if (tmp_called_name_32 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_31); - - exception_lineno = 257; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_called_name_31); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 257; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_76 = par_self; - tmp_expression_name_75 = LOOKUP_ATTRIBUTE(tmp_expression_name_76, mod_consts[111]); - if (tmp_expression_name_75 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_31); - - exception_lineno = 257; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_expression_name_74 = LOOKUP_ATTRIBUTE(tmp_expression_name_75, mod_consts[141]); - Py_DECREF(tmp_expression_name_75); - if (tmp_expression_name_74 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_31); - - exception_lineno = 257; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_args_element_name_20 = LOOKUP_ATTRIBUTE(tmp_expression_name_74, mod_consts[142]); - Py_DECREF(tmp_expression_name_74); - if (tmp_args_element_name_20 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_31); - - exception_lineno = 257; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 257; - tmp_args_element_name_19 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_32, tmp_args_element_name_20); - Py_DECREF(tmp_args_element_name_20); - if (tmp_args_element_name_19 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_31); - - exception_lineno = 257; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_expression_name_77 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[15]); - - if (unlikely(tmp_expression_name_77 == NULL)) { - tmp_expression_name_77 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]); - } - - if (tmp_expression_name_77 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_31); - Py_DECREF(tmp_args_element_name_19); - - exception_lineno = 258; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_called_name_33 = LOOKUP_ATTRIBUTE(tmp_expression_name_77, mod_consts[140]); - if (tmp_called_name_33 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_31); - Py_DECREF(tmp_args_element_name_19); - - exception_lineno = 258; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_called_name_31); - Py_DECREF(tmp_args_element_name_19); - Py_DECREF(tmp_called_name_33); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 258; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_80 = par_self; - tmp_expression_name_79 = LOOKUP_ATTRIBUTE(tmp_expression_name_80, mod_consts[111]); - if (tmp_expression_name_79 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_31); - Py_DECREF(tmp_args_element_name_19); - Py_DECREF(tmp_called_name_33); - - exception_lineno = 258; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_expression_name_78 = LOOKUP_ATTRIBUTE(tmp_expression_name_79, mod_consts[141]); - Py_DECREF(tmp_expression_name_79); - if (tmp_expression_name_78 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_31); - Py_DECREF(tmp_args_element_name_19); - Py_DECREF(tmp_called_name_33); - - exception_lineno = 258; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_args_element_name_22 = LOOKUP_ATTRIBUTE(tmp_expression_name_78, mod_consts[142]); - Py_DECREF(tmp_expression_name_78); - if (tmp_args_element_name_22 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_31); - Py_DECREF(tmp_args_element_name_19); - Py_DECREF(tmp_called_name_33); - - exception_lineno = 258; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_args_element_name_23 = mod_consts[155]; - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 258; - { - PyObject *call_args[] = {tmp_args_element_name_22, tmp_args_element_name_23}; - tmp_args_element_name_21 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_33, call_args); - } - - Py_DECREF(tmp_called_name_33); - Py_DECREF(tmp_args_element_name_22); - if (tmp_args_element_name_21 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_31); - Py_DECREF(tmp_args_element_name_19); - - exception_lineno = 258; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 256; - { - PyObject *call_args[] = {tmp_args_element_name_19, tmp_args_element_name_21}; - tmp_assign_source_40 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_31, call_args); - } - - Py_DECREF(tmp_called_name_31); - Py_DECREF(tmp_args_element_name_19); - Py_DECREF(tmp_args_element_name_21); - if (tmp_assign_source_40 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 256; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - assert(var_text2seg_2d == NULL); - var_text2seg_2d = tmp_assign_source_40; - } - { - PyObject *tmp_assattr_name_37; - PyObject *tmp_assattr_target_37; - CHECK_OBJECT(var_text2seg_2d); - tmp_assattr_name_37 = var_text2seg_2d; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 260; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_37 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_37, mod_consts[156], tmp_assattr_name_37); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 260; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_38; - PyObject *tmp_called_name_34; - PyObject *tmp_assattr_target_38; - tmp_called_name_34 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[76]); - - if (unlikely(tmp_called_name_34 == NULL)) { - tmp_called_name_34 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[76]); - } - - if (tmp_called_name_34 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 261; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 261; - tmp_assattr_name_38 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_34, mod_consts[155]); - if (tmp_assattr_name_38 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 261; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_38); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 261; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_38 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_38, mod_consts[157], tmp_assattr_name_38); - Py_DECREF(tmp_assattr_name_38); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 261; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_39; - PyObject *tmp_called_name_35; - PyObject *tmp_assattr_target_39; - tmp_called_name_35 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[17]); - - if (unlikely(tmp_called_name_35 == NULL)) { - tmp_called_name_35 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); - } - - if (tmp_called_name_35 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 262; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 262; - tmp_assattr_name_39 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_35, &PyTuple_GET_ITEM(mod_consts[158], 0)); - - if (tmp_assattr_name_39 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 262; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_39); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 262; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_39 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_39, mod_consts[159], tmp_assattr_name_39); - Py_DECREF(tmp_assattr_name_39); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 262; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assign_source_41; - PyObject *tmp_called_name_36; - PyObject *tmp_expression_name_81; - PyObject *tmp_args_element_name_24; - PyObject *tmp_called_name_37; - PyObject *tmp_args_element_name_25; - PyObject *tmp_expression_name_82; - PyObject *tmp_expression_name_83; - PyObject *tmp_expression_name_84; - PyObject *tmp_args_element_name_26; - PyObject *tmp_called_name_38; - PyObject *tmp_expression_name_85; - PyObject *tmp_args_element_name_27; - PyObject *tmp_expression_name_86; - PyObject *tmp_expression_name_87; - PyObject *tmp_expression_name_88; - PyObject *tmp_args_element_name_28; - tmp_expression_name_81 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[15]); - - if (unlikely(tmp_expression_name_81 == NULL)) { - tmp_expression_name_81 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]); - } - - if (tmp_expression_name_81 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 263; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_called_name_36 = LOOKUP_ATTRIBUTE(tmp_expression_name_81, mod_consts[122]); - if (tmp_called_name_36 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 263; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_called_name_37 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[76]); - - if (unlikely(tmp_called_name_37 == NULL)) { - tmp_called_name_37 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[76]); - } - - if (tmp_called_name_37 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_36); - - exception_lineno = 264; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_called_name_36); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 264; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_84 = par_self; - tmp_expression_name_83 = LOOKUP_ATTRIBUTE(tmp_expression_name_84, mod_consts[111]); - if (tmp_expression_name_83 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_36); - - exception_lineno = 264; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_expression_name_82 = LOOKUP_ATTRIBUTE(tmp_expression_name_83, mod_consts[141]); - Py_DECREF(tmp_expression_name_83); - if (tmp_expression_name_82 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_36); - - exception_lineno = 264; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_args_element_name_25 = LOOKUP_ATTRIBUTE(tmp_expression_name_82, mod_consts[142]); - Py_DECREF(tmp_expression_name_82); - if (tmp_args_element_name_25 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_36); - - exception_lineno = 264; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 264; - tmp_args_element_name_24 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_37, tmp_args_element_name_25); - Py_DECREF(tmp_args_element_name_25); - if (tmp_args_element_name_24 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_36); - - exception_lineno = 264; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_expression_name_85 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[15]); - - if (unlikely(tmp_expression_name_85 == NULL)) { - tmp_expression_name_85 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]); - } - - if (tmp_expression_name_85 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_36); - Py_DECREF(tmp_args_element_name_24); - - exception_lineno = 265; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_called_name_38 = LOOKUP_ATTRIBUTE(tmp_expression_name_85, mod_consts[140]); - if (tmp_called_name_38 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_36); - Py_DECREF(tmp_args_element_name_24); - - exception_lineno = 265; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_called_name_36); - Py_DECREF(tmp_args_element_name_24); - Py_DECREF(tmp_called_name_38); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 265; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_expression_name_88 = par_self; - tmp_expression_name_87 = LOOKUP_ATTRIBUTE(tmp_expression_name_88, mod_consts[111]); - if (tmp_expression_name_87 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_36); - Py_DECREF(tmp_args_element_name_24); - Py_DECREF(tmp_called_name_38); - - exception_lineno = 265; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_expression_name_86 = LOOKUP_ATTRIBUTE(tmp_expression_name_87, mod_consts[141]); - Py_DECREF(tmp_expression_name_87); - if (tmp_expression_name_86 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_36); - Py_DECREF(tmp_args_element_name_24); - Py_DECREF(tmp_called_name_38); - - exception_lineno = 265; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_args_element_name_27 = LOOKUP_ATTRIBUTE(tmp_expression_name_86, mod_consts[142]); - Py_DECREF(tmp_expression_name_86); - if (tmp_args_element_name_27 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_36); - Py_DECREF(tmp_args_element_name_24); - Py_DECREF(tmp_called_name_38); - - exception_lineno = 265; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - tmp_args_element_name_28 = mod_consts[79]; - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 265; - { - PyObject *call_args[] = {tmp_args_element_name_27, tmp_args_element_name_28}; - tmp_args_element_name_26 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_38, call_args); - } - - Py_DECREF(tmp_called_name_38); - Py_DECREF(tmp_args_element_name_27); - if (tmp_args_element_name_26 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_36); - Py_DECREF(tmp_args_element_name_24); - - exception_lineno = 265; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 263; - { - PyObject *call_args[] = {tmp_args_element_name_24, tmp_args_element_name_26}; - tmp_assign_source_41 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_36, call_args); - } - - Py_DECREF(tmp_called_name_36); - Py_DECREF(tmp_args_element_name_24); - Py_DECREF(tmp_args_element_name_26); - if (tmp_assign_source_41 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 263; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - assert(var_text2seg_3d == NULL); - var_text2seg_3d = tmp_assign_source_41; - } - { - PyObject *tmp_assattr_name_40; - PyObject *tmp_assattr_target_40; - CHECK_OBJECT(var_text2seg_3d); - tmp_assattr_name_40 = var_text2seg_3d; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 267; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_40 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_40, mod_consts[160], tmp_assattr_name_40); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 267; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_41; - PyObject *tmp_called_name_39; - PyObject *tmp_assattr_target_41; - tmp_called_name_39 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[76]); - - if (unlikely(tmp_called_name_39 == NULL)) { - tmp_called_name_39 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[76]); - } - - if (tmp_called_name_39 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 268; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 268; - tmp_assattr_name_41 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_39, mod_consts[79]); - if (tmp_assattr_name_41 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 268; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_41); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 268; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_41 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_41, mod_consts[161], tmp_assattr_name_41); - Py_DECREF(tmp_assattr_name_41); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 268; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_42; - PyObject *tmp_called_name_40; - PyObject *tmp_assattr_target_42; - tmp_called_name_40 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[17]); - - if (unlikely(tmp_called_name_40 == NULL)) { - tmp_called_name_40 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]); - } - - if (tmp_called_name_40 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 269; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 269; - tmp_assattr_name_42 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_40, &PyTuple_GET_ITEM(mod_consts[162], 0)); - - if (tmp_assattr_name_42 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 269; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_42); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 269; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_42 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_42, mod_consts[163], tmp_assattr_name_42); - Py_DECREF(tmp_assattr_name_42); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 269; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_43; - PyObject *tmp_called_name_41; - PyObject *tmp_assattr_target_43; - tmp_called_name_41 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[164]); - - if (unlikely(tmp_called_name_41 == NULL)) { - tmp_called_name_41 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[164]); - } - - if (tmp_called_name_41 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 270; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - frame_f49b4cc387c566c587dd5b706722b99c->m_frame.f_lineno = 270; - tmp_assattr_name_43 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_41, &PyTuple_GET_ITEM(mod_consts[165], 0)); - - if (tmp_assattr_name_43 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 270; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_43); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 270; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_43 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_43, mod_consts[166], tmp_assattr_name_43); - Py_DECREF(tmp_assattr_name_43); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 270; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_44; - PyObject *tmp_assattr_target_44; - if (par_max_txt_len == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[167]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 272; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_name_44 = par_max_txt_len; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 272; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_44 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_44, mod_consts[167], tmp_assattr_name_44); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 272; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_45; - PyObject *tmp_assattr_target_45; - if (par_end_sym == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[168]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 273; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_name_45 = par_end_sym; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 273; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_45 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_45, mod_consts[168], tmp_assattr_name_45); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 273; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assattr_name_46; - PyObject *tmp_assattr_target_46; - tmp_assattr_name_46 = PyList_New(0); - if (par_self == NULL) { - Py_DECREF(tmp_assattr_name_46); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 274; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - - tmp_assattr_target_46 = par_self; - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_46, mod_consts[169], tmp_assattr_name_46); - Py_DECREF(tmp_assattr_name_46); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 274; - type_description_1 = "oooooooooooooooc"; - goto frame_exception_exit_1; - } - } - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_f49b4cc387c566c587dd5b706722b99c); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_2; - - frame_exception_exit_1:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_f49b4cc387c566c587dd5b706722b99c); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_f49b4cc387c566c587dd5b706722b99c, exception_lineno); - } else if (exception_tb->tb_frame != &frame_f49b4cc387c566c587dd5b706722b99c->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_f49b4cc387c566c587dd5b706722b99c, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_f49b4cc387c566c587dd5b706722b99c, - type_description_1, - par_self, - par_freeze_vit, - par_num_query_token, - par_llama_model, - par_max_txt_len, - par_low_resource, - par_end_sym, - var_name, - var_param, - var_special_token, - var_CastOutputToFloat, - var_peft_config, - var_text_det, - var_text2seg_2d, - var_text2seg_3d, - self->m_closure[0] - ); - - - // Release cached frame if used for exception. - if (frame_f49b4cc387c566c587dd5b706722b99c == cache_frame_f49b4cc387c566c587dd5b706722b99c) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_f49b4cc387c566c587dd5b706722b99c); - cache_frame_f49b4cc387c566c587dd5b706722b99c = NULL; - } - - assertFrameObject(frame_f49b4cc387c566c587dd5b706722b99c); - - // Put the previous frame back on top. - popFrameStack(); - - // Return the error. - goto try_except_handler_1; - - frame_no_exception_2:; - 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_freeze_vit); - par_freeze_vit = NULL; - Py_XDECREF(par_num_query_token); - par_num_query_token = NULL; - Py_XDECREF(par_llama_model); - par_llama_model = NULL; - Py_XDECREF(par_max_txt_len); - par_max_txt_len = NULL; - Py_XDECREF(par_low_resource); - par_low_resource = NULL; - Py_XDECREF(par_end_sym); - par_end_sym = NULL; - Py_XDECREF(var_name); - var_name = NULL; - Py_XDECREF(var_param); - var_param = NULL; - Py_XDECREF(var_special_token); - var_special_token = NULL; - CHECK_OBJECT(var_CastOutputToFloat); - Py_DECREF(var_CastOutputToFloat); - var_CastOutputToFloat = NULL; - CHECK_OBJECT(var_peft_config); - Py_DECREF(var_peft_config); - var_peft_config = NULL; - CHECK_OBJECT(var_text_det); - Py_DECREF(var_text_det); - var_text_det = NULL; - CHECK_OBJECT(var_text2seg_2d); - Py_DECREF(var_text2seg_2d); - var_text2seg_2d = NULL; - CHECK_OBJECT(var_text2seg_3d); - Py_DECREF(var_text2seg_3d); - var_text2seg_3d = NULL; - goto function_return_exit; - // Exception handler code: - try_except_handler_1:; - 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; - - Py_XDECREF(par_self); - par_self = NULL; - Py_XDECREF(par_freeze_vit); - par_freeze_vit = NULL; - Py_XDECREF(par_num_query_token); - par_num_query_token = NULL; - Py_XDECREF(par_llama_model); - par_llama_model = NULL; - Py_XDECREF(par_max_txt_len); - par_max_txt_len = NULL; - Py_XDECREF(par_low_resource); - par_low_resource = NULL; - Py_XDECREF(par_end_sym); - par_end_sym = NULL; - Py_XDECREF(var_name); - var_name = NULL; - Py_XDECREF(var_param); - var_param = NULL; - Py_XDECREF(var_special_token); - var_special_token = NULL; - Py_XDECREF(var_CastOutputToFloat); - var_CastOutputToFloat = NULL; - Py_XDECREF(var_peft_config); - var_peft_config = NULL; - Py_XDECREF(var_text_det); - var_text_det = NULL; - Py_XDECREF(var_text2seg_2d); - var_text2seg_2d = NULL; - Py_XDECREF(var_text2seg_3d); - var_text2seg_3d = 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 function_exception_exit; - // End of try: - - NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); - return NULL; - -function_exception_exit: - Py_XDECREF(locals_models$medomni_bp$$$function__12___init__$$$class__1_CastOutputToFloat_214); - assert(exception_type); - RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); - - return NULL; - -function_return_exit: - // Function cleanup code if any. - Py_XDECREF(locals_models$medomni_bp$$$function__12___init__$$$class__1_CastOutputToFloat_214); - - - // 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$medomni_bp$$$function__12___init__$$$function__1_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_678266b6b2faeb3dc81b89982e327d91; - 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_678266b6b2faeb3dc81b89982e327d91 = 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_678266b6b2faeb3dc81b89982e327d91)) { - Py_XDECREF(cache_frame_678266b6b2faeb3dc81b89982e327d91); - -#if _DEBUG_REFCOUNTS - if (cache_frame_678266b6b2faeb3dc81b89982e327d91 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_678266b6b2faeb3dc81b89982e327d91 = MAKE_FUNCTION_FRAME(codeobj_678266b6b2faeb3dc81b89982e327d91, module_models$medomni_bp, sizeof(void *)+sizeof(void *)+sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - assert(cache_frame_678266b6b2faeb3dc81b89982e327d91->m_type_description == NULL); - frame_678266b6b2faeb3dc81b89982e327d91 = cache_frame_678266b6b2faeb3dc81b89982e327d91; - - // Push the new frame as the currently active one. - pushFrameStack(frame_678266b6b2faeb3dc81b89982e327d91); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_678266b6b2faeb3dc81b89982e327d91) == 2); // Frame stack - - // Framed code: - { - PyObject *tmp_called_name_1; - PyObject *tmp_expression_name_1; - PyObject *tmp_called_instance_1; - PyObject *tmp_type_arg_name_1; - PyObject *tmp_object_arg_name_1; - PyObject *tmp_args_element_name_1; - PyObject *tmp_args_element_name_2; - PyObject *tmp_expression_name_2; - if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { - - FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[1]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 215; - type_description_1 = "ooc"; - 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 = 215; - type_description_1 = "ooc"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(par_x); - tmp_args_element_name_1 = par_x; - frame_678266b6b2faeb3dc81b89982e327d91->m_frame.f_lineno = 215; - tmp_expression_name_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[2], tmp_args_element_name_1); - Py_DECREF(tmp_called_instance_1); - if (tmp_expression_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 215; - type_description_1 = "ooc"; - goto frame_exception_exit_1; - } - tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[170]); - 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 = 215; - type_description_1 = "ooc"; - goto frame_exception_exit_1; - } - tmp_expression_name_2 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_2 == NULL)) { - tmp_expression_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - 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 = 215; - type_description_1 = "ooc"; - goto frame_exception_exit_1; - } - tmp_args_element_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[113]); - 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); - - exception_lineno = 215; - type_description_1 = "ooc"; - goto frame_exception_exit_1; - } - frame_678266b6b2faeb3dc81b89982e327d91->m_frame.f_lineno = 215; - tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_2); - Py_DECREF(tmp_called_name_1); - Py_DECREF(tmp_args_element_name_2); - if (tmp_return_value == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 215; - type_description_1 = "ooc"; - goto frame_exception_exit_1; - } - goto frame_return_exit_1; - } - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_678266b6b2faeb3dc81b89982e327d91); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_1; - - frame_return_exit_1:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_678266b6b2faeb3dc81b89982e327d91); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_1; - - frame_exception_exit_1:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_678266b6b2faeb3dc81b89982e327d91); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_678266b6b2faeb3dc81b89982e327d91, exception_lineno); - } else if (exception_tb->tb_frame != &frame_678266b6b2faeb3dc81b89982e327d91->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_678266b6b2faeb3dc81b89982e327d91, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_678266b6b2faeb3dc81b89982e327d91, - type_description_1, - par_self, - par_x, - self->m_closure[0] - ); - - - // Release cached frame if used for exception. - if (frame_678266b6b2faeb3dc81b89982e327d91 == cache_frame_678266b6b2faeb3dc81b89982e327d91) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_678266b6b2faeb3dc81b89982e327d91); - cache_frame_678266b6b2faeb3dc81b89982e327d91 = NULL; - } - - assertFrameObject(frame_678266b6b2faeb3dc81b89982e327d91); - - // 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_self); - Py_DECREF(par_self); - par_self = NULL; - Py_XDECREF(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; - - CHECK_OBJECT(par_self); - Py_DECREF(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$medomni_bp$$$function__13_vit_to_cpu(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_5d568379025a008913acddc22c837d7b; - 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_5d568379025a008913acddc22c837d7b = 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_5d568379025a008913acddc22c837d7b)) { - Py_XDECREF(cache_frame_5d568379025a008913acddc22c837d7b); - -#if _DEBUG_REFCOUNTS - if (cache_frame_5d568379025a008913acddc22c837d7b == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_5d568379025a008913acddc22c837d7b = MAKE_FUNCTION_FRAME(codeobj_5d568379025a008913acddc22c837d7b, module_models$medomni_bp, sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - assert(cache_frame_5d568379025a008913acddc22c837d7b->m_type_description == NULL); - frame_5d568379025a008913acddc22c837d7b = cache_frame_5d568379025a008913acddc22c837d7b; - - // Push the new frame as the currently active one. - pushFrameStack(frame_5d568379025a008913acddc22c837d7b); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_5d568379025a008913acddc22c837d7b) == 2); // Frame stack - - // Framed code: - { - PyObject *tmp_called_instance_1; - PyObject *tmp_expression_name_1; - PyObject *tmp_call_result_1; - CHECK_OBJECT(par_self); - tmp_expression_name_1 = par_self; - tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[171]); - if (tmp_called_instance_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 277; - type_description_1 = "o"; - goto frame_exception_exit_1; - } - frame_5d568379025a008913acddc22c837d7b->m_frame.f_lineno = 277; - tmp_call_result_1 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_1, - mod_consts[170], - &PyTuple_GET_ITEM(mod_consts[172], 0) - ); - - 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 = 277; - type_description_1 = "o"; - goto frame_exception_exit_1; - } - Py_DECREF(tmp_call_result_1); - } - { - PyObject *tmp_called_instance_2; - PyObject *tmp_expression_name_2; - PyObject *tmp_call_result_2; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 278; - type_description_1 = "o"; - goto frame_exception_exit_1; - } - - tmp_expression_name_2 = par_self; - tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[171]); - if (tmp_called_instance_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 278; - type_description_1 = "o"; - goto frame_exception_exit_1; - } - frame_5d568379025a008913acddc22c837d7b->m_frame.f_lineno = 278; - tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[173]); - Py_DECREF(tmp_called_instance_2); - if (tmp_call_result_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 278; - type_description_1 = "o"; - goto frame_exception_exit_1; - } - Py_DECREF(tmp_call_result_2); - } - { - PyObject *tmp_called_instance_3; - PyObject *tmp_expression_name_3; - PyObject *tmp_call_result_3; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 279; - type_description_1 = "o"; - goto frame_exception_exit_1; - } - - tmp_expression_name_3 = par_self; - tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[174]); - if (tmp_called_instance_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 279; - type_description_1 = "o"; - goto frame_exception_exit_1; - } - frame_5d568379025a008913acddc22c837d7b->m_frame.f_lineno = 279; - tmp_call_result_3 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_3, - mod_consts[170], - &PyTuple_GET_ITEM(mod_consts[172], 0) - ); - - Py_DECREF(tmp_called_instance_3); - if (tmp_call_result_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 279; - type_description_1 = "o"; - goto frame_exception_exit_1; - } - Py_DECREF(tmp_call_result_3); - } - { - PyObject *tmp_called_instance_4; - PyObject *tmp_expression_name_4; - PyObject *tmp_call_result_4; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 280; - type_description_1 = "o"; - goto frame_exception_exit_1; - } - - tmp_expression_name_4 = par_self; - tmp_called_instance_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[174]); - if (tmp_called_instance_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 280; - type_description_1 = "o"; - goto frame_exception_exit_1; - } - frame_5d568379025a008913acddc22c837d7b->m_frame.f_lineno = 280; - tmp_call_result_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[173]); - Py_DECREF(tmp_called_instance_4); - if (tmp_call_result_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 280; - type_description_1 = "o"; - goto frame_exception_exit_1; - } - Py_DECREF(tmp_call_result_4); - } - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_5d568379025a008913acddc22c837d7b); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_1; - - frame_exception_exit_1:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_5d568379025a008913acddc22c837d7b); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_5d568379025a008913acddc22c837d7b, exception_lineno); - } else if (exception_tb->tb_frame != &frame_5d568379025a008913acddc22c837d7b->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_5d568379025a008913acddc22c837d7b, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_5d568379025a008913acddc22c837d7b, - type_description_1, - par_self - ); - - - // Release cached frame if used for exception. - if (frame_5d568379025a008913acddc22c837d7b == cache_frame_5d568379025a008913acddc22c837d7b) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_5d568379025a008913acddc22c837d7b); - cache_frame_5d568379025a008913acddc22c837d7b = NULL; - } - - assertFrameObject(frame_5d568379025a008913acddc22c837d7b); - - // 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; - 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$medomni_bp$$$function__14_encode_img(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_image = python_pars[1]; - PyObject *par_modals = python_pars[2]; - PyObject *par_task_types = python_pars[3]; - PyObject *var_B = NULL; - PyObject *var_S = NULL; - PyObject *var__ = NULL; - PyObject *var_device = NULL; - PyObject *var_image_embeds_list = NULL; - PyObject *var_image_embeds = NULL; - PyObject *var_inputs_llama = NULL; - PyObject *var_atts_llama = NULL; - PyObject *var_image_embeds_unp = NULL; - PyObject *outline_0_var__ = NULL; - PyObject *tmp_listcomp_1__$0 = NULL; - PyObject *tmp_listcomp_1__contraction = NULL; - PyObject *tmp_listcomp_1__iter_value_0 = 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__element_5 = NULL; - PyObject *tmp_tuple_unpack_1__source_iter = NULL; - PyObject *tmp_with_1__enter = NULL; - PyObject *tmp_with_1__exit = NULL; - nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED; - PyObject *tmp_with_1__source = NULL; - struct Nuitka_FrameObject *frame_cf7c573f3eabc09b380bf631954f6108; - 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; - int tmp_res; - struct Nuitka_FrameObject *frame_7e1dda8ee60d26582f97bb31596ad357_2; - NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; - bool tmp_result; - 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_7e1dda8ee60d26582f97bb31596ad357_2 = 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; - 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 *exception_preserved_type_1; - PyObject *exception_preserved_value_1; - PyTracebackObject *exception_preserved_tb_1; - 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 *tmp_return_value = NULL; - static struct Nuitka_FrameObject *cache_frame_cf7c573f3eabc09b380bf631954f6108 = 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; - - // Actual function body. - // Tried code: - if (isFrameUnusable(cache_frame_cf7c573f3eabc09b380bf631954f6108)) { - Py_XDECREF(cache_frame_cf7c573f3eabc09b380bf631954f6108); - -#if _DEBUG_REFCOUNTS - if (cache_frame_cf7c573f3eabc09b380bf631954f6108 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_cf7c573f3eabc09b380bf631954f6108 = MAKE_FUNCTION_FRAME(codeobj_cf7c573f3eabc09b380bf631954f6108, module_models$medomni_bp, 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_cf7c573f3eabc09b380bf631954f6108->m_type_description == NULL); - frame_cf7c573f3eabc09b380bf631954f6108 = cache_frame_cf7c573f3eabc09b380bf631954f6108; - - // Push the new frame as the currently active one. - pushFrameStack(frame_cf7c573f3eabc09b380bf631954f6108); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_cf7c573f3eabc09b380bf631954f6108) == 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_image); - tmp_expression_name_1 = par_image; - tmp_iter_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[175]); - if (tmp_iter_arg_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 283; - 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 = 283; - 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, 5); - 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 = 283; - 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, 5); - 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 = 283; - 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, 5); - 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 = 283; - 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, 5); - 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 = "ooooooooooooo"; - exception_lineno = 283; - 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_assign_source_6; - PyObject *tmp_unpack_5; - CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); - tmp_unpack_5 = tmp_tuple_unpack_1__source_iter; - tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_5, 4, 5); - 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 = "ooooooooooooo"; - exception_lineno = 283; - goto try_except_handler_3; - } - assert(tmp_tuple_unpack_1__element_5 == NULL); - tmp_tuple_unpack_1__element_5 = tmp_assign_source_6; - } - { - 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 = 283; - goto try_except_handler_3; - } - } - } else { - Py_DECREF(tmp_iterator_attempt); - - exception_type = PyExc_ValueError; - Py_INCREF(PyExc_ValueError); - exception_value = mod_consts[176]; - Py_INCREF(exception_value); - exception_tb = NULL; - - type_description_1 = "ooooooooooooo"; - exception_lineno = 283; - 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; - Py_XDECREF(tmp_tuple_unpack_1__element_5); - tmp_tuple_unpack_1__element_5 = 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_7; - CHECK_OBJECT(tmp_tuple_unpack_1__element_1); - tmp_assign_source_7 = tmp_tuple_unpack_1__element_1; - assert(var_B == NULL); - Py_INCREF(tmp_assign_source_7); - var_B = tmp_assign_source_7; - } - 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; - assert(var_S == NULL); - Py_INCREF(tmp_assign_source_8); - var_S = tmp_assign_source_8; - } - Py_XDECREF(tmp_tuple_unpack_1__element_2); - tmp_tuple_unpack_1__element_2 = NULL; - - { - PyObject *tmp_assign_source_9; - CHECK_OBJECT(tmp_tuple_unpack_1__element_3); - tmp_assign_source_9 = tmp_tuple_unpack_1__element_3; - assert(var__ == NULL); - Py_INCREF(tmp_assign_source_9); - var__ = tmp_assign_source_9; - } - Py_XDECREF(tmp_tuple_unpack_1__element_3); - tmp_tuple_unpack_1__element_3 = NULL; - - { - PyObject *tmp_assign_source_10; - CHECK_OBJECT(tmp_tuple_unpack_1__element_4); - tmp_assign_source_10 = tmp_tuple_unpack_1__element_4; - { - PyObject *old = var__; - assert(old != NULL); - var__ = tmp_assign_source_10; - Py_INCREF(var__); - Py_DECREF(old); - } - - } - Py_XDECREF(tmp_tuple_unpack_1__element_4); - tmp_tuple_unpack_1__element_4 = NULL; - - { - PyObject *tmp_assign_source_11; - CHECK_OBJECT(tmp_tuple_unpack_1__element_5); - tmp_assign_source_11 = tmp_tuple_unpack_1__element_5; - { - PyObject *old = var__; - assert(old != NULL); - var__ = tmp_assign_source_11; - Py_INCREF(var__); - Py_DECREF(old); - } - - } - Py_XDECREF(tmp_tuple_unpack_1__element_5); - tmp_tuple_unpack_1__element_5 = 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; - Py_XDECREF(tmp_tuple_unpack_1__element_5); - tmp_tuple_unpack_1__element_5 = NULL; - { - PyObject *tmp_assign_source_12; - PyObject *tmp_expression_name_2; - if (par_image == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[177]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 284; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_2 = par_image; - tmp_assign_source_12 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[178]); - if (tmp_assign_source_12 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 284; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_device == NULL); - var_device = tmp_assign_source_12; - } - { - PyObject *tmp_assign_source_13; - tmp_assign_source_13 = Py_None; - assert(var_image_embeds_list == NULL); - Py_INCREF(tmp_assign_source_13); - var_image_embeds_list = tmp_assign_source_13; - } - { - nuitka_bool tmp_condition_result_1; - PyObject *tmp_expression_name_3; - PyObject *tmp_attribute_value_1; - int tmp_truth_name_1; - CHECK_OBJECT(par_self); - tmp_expression_name_3 = par_self; - tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[66]); - if (tmp_attribute_value_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 286; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - 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 = 286; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; - Py_DECREF(tmp_attribute_value_1); - if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { - goto branch_yes_1; - } else { - goto branch_no_1; - } - } - branch_yes_1:; - { - PyObject *tmp_called_instance_1; - PyObject *tmp_call_result_1; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 287; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_called_instance_1 = par_self; - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 287; - tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[179]); - if (tmp_call_result_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 287; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - Py_DECREF(tmp_call_result_1); - } - { - PyObject *tmp_assign_source_14; - PyObject *tmp_called_instance_2; - if (par_image == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[177]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 288; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_called_instance_2 = par_image; - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 288; - tmp_assign_source_14 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_2, - mod_consts[170], - &PyTuple_GET_ITEM(mod_consts[172], 0) - ); - - if (tmp_assign_source_14 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 288; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - { - PyObject *old = par_image; - par_image = tmp_assign_source_14; - Py_XDECREF(old); - } - - } - branch_no_1:; - // Tried code: - { - PyObject *tmp_assign_source_15; - PyObject *tmp_called_instance_3; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 290; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_4; - } - - tmp_called_instance_3 = par_self; - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 290; - tmp_assign_source_15 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[180]); - if (tmp_assign_source_15 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 290; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_4; - } - assert(tmp_with_1__source == NULL); - tmp_with_1__source = tmp_assign_source_15; - } - { - PyObject *tmp_assign_source_16; - PyObject *tmp_called_name_1; - PyObject *tmp_expression_name_4; - CHECK_OBJECT(tmp_with_1__source); - tmp_expression_name_4 = tmp_with_1__source; - tmp_called_name_1 = LOOKUP_SPECIAL(tmp_expression_name_4, mod_consts[181]); - if (tmp_called_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 290; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_4; - } - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 290; - tmp_assign_source_16 = CALL_FUNCTION_NO_ARGS(tmp_called_name_1); - Py_DECREF(tmp_called_name_1); - if (tmp_assign_source_16 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 290; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_4; - } - assert(tmp_with_1__enter == NULL); - tmp_with_1__enter = tmp_assign_source_16; - } - { - PyObject *tmp_assign_source_17; - PyObject *tmp_expression_name_5; - CHECK_OBJECT(tmp_with_1__source); - tmp_expression_name_5 = tmp_with_1__source; - tmp_assign_source_17 = LOOKUP_SPECIAL(tmp_expression_name_5, mod_consts[182]); - if (tmp_assign_source_17 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 290; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_4; - } - assert(tmp_with_1__exit == NULL); - tmp_with_1__exit = tmp_assign_source_17; - } - { - nuitka_bool tmp_assign_source_18; - tmp_assign_source_18 = NUITKA_BOOL_TRUE; - tmp_with_1__indicator = tmp_assign_source_18; - } - // Tried code: - // Tried code: - { - bool tmp_condition_result_2; - PyObject *tmp_compexpr_left_1; - PyObject *tmp_compexpr_right_1; - tmp_compexpr_left_1 = mod_consts[183]; - CHECK_OBJECT(par_modals); - tmp_compexpr_right_1 = par_modals; - 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 = 291; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_condition_result_2 = (tmp_res == 1) ? true : false; - if (tmp_condition_result_2 != false) { - goto branch_yes_2; - } else { - goto branch_no_2; - } - } - branch_yes_2:; - { - PyObject *tmp_assign_source_19; - PyObject *tmp_called_name_2; - PyObject *tmp_expression_name_6; - PyObject *tmp_args_name_1; - PyObject *tmp_tuple_element_1; - PyObject *tmp_kwargs_name_1; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 292; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - - tmp_expression_name_6 = par_self; - tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[75]); - if (tmp_called_name_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 292; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - if (par_image == NULL) { - Py_DECREF(tmp_called_name_2); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[177]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 292; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - - tmp_tuple_element_1 = par_image; - tmp_args_name_1 = PyTuple_New(1); - PyTuple_SET_ITEM0(tmp_args_name_1, 0, tmp_tuple_element_1); - tmp_kwargs_name_1 = PyDict_Copy(mod_consts[184]); - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 292; - tmp_assign_source_19 = 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_19 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 292; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - { - PyObject *old = var_image_embeds_list; - assert(old != NULL); - var_image_embeds_list = tmp_assign_source_19; - Py_DECREF(old); - } - - } - { - PyObject *tmp_assign_source_20; - // Tried code: - { - PyObject *tmp_assign_source_21; - PyObject *tmp_iter_arg_2; - CHECK_OBJECT(var_image_embeds_list); - tmp_iter_arg_2 = var_image_embeds_list; - tmp_assign_source_21 = MAKE_ITERATOR(tmp_iter_arg_2); - if (tmp_assign_source_21 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 293; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_7; - } - assert(tmp_listcomp_1__$0 == NULL); - tmp_listcomp_1__$0 = tmp_assign_source_21; - } - { - PyObject *tmp_assign_source_22; - tmp_assign_source_22 = PyList_New(0); - assert(tmp_listcomp_1__contraction == NULL); - tmp_listcomp_1__contraction = tmp_assign_source_22; - } - if (isFrameUnusable(cache_frame_7e1dda8ee60d26582f97bb31596ad357_2)) { - Py_XDECREF(cache_frame_7e1dda8ee60d26582f97bb31596ad357_2); - -#if _DEBUG_REFCOUNTS - if (cache_frame_7e1dda8ee60d26582f97bb31596ad357_2 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_7e1dda8ee60d26582f97bb31596ad357_2 = MAKE_FUNCTION_FRAME(codeobj_7e1dda8ee60d26582f97bb31596ad357, module_models$medomni_bp, sizeof(void *)+sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - assert(cache_frame_7e1dda8ee60d26582f97bb31596ad357_2->m_type_description == NULL); - frame_7e1dda8ee60d26582f97bb31596ad357_2 = cache_frame_7e1dda8ee60d26582f97bb31596ad357_2; - - // Push the new frame as the currently active one. - pushFrameStack(frame_7e1dda8ee60d26582f97bb31596ad357_2); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_7e1dda8ee60d26582f97bb31596ad357_2) == 2); // Frame stack - - // Framed code: - // Tried code: - loop_start_1:; - { - PyObject *tmp_next_source_1; - PyObject *tmp_assign_source_23; - CHECK_OBJECT(tmp_listcomp_1__$0); - tmp_next_source_1 = tmp_listcomp_1__$0; - tmp_assign_source_23 = ITERATOR_NEXT(tmp_next_source_1); - if (tmp_assign_source_23 == 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 = "oo"; - exception_lineno = 293; - goto try_except_handler_8; - } - } - - { - PyObject *old = tmp_listcomp_1__iter_value_0; - tmp_listcomp_1__iter_value_0 = tmp_assign_source_23; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_24; - CHECK_OBJECT(tmp_listcomp_1__iter_value_0); - tmp_assign_source_24 = tmp_listcomp_1__iter_value_0; - { - PyObject *old = outline_0_var__; - outline_0_var__ = tmp_assign_source_24; - Py_INCREF(outline_0_var__); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_append_list_1; - PyObject *tmp_append_value_1; - PyObject *tmp_called_name_3; - PyObject *tmp_expression_name_7; - PyObject *tmp_args_element_name_1; - CHECK_OBJECT(tmp_listcomp_1__contraction); - tmp_append_list_1 = tmp_listcomp_1__contraction; - CHECK_OBJECT(outline_0_var__); - tmp_expression_name_7 = outline_0_var__; - tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[170]); - if (tmp_called_name_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 293; - type_description_2 = "oo"; - goto try_except_handler_8; - } - if (var_device == NULL) { - Py_DECREF(tmp_called_name_3); - FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[178]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 293; - type_description_2 = "oo"; - goto try_except_handler_8; - } - - tmp_args_element_name_1 = var_device; - frame_7e1dda8ee60d26582f97bb31596ad357_2->m_frame.f_lineno = 293; - tmp_append_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_3, tmp_args_element_name_1); - Py_DECREF(tmp_called_name_3); - if (tmp_append_value_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 293; - type_description_2 = "oo"; - goto try_except_handler_8; - } - 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 = 293; - type_description_2 = "oo"; - goto try_except_handler_8; - } - } - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 293; - type_description_2 = "oo"; - goto try_except_handler_8; - } - goto loop_start_1; - loop_end_1:; - CHECK_OBJECT(tmp_listcomp_1__contraction); - tmp_assign_source_20 = tmp_listcomp_1__contraction; - Py_INCREF(tmp_assign_source_20); - 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_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_2; - // Exception handler code: - try_except_handler_8:; - 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_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_3; - exception_value = exception_keeper_value_3; - exception_tb = exception_keeper_tb_3; - exception_lineno = exception_keeper_lineno_3; - - goto frame_exception_exit_2; - // End of try: - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_7e1dda8ee60d26582f97bb31596ad357_2); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_1; - - frame_return_exit_2:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_7e1dda8ee60d26582f97bb31596ad357_2); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_7; - - frame_exception_exit_2:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_7e1dda8ee60d26582f97bb31596ad357_2); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_7e1dda8ee60d26582f97bb31596ad357_2, exception_lineno); - } else if (exception_tb->tb_frame != &frame_7e1dda8ee60d26582f97bb31596ad357_2->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_7e1dda8ee60d26582f97bb31596ad357_2, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_7e1dda8ee60d26582f97bb31596ad357_2, - type_description_2, - outline_0_var__, - var_device - ); - - - // Release cached frame if used for exception. - if (frame_7e1dda8ee60d26582f97bb31596ad357_2 == cache_frame_7e1dda8ee60d26582f97bb31596ad357_2) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_7e1dda8ee60d26582f97bb31596ad357_2); - cache_frame_7e1dda8ee60d26582f97bb31596ad357_2 = NULL; - } - - assertFrameObject(frame_7e1dda8ee60d26582f97bb31596ad357_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 = "ooooooooooooo"; - goto try_except_handler_7; - skip_nested_handling_1:; - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_7:; - Py_XDECREF(outline_0_var__); - outline_0_var__ = NULL; - goto outline_result_1; - // Exception handler code: - try_except_handler_7:; - 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(outline_0_var__); - outline_0_var__ = 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 outline_exception_1; - // End of try: - NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); - return NULL; - outline_exception_1:; - exception_lineno = 293; - goto try_except_handler_6; - outline_result_1:; - { - PyObject *old = var_image_embeds_list; - var_image_embeds_list = tmp_assign_source_20; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_25; - PyObject *tmp_called_instance_4; - PyObject *tmp_expression_name_8; - PyObject *tmp_subscript_name_1; - CHECK_OBJECT(var_image_embeds_list); - tmp_expression_name_8 = var_image_embeds_list; - tmp_subscript_name_1 = mod_consts[185]; - tmp_called_instance_4 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_8, tmp_subscript_name_1, -1); - if (tmp_called_instance_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 294; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 294; - tmp_assign_source_25 = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[186]); - Py_DECREF(tmp_called_instance_4); - if (tmp_assign_source_25 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 294; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - assert(var_image_embeds == NULL); - var_image_embeds = tmp_assign_source_25; - } - { - PyObject *tmp_assign_source_26; - PyObject *tmp_called_instance_5; - PyObject *tmp_called_name_4; - PyObject *tmp_expression_name_9; - PyObject *tmp_called_instance_6; - 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_10; - PyObject *tmp_expression_name_11; - PyObject *tmp_subscript_name_2; - PyObject *tmp_args_element_name_6; - tmp_called_instance_6 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[43]); - - if (unlikely(tmp_called_instance_6 == NULL)) { - tmp_called_instance_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[43]); - } - - if (tmp_called_instance_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 295; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - CHECK_OBJECT(var_image_embeds); - tmp_args_element_name_2 = var_image_embeds; - tmp_args_element_name_3 = mod_consts[188]; - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 295; - { - PyObject *call_args[] = {tmp_args_element_name_2, tmp_args_element_name_3}; - tmp_expression_name_9 = CALL_METHOD_WITH_ARGS2( - tmp_called_instance_6, - mod_consts[187], - call_args - ); - } - - if (tmp_expression_name_9 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 295; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[24]); - Py_DECREF(tmp_expression_name_9); - if (tmp_called_name_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 295; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - CHECK_OBJECT(var_B); - tmp_args_element_name_4 = var_B; - if (var_image_embeds == NULL) { - Py_DECREF(tmp_called_name_4); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[189]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 295; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - - tmp_expression_name_11 = var_image_embeds; - tmp_expression_name_10 = LOOKUP_ATTRIBUTE(tmp_expression_name_11, mod_consts[175]); - if (tmp_expression_name_10 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_4); - - exception_lineno = 295; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_subscript_name_2 = mod_consts[60]; - tmp_args_element_name_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_10, tmp_subscript_name_2, 1); - Py_DECREF(tmp_expression_name_10); - 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 = 295; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_args_element_name_6 = mod_consts[185]; - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 295; - { - PyObject *call_args[] = {tmp_args_element_name_4, tmp_args_element_name_5, tmp_args_element_name_6}; - tmp_called_instance_5 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_4, call_args); - } - - Py_DECREF(tmp_called_name_4); - Py_DECREF(tmp_args_element_name_5); - if (tmp_called_instance_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 295; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 295; - tmp_assign_source_26 = CALL_METHOD_WITH_ARGS3( - tmp_called_instance_5, - mod_consts[190], - &PyTuple_GET_ITEM(mod_consts[191], 0) - ); - - Py_DECREF(tmp_called_instance_5); - if (tmp_assign_source_26 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 295; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - { - PyObject *old = var_image_embeds; - var_image_embeds = tmp_assign_source_26; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_27; - PyObject *tmp_called_name_5; - PyObject *tmp_expression_name_12; - PyObject *tmp_args_element_name_7; - PyObject *tmp_called_instance_7; - PyObject *tmp_args_element_name_8; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 296; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - - tmp_expression_name_12 = par_self; - tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_12, mod_consts[144]); - if (tmp_called_name_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 296; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - if (par_self == NULL) { - Py_DECREF(tmp_called_name_5); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 296; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - - tmp_called_instance_7 = par_self; - CHECK_OBJECT(var_image_embeds); - tmp_args_element_name_8 = var_image_embeds; - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 296; - tmp_args_element_name_7 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_7, mod_consts[80], tmp_args_element_name_8); - 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 = 296; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 296; - tmp_assign_source_27 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_5, tmp_args_element_name_7); - Py_DECREF(tmp_called_name_5); - Py_DECREF(tmp_args_element_name_7); - if (tmp_assign_source_27 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 296; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - assert(var_inputs_llama == NULL); - var_inputs_llama = tmp_assign_source_27; - } - { - PyObject *tmp_assign_source_28; - PyObject *tmp_called_name_6; - PyObject *tmp_expression_name_13; - PyObject *tmp_called_name_7; - PyObject *tmp_args_name_2; - PyObject *tmp_tuple_element_2; - PyObject *tmp_kwargs_name_2; - PyObject *tmp_dict_key_1; - PyObject *tmp_dict_value_1; - PyObject *tmp_args_element_name_9; - PyObject *tmp_expression_name_14; - tmp_called_name_7 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[192]); - - if (unlikely(tmp_called_name_7 == NULL)) { - tmp_called_name_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[192]); - } - - if (tmp_called_name_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 297; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - CHECK_OBJECT(var_inputs_llama); - tmp_tuple_element_2 = var_inputs_llama; - tmp_args_name_2 = PyTuple_New(2); - PyTuple_SET_ITEM0(tmp_args_name_2, 0, tmp_tuple_element_2); - tmp_tuple_element_2 = mod_consts[193]; - PyTuple_SET_ITEM0(tmp_args_name_2, 1, tmp_tuple_element_2); - tmp_dict_key_1 = mod_consts[194]; - if (var_B == NULL) { - Py_DECREF(tmp_args_name_2); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[195]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 297; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - - tmp_dict_value_1 = var_B; - tmp_kwargs_name_2 = _PyDict_NewPresized( 2 ); - 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[196]; - CHECK_OBJECT(var_S); - tmp_dict_value_1 = var_S; - tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_1, tmp_dict_value_1); - assert(!(tmp_res != 0)); - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 297; - tmp_expression_name_13 = CALL_FUNCTION(tmp_called_name_7, tmp_args_name_2, tmp_kwargs_name_2); - Py_DECREF(tmp_args_name_2); - Py_DECREF(tmp_kwargs_name_2); - if (tmp_expression_name_13 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 297; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_called_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_13, mod_consts[170]); - Py_DECREF(tmp_expression_name_13); - if (tmp_called_name_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 297; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_expression_name_14 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_14 == NULL)) { - tmp_expression_name_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_14 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_6); - - exception_lineno = 297; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_args_element_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_14, mod_consts[113]); - if (tmp_args_element_name_9 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_6); - - exception_lineno = 297; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 297; - tmp_assign_source_28 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_6, tmp_args_element_name_9); - Py_DECREF(tmp_called_name_6); - Py_DECREF(tmp_args_element_name_9); - if (tmp_assign_source_28 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 297; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - { - PyObject *old = var_inputs_llama; - assert(old != NULL); - var_inputs_llama = tmp_assign_source_28; - Py_DECREF(old); - } - - } - { - PyObject *tmp_assign_source_29; - PyObject *tmp_called_name_8; - PyObject *tmp_expression_name_15; - PyObject *tmp_called_name_9; - PyObject *tmp_expression_name_16; - PyObject *tmp_args_name_3; - PyObject *tmp_tuple_element_3; - PyObject *tmp_expression_name_17; - PyObject *tmp_called_instance_8; - PyObject *tmp_subscript_name_3; - PyObject *tmp_kwargs_name_3; - PyObject *tmp_dict_key_2; - PyObject *tmp_dict_value_2; - PyObject *tmp_expression_name_18; - PyObject *tmp_args_element_name_10; - PyObject *tmp_expression_name_19; - tmp_expression_name_16 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_16 == NULL)) { - tmp_expression_name_16 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_16 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 298; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_called_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_16, mod_consts[197]); - if (tmp_called_name_9 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 298; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - CHECK_OBJECT(var_inputs_llama); - tmp_called_instance_8 = var_inputs_llama; - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 298; - tmp_expression_name_17 = CALL_METHOD_NO_ARGS(tmp_called_instance_8, mod_consts[33]); - if (tmp_expression_name_17 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_9); - - exception_lineno = 298; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_subscript_name_3 = mod_consts[198]; - tmp_tuple_element_3 = LOOKUP_SUBSCRIPT(tmp_expression_name_17, tmp_subscript_name_3); - Py_DECREF(tmp_expression_name_17); - if (tmp_tuple_element_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_9); - - exception_lineno = 298; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_args_name_3 = PyTuple_New(1); - PyTuple_SET_ITEM(tmp_args_name_3, 0, tmp_tuple_element_3); - tmp_dict_key_2 = mod_consts[0]; - tmp_expression_name_18 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_18 == NULL)) { - tmp_expression_name_18 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_18 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_9); - Py_DECREF(tmp_args_name_3); - - exception_lineno = 298; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_dict_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_18, mod_consts[199]); - if (tmp_dict_value_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_9); - Py_DECREF(tmp_args_name_3); - - exception_lineno = 298; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_kwargs_name_3 = _PyDict_NewPresized( 1 ); - tmp_res = PyDict_SetItem(tmp_kwargs_name_3, tmp_dict_key_2, tmp_dict_value_2); - Py_DECREF(tmp_dict_value_2); - assert(!(tmp_res != 0)); - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 298; - tmp_expression_name_15 = CALL_FUNCTION(tmp_called_name_9, tmp_args_name_3, tmp_kwargs_name_3); - Py_DECREF(tmp_called_name_9); - Py_DECREF(tmp_args_name_3); - Py_DECREF(tmp_kwargs_name_3); - if (tmp_expression_name_15 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 298; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_called_name_8 = LOOKUP_ATTRIBUTE(tmp_expression_name_15, mod_consts[170]); - Py_DECREF(tmp_expression_name_15); - if (tmp_called_name_8 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 298; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - if (par_image == NULL) { - Py_DECREF(tmp_called_name_8); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[177]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 298; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - - tmp_expression_name_19 = par_image; - tmp_args_element_name_10 = LOOKUP_ATTRIBUTE(tmp_expression_name_19, mod_consts[178]); - if (tmp_args_element_name_10 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_8); - - exception_lineno = 298; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 298; - tmp_assign_source_29 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_8, tmp_args_element_name_10); - Py_DECREF(tmp_called_name_8); - Py_DECREF(tmp_args_element_name_10); - if (tmp_assign_source_29 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 298; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - assert(var_atts_llama == NULL); - var_atts_llama = tmp_assign_source_29; - } - goto branch_end_2; - branch_no_2:; - { - PyObject *tmp_assign_source_30; - PyObject *tmp_called_name_10; - PyObject *tmp_args_element_name_11; - PyObject *tmp_args_element_name_12; - tmp_called_name_10 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[192]); - - if (unlikely(tmp_called_name_10 == NULL)) { - tmp_called_name_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[192]); - } - - if (tmp_called_name_10 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 300; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - if (par_image == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[177]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 300; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - - tmp_args_element_name_11 = par_image; - tmp_args_element_name_12 = mod_consts[200]; - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 300; - { - PyObject *call_args[] = {tmp_args_element_name_11, tmp_args_element_name_12}; - tmp_assign_source_30 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_10, call_args); - } - - if (tmp_assign_source_30 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 300; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - { - PyObject *old = par_image; - par_image = tmp_assign_source_30; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_31; - PyObject *tmp_called_instance_9; - PyObject *tmp_expression_name_20; - PyObject *tmp_called_instance_10; - PyObject *tmp_args_element_name_13; - PyObject *tmp_subscript_name_4; - PyObject *tmp_args_element_name_14; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 301; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - - tmp_called_instance_10 = par_self; - CHECK_OBJECT(par_image); - tmp_args_element_name_13 = par_image; - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 301; - tmp_expression_name_20 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_10, mod_consts[72], tmp_args_element_name_13); - if (tmp_expression_name_20 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 301; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_subscript_name_4 = mod_consts[201]; - tmp_called_instance_9 = LOOKUP_SUBSCRIPT(tmp_expression_name_20, tmp_subscript_name_4); - Py_DECREF(tmp_expression_name_20); - if (tmp_called_instance_9 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 301; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - CHECK_OBJECT(var_device); - tmp_args_element_name_14 = var_device; - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 301; - tmp_assign_source_31 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_9, mod_consts[170], tmp_args_element_name_14); - Py_DECREF(tmp_called_instance_9); - if (tmp_assign_source_31 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 301; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - assert(var_image_embeds == NULL); - var_image_embeds = tmp_assign_source_31; - } - { - PyObject *tmp_assign_source_32; - PyObject *tmp_called_name_11; - PyObject *tmp_expression_name_21; - PyObject *tmp_called_instance_11; - PyObject *tmp_args_element_name_15; - PyObject *tmp_left_name_1; - PyObject *tmp_right_name_1; - PyObject *tmp_args_element_name_16; - PyObject *tmp_args_element_name_17; - PyObject *tmp_args_element_name_18; - CHECK_OBJECT(var_image_embeds); - tmp_called_instance_11 = var_image_embeds; - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 302; - tmp_expression_name_21 = CALL_METHOD_WITH_ARGS3( - tmp_called_instance_11, - mod_consts[190], - &PyTuple_GET_ITEM(mod_consts[191], 0) - ); - - if (tmp_expression_name_21 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 302; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_called_name_11 = LOOKUP_ATTRIBUTE(tmp_expression_name_21, mod_consts[24]); - Py_DECREF(tmp_expression_name_21); - if (tmp_called_name_11 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 302; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - CHECK_OBJECT(var_B); - tmp_left_name_1 = var_B; - CHECK_OBJECT(var_S); - tmp_right_name_1 = var_S; - tmp_args_element_name_15 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_1, tmp_right_name_1); - if (tmp_args_element_name_15 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_11); - - exception_lineno = 302; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_args_element_name_16 = mod_consts[185]; - tmp_args_element_name_17 = mod_consts[202]; - tmp_args_element_name_18 = mod_consts[202]; - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 302; - { - PyObject *call_args[] = {tmp_args_element_name_15, tmp_args_element_name_16, tmp_args_element_name_17, tmp_args_element_name_18}; - tmp_assign_source_32 = CALL_FUNCTION_WITH_ARGS4(tmp_called_name_11, call_args); - } - - Py_DECREF(tmp_called_name_11); - Py_DECREF(tmp_args_element_name_15); - if (tmp_assign_source_32 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 302; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - assert(var_image_embeds_unp == NULL); - var_image_embeds_unp = tmp_assign_source_32; - } - { - PyObject *tmp_assign_source_33; - PyObject *tmp_called_instance_12; - PyObject *tmp_args_element_name_19; - PyObject *tmp_args_element_name_20; - tmp_called_instance_12 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[43]); - - if (unlikely(tmp_called_instance_12 == NULL)) { - tmp_called_instance_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[43]); - } - - if (tmp_called_instance_12 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 303; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - CHECK_OBJECT(var_image_embeds_unp); - tmp_args_element_name_19 = var_image_embeds_unp; - tmp_args_element_name_20 = mod_consts[204]; - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 303; - { - PyObject *call_args[] = {tmp_args_element_name_19, tmp_args_element_name_20}; - tmp_assign_source_33 = CALL_METHOD_WITH_ARGS2( - tmp_called_instance_12, - mod_consts[203], - call_args - ); - } - - if (tmp_assign_source_33 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 303; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - { - PyObject *old = var_image_embeds_unp; - var_image_embeds_unp = tmp_assign_source_33; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_34; - PyObject *tmp_called_instance_13; - PyObject *tmp_called_name_12; - PyObject *tmp_expression_name_22; - PyObject *tmp_args_element_name_21; - PyObject *tmp_left_name_2; - PyObject *tmp_right_name_2; - PyObject *tmp_args_element_name_22; - PyObject *tmp_args_element_name_23; - CHECK_OBJECT(var_image_embeds_unp); - tmp_expression_name_22 = var_image_embeds_unp; - tmp_called_name_12 = LOOKUP_ATTRIBUTE(tmp_expression_name_22, mod_consts[24]); - if (tmp_called_name_12 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 304; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - if (var_B == NULL) { - Py_DECREF(tmp_called_name_12); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[195]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 304; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - - tmp_left_name_2 = var_B; - if (var_S == NULL) { - Py_DECREF(tmp_called_name_12); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[205]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 304; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - - tmp_right_name_2 = var_S; - tmp_args_element_name_21 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_2, tmp_right_name_2); - if (tmp_args_element_name_21 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_12); - - exception_lineno = 304; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_args_element_name_22 = mod_consts[185]; - tmp_args_element_name_23 = mod_consts[206]; - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 304; - { - PyObject *call_args[] = {tmp_args_element_name_21, tmp_args_element_name_22, tmp_args_element_name_23}; - tmp_called_instance_13 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_12, call_args); - } - - Py_DECREF(tmp_called_name_12); - Py_DECREF(tmp_args_element_name_21); - if (tmp_called_instance_13 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 304; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 304; - tmp_assign_source_34 = CALL_METHOD_WITH_ARGS3( - tmp_called_instance_13, - mod_consts[190], - &PyTuple_GET_ITEM(mod_consts[191], 0) - ); - - Py_DECREF(tmp_called_instance_13); - if (tmp_assign_source_34 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 304; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - { - PyObject *old = var_image_embeds; - var_image_embeds = tmp_assign_source_34; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_35; - PyObject *tmp_called_name_13; - PyObject *tmp_expression_name_23; - PyObject *tmp_args_element_name_24; - PyObject *tmp_called_instance_14; - PyObject *tmp_args_element_name_25; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 305; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - - tmp_expression_name_23 = par_self; - tmp_called_name_13 = LOOKUP_ATTRIBUTE(tmp_expression_name_23, mod_consts[143]); - if (tmp_called_name_13 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 305; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - if (par_self == NULL) { - Py_DECREF(tmp_called_name_13); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 305; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - - tmp_called_instance_14 = par_self; - CHECK_OBJECT(var_image_embeds); - tmp_args_element_name_25 = var_image_embeds; - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 305; - tmp_args_element_name_24 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_14, mod_consts[78], tmp_args_element_name_25); - if (tmp_args_element_name_24 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_13); - - exception_lineno = 305; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 305; - tmp_assign_source_35 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_13, tmp_args_element_name_24); - Py_DECREF(tmp_called_name_13); - Py_DECREF(tmp_args_element_name_24); - if (tmp_assign_source_35 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 305; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - assert(var_inputs_llama == NULL); - var_inputs_llama = tmp_assign_source_35; - } - { - bool tmp_condition_result_3; - PyObject *tmp_compexpr_left_2; - PyObject *tmp_compexpr_right_2; - tmp_compexpr_left_2 = mod_consts[207]; - CHECK_OBJECT(par_task_types); - tmp_compexpr_right_2 = par_task_types; - tmp_res = PySequence_Contains(tmp_compexpr_right_2, tmp_compexpr_left_2); - if (tmp_res == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 306; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_condition_result_3 = (tmp_res == 0) ? true : false; - if (tmp_condition_result_3 != false) { - goto branch_yes_3; - } else { - goto branch_no_3; - } - } - branch_yes_3:; - { - PyObject *tmp_assign_source_36; - PyObject *tmp_called_name_14; - PyObject *tmp_expression_name_24; - PyObject *tmp_called_name_15; - PyObject *tmp_args_name_4; - PyObject *tmp_tuple_element_4; - PyObject *tmp_kwargs_name_4; - PyObject *tmp_dict_key_3; - PyObject *tmp_dict_value_3; - PyObject *tmp_args_element_name_26; - PyObject *tmp_expression_name_25; - tmp_called_name_15 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[192]); - - if (unlikely(tmp_called_name_15 == NULL)) { - tmp_called_name_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[192]); - } - - if (tmp_called_name_15 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 307; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - CHECK_OBJECT(var_inputs_llama); - tmp_tuple_element_4 = var_inputs_llama; - tmp_args_name_4 = PyTuple_New(2); - PyTuple_SET_ITEM0(tmp_args_name_4, 0, tmp_tuple_element_4); - tmp_tuple_element_4 = mod_consts[193]; - PyTuple_SET_ITEM0(tmp_args_name_4, 1, tmp_tuple_element_4); - tmp_dict_key_3 = mod_consts[194]; - if (var_B == NULL) { - Py_DECREF(tmp_args_name_4); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[195]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 307; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - - tmp_dict_value_3 = var_B; - tmp_kwargs_name_4 = _PyDict_NewPresized( 2 ); - tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_3, tmp_dict_value_3); - assert(!(tmp_res != 0)); - tmp_dict_key_3 = mod_consts[196]; - if (var_S == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[205]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 307; - type_description_1 = "ooooooooooooo"; - goto dict_build_exception_1; - } - - tmp_dict_value_3 = var_S; - tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_3, tmp_dict_value_3); - assert(!(tmp_res != 0)); - goto dict_build_noexception_1; - // Exception handling pass through code for dict_build: - dict_build_exception_1:; - Py_DECREF(tmp_args_name_4); - Py_DECREF(tmp_kwargs_name_4); - goto try_except_handler_6; - // Finished with no exception for dict_build: - dict_build_noexception_1:; - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 307; - tmp_expression_name_24 = CALL_FUNCTION(tmp_called_name_15, tmp_args_name_4, tmp_kwargs_name_4); - Py_DECREF(tmp_args_name_4); - Py_DECREF(tmp_kwargs_name_4); - if (tmp_expression_name_24 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 307; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_called_name_14 = LOOKUP_ATTRIBUTE(tmp_expression_name_24, mod_consts[170]); - Py_DECREF(tmp_expression_name_24); - if (tmp_called_name_14 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 307; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_expression_name_25 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_25 == NULL)) { - tmp_expression_name_25 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_25 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_14); - - exception_lineno = 307; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_args_element_name_26 = LOOKUP_ATTRIBUTE(tmp_expression_name_25, mod_consts[113]); - if (tmp_args_element_name_26 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_14); - - exception_lineno = 307; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 307; - tmp_assign_source_36 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_14, tmp_args_element_name_26); - Py_DECREF(tmp_called_name_14); - Py_DECREF(tmp_args_element_name_26); - if (tmp_assign_source_36 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 307; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - { - PyObject *old = var_inputs_llama; - assert(old != NULL); - var_inputs_llama = tmp_assign_source_36; - Py_DECREF(old); - } - - } - { - PyObject *tmp_assign_source_37; - PyObject *tmp_called_name_16; - PyObject *tmp_expression_name_26; - PyObject *tmp_called_name_17; - PyObject *tmp_expression_name_27; - PyObject *tmp_args_name_5; - PyObject *tmp_tuple_element_5; - PyObject *tmp_expression_name_28; - PyObject *tmp_called_instance_15; - PyObject *tmp_subscript_name_5; - PyObject *tmp_kwargs_name_5; - PyObject *tmp_dict_key_4; - PyObject *tmp_dict_value_4; - PyObject *tmp_expression_name_29; - PyObject *tmp_args_element_name_27; - PyObject *tmp_expression_name_30; - tmp_expression_name_27 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_27 == NULL)) { - tmp_expression_name_27 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_27 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 308; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_called_name_17 = LOOKUP_ATTRIBUTE(tmp_expression_name_27, mod_consts[197]); - if (tmp_called_name_17 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 308; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - CHECK_OBJECT(var_inputs_llama); - tmp_called_instance_15 = var_inputs_llama; - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 308; - tmp_expression_name_28 = CALL_METHOD_NO_ARGS(tmp_called_instance_15, mod_consts[33]); - if (tmp_expression_name_28 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_17); - - exception_lineno = 308; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_subscript_name_5 = mod_consts[198]; - tmp_tuple_element_5 = LOOKUP_SUBSCRIPT(tmp_expression_name_28, tmp_subscript_name_5); - Py_DECREF(tmp_expression_name_28); - if (tmp_tuple_element_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_17); - - exception_lineno = 308; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_args_name_5 = PyTuple_New(1); - PyTuple_SET_ITEM(tmp_args_name_5, 0, tmp_tuple_element_5); - tmp_dict_key_4 = mod_consts[0]; - tmp_expression_name_29 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_29 == NULL)) { - tmp_expression_name_29 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_29 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_17); - Py_DECREF(tmp_args_name_5); - - exception_lineno = 308; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_dict_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_29, mod_consts[199]); - if (tmp_dict_value_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_17); - Py_DECREF(tmp_args_name_5); - - exception_lineno = 308; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_kwargs_name_5 = _PyDict_NewPresized( 1 ); - tmp_res = PyDict_SetItem(tmp_kwargs_name_5, tmp_dict_key_4, tmp_dict_value_4); - Py_DECREF(tmp_dict_value_4); - assert(!(tmp_res != 0)); - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 308; - tmp_expression_name_26 = CALL_FUNCTION(tmp_called_name_17, tmp_args_name_5, tmp_kwargs_name_5); - Py_DECREF(tmp_called_name_17); - Py_DECREF(tmp_args_name_5); - Py_DECREF(tmp_kwargs_name_5); - if (tmp_expression_name_26 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 308; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_called_name_16 = LOOKUP_ATTRIBUTE(tmp_expression_name_26, mod_consts[170]); - Py_DECREF(tmp_expression_name_26); - if (tmp_called_name_16 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 308; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - if (par_image == NULL) { - Py_DECREF(tmp_called_name_16); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[177]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 308; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - - tmp_expression_name_30 = par_image; - tmp_args_element_name_27 = LOOKUP_ATTRIBUTE(tmp_expression_name_30, mod_consts[178]); - if (tmp_args_element_name_27 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_16); - - exception_lineno = 308; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 308; - tmp_assign_source_37 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_16, tmp_args_element_name_27); - Py_DECREF(tmp_called_name_16); - Py_DECREF(tmp_args_element_name_27); - if (tmp_assign_source_37 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 308; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - assert(var_atts_llama == NULL); - var_atts_llama = tmp_assign_source_37; - } - goto branch_end_3; - branch_no_3:; - { - PyObject *tmp_assign_source_38; - PyObject *tmp_called_instance_16; - PyObject *tmp_called_name_18; - PyObject *tmp_expression_name_31; - PyObject *tmp_called_name_19; - PyObject *tmp_args_name_6; - PyObject *tmp_tuple_element_6; - PyObject *tmp_kwargs_name_6; - PyObject *tmp_dict_key_5; - PyObject *tmp_dict_value_5; - PyObject *tmp_args_element_name_28; - PyObject *tmp_expression_name_32; - tmp_called_name_19 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[192]); - - if (unlikely(tmp_called_name_19 == NULL)) { - tmp_called_name_19 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[192]); - } - - if (tmp_called_name_19 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 310; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - CHECK_OBJECT(var_inputs_llama); - tmp_tuple_element_6 = var_inputs_llama; - tmp_args_name_6 = PyTuple_New(2); - PyTuple_SET_ITEM0(tmp_args_name_6, 0, tmp_tuple_element_6); - tmp_tuple_element_6 = mod_consts[193]; - PyTuple_SET_ITEM0(tmp_args_name_6, 1, tmp_tuple_element_6); - tmp_dict_key_5 = mod_consts[194]; - if (var_B == NULL) { - Py_DECREF(tmp_args_name_6); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[195]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 310; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - - tmp_dict_value_5 = var_B; - tmp_kwargs_name_6 = _PyDict_NewPresized( 2 ); - tmp_res = PyDict_SetItem(tmp_kwargs_name_6, tmp_dict_key_5, tmp_dict_value_5); - assert(!(tmp_res != 0)); - tmp_dict_key_5 = mod_consts[196]; - if (var_S == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[205]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 310; - type_description_1 = "ooooooooooooo"; - goto dict_build_exception_2; - } - - tmp_dict_value_5 = var_S; - tmp_res = PyDict_SetItem(tmp_kwargs_name_6, tmp_dict_key_5, tmp_dict_value_5); - assert(!(tmp_res != 0)); - goto dict_build_noexception_2; - // Exception handling pass through code for dict_build: - dict_build_exception_2:; - Py_DECREF(tmp_args_name_6); - Py_DECREF(tmp_kwargs_name_6); - goto try_except_handler_6; - // Finished with no exception for dict_build: - dict_build_noexception_2:; - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 310; - tmp_expression_name_31 = CALL_FUNCTION(tmp_called_name_19, tmp_args_name_6, tmp_kwargs_name_6); - Py_DECREF(tmp_args_name_6); - Py_DECREF(tmp_kwargs_name_6); - if (tmp_expression_name_31 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 310; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_called_name_18 = LOOKUP_ATTRIBUTE(tmp_expression_name_31, mod_consts[170]); - Py_DECREF(tmp_expression_name_31); - if (tmp_called_name_18 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 310; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_expression_name_32 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_32 == NULL)) { - tmp_expression_name_32 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_32 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_18); - - exception_lineno = 310; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_args_element_name_28 = LOOKUP_ATTRIBUTE(tmp_expression_name_32, mod_consts[113]); - if (tmp_args_element_name_28 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_18); - - exception_lineno = 310; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 310; - tmp_called_instance_16 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_18, tmp_args_element_name_28); - Py_DECREF(tmp_called_name_18); - Py_DECREF(tmp_args_element_name_28); - if (tmp_called_instance_16 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 310; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 310; - tmp_assign_source_38 = CALL_METHOD_NO_ARGS(tmp_called_instance_16, mod_consts[186]); - Py_DECREF(tmp_called_instance_16); - if (tmp_assign_source_38 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 310; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - { - PyObject *old = var_inputs_llama; - assert(old != NULL); - var_inputs_llama = tmp_assign_source_38; - Py_DECREF(old); - } - - } - { - PyObject *tmp_assign_source_39; - PyObject *tmp_called_instance_17; - PyObject *tmp_called_name_20; - PyObject *tmp_expression_name_33; - PyObject *tmp_called_name_21; - PyObject *tmp_expression_name_34; - PyObject *tmp_args_name_7; - PyObject *tmp_tuple_element_7; - PyObject *tmp_expression_name_35; - PyObject *tmp_called_instance_18; - PyObject *tmp_subscript_name_6; - PyObject *tmp_kwargs_name_7; - PyObject *tmp_dict_key_6; - PyObject *tmp_dict_value_6; - PyObject *tmp_expression_name_36; - PyObject *tmp_args_element_name_29; - PyObject *tmp_expression_name_37; - tmp_expression_name_34 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_34 == NULL)) { - tmp_expression_name_34 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_34 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 311; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_called_name_21 = LOOKUP_ATTRIBUTE(tmp_expression_name_34, mod_consts[197]); - if (tmp_called_name_21 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 311; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - CHECK_OBJECT(var_inputs_llama); - tmp_called_instance_18 = var_inputs_llama; - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 311; - tmp_expression_name_35 = CALL_METHOD_NO_ARGS(tmp_called_instance_18, mod_consts[33]); - if (tmp_expression_name_35 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_21); - - exception_lineno = 311; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_subscript_name_6 = mod_consts[198]; - tmp_tuple_element_7 = LOOKUP_SUBSCRIPT(tmp_expression_name_35, tmp_subscript_name_6); - Py_DECREF(tmp_expression_name_35); - if (tmp_tuple_element_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_21); - - exception_lineno = 311; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_args_name_7 = PyTuple_New(1); - PyTuple_SET_ITEM(tmp_args_name_7, 0, tmp_tuple_element_7); - tmp_dict_key_6 = mod_consts[0]; - tmp_expression_name_36 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_36 == NULL)) { - tmp_expression_name_36 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_36 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_21); - Py_DECREF(tmp_args_name_7); - - exception_lineno = 311; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_dict_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_36, mod_consts[199]); - if (tmp_dict_value_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_21); - Py_DECREF(tmp_args_name_7); - - exception_lineno = 311; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_kwargs_name_7 = _PyDict_NewPresized( 1 ); - tmp_res = PyDict_SetItem(tmp_kwargs_name_7, tmp_dict_key_6, tmp_dict_value_6); - Py_DECREF(tmp_dict_value_6); - assert(!(tmp_res != 0)); - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 311; - tmp_expression_name_33 = CALL_FUNCTION(tmp_called_name_21, tmp_args_name_7, tmp_kwargs_name_7); - Py_DECREF(tmp_called_name_21); - Py_DECREF(tmp_args_name_7); - Py_DECREF(tmp_kwargs_name_7); - if (tmp_expression_name_33 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 311; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - tmp_called_name_20 = LOOKUP_ATTRIBUTE(tmp_expression_name_33, mod_consts[170]); - Py_DECREF(tmp_expression_name_33); - if (tmp_called_name_20 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 311; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - if (par_image == NULL) { - Py_DECREF(tmp_called_name_20); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[177]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 311; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - - tmp_expression_name_37 = par_image; - tmp_args_element_name_29 = LOOKUP_ATTRIBUTE(tmp_expression_name_37, mod_consts[178]); - if (tmp_args_element_name_29 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_20); - - exception_lineno = 311; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 311; - tmp_called_instance_17 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_20, tmp_args_element_name_29); - Py_DECREF(tmp_called_name_20); - Py_DECREF(tmp_args_element_name_29); - if (tmp_called_instance_17 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 311; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 311; - tmp_assign_source_39 = CALL_METHOD_NO_ARGS(tmp_called_instance_17, mod_consts[186]); - Py_DECREF(tmp_called_instance_17); - if (tmp_assign_source_39 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 311; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_6; - } - assert(var_atts_llama == NULL); - var_atts_llama = tmp_assign_source_39; - } - branch_end_3:; - branch_end_2:; - goto try_end_3; - // Exception handler code: - try_except_handler_6:; - 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; - - // Preserve existing published exception id 1. - GET_CURRENT_EXCEPTION(&exception_preserved_type_1, &exception_preserved_value_1, &exception_preserved_tb_1); - - if (exception_keeper_tb_5 == NULL) { - exception_keeper_tb_5 = MAKE_TRACEBACK(frame_cf7c573f3eabc09b380bf631954f6108, exception_keeper_lineno_5); - } else if (exception_keeper_lineno_5 != 0) { - exception_keeper_tb_5 = ADD_TRACEBACK(exception_keeper_tb_5, frame_cf7c573f3eabc09b380bf631954f6108, exception_keeper_lineno_5); - } - - NORMALIZE_EXCEPTION(&exception_keeper_type_5, &exception_keeper_value_5, &exception_keeper_tb_5); - ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(exception_keeper_value_5, exception_keeper_tb_5); - PUBLISH_EXCEPTION(&exception_keeper_type_5, &exception_keeper_value_5, &exception_keeper_tb_5); - // Tried code: - { - bool tmp_condition_result_4; - PyObject *tmp_compexpr_left_3; - PyObject *tmp_compexpr_right_3; - tmp_compexpr_left_3 = EXC_TYPE(PyThreadState_GET()); - tmp_compexpr_right_3 = PyExc_BaseException; - tmp_res = EXCEPTION_MATCH_BOOL(tmp_compexpr_left_3, tmp_compexpr_right_3); - assert(!(tmp_res == -1)); - tmp_condition_result_4 = (tmp_res != 0) ? true : false; - if (tmp_condition_result_4 != false) { - goto branch_yes_4; - } else { - goto branch_no_4; - } - } - branch_yes_4:; - { - nuitka_bool tmp_assign_source_40; - tmp_assign_source_40 = NUITKA_BOOL_FALSE; - tmp_with_1__indicator = tmp_assign_source_40; - } - { - nuitka_bool tmp_condition_result_5; - PyObject *tmp_operand_name_1; - PyObject *tmp_called_name_22; - PyObject *tmp_args_element_name_30; - PyObject *tmp_args_element_name_31; - PyObject *tmp_args_element_name_32; - CHECK_OBJECT(tmp_with_1__exit); - tmp_called_name_22 = tmp_with_1__exit; - tmp_args_element_name_30 = EXC_TYPE(PyThreadState_GET()); - tmp_args_element_name_31 = EXC_VALUE(PyThreadState_GET()); - tmp_args_element_name_32 = EXC_TRACEBACK(PyThreadState_GET()); - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 311; - { - PyObject *call_args[] = {tmp_args_element_name_30, tmp_args_element_name_31, tmp_args_element_name_32}; - tmp_operand_name_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_22, call_args); - } - - if (tmp_operand_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 311; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_9; - } - 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 = 311; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_9; - } - tmp_condition_result_5 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; - if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) { - goto branch_yes_5; - } else { - goto branch_no_5; - } - } - branch_yes_5:; - tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - if (unlikely(tmp_result == false)) { - exception_lineno = 311; - } - - if (exception_tb && exception_tb->tb_frame == &frame_cf7c573f3eabc09b380bf631954f6108->m_frame) frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = exception_tb->tb_lineno; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_9; - branch_no_5:; - goto branch_end_4; - branch_no_4:; - tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - if (unlikely(tmp_result == false)) { - exception_lineno = 290; - } - - if (exception_tb && exception_tb->tb_frame == &frame_cf7c573f3eabc09b380bf631954f6108->m_frame) frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = exception_tb->tb_lineno; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_9; - branch_end_4:; - goto try_end_4; - // Exception handler code: - try_except_handler_9:; - 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; - - // Restore previous exception id 1. - SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); - - // 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_5; - // End of try: - try_end_4:; - // Restore previous exception id 1. - SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); - - goto try_end_3; - NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases"); - return NULL; - // End of try: - try_end_3:; - goto try_end_5; - // Exception handler code: - try_except_handler_5:; - 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; - - { - bool tmp_condition_result_6; - nuitka_bool tmp_compexpr_left_4; - nuitka_bool tmp_compexpr_right_4; - assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); - tmp_compexpr_left_4 = tmp_with_1__indicator; - tmp_compexpr_right_4 = NUITKA_BOOL_TRUE; - tmp_condition_result_6 = (tmp_compexpr_left_4 == tmp_compexpr_right_4) ? true : false; - if (tmp_condition_result_6 != false) { - goto branch_yes_6; - } else { - goto branch_no_6; - } - } - branch_yes_6:; - { - PyObject *tmp_called_name_23; - PyObject *tmp_call_result_2; - CHECK_OBJECT(tmp_with_1__exit); - tmp_called_name_23 = tmp_with_1__exit; - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 311; - tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_23, &PyTuple_GET_ITEM(mod_consts[208], 0)); - - if (tmp_call_result_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - Py_DECREF(exception_keeper_type_7); - Py_XDECREF(exception_keeper_value_7); - Py_XDECREF(exception_keeper_tb_7); - - exception_lineno = 311; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_4; - } - Py_DECREF(tmp_call_result_2); - } - branch_no_6:; - // 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 try_except_handler_4; - // End of try: - try_end_5:; - { - bool tmp_condition_result_7; - nuitka_bool tmp_compexpr_left_5; - nuitka_bool tmp_compexpr_right_5; - assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); - tmp_compexpr_left_5 = tmp_with_1__indicator; - tmp_compexpr_right_5 = NUITKA_BOOL_TRUE; - tmp_condition_result_7 = (tmp_compexpr_left_5 == tmp_compexpr_right_5) ? true : false; - if (tmp_condition_result_7 != false) { - goto branch_yes_7; - } else { - goto branch_no_7; - } - } - branch_yes_7:; - { - PyObject *tmp_called_name_24; - PyObject *tmp_call_result_3; - CHECK_OBJECT(tmp_with_1__exit); - tmp_called_name_24 = tmp_with_1__exit; - frame_cf7c573f3eabc09b380bf631954f6108->m_frame.f_lineno = 311; - tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_24, &PyTuple_GET_ITEM(mod_consts[208], 0)); - - if (tmp_call_result_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 311; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_4; - } - Py_DECREF(tmp_call_result_3); - } - branch_no_7:; - goto try_end_6; - // Exception handler code: - try_except_handler_4:; - 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_with_1__source); - tmp_with_1__source = NULL; - Py_XDECREF(tmp_with_1__enter); - tmp_with_1__enter = NULL; - Py_XDECREF(tmp_with_1__exit); - tmp_with_1__exit = 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_6:; - CHECK_OBJECT(tmp_with_1__source); - Py_DECREF(tmp_with_1__source); - tmp_with_1__source = NULL; - CHECK_OBJECT(tmp_with_1__enter); - Py_DECREF(tmp_with_1__enter); - tmp_with_1__enter = NULL; - Py_XDECREF(tmp_with_1__exit); - tmp_with_1__exit = NULL; - { - PyObject *tmp_tuple_element_8; - if (var_inputs_llama == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[209]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 313; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_tuple_element_8 = var_inputs_llama; - tmp_return_value = PyTuple_New(3); - PyTuple_SET_ITEM0(tmp_return_value, 0, tmp_tuple_element_8); - if (var_atts_llama == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 313; - type_description_1 = "ooooooooooooo"; - goto tuple_build_exception_1; - } - - tmp_tuple_element_8 = var_atts_llama; - PyTuple_SET_ITEM0(tmp_return_value, 1, tmp_tuple_element_8); - if (var_image_embeds_list == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[211]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 313; - type_description_1 = "ooooooooooooo"; - goto tuple_build_exception_1; - } - - tmp_tuple_element_8 = var_image_embeds_list; - PyTuple_SET_ITEM0(tmp_return_value, 2, tmp_tuple_element_8); - goto tuple_build_noexception_1; - // Exception handling pass through code for tuple_build: - tuple_build_exception_1:; - Py_DECREF(tmp_return_value); - goto frame_exception_exit_1; - // Finished with no exception for tuple_build: - tuple_build_noexception_1:; - goto frame_return_exit_1; - } - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_cf7c573f3eabc09b380bf631954f6108); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_2; - - frame_return_exit_1:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_cf7c573f3eabc09b380bf631954f6108); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_1; - - frame_exception_exit_1:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_cf7c573f3eabc09b380bf631954f6108); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_cf7c573f3eabc09b380bf631954f6108, exception_lineno); - } else if (exception_tb->tb_frame != &frame_cf7c573f3eabc09b380bf631954f6108->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_cf7c573f3eabc09b380bf631954f6108, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_cf7c573f3eabc09b380bf631954f6108, - type_description_1, - par_self, - par_image, - par_modals, - par_task_types, - var_B, - var_S, - var__, - var_device, - var_image_embeds_list, - var_image_embeds, - var_inputs_llama, - var_atts_llama, - var_image_embeds_unp - ); - - - // Release cached frame if used for exception. - if (frame_cf7c573f3eabc09b380bf631954f6108 == cache_frame_cf7c573f3eabc09b380bf631954f6108) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_cf7c573f3eabc09b380bf631954f6108); - cache_frame_cf7c573f3eabc09b380bf631954f6108 = NULL; - } - - assertFrameObject(frame_cf7c573f3eabc09b380bf631954f6108); - - // Put the previous frame back on top. - popFrameStack(); - - // Return the error. - goto try_except_handler_1; - - frame_no_exception_2:; - 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_image); - par_image = NULL; - CHECK_OBJECT(par_modals); - Py_DECREF(par_modals); - par_modals = NULL; - CHECK_OBJECT(par_task_types); - Py_DECREF(par_task_types); - par_task_types = NULL; - Py_XDECREF(var_B); - var_B = NULL; - Py_XDECREF(var_S); - var_S = NULL; - CHECK_OBJECT(var__); - Py_DECREF(var__); - var__ = NULL; - Py_XDECREF(var_device); - var_device = NULL; - Py_XDECREF(var_image_embeds_list); - var_image_embeds_list = NULL; - Py_XDECREF(var_image_embeds); - var_image_embeds = NULL; - Py_XDECREF(var_inputs_llama); - var_inputs_llama = NULL; - Py_XDECREF(var_atts_llama); - var_atts_llama = NULL; - Py_XDECREF(var_image_embeds_unp); - var_image_embeds_unp = NULL; - goto function_return_exit; - // Exception handler code: - try_except_handler_1:; - 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_XDECREF(par_self); - par_self = NULL; - Py_XDECREF(par_image); - par_image = NULL; - CHECK_OBJECT(par_modals); - Py_DECREF(par_modals); - par_modals = NULL; - CHECK_OBJECT(par_task_types); - Py_DECREF(par_task_types); - par_task_types = NULL; - Py_XDECREF(var_B); - var_B = NULL; - Py_XDECREF(var_S); - var_S = NULL; - Py_XDECREF(var__); - var__ = NULL; - Py_XDECREF(var_device); - var_device = NULL; - Py_XDECREF(var_image_embeds_list); - var_image_embeds_list = NULL; - Py_XDECREF(var_image_embeds); - var_image_embeds = NULL; - Py_XDECREF(var_inputs_llama); - var_inputs_llama = NULL; - Py_XDECREF(var_atts_llama); - var_atts_llama = NULL; - Py_XDECREF(var_image_embeds_unp); - var_image_embeds_unp = 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 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$medomni_bp$$$function__15_prompt_concat(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_embeds = python_pars[1]; - PyObject *par_atts_img = python_pars[2]; - PyObject *par_prompt = python_pars[3]; - PyObject *var_batch_size = NULL; - PyObject *var_p_after_embeds = NULL; - PyObject *var_wrapped_img_embeds = NULL; - PyObject *var_wrapped_atts_img = NULL; - struct Nuitka_FrameObject *frame_40a21ff435291cacab2ca20091a7e59f; - 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_40a21ff435291cacab2ca20091a7e59f = 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_40a21ff435291cacab2ca20091a7e59f)) { - Py_XDECREF(cache_frame_40a21ff435291cacab2ca20091a7e59f); - -#if _DEBUG_REFCOUNTS - if (cache_frame_40a21ff435291cacab2ca20091a7e59f == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_40a21ff435291cacab2ca20091a7e59f = MAKE_FUNCTION_FRAME(codeobj_40a21ff435291cacab2ca20091a7e59f, module_models$medomni_bp, 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_40a21ff435291cacab2ca20091a7e59f->m_type_description == NULL); - frame_40a21ff435291cacab2ca20091a7e59f = cache_frame_40a21ff435291cacab2ca20091a7e59f; - - // Push the new frame as the currently active one. - pushFrameStack(frame_40a21ff435291cacab2ca20091a7e59f); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_40a21ff435291cacab2ca20091a7e59f) == 2); // Frame stack - - // Framed code: - { - nuitka_bool tmp_condition_result_1; - int tmp_truth_name_1; - CHECK_OBJECT(par_prompt); - tmp_truth_name_1 = CHECK_IF_TRUE(par_prompt); - if (tmp_truth_name_1 == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 316; - type_description_1 = "oooooooo"; - 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_assign_source_1; - PyObject *tmp_expression_name_1; - PyObject *tmp_expression_name_2; - PyObject *tmp_subscript_name_1; - CHECK_OBJECT(par_img_embeds); - tmp_expression_name_2 = par_img_embeds; - tmp_expression_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[175]); - if (tmp_expression_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 317; - type_description_1 = "oooooooo"; - goto frame_exception_exit_1; - } - tmp_subscript_name_1 = mod_consts[11]; - tmp_assign_source_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_1, tmp_subscript_name_1, 0); - Py_DECREF(tmp_expression_name_1); - if (tmp_assign_source_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 317; - type_description_1 = "oooooooo"; - goto frame_exception_exit_1; - } - assert(var_batch_size == NULL); - var_batch_size = tmp_assign_source_1; - } - { - PyObject *tmp_assign_source_2; - PyObject *tmp_called_instance_1; - PyObject *tmp_called_name_1; - PyObject *tmp_expression_name_3; - PyObject *tmp_args_element_name_1; - PyObject *tmp_expression_name_4; - PyObject *tmp_args_element_name_2; - PyObject *tmp_args_element_name_3; - PyObject *tmp_args_element_name_4; - CHECK_OBJECT(par_self); - tmp_expression_name_3 = par_self; - tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[119]); - if (tmp_called_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 318; - type_description_1 = "oooooooo"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(par_prompt); - tmp_expression_name_4 = par_prompt; - tmp_args_element_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[104]); - 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 = 318; - type_description_1 = "oooooooo"; - goto frame_exception_exit_1; - } - frame_40a21ff435291cacab2ca20091a7e59f->m_frame.f_lineno = 318; - tmp_called_instance_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_called_instance_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 318; - 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[185]; - tmp_args_element_name_4 = mod_consts[185]; - frame_40a21ff435291cacab2ca20091a7e59f->m_frame.f_lineno = 318; - { - PyObject *call_args[] = {tmp_args_element_name_2, tmp_args_element_name_3, tmp_args_element_name_4}; - tmp_assign_source_2 = CALL_METHOD_WITH_ARGS3( - tmp_called_instance_1, - mod_consts[212], - call_args - ); - } - - Py_DECREF(tmp_called_instance_1); - if (tmp_assign_source_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 318; - type_description_1 = "oooooooo"; - goto frame_exception_exit_1; - } - assert(var_p_after_embeds == NULL); - var_p_after_embeds = tmp_assign_source_2; - } - { - PyObject *tmp_assign_source_3; - PyObject *tmp_called_name_2; - PyObject *tmp_expression_name_5; - PyObject *tmp_args_name_1; - PyObject *tmp_tuple_element_1; - PyObject *tmp_list_element_1; - PyObject *tmp_kwargs_name_1; - tmp_expression_name_5 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_5 == NULL)) { - tmp_expression_name_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 319; - type_description_1 = "oooooooo"; - goto frame_exception_exit_1; - } - tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[213]); - if (tmp_called_name_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 319; - type_description_1 = "oooooooo"; - goto frame_exception_exit_1; - } - if (par_img_embeds == NULL) { - Py_DECREF(tmp_called_name_2); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[214]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 319; - type_description_1 = "oooooooo"; - goto frame_exception_exit_1; - } - - tmp_list_element_1 = par_img_embeds; - tmp_tuple_element_1 = PyList_New(2); - PyList_SET_ITEM0(tmp_tuple_element_1, 0, tmp_list_element_1); - CHECK_OBJECT(var_p_after_embeds); - tmp_list_element_1 = var_p_after_embeds; - PyList_SET_ITEM0(tmp_tuple_element_1, 1, tmp_list_element_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[215]); - frame_40a21ff435291cacab2ca20091a7e59f->m_frame.f_lineno = 319; - tmp_assign_source_3 = 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_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 319; - type_description_1 = "oooooooo"; - goto frame_exception_exit_1; - } - assert(var_wrapped_img_embeds == NULL); - var_wrapped_img_embeds = tmp_assign_source_3; - } - { - PyObject *tmp_assign_source_4; - PyObject *tmp_called_name_3; - PyObject *tmp_expression_name_6; - PyObject *tmp_expression_name_7; - PyObject *tmp_subscript_name_2; - PyObject *tmp_args_element_name_5; - PyObject *tmp_args_element_name_6; - PyObject *tmp_expression_name_8; - PyObject *tmp_expression_name_9; - PyObject *tmp_subscript_name_3; - CHECK_OBJECT(par_atts_img); - tmp_expression_name_7 = par_atts_img; - tmp_subscript_name_2 = mod_consts[216]; - tmp_expression_name_6 = LOOKUP_SUBSCRIPT(tmp_expression_name_7, tmp_subscript_name_2); - if (tmp_expression_name_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 320; - type_description_1 = "oooooooo"; - goto frame_exception_exit_1; - } - tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[212]); - Py_DECREF(tmp_expression_name_6); - if (tmp_called_name_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 320; - type_description_1 = "oooooooo"; - goto frame_exception_exit_1; - } - tmp_args_element_name_5 = mod_consts[185]; - CHECK_OBJECT(var_wrapped_img_embeds); - tmp_expression_name_9 = var_wrapped_img_embeds; - tmp_expression_name_8 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[175]); - if (tmp_expression_name_8 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_3); - - exception_lineno = 320; - type_description_1 = "oooooooo"; - goto frame_exception_exit_1; - } - tmp_subscript_name_3 = mod_consts[60]; - tmp_args_element_name_6 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_8, tmp_subscript_name_3, 1); - Py_DECREF(tmp_expression_name_8); - if (tmp_args_element_name_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_3); - - exception_lineno = 320; - type_description_1 = "oooooooo"; - goto frame_exception_exit_1; - } - frame_40a21ff435291cacab2ca20091a7e59f->m_frame.f_lineno = 320; - { - PyObject *call_args[] = {tmp_args_element_name_5, tmp_args_element_name_6}; - tmp_assign_source_4 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_3, call_args); - } - - Py_DECREF(tmp_called_name_3); - Py_DECREF(tmp_args_element_name_6); - if (tmp_assign_source_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 320; - type_description_1 = "oooooooo"; - goto frame_exception_exit_1; - } - assert(var_wrapped_atts_img == NULL); - var_wrapped_atts_img = tmp_assign_source_4; - } - { - PyObject *tmp_tuple_element_2; - if (var_wrapped_img_embeds == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[217]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 321; - type_description_1 = "oooooooo"; - goto frame_exception_exit_1; - } - - tmp_tuple_element_2 = var_wrapped_img_embeds; - tmp_return_value = PyTuple_New(2); - PyTuple_SET_ITEM0(tmp_return_value, 0, tmp_tuple_element_2); - CHECK_OBJECT(var_wrapped_atts_img); - tmp_tuple_element_2 = var_wrapped_atts_img; - PyTuple_SET_ITEM0(tmp_return_value, 1, tmp_tuple_element_2); - goto frame_return_exit_1; - } - goto branch_end_1; - branch_no_1:; - { - PyObject *tmp_tuple_element_3; - CHECK_OBJECT(par_img_embeds); - tmp_tuple_element_3 = par_img_embeds; - tmp_return_value = PyTuple_New(2); - PyTuple_SET_ITEM0(tmp_return_value, 0, tmp_tuple_element_3); - CHECK_OBJECT(par_atts_img); - tmp_tuple_element_3 = par_atts_img; - PyTuple_SET_ITEM0(tmp_return_value, 1, tmp_tuple_element_3); - goto frame_return_exit_1; - } - branch_end_1:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_40a21ff435291cacab2ca20091a7e59f); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_1; - - frame_return_exit_1:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_40a21ff435291cacab2ca20091a7e59f); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_1; - - frame_exception_exit_1:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_40a21ff435291cacab2ca20091a7e59f); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_40a21ff435291cacab2ca20091a7e59f, exception_lineno); - } else if (exception_tb->tb_frame != &frame_40a21ff435291cacab2ca20091a7e59f->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_40a21ff435291cacab2ca20091a7e59f, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_40a21ff435291cacab2ca20091a7e59f, - type_description_1, - par_self, - par_img_embeds, - par_atts_img, - par_prompt, - var_batch_size, - var_p_after_embeds, - var_wrapped_img_embeds, - var_wrapped_atts_img - ); - - - // Release cached frame if used for exception. - if (frame_40a21ff435291cacab2ca20091a7e59f == cache_frame_40a21ff435291cacab2ca20091a7e59f) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_40a21ff435291cacab2ca20091a7e59f); - cache_frame_40a21ff435291cacab2ca20091a7e59f = NULL; - } - - assertFrameObject(frame_40a21ff435291cacab2ca20091a7e59f); - - // 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_img_embeds); - par_img_embeds = NULL; - CHECK_OBJECT(par_atts_img); - Py_DECREF(par_atts_img); - par_atts_img = NULL; - Py_XDECREF(par_prompt); - par_prompt = NULL; - Py_XDECREF(var_batch_size); - var_batch_size = NULL; - Py_XDECREF(var_p_after_embeds); - var_p_after_embeds = NULL; - Py_XDECREF(var_wrapped_img_embeds); - var_wrapped_img_embeds = NULL; - Py_XDECREF(var_wrapped_atts_img); - var_wrapped_atts_img = 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_img_embeds); - par_img_embeds = NULL; - CHECK_OBJECT(par_atts_img); - Py_DECREF(par_atts_img); - par_atts_img = NULL; - Py_XDECREF(par_prompt); - par_prompt = NULL; - Py_XDECREF(var_batch_size); - var_batch_size = NULL; - Py_XDECREF(var_p_after_embeds); - var_p_after_embeds = NULL; - Py_XDECREF(var_wrapped_img_embeds); - var_wrapped_img_embeds = NULL; - Py_XDECREF(var_wrapped_atts_img); - var_wrapped_atts_img = 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$medomni_bp$$$function__16_prompt_wrap(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_embeds = python_pars[1]; - PyObject *par_atts_img = python_pars[2]; - PyObject *par_prompt_list = python_pars[3]; - PyObject *par_num_imgs = python_pars[4]; - PyObject *par_seg = python_pars[5]; - PyObject *var_bsz = NULL; - PyObject *var_img_idx = NULL; - PyObject *var_i = NULL; - PyObject *var_j = NULL; - PyObject *var_prompt_tokens = NULL; - PyObject *var_idx = NULL; - PyObject *var_p_embeds = NULL; - PyObject *tmp_for_loop_1__for_iterator = NULL; - PyObject *tmp_for_loop_1__iter_value = NULL; - PyObject *tmp_for_loop_2__for_iterator = NULL; - PyObject *tmp_for_loop_2__iter_value = NULL; - struct Nuitka_FrameObject *frame_213cbc07f24f34b89cdb18c9cf2e6690; - 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; - NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; - 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; - bool tmp_result; - PyObject *tmp_return_value = NULL; - static struct Nuitka_FrameObject *cache_frame_213cbc07f24f34b89cdb18c9cf2e6690 = 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_213cbc07f24f34b89cdb18c9cf2e6690)) { - Py_XDECREF(cache_frame_213cbc07f24f34b89cdb18c9cf2e6690); - -#if _DEBUG_REFCOUNTS - if (cache_frame_213cbc07f24f34b89cdb18c9cf2e6690 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_213cbc07f24f34b89cdb18c9cf2e6690 = MAKE_FUNCTION_FRAME(codeobj_213cbc07f24f34b89cdb18c9cf2e6690, module_models$medomni_bp, 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_213cbc07f24f34b89cdb18c9cf2e6690->m_type_description == NULL); - frame_213cbc07f24f34b89cdb18c9cf2e6690 = cache_frame_213cbc07f24f34b89cdb18c9cf2e6690; - - // Push the new frame as the currently active one. - pushFrameStack(frame_213cbc07f24f34b89cdb18c9cf2e6690); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_213cbc07f24f34b89cdb18c9cf2e6690) == 2); // Frame stack - - // Framed code: - { - PyObject *tmp_assign_source_1; - PyObject *tmp_expression_name_1; - PyObject *tmp_expression_name_2; - PyObject *tmp_subscript_name_1; - CHECK_OBJECT(par_img_embeds); - tmp_expression_name_2 = par_img_embeds; - tmp_expression_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[175]); - if (tmp_expression_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 326; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_subscript_name_1 = mod_consts[11]; - tmp_assign_source_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_1, tmp_subscript_name_1, 0); - Py_DECREF(tmp_expression_name_1); - if (tmp_assign_source_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 326; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_bsz == NULL); - var_bsz = tmp_assign_source_1; - } - { - nuitka_bool tmp_condition_result_1; - int tmp_truth_name_1; - CHECK_OBJECT(par_prompt_list); - tmp_truth_name_1 = CHECK_IF_TRUE(par_prompt_list); - if (tmp_truth_name_1 == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 327; - type_description_1 = "ooooooooooooo"; - 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_assign_source_2; - tmp_assign_source_2 = DEEP_COPY(mod_consts[218]); - assert(var_img_idx == NULL); - var_img_idx = tmp_assign_source_2; - } - { - PyObject *tmp_assign_source_3; - PyObject *tmp_iter_arg_1; - PyObject *tmp_xrange_low_1; - PyObject *tmp_len_arg_1; - CHECK_OBJECT(par_num_imgs); - tmp_len_arg_1 = par_num_imgs; - tmp_xrange_low_1 = BUILTIN_LEN(tmp_len_arg_1); - if (tmp_xrange_low_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 329; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_iter_arg_1 = BUILTIN_XRANGE1(tmp_xrange_low_1); - Py_DECREF(tmp_xrange_low_1); - if (tmp_iter_arg_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 329; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_assign_source_3 = MAKE_ITERATOR(tmp_iter_arg_1); - Py_DECREF(tmp_iter_arg_1); - if (tmp_assign_source_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 329; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - assert(tmp_for_loop_1__for_iterator == NULL); - tmp_for_loop_1__for_iterator = tmp_assign_source_3; - } - // Tried code: - loop_start_1:; - { - PyObject *tmp_next_source_1; - PyObject *tmp_assign_source_4; - CHECK_OBJECT(tmp_for_loop_1__for_iterator); - tmp_next_source_1 = tmp_for_loop_1__for_iterator; - tmp_assign_source_4 = ITERATOR_NEXT(tmp_next_source_1); - if (tmp_assign_source_4 == 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 = "ooooooooooooo"; - exception_lineno = 329; - goto try_except_handler_2; - } - } - - { - PyObject *old = tmp_for_loop_1__iter_value; - tmp_for_loop_1__iter_value = tmp_assign_source_4; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_5; - CHECK_OBJECT(tmp_for_loop_1__iter_value); - tmp_assign_source_5 = tmp_for_loop_1__iter_value; - { - PyObject *old = var_i; - var_i = tmp_assign_source_5; - Py_INCREF(var_i); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_6; - PyObject *tmp_iter_arg_2; - PyObject *tmp_xrange_low_2; - PyObject *tmp_expression_name_3; - PyObject *tmp_subscript_name_2; - if (par_num_imgs == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[219]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 330; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_2; - } - - tmp_expression_name_3 = par_num_imgs; - CHECK_OBJECT(var_i); - tmp_subscript_name_2 = var_i; - tmp_xrange_low_2 = LOOKUP_SUBSCRIPT(tmp_expression_name_3, tmp_subscript_name_2); - if (tmp_xrange_low_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 330; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_2; - } - tmp_iter_arg_2 = BUILTIN_XRANGE1(tmp_xrange_low_2); - Py_DECREF(tmp_xrange_low_2); - if (tmp_iter_arg_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 330; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_2; - } - tmp_assign_source_6 = MAKE_ITERATOR(tmp_iter_arg_2); - Py_DECREF(tmp_iter_arg_2); - if (tmp_assign_source_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 330; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_2; - } - { - PyObject *old = tmp_for_loop_2__for_iterator; - tmp_for_loop_2__for_iterator = tmp_assign_source_6; - Py_XDECREF(old); - } - - } - // Tried code: - loop_start_2:; - { - PyObject *tmp_next_source_2; - PyObject *tmp_assign_source_7; - CHECK_OBJECT(tmp_for_loop_2__for_iterator); - tmp_next_source_2 = tmp_for_loop_2__for_iterator; - tmp_assign_source_7 = ITERATOR_NEXT(tmp_next_source_2); - if (tmp_assign_source_7 == NULL) { - if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { - - goto loop_end_2; - } else { - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - type_description_1 = "ooooooooooooo"; - exception_lineno = 330; - goto try_except_handler_3; - } - } - - { - PyObject *old = tmp_for_loop_2__iter_value; - tmp_for_loop_2__iter_value = tmp_assign_source_7; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_8; - CHECK_OBJECT(tmp_for_loop_2__iter_value); - tmp_assign_source_8 = tmp_for_loop_2__iter_value; - { - PyObject *old = var_j; - var_j = tmp_assign_source_8; - Py_INCREF(var_j); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_called_name_1; - PyObject *tmp_expression_name_4; - PyObject *tmp_expression_name_5; - PyObject *tmp_subscript_name_3; - PyObject *tmp_call_result_1; - PyObject *tmp_args_element_name_1; - if (var_img_idx == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[220]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 331; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_3; - } - - tmp_expression_name_5 = var_img_idx; - tmp_subscript_name_3 = mod_consts[11]; - tmp_expression_name_4 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_5, tmp_subscript_name_3, 0); - if (tmp_expression_name_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 331; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_3; - } - tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[221]); - Py_DECREF(tmp_expression_name_4); - if (tmp_called_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 331; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_3; - } - if (var_i == NULL) { - Py_DECREF(tmp_called_name_1); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[222]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 331; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_3; - } - - tmp_args_element_name_1 = var_i; - frame_213cbc07f24f34b89cdb18c9cf2e6690->m_frame.f_lineno = 331; - tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_1); - Py_DECREF(tmp_called_name_1); - if (tmp_call_result_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 331; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_3; - } - Py_DECREF(tmp_call_result_1); - } - { - PyObject *tmp_called_instance_1; - PyObject *tmp_expression_name_6; - PyObject *tmp_subscript_name_4; - PyObject *tmp_call_result_2; - PyObject *tmp_args_element_name_2; - if (var_img_idx == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[220]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 332; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_3; - } - - tmp_expression_name_6 = var_img_idx; - tmp_subscript_name_4 = mod_consts[60]; - tmp_called_instance_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_6, tmp_subscript_name_4, 1); - if (tmp_called_instance_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 332; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_3; - } - CHECK_OBJECT(var_j); - tmp_args_element_name_2 = var_j; - frame_213cbc07f24f34b89cdb18c9cf2e6690->m_frame.f_lineno = 332; - tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[221], tmp_args_element_name_2); - Py_DECREF(tmp_called_instance_1); - if (tmp_call_result_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 332; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_3; - } - Py_DECREF(tmp_call_result_2); - } - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 330; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_3; - } - goto loop_start_2; - loop_end_2:; - 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_for_loop_2__iter_value); - tmp_for_loop_2__iter_value = NULL; - Py_XDECREF(tmp_for_loop_2__for_iterator); - tmp_for_loop_2__for_iterator = 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_for_loop_2__iter_value); - tmp_for_loop_2__iter_value = NULL; - Py_XDECREF(tmp_for_loop_2__for_iterator); - tmp_for_loop_2__for_iterator = NULL; - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 329; - type_description_1 = "ooooooooooooo"; - goto try_except_handler_2; - } - goto loop_start_1; - loop_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_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_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_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; - { - PyObject *tmp_assign_source_9; - PyObject *tmp_called_name_2; - PyObject *tmp_expression_name_7; - PyObject *tmp_called_name_3; - PyObject *tmp_expression_name_8; - PyObject *tmp_args_name_1; - PyObject *tmp_tuple_element_1; - PyObject *tmp_kwargs_name_1; - PyObject *tmp_args_element_name_3; - PyObject *tmp_expression_name_9; - CHECK_OBJECT(par_self); - tmp_expression_name_8 = par_self; - tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[93]); - if (tmp_called_name_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 333; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(par_prompt_list); - tmp_tuple_element_1 = par_prompt_list; - tmp_args_name_1 = PyTuple_New(1); - PyTuple_SET_ITEM0(tmp_args_name_1, 0, tmp_tuple_element_1); - tmp_kwargs_name_1 = PyDict_Copy(mod_consts[223]); - frame_213cbc07f24f34b89cdb18c9cf2e6690->m_frame.f_lineno = 333; - tmp_expression_name_7 = 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_expression_name_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 333; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[170]); - Py_DECREF(tmp_expression_name_7); - if (tmp_called_name_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 333; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - if (par_img_embeds == NULL) { - Py_DECREF(tmp_called_name_2); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[214]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 333; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_9 = par_img_embeds; - tmp_args_element_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[178]); - if (tmp_args_element_name_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_2); - - exception_lineno = 333; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - frame_213cbc07f24f34b89cdb18c9cf2e6690->m_frame.f_lineno = 333; - tmp_assign_source_9 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_2, tmp_args_element_name_3); - Py_DECREF(tmp_called_name_2); - Py_DECREF(tmp_args_element_name_3); - if (tmp_assign_source_9 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 333; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_prompt_tokens == NULL); - var_prompt_tokens = tmp_assign_source_9; - } - { - PyObject *tmp_assign_source_10; - PyObject *tmp_called_name_4; - PyObject *tmp_expression_name_10; - PyObject *tmp_compexpr_left_1; - PyObject *tmp_compexpr_right_1; - PyObject *tmp_expression_name_11; - PyObject *tmp_kwargs_name_2; - CHECK_OBJECT(var_prompt_tokens); - tmp_expression_name_11 = var_prompt_tokens; - tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_11, mod_consts[104]); - if (tmp_compexpr_left_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 334; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_compexpr_right_1 = mod_consts[224]; - tmp_expression_name_10 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_1, tmp_compexpr_right_1); - Py_DECREF(tmp_compexpr_left_1); - if (tmp_expression_name_10 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 334; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[225]); - Py_DECREF(tmp_expression_name_10); - if (tmp_called_name_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 334; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_kwargs_name_2 = PyDict_Copy(mod_consts[226]); - frame_213cbc07f24f34b89cdb18c9cf2e6690->m_frame.f_lineno = 334; - tmp_assign_source_10 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_4, tmp_kwargs_name_2); - Py_DECREF(tmp_called_name_4); - 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 = 334; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_idx == NULL); - var_idx = tmp_assign_source_10; - } - { - PyObject *tmp_ass_subvalue_1; - PyObject *tmp_ass_subscribed_1; - PyObject *tmp_expression_name_12; - PyObject *tmp_ass_subscript_1; - tmp_ass_subvalue_1 = mod_consts[227]; - if (var_prompt_tokens == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[228]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 335; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_12 = var_prompt_tokens; - tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_12, mod_consts[104]); - if (tmp_ass_subscribed_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 335; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(var_idx); - tmp_ass_subscript_1 = var_idx; - tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1); - Py_DECREF(tmp_ass_subscribed_1); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 335; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assign_source_11; - PyObject *tmp_called_instance_2; - PyObject *tmp_called_name_5; - PyObject *tmp_expression_name_13; - PyObject *tmp_args_element_name_4; - PyObject *tmp_expression_name_14; - PyObject *tmp_args_element_name_5; - PyObject *tmp_args_element_name_6; - PyObject *tmp_args_element_name_7; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 336; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_13 = par_self; - tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_13, mod_consts[119]); - if (tmp_called_name_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 336; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - if (var_prompt_tokens == NULL) { - Py_DECREF(tmp_called_name_5); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[228]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 336; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_14 = var_prompt_tokens; - tmp_args_element_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_14, mod_consts[104]); - if (tmp_args_element_name_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_5); - - exception_lineno = 336; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - frame_213cbc07f24f34b89cdb18c9cf2e6690->m_frame.f_lineno = 336; - tmp_called_instance_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_5, tmp_args_element_name_4); - Py_DECREF(tmp_called_name_5); - Py_DECREF(tmp_args_element_name_4); - if (tmp_called_instance_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 336; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(var_bsz); - tmp_args_element_name_5 = var_bsz; - tmp_args_element_name_6 = mod_consts[185]; - tmp_args_element_name_7 = mod_consts[185]; - frame_213cbc07f24f34b89cdb18c9cf2e6690->m_frame.f_lineno = 336; - { - PyObject *call_args[] = {tmp_args_element_name_5, tmp_args_element_name_6, tmp_args_element_name_7}; - tmp_assign_source_11 = CALL_METHOD_WITH_ARGS3( - tmp_called_instance_2, - mod_consts[212], - call_args - ); - } - - Py_DECREF(tmp_called_instance_2); - if (tmp_assign_source_11 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 336; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_p_embeds == NULL); - var_p_embeds = tmp_assign_source_11; - } - { - bool tmp_condition_result_2; - PyObject *tmp_compexpr_left_2; - PyObject *tmp_compexpr_right_2; - CHECK_OBJECT(par_seg); - tmp_compexpr_left_2 = par_seg; - tmp_compexpr_right_2 = Py_None; - tmp_condition_result_2 = (tmp_compexpr_left_2 == tmp_compexpr_right_2) ? true : false; - if (tmp_condition_result_2 != false) { - goto branch_yes_2; - } else { - goto branch_no_2; - } - } - branch_yes_2:; - { - PyObject *tmp_ass_subvalue_2; - PyObject *tmp_called_name_6; - PyObject *tmp_expression_name_15; - PyObject *tmp_called_name_7; - PyObject *tmp_args_element_name_8; - PyObject *tmp_expression_name_16; - PyObject *tmp_subscript_name_5; - PyObject *tmp_args_element_name_9; - PyObject *tmp_args_element_name_10; - PyObject *tmp_expression_name_17; - PyObject *tmp_ass_subscribed_2; - PyObject *tmp_ass_subscript_2; - tmp_called_name_7 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[192]); - - if (unlikely(tmp_called_name_7 == NULL)) { - tmp_called_name_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[192]); - } - - if (tmp_called_name_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 338; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - if (par_img_embeds == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[214]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 338; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_16 = par_img_embeds; - if (var_img_idx == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[220]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 338; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_subscript_name_5 = var_img_idx; - tmp_args_element_name_8 = LOOKUP_SUBSCRIPT(tmp_expression_name_16, tmp_subscript_name_5); - if (tmp_args_element_name_8 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 338; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_args_element_name_9 = mod_consts[229]; - frame_213cbc07f24f34b89cdb18c9cf2e6690->m_frame.f_lineno = 338; - { - PyObject *call_args[] = {tmp_args_element_name_8, tmp_args_element_name_9}; - tmp_expression_name_15 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_7, call_args); - } - - Py_DECREF(tmp_args_element_name_8); - if (tmp_expression_name_15 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 338; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_called_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_15, mod_consts[170]); - Py_DECREF(tmp_expression_name_15); - if (tmp_called_name_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 338; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_expression_name_17 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_17 == NULL)) { - tmp_expression_name_17 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_17 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_6); - - exception_lineno = 338; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_args_element_name_10 = LOOKUP_ATTRIBUTE(tmp_expression_name_17, mod_consts[113]); - if (tmp_args_element_name_10 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_6); - - exception_lineno = 338; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - frame_213cbc07f24f34b89cdb18c9cf2e6690->m_frame.f_lineno = 338; - tmp_ass_subvalue_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_6, tmp_args_element_name_10); - Py_DECREF(tmp_called_name_6); - Py_DECREF(tmp_args_element_name_10); - if (tmp_ass_subvalue_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 338; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(var_p_embeds); - tmp_ass_subscribed_2 = var_p_embeds; - CHECK_OBJECT(var_idx); - tmp_ass_subscript_2 = var_idx; - tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2); - Py_DECREF(tmp_ass_subvalue_2); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 338; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - } - goto branch_end_2; - branch_no_2:; - { - PyObject *tmp_ass_subvalue_3; - PyObject *tmp_called_instance_3; - PyObject *tmp_called_name_8; - PyObject *tmp_expression_name_18; - PyObject *tmp_called_name_9; - PyObject *tmp_args_element_name_11; - PyObject *tmp_expression_name_19; - PyObject *tmp_subscript_name_6; - PyObject *tmp_args_element_name_12; - PyObject *tmp_args_element_name_13; - PyObject *tmp_expression_name_20; - PyObject *tmp_ass_subscribed_3; - PyObject *tmp_ass_subscript_3; - tmp_called_name_9 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[192]); - - if (unlikely(tmp_called_name_9 == NULL)) { - tmp_called_name_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[192]); - } - - if (tmp_called_name_9 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 340; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - if (par_img_embeds == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[214]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 340; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_19 = par_img_embeds; - if (var_img_idx == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[220]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 340; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_subscript_name_6 = var_img_idx; - tmp_args_element_name_11 = LOOKUP_SUBSCRIPT(tmp_expression_name_19, tmp_subscript_name_6); - if (tmp_args_element_name_11 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 340; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_args_element_name_12 = mod_consts[229]; - frame_213cbc07f24f34b89cdb18c9cf2e6690->m_frame.f_lineno = 340; - { - PyObject *call_args[] = {tmp_args_element_name_11, tmp_args_element_name_12}; - tmp_expression_name_18 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_9, call_args); - } - - Py_DECREF(tmp_args_element_name_11); - if (tmp_expression_name_18 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 340; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_called_name_8 = LOOKUP_ATTRIBUTE(tmp_expression_name_18, mod_consts[170]); - Py_DECREF(tmp_expression_name_18); - if (tmp_called_name_8 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 340; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_expression_name_20 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_20 == NULL)) { - tmp_expression_name_20 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_20 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_8); - - exception_lineno = 340; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_args_element_name_13 = LOOKUP_ATTRIBUTE(tmp_expression_name_20, mod_consts[113]); - if (tmp_args_element_name_13 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_8); - - exception_lineno = 340; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - frame_213cbc07f24f34b89cdb18c9cf2e6690->m_frame.f_lineno = 340; - tmp_called_instance_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_8, tmp_args_element_name_13); - Py_DECREF(tmp_called_name_8); - Py_DECREF(tmp_args_element_name_13); - if (tmp_called_instance_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 340; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - frame_213cbc07f24f34b89cdb18c9cf2e6690->m_frame.f_lineno = 340; - tmp_ass_subvalue_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[186]); - Py_DECREF(tmp_called_instance_3); - if (tmp_ass_subvalue_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 340; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(var_p_embeds); - tmp_ass_subscribed_3 = var_p_embeds; - CHECK_OBJECT(var_idx); - tmp_ass_subscript_3 = var_idx; - tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_3, tmp_ass_subscript_3, tmp_ass_subvalue_3); - Py_DECREF(tmp_ass_subvalue_3); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 340; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - } - branch_end_2:; - { - PyObject *tmp_tuple_element_2; - if (var_p_embeds == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[230]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 341; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_tuple_element_2 = var_p_embeds; - tmp_return_value = PyTuple_New(2); - PyTuple_SET_ITEM0(tmp_return_value, 0, tmp_tuple_element_2); - CHECK_OBJECT(par_atts_img); - tmp_tuple_element_2 = par_atts_img; - PyTuple_SET_ITEM0(tmp_return_value, 1, tmp_tuple_element_2); - goto frame_return_exit_1; - } - goto branch_end_1; - branch_no_1:; - { - PyObject *tmp_tuple_element_3; - if (par_img_embeds == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[214]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 343; - type_description_1 = "ooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_tuple_element_3 = par_img_embeds; - tmp_return_value = PyTuple_New(2); - PyTuple_SET_ITEM0(tmp_return_value, 0, tmp_tuple_element_3); - CHECK_OBJECT(par_atts_img); - tmp_tuple_element_3 = par_atts_img; - PyTuple_SET_ITEM0(tmp_return_value, 1, tmp_tuple_element_3); - goto frame_return_exit_1; - } - branch_end_1:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_213cbc07f24f34b89cdb18c9cf2e6690); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_1; - - frame_return_exit_1:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_213cbc07f24f34b89cdb18c9cf2e6690); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_1; - - frame_exception_exit_1:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_213cbc07f24f34b89cdb18c9cf2e6690); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_213cbc07f24f34b89cdb18c9cf2e6690, exception_lineno); - } else if (exception_tb->tb_frame != &frame_213cbc07f24f34b89cdb18c9cf2e6690->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_213cbc07f24f34b89cdb18c9cf2e6690, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_213cbc07f24f34b89cdb18c9cf2e6690, - type_description_1, - par_self, - par_img_embeds, - par_atts_img, - par_prompt_list, - par_num_imgs, - par_seg, - var_bsz, - var_img_idx, - var_i, - var_j, - var_prompt_tokens, - var_idx, - var_p_embeds - ); - - - // Release cached frame if used for exception. - if (frame_213cbc07f24f34b89cdb18c9cf2e6690 == cache_frame_213cbc07f24f34b89cdb18c9cf2e6690) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_213cbc07f24f34b89cdb18c9cf2e6690); - cache_frame_213cbc07f24f34b89cdb18c9cf2e6690 = NULL; - } - - assertFrameObject(frame_213cbc07f24f34b89cdb18c9cf2e6690); - - // 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_img_embeds); - par_img_embeds = NULL; - CHECK_OBJECT(par_atts_img); - Py_DECREF(par_atts_img); - par_atts_img = NULL; - Py_XDECREF(par_prompt_list); - par_prompt_list = NULL; - Py_XDECREF(par_num_imgs); - par_num_imgs = NULL; - CHECK_OBJECT(par_seg); - Py_DECREF(par_seg); - par_seg = NULL; - Py_XDECREF(var_bsz); - var_bsz = NULL; - Py_XDECREF(var_img_idx); - var_img_idx = NULL; - Py_XDECREF(var_i); - var_i = NULL; - Py_XDECREF(var_j); - var_j = NULL; - Py_XDECREF(var_prompt_tokens); - var_prompt_tokens = NULL; - Py_XDECREF(var_idx); - var_idx = NULL; - Py_XDECREF(var_p_embeds); - var_p_embeds = 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_img_embeds); - par_img_embeds = NULL; - CHECK_OBJECT(par_atts_img); - Py_DECREF(par_atts_img); - par_atts_img = NULL; - Py_XDECREF(par_prompt_list); - par_prompt_list = NULL; - Py_XDECREF(par_num_imgs); - par_num_imgs = NULL; - CHECK_OBJECT(par_seg); - Py_DECREF(par_seg); - par_seg = NULL; - Py_XDECREF(var_bsz); - var_bsz = NULL; - Py_XDECREF(var_img_idx); - var_img_idx = NULL; - Py_XDECREF(var_i); - var_i = NULL; - Py_XDECREF(var_j); - var_j = NULL; - Py_XDECREF(var_prompt_tokens); - var_prompt_tokens = NULL; - Py_XDECREF(var_idx); - var_idx = NULL; - Py_XDECREF(var_p_embeds); - var_p_embeds = 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$medomni_bp$$$function__17_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_samples = python_pars[1]; - PyObject *var_image = NULL; - PyObject *var_bsz = NULL; - PyObject *var_img_embeds = NULL; - PyObject *var_atts_img = NULL; - PyObject *var_img_embeds_list = NULL; - PyObject *var_prefix_list = NULL; - PyObject *var_tag_list = NULL; - PyObject *var_placeholder = NULL; - PyObject *var_j = NULL; - PyObject *var_num = NULL; - PyObject *var_prefix = NULL; - PyObject *var_i = NULL; - PyObject *var_prompt = NULL; - PyObject *var_tags = NULL; - PyObject *var_tag = NULL; - PyObject *var_sample_ans = NULL; - PyObject *var_sample_num = NULL; - PyObject *var_text = NULL; - PyObject *var_prompt_tokens = NULL; - PyObject *var_to_regress_tokens = NULL; - PyObject *var_targets = NULL; - PyObject *var_empty_targets = NULL; - PyObject *var_batch_size = NULL; - PyObject *var_bos = NULL; - PyObject *var_bos_embeds = NULL; - PyObject *var_atts_bos = NULL; - PyObject *var_to_regress_embeds = NULL; - PyObject *var_inputs_embeds = NULL; - PyObject *var_attention_mask = NULL; - PyObject *var_outputs = NULL; - PyObject *var_loss = NULL; - PyObject *var_hidden_states = NULL; - PyObject *var_token_mask = NULL; - PyObject *var_target_states = NULL; - PyObject *var_det_states = NULL; - PyObject *var_labels = NULL; - PyObject *var_det_loss = NULL; - PyObject *var_point_states = NULL; - PyObject *var_keypoint_loss = NULL; - PyObject *var_masks = NULL; - PyObject *var_seg_states = NULL; - PyObject *var_last_feats = NULL; - PyObject *var_seg_preds = NULL; - PyObject *var_feats = NULL; - PyObject *var_seg_feats = NULL; - PyObject *outline_0_var__ = NULL; - PyObject *outline_1_var_t = NULL; - PyObject *outline_2_var_ans = NULL; - PyObject *outline_3_var_ans = NULL; - PyObject *outline_4_var_t = NULL; - PyObject *outline_5_var__ = NULL; - PyObject *tmp_for_loop_1__for_iterator = NULL; - PyObject *tmp_for_loop_1__iter_value = NULL; - PyObject *tmp_for_loop_2__for_iterator = NULL; - PyObject *tmp_for_loop_2__iter_value = NULL; - PyObject *tmp_for_loop_3__for_iterator = NULL; - PyObject *tmp_for_loop_3__iter_value = NULL; - PyObject *tmp_for_loop_4__for_iterator = NULL; - PyObject *tmp_for_loop_4__iter_value = NULL; - PyObject *tmp_genexpr_1__$0 = 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; - PyObject *tmp_listcomp_3__$0 = NULL; - PyObject *tmp_listcomp_3__contraction = NULL; - PyObject *tmp_listcomp_3__iter_value_0 = NULL; - PyObject *tmp_listcomp_4__$0 = NULL; - PyObject *tmp_listcomp_4__contraction = NULL; - PyObject *tmp_listcomp_4__iter_value_0 = NULL; - PyObject *tmp_listcomp_5__$0 = NULL; - PyObject *tmp_listcomp_5__contraction = NULL; - PyObject *tmp_listcomp_5__iter_value_0 = NULL; - PyObject *tmp_listcomp_6__$0 = NULL; - PyObject *tmp_listcomp_6__contraction = NULL; - PyObject *tmp_listcomp_6__iter_value_0 = 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__source_iter = NULL; - PyObject *tmp_tuple_unpack_3__element_1 = NULL; - PyObject *tmp_tuple_unpack_3__element_2 = NULL; - PyObject *tmp_tuple_unpack_3__source_iter = NULL; - PyObject *tmp_with_1__enter = NULL; - PyObject *tmp_with_1__exit = NULL; - nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED; - PyObject *tmp_with_1__source = NULL; - PyObject *tmp_with_2__enter = NULL; - PyObject *tmp_with_2__exit = NULL; - nuitka_bool tmp_with_2__indicator = NUITKA_BOOL_UNASSIGNED; - PyObject *tmp_with_2__source = NULL; - PyObject *tmp_with_3__enter = NULL; - PyObject *tmp_with_3__exit = NULL; - nuitka_bool tmp_with_3__indicator = NUITKA_BOOL_UNASSIGNED; - PyObject *tmp_with_3__source = NULL; - PyObject *tmp_with_4__enter = NULL; - PyObject *tmp_with_4__exit = NULL; - nuitka_bool tmp_with_4__indicator = NUITKA_BOOL_UNASSIGNED; - PyObject *tmp_with_4__source = NULL; - PyObject *tmp_with_5__enter = NULL; - PyObject *tmp_with_5__exit = NULL; - nuitka_bool tmp_with_5__indicator = NUITKA_BOOL_UNASSIGNED; - PyObject *tmp_with_5__source = NULL; - PyObject *tmp_with_6__enter = NULL; - PyObject *tmp_with_6__exit = NULL; - nuitka_bool tmp_with_6__indicator = NUITKA_BOOL_UNASSIGNED; - PyObject *tmp_with_6__source = NULL; - PyObject *tmp_with_7__enter = NULL; - PyObject *tmp_with_7__exit = NULL; - nuitka_bool tmp_with_7__indicator = NUITKA_BOOL_UNASSIGNED; - PyObject *tmp_with_7__source = NULL; - struct Nuitka_FrameObject *frame_fe557d162e569c6a186cf09bbb51e6fa; - 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; - struct Nuitka_FrameObject *frame_a23b435d9c357edb4040285571eceffb_2; - NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; - bool tmp_result; - 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_a23b435d9c357edb4040285571eceffb_2 = 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; - NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; - 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 *exception_keeper_type_6; - PyObject *exception_keeper_value_6; - PyTracebackObject *exception_keeper_tb_6; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; - int tmp_res; - 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; - struct Nuitka_FrameObject *frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3; - NUITKA_MAY_BE_UNUSED char const *type_description_3 = 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; - static struct Nuitka_FrameObject *cache_frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3 = NULL; - 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 *exception_keeper_type_12; - PyObject *exception_keeper_value_12; - PyTracebackObject *exception_keeper_tb_12; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12; - struct Nuitka_FrameObject *frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4; - NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL; - PyObject *exception_keeper_type_13; - PyObject *exception_keeper_value_13; - PyTracebackObject *exception_keeper_tb_13; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13; - static struct Nuitka_FrameObject *cache_frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4 = NULL; - PyObject *exception_keeper_type_14; - PyObject *exception_keeper_value_14; - PyTracebackObject *exception_keeper_tb_14; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14; - struct Nuitka_FrameObject *frame_61c6cd3e0de25dc41165ffa6ed32e42c_5; - NUITKA_MAY_BE_UNUSED char const *type_description_5 = 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; - static struct Nuitka_FrameObject *cache_frame_61c6cd3e0de25dc41165ffa6ed32e42c_5 = NULL; - PyObject *exception_keeper_type_16; - PyObject *exception_keeper_value_16; - PyTracebackObject *exception_keeper_tb_16; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16; - struct Nuitka_FrameObject *frame_df4c04242bced16e5cdef975c429cb8d_6; - NUITKA_MAY_BE_UNUSED char const *type_description_6 = NULL; - PyObject *exception_keeper_type_17; - PyObject *exception_keeper_value_17; - PyTracebackObject *exception_keeper_tb_17; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_17; - static struct Nuitka_FrameObject *cache_frame_df4c04242bced16e5cdef975c429cb8d_6 = 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 *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_preserved_type_1; - PyObject *exception_preserved_value_1; - PyTracebackObject *exception_preserved_tb_1; - 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; - PyObject *exception_keeper_type_24; - PyObject *exception_keeper_value_24; - PyTracebackObject *exception_keeper_tb_24; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_24; - PyObject *exception_keeper_type_25; - PyObject *exception_keeper_value_25; - PyTracebackObject *exception_keeper_tb_25; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_25; - PyObject *exception_preserved_type_2; - PyObject *exception_preserved_value_2; - PyTracebackObject *exception_preserved_tb_2; - PyObject *exception_keeper_type_26; - PyObject *exception_keeper_value_26; - PyTracebackObject *exception_keeper_tb_26; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_26; - PyObject *exception_keeper_type_27; - PyObject *exception_keeper_value_27; - PyTracebackObject *exception_keeper_tb_27; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_27; - PyObject *exception_keeper_type_28; - PyObject *exception_keeper_value_28; - PyTracebackObject *exception_keeper_tb_28; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_28; - PyObject *exception_keeper_type_29; - PyObject *exception_keeper_value_29; - PyTracebackObject *exception_keeper_tb_29; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_29; - PyObject *exception_preserved_type_3; - PyObject *exception_preserved_value_3; - PyTracebackObject *exception_preserved_tb_3; - PyObject *exception_keeper_type_30; - PyObject *exception_keeper_value_30; - PyTracebackObject *exception_keeper_tb_30; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_30; - PyObject *exception_keeper_type_31; - PyObject *exception_keeper_value_31; - PyTracebackObject *exception_keeper_tb_31; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_31; - PyObject *exception_keeper_type_32; - PyObject *exception_keeper_value_32; - PyTracebackObject *exception_keeper_tb_32; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_32; - PyObject *exception_keeper_type_33; - PyObject *exception_keeper_value_33; - PyTracebackObject *exception_keeper_tb_33; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_33; - PyObject *exception_preserved_type_4; - PyObject *exception_preserved_value_4; - PyTracebackObject *exception_preserved_tb_4; - PyObject *exception_keeper_type_34; - PyObject *exception_keeper_value_34; - PyTracebackObject *exception_keeper_tb_34; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_34; - PyObject *exception_keeper_type_35; - PyObject *exception_keeper_value_35; - PyTracebackObject *exception_keeper_tb_35; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_35; - PyObject *exception_keeper_type_36; - PyObject *exception_keeper_value_36; - PyTracebackObject *exception_keeper_tb_36; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_36; - PyObject *exception_keeper_type_37; - PyObject *exception_keeper_value_37; - PyTracebackObject *exception_keeper_tb_37; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_37; - PyObject *exception_preserved_type_5; - PyObject *exception_preserved_value_5; - PyTracebackObject *exception_preserved_tb_5; - PyObject *exception_keeper_type_38; - PyObject *exception_keeper_value_38; - PyTracebackObject *exception_keeper_tb_38; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_38; - PyObject *exception_keeper_type_39; - PyObject *exception_keeper_value_39; - PyTracebackObject *exception_keeper_tb_39; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_39; - PyObject *exception_keeper_type_40; - PyObject *exception_keeper_value_40; - PyTracebackObject *exception_keeper_tb_40; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_40; - struct Nuitka_FrameObject *frame_b2b96fbed34f62b539d2c554c20d923d_7; - NUITKA_MAY_BE_UNUSED char const *type_description_7 = NULL; - PyObject *exception_keeper_type_41; - PyObject *exception_keeper_value_41; - PyTracebackObject *exception_keeper_tb_41; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_41; - static struct Nuitka_FrameObject *cache_frame_b2b96fbed34f62b539d2c554c20d923d_7 = NULL; - PyObject *exception_keeper_type_42; - PyObject *exception_keeper_value_42; - PyTracebackObject *exception_keeper_tb_42; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_42; - PyObject *exception_keeper_type_43; - PyObject *exception_keeper_value_43; - PyTracebackObject *exception_keeper_tb_43; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_43; - PyObject *exception_preserved_type_6; - PyObject *exception_preserved_value_6; - PyTracebackObject *exception_preserved_tb_6; - PyObject *exception_keeper_type_44; - PyObject *exception_keeper_value_44; - PyTracebackObject *exception_keeper_tb_44; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_44; - PyObject *exception_keeper_type_45; - PyObject *exception_keeper_value_45; - PyTracebackObject *exception_keeper_tb_45; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_45; - PyObject *exception_keeper_type_46; - PyObject *exception_keeper_value_46; - PyTracebackObject *exception_keeper_tb_46; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_46; - PyObject *exception_keeper_type_47; - PyObject *exception_keeper_value_47; - PyTracebackObject *exception_keeper_tb_47; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_47; - PyObject *exception_preserved_type_7; - PyObject *exception_preserved_value_7; - PyTracebackObject *exception_preserved_tb_7; - PyObject *exception_keeper_type_48; - PyObject *exception_keeper_value_48; - PyTracebackObject *exception_keeper_tb_48; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_48; - PyObject *exception_keeper_type_49; - PyObject *exception_keeper_value_49; - PyTracebackObject *exception_keeper_tb_49; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_49; - PyObject *exception_keeper_type_50; - PyObject *exception_keeper_value_50; - PyTracebackObject *exception_keeper_tb_50; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_50; - PyObject *tmp_return_value = NULL; - static struct Nuitka_FrameObject *cache_frame_fe557d162e569c6a186cf09bbb51e6fa = NULL; - PyObject *exception_keeper_type_51; - PyObject *exception_keeper_value_51; - PyTracebackObject *exception_keeper_tb_51; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_51; - - // Actual function body. - // Tried code: - if (isFrameUnusable(cache_frame_fe557d162e569c6a186cf09bbb51e6fa)) { - Py_XDECREF(cache_frame_fe557d162e569c6a186cf09bbb51e6fa); - -#if _DEBUG_REFCOUNTS - if (cache_frame_fe557d162e569c6a186cf09bbb51e6fa == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_fe557d162e569c6a186cf09bbb51e6fa = MAKE_FUNCTION_FRAME(codeobj_fe557d162e569c6a186cf09bbb51e6fa, module_models$medomni_bp, 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 *)+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_fe557d162e569c6a186cf09bbb51e6fa->m_type_description == NULL); - frame_fe557d162e569c6a186cf09bbb51e6fa = cache_frame_fe557d162e569c6a186cf09bbb51e6fa; - - // Push the new frame as the currently active one. - pushFrameStack(frame_fe557d162e569c6a186cf09bbb51e6fa); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_fe557d162e569c6a186cf09bbb51e6fa) == 2); // Frame stack - - // Framed code: - { - PyObject *tmp_assign_source_1; - PyObject *tmp_expression_name_1; - PyObject *tmp_subscript_name_1; - CHECK_OBJECT(par_samples); - tmp_expression_name_1 = par_samples; - tmp_subscript_name_1 = mod_consts[177]; - tmp_assign_source_1 = LOOKUP_SUBSCRIPT(tmp_expression_name_1, tmp_subscript_name_1); - if (tmp_assign_source_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 346; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_image == NULL); - var_image = 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_image); - tmp_expression_name_3 = var_image; - tmp_expression_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[175]); - if (tmp_expression_name_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 347; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_subscript_name_2 = mod_consts[11]; - tmp_assign_source_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_2, tmp_subscript_name_2, 0); - 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 = 347; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_bsz == NULL); - var_bsz = tmp_assign_source_2; - } - // Tried code: - { - PyObject *tmp_assign_source_3; - PyObject *tmp_iter_arg_1; - PyObject *tmp_called_name_1; - PyObject *tmp_expression_name_4; - PyObject *tmp_args_element_name_1; - PyObject *tmp_args_element_name_2; - PyObject *tmp_expression_name_5; - PyObject *tmp_subscript_name_3; - PyObject *tmp_args_element_name_3; - PyObject *tmp_expression_name_6; - PyObject *tmp_subscript_name_4; - CHECK_OBJECT(par_self); - tmp_expression_name_4 = par_self; - tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[231]); - if (tmp_called_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 348; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_2; - } - if (var_image == NULL) { - Py_DECREF(tmp_called_name_1); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[177]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 348; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_2; - } - - tmp_args_element_name_1 = var_image; - CHECK_OBJECT(par_samples); - tmp_expression_name_5 = par_samples; - tmp_subscript_name_3 = mod_consts[232]; - tmp_args_element_name_2 = LOOKUP_SUBSCRIPT(tmp_expression_name_5, tmp_subscript_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); - - exception_lineno = 348; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_2; - } - CHECK_OBJECT(par_samples); - tmp_expression_name_6 = par_samples; - tmp_subscript_name_4 = mod_consts[233]; - tmp_args_element_name_3 = LOOKUP_SUBSCRIPT(tmp_expression_name_6, tmp_subscript_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_1); - Py_DECREF(tmp_args_element_name_2); - - exception_lineno = 348; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_2; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 348; - { - PyObject *call_args[] = {tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3}; - tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_1, call_args); - } - - Py_DECREF(tmp_called_name_1); - Py_DECREF(tmp_args_element_name_2); - Py_DECREF(tmp_args_element_name_3); - if (tmp_iter_arg_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 348; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_2; - } - tmp_assign_source_3 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1); - Py_DECREF(tmp_iter_arg_1); - if (tmp_assign_source_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 348; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_2; - } - assert(tmp_tuple_unpack_1__source_iter == NULL); - tmp_tuple_unpack_1__source_iter = tmp_assign_source_3; - } - // Tried code: - { - PyObject *tmp_assign_source_4; - PyObject *tmp_unpack_1; - CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); - tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; - tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_1, 0, 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 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - exception_lineno = 348; - goto try_except_handler_3; - } - assert(tmp_tuple_unpack_1__element_1 == NULL); - tmp_tuple_unpack_1__element_1 = tmp_assign_source_4; - } - { - PyObject *tmp_assign_source_5; - PyObject *tmp_unpack_2; - CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); - tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; - tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_2, 1, 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 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - exception_lineno = 348; - goto try_except_handler_3; - } - assert(tmp_tuple_unpack_1__element_2 == NULL); - tmp_tuple_unpack_1__element_2 = tmp_assign_source_5; - } - { - PyObject *tmp_assign_source_6; - PyObject *tmp_unpack_3; - CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); - tmp_unpack_3 = tmp_tuple_unpack_1__source_iter; - tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_3, 2, 3); - 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 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - exception_lineno = 348; - goto try_except_handler_3; - } - assert(tmp_tuple_unpack_1__element_3 == NULL); - tmp_tuple_unpack_1__element_3 = tmp_assign_source_6; - } - { - 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 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - exception_lineno = 348; - goto try_except_handler_3; - } - } - } else { - Py_DECREF(tmp_iterator_attempt); - - exception_type = PyExc_ValueError; - Py_INCREF(PyExc_ValueError); - exception_value = mod_consts[234]; - Py_INCREF(exception_value); - exception_tb = NULL; - - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - exception_lineno = 348; - 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_7; - CHECK_OBJECT(tmp_tuple_unpack_1__element_1); - tmp_assign_source_7 = tmp_tuple_unpack_1__element_1; - assert(var_img_embeds == NULL); - Py_INCREF(tmp_assign_source_7); - var_img_embeds = tmp_assign_source_7; - } - 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; - assert(var_atts_img == NULL); - Py_INCREF(tmp_assign_source_8); - var_atts_img = tmp_assign_source_8; - } - Py_XDECREF(tmp_tuple_unpack_1__element_2); - tmp_tuple_unpack_1__element_2 = NULL; - - { - PyObject *tmp_assign_source_9; - CHECK_OBJECT(tmp_tuple_unpack_1__element_3); - tmp_assign_source_9 = tmp_tuple_unpack_1__element_3; - assert(var_img_embeds_list == NULL); - Py_INCREF(tmp_assign_source_9); - var_img_embeds_list = tmp_assign_source_9; - } - 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_10; - tmp_assign_source_10 = PyList_New(0); - assert(var_prefix_list == NULL); - var_prefix_list = tmp_assign_source_10; - } - { - PyObject *tmp_assign_source_11; - // Tried code: - { - PyObject *tmp_assign_source_12; - PyObject *tmp_iter_arg_2; - PyObject *tmp_xrange_low_1; - CHECK_OBJECT(var_bsz); - tmp_xrange_low_1 = var_bsz; - 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 = 350; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_4; - } - tmp_assign_source_12 = MAKE_ITERATOR(tmp_iter_arg_2); - Py_DECREF(tmp_iter_arg_2); - if (tmp_assign_source_12 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 350; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_4; - } - assert(tmp_listcomp_1__$0 == NULL); - tmp_listcomp_1__$0 = tmp_assign_source_12; - } - { - PyObject *tmp_assign_source_13; - tmp_assign_source_13 = PyList_New(0); - assert(tmp_listcomp_1__contraction == NULL); - tmp_listcomp_1__contraction = tmp_assign_source_13; - } - if (isFrameUnusable(cache_frame_a23b435d9c357edb4040285571eceffb_2)) { - Py_XDECREF(cache_frame_a23b435d9c357edb4040285571eceffb_2); - -#if _DEBUG_REFCOUNTS - if (cache_frame_a23b435d9c357edb4040285571eceffb_2 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_a23b435d9c357edb4040285571eceffb_2 = MAKE_FUNCTION_FRAME(codeobj_a23b435d9c357edb4040285571eceffb, module_models$medomni_bp, sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - assert(cache_frame_a23b435d9c357edb4040285571eceffb_2->m_type_description == NULL); - frame_a23b435d9c357edb4040285571eceffb_2 = cache_frame_a23b435d9c357edb4040285571eceffb_2; - - // Push the new frame as the currently active one. - pushFrameStack(frame_a23b435d9c357edb4040285571eceffb_2); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_a23b435d9c357edb4040285571eceffb_2) == 2); // Frame stack - - // Framed code: - // Tried code: - loop_start_1:; - { - PyObject *tmp_next_source_1; - PyObject *tmp_assign_source_14; - CHECK_OBJECT(tmp_listcomp_1__$0); - tmp_next_source_1 = tmp_listcomp_1__$0; - tmp_assign_source_14 = ITERATOR_NEXT(tmp_next_source_1); - if (tmp_assign_source_14 == 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 = 350; - goto try_except_handler_5; - } - } - - { - PyObject *old = tmp_listcomp_1__iter_value_0; - tmp_listcomp_1__iter_value_0 = tmp_assign_source_14; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_15; - CHECK_OBJECT(tmp_listcomp_1__iter_value_0); - tmp_assign_source_15 = tmp_listcomp_1__iter_value_0; - { - PyObject *old = outline_0_var__; - outline_0_var__ = tmp_assign_source_15; - Py_INCREF(outline_0_var__); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_append_list_1; - PyObject *tmp_append_value_1; - CHECK_OBJECT(tmp_listcomp_1__contraction); - tmp_append_list_1 = tmp_listcomp_1__contraction; - tmp_append_value_1 = PyList_New(0); - 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 = 350; - type_description_2 = "o"; - goto try_except_handler_5; - } - } - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 350; - type_description_2 = "o"; - goto try_except_handler_5; - } - goto loop_start_1; - loop_end_1:; - CHECK_OBJECT(tmp_listcomp_1__contraction); - tmp_assign_source_11 = tmp_listcomp_1__contraction; - Py_INCREF(tmp_assign_source_11); - 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_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_2; - // 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_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_3; - exception_value = exception_keeper_value_3; - exception_tb = exception_keeper_tb_3; - exception_lineno = exception_keeper_lineno_3; - - goto frame_exception_exit_2; - // End of try: - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_a23b435d9c357edb4040285571eceffb_2); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_1; - - frame_return_exit_2:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_a23b435d9c357edb4040285571eceffb_2); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_4; - - frame_exception_exit_2:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_a23b435d9c357edb4040285571eceffb_2); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_a23b435d9c357edb4040285571eceffb_2, exception_lineno); - } else if (exception_tb->tb_frame != &frame_a23b435d9c357edb4040285571eceffb_2->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_a23b435d9c357edb4040285571eceffb_2, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_a23b435d9c357edb4040285571eceffb_2, - type_description_2, - outline_0_var__ - ); - - - // Release cached frame if used for exception. - if (frame_a23b435d9c357edb4040285571eceffb_2 == cache_frame_a23b435d9c357edb4040285571eceffb_2) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_a23b435d9c357edb4040285571eceffb_2); - cache_frame_a23b435d9c357edb4040285571eceffb_2 = NULL; - } - - assertFrameObject(frame_a23b435d9c357edb4040285571eceffb_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 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_4; - skip_nested_handling_1:; - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_4:; - Py_XDECREF(outline_0_var__); - outline_0_var__ = 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; - - Py_XDECREF(outline_0_var__); - outline_0_var__ = 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 outline_exception_1; - // End of try: - NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); - return NULL; - outline_exception_1:; - exception_lineno = 350; - goto frame_exception_exit_1; - outline_result_1:; - assert(var_tag_list == NULL); - var_tag_list = tmp_assign_source_11; - } - { - PyObject *tmp_assign_source_16; - tmp_assign_source_16 = LIST_COPY(mod_consts[235]); - assert(var_placeholder == NULL); - var_placeholder = tmp_assign_source_16; - } - { - PyObject *tmp_assign_source_17; - PyObject *tmp_iter_arg_3; - PyObject *tmp_xrange_low_2; - CHECK_OBJECT(var_bsz); - tmp_xrange_low_2 = var_bsz; - tmp_iter_arg_3 = BUILTIN_XRANGE1(tmp_xrange_low_2); - if (tmp_iter_arg_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 352; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_assign_source_17 = MAKE_ITERATOR(tmp_iter_arg_3); - Py_DECREF(tmp_iter_arg_3); - if (tmp_assign_source_17 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 352; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(tmp_for_loop_1__for_iterator == NULL); - tmp_for_loop_1__for_iterator = tmp_assign_source_17; - } - // Tried code: - loop_start_2:; - { - PyObject *tmp_next_source_2; - PyObject *tmp_assign_source_18; - CHECK_OBJECT(tmp_for_loop_1__for_iterator); - tmp_next_source_2 = tmp_for_loop_1__for_iterator; - tmp_assign_source_18 = ITERATOR_NEXT(tmp_next_source_2); - if (tmp_assign_source_18 == NULL) { - if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { - - goto loop_end_2; - } else { - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - exception_lineno = 352; - goto try_except_handler_6; - } - } - - { - PyObject *old = tmp_for_loop_1__iter_value; - tmp_for_loop_1__iter_value = tmp_assign_source_18; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_19; - CHECK_OBJECT(tmp_for_loop_1__iter_value); - tmp_assign_source_19 = tmp_for_loop_1__iter_value; - { - PyObject *old = var_j; - var_j = tmp_assign_source_19; - Py_INCREF(var_j); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_20; - PyObject *tmp_expression_name_7; - PyObject *tmp_expression_name_8; - PyObject *tmp_subscript_name_5; - PyObject *tmp_subscript_name_6; - if (par_samples == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[236]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 353; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_6; - } - - tmp_expression_name_8 = par_samples; - tmp_subscript_name_5 = mod_consts[219]; - tmp_expression_name_7 = LOOKUP_SUBSCRIPT(tmp_expression_name_8, tmp_subscript_name_5); - if (tmp_expression_name_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 353; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_6; - } - CHECK_OBJECT(var_j); - tmp_subscript_name_6 = var_j; - tmp_assign_source_20 = LOOKUP_SUBSCRIPT(tmp_expression_name_7, tmp_subscript_name_6); - Py_DECREF(tmp_expression_name_7); - if (tmp_assign_source_20 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 353; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_6; - } - { - PyObject *old = var_num; - var_num = tmp_assign_source_20; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_21; - tmp_assign_source_21 = mod_consts[237]; - { - PyObject *old = var_prefix; - var_prefix = tmp_assign_source_21; - Py_INCREF(var_prefix); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_22; - PyObject *tmp_iter_arg_4; - PyObject *tmp_xrange_low_3; - CHECK_OBJECT(var_num); - tmp_xrange_low_3 = var_num; - tmp_iter_arg_4 = BUILTIN_XRANGE1(tmp_xrange_low_3); - if (tmp_iter_arg_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 355; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_6; - } - tmp_assign_source_22 = MAKE_ITERATOR(tmp_iter_arg_4); - Py_DECREF(tmp_iter_arg_4); - if (tmp_assign_source_22 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 355; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_6; - } - { - PyObject *old = tmp_for_loop_2__for_iterator; - tmp_for_loop_2__for_iterator = tmp_assign_source_22; - Py_XDECREF(old); - } - - } - // Tried code: - loop_start_3:; - { - PyObject *tmp_next_source_3; - PyObject *tmp_assign_source_23; - CHECK_OBJECT(tmp_for_loop_2__for_iterator); - tmp_next_source_3 = tmp_for_loop_2__for_iterator; - tmp_assign_source_23 = ITERATOR_NEXT(tmp_next_source_3); - if (tmp_assign_source_23 == NULL) { - if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { - - goto loop_end_3; - } else { - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - exception_lineno = 355; - goto try_except_handler_7; - } - } - - { - PyObject *old = tmp_for_loop_2__iter_value; - tmp_for_loop_2__iter_value = tmp_assign_source_23; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_24; - CHECK_OBJECT(tmp_for_loop_2__iter_value); - tmp_assign_source_24 = tmp_for_loop_2__iter_value; - { - PyObject *old = var_i; - var_i = tmp_assign_source_24; - Py_INCREF(var_i); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_25; - PyObject *tmp_left_name_1; - PyObject *tmp_right_name_1; - PyObject *tmp_left_name_2; - PyObject *tmp_left_name_3; - PyObject *tmp_left_name_4; - PyObject *tmp_left_name_5; - PyObject *tmp_left_name_6; - PyObject *tmp_left_name_7; - PyObject *tmp_right_name_2; - PyObject *tmp_unicode_arg_1; - PyObject *tmp_right_name_3; - PyObject *tmp_right_name_4; - PyObject *tmp_called_name_2; - PyObject *tmp_expression_name_9; - PyObject *tmp_args_element_name_4; - PyObject *tmp_right_name_5; - PyObject *tmp_right_name_6; - PyObject *tmp_unicode_arg_2; - PyObject *tmp_right_name_7; - if (var_prefix == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[238]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 356; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - - tmp_left_name_1 = var_prefix; - tmp_left_name_7 = mod_consts[239]; - CHECK_OBJECT(var_i); - tmp_unicode_arg_1 = var_i; - tmp_right_name_2 = PyObject_Unicode(tmp_unicode_arg_1); - if (tmp_right_name_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 356; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - tmp_left_name_6 = BINARY_OPERATION_ADD_OBJECT_UNICODE_OBJECT(tmp_left_name_7, tmp_right_name_2); - Py_DECREF(tmp_right_name_2); - if (tmp_left_name_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 356; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - tmp_right_name_3 = mod_consts[240]; - tmp_left_name_5 = BINARY_OPERATION_ADD_OBJECT_OBJECT_UNICODE(tmp_left_name_6, tmp_right_name_3); - Py_DECREF(tmp_left_name_6); - if (tmp_left_name_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 356; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - tmp_expression_name_9 = mod_consts[237]; - tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[241]); - assert(!(tmp_called_name_2 == NULL)); - { - PyObject *tmp_assign_source_26; - PyObject *tmp_iter_arg_5; - if (var_placeholder == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[242]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 356; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - - tmp_iter_arg_5 = var_placeholder; - tmp_assign_source_26 = MAKE_ITERATOR(tmp_iter_arg_5); - if (tmp_assign_source_26 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 356; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - { - PyObject *old = tmp_genexpr_1__$0; - tmp_genexpr_1__$0 = tmp_assign_source_26; - Py_XDECREF(old); - } - - } - // Tried code: - { - struct Nuitka_CellObject *tmp_closure_1[1]; - - tmp_closure_1[0] = Nuitka_Cell_New0(tmp_genexpr_1__$0); - - tmp_args_element_name_4 = MAKE_GENERATOR_models$medomni_bp$$$function__17_forward$$$genexpr__1_genexpr(tmp_closure_1); - - goto try_return_handler_8; - } - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_8:; - CHECK_OBJECT(tmp_genexpr_1__$0); - Py_DECREF(tmp_genexpr_1__$0); - tmp_genexpr_1__$0 = NULL; - goto outline_result_2; - // End of try: - CHECK_OBJECT(tmp_genexpr_1__$0); - Py_DECREF(tmp_genexpr_1__$0); - tmp_genexpr_1__$0 = NULL; - NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); - return NULL; - outline_result_2:; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 356; - tmp_right_name_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_2, tmp_args_element_name_4); - Py_DECREF(tmp_called_name_2); - Py_DECREF(tmp_args_element_name_4); - if (tmp_right_name_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_left_name_5); - - exception_lineno = 356; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - tmp_left_name_4 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_5, tmp_right_name_4); - Py_DECREF(tmp_left_name_5); - Py_DECREF(tmp_right_name_4); - if (tmp_left_name_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 356; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - tmp_right_name_5 = mod_consts[243]; - tmp_left_name_3 = BINARY_OPERATION_ADD_OBJECT_OBJECT_UNICODE(tmp_left_name_4, tmp_right_name_5); - Py_DECREF(tmp_left_name_4); - if (tmp_left_name_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 356; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - CHECK_OBJECT(var_i); - tmp_unicode_arg_2 = var_i; - tmp_right_name_6 = PyObject_Unicode(tmp_unicode_arg_2); - if (tmp_right_name_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_left_name_3); - - exception_lineno = 356; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - tmp_left_name_2 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_3, tmp_right_name_6); - Py_DECREF(tmp_left_name_3); - Py_DECREF(tmp_right_name_6); - if (tmp_left_name_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 356; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - tmp_right_name_7 = mod_consts[240]; - tmp_right_name_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_UNICODE(tmp_left_name_2, tmp_right_name_7); - Py_DECREF(tmp_left_name_2); - if (tmp_right_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 356; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE(&tmp_left_name_1, tmp_right_name_1); - Py_DECREF(tmp_right_name_1); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 356; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - tmp_assign_source_25 = tmp_left_name_1; - var_prefix = tmp_assign_source_25; - - } - { - PyObject *tmp_called_name_3; - PyObject *tmp_expression_name_10; - PyObject *tmp_expression_name_11; - PyObject *tmp_subscript_name_7; - PyObject *tmp_call_result_1; - PyObject *tmp_args_element_name_5; - PyObject *tmp_left_name_8; - PyObject *tmp_left_name_9; - PyObject *tmp_right_name_8; - PyObject *tmp_unicode_arg_3; - PyObject *tmp_right_name_9; - if (var_tag_list == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[244]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 357; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - - tmp_expression_name_11 = var_tag_list; - if (var_j == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[245]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 357; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - - tmp_subscript_name_7 = var_j; - tmp_expression_name_10 = LOOKUP_SUBSCRIPT(tmp_expression_name_11, tmp_subscript_name_7); - if (tmp_expression_name_10 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 357; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[221]); - Py_DECREF(tmp_expression_name_10); - if (tmp_called_name_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 357; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - tmp_left_name_9 = mod_consts[239]; - CHECK_OBJECT(var_i); - tmp_unicode_arg_3 = var_i; - tmp_right_name_8 = PyObject_Unicode(tmp_unicode_arg_3); - if (tmp_right_name_8 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_3); - - exception_lineno = 357; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - tmp_left_name_8 = BINARY_OPERATION_ADD_OBJECT_UNICODE_OBJECT(tmp_left_name_9, tmp_right_name_8); - Py_DECREF(tmp_right_name_8); - if (tmp_left_name_8 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_3); - - exception_lineno = 357; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - tmp_right_name_9 = mod_consts[240]; - tmp_args_element_name_5 = BINARY_OPERATION_ADD_OBJECT_OBJECT_UNICODE(tmp_left_name_8, tmp_right_name_9); - Py_DECREF(tmp_left_name_8); - 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 = 357; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 357; - tmp_call_result_1 = 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_call_result_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 357; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - Py_DECREF(tmp_call_result_1); - } - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 355; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_7; - } - goto loop_start_3; - loop_end_3:; - goto try_end_3; - // Exception handler code: - try_except_handler_7:; - 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_for_loop_2__iter_value); - tmp_for_loop_2__iter_value = NULL; - Py_XDECREF(tmp_for_loop_2__for_iterator); - tmp_for_loop_2__for_iterator = 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 try_except_handler_6; - // End of try: - try_end_3:; - Py_XDECREF(tmp_for_loop_2__iter_value); - tmp_for_loop_2__iter_value = NULL; - Py_XDECREF(tmp_for_loop_2__for_iterator); - tmp_for_loop_2__for_iterator = NULL; - { - PyObject *tmp_called_name_4; - PyObject *tmp_expression_name_12; - PyObject *tmp_call_result_2; - PyObject *tmp_args_element_name_6; - PyObject *tmp_left_name_10; - PyObject *tmp_right_name_10; - if (var_prefix_list == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[246]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 358; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_6; - } - - tmp_expression_name_12 = var_prefix_list; - tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_12, mod_consts[221]); - if (tmp_called_name_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 358; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_6; - } - tmp_left_name_10 = mod_consts[247]; - if (var_prefix == NULL) { - Py_DECREF(tmp_called_name_4); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[238]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 358; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_6; - } - - tmp_right_name_10 = var_prefix; - tmp_args_element_name_6 = BINARY_OPERATION_ADD_OBJECT_UNICODE_OBJECT(tmp_left_name_10, tmp_right_name_10); - if (tmp_args_element_name_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_4); - - exception_lineno = 358; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_6; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 358; - tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_4, tmp_args_element_name_6); - Py_DECREF(tmp_called_name_4); - Py_DECREF(tmp_args_element_name_6); - if (tmp_call_result_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 358; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_6; - } - Py_DECREF(tmp_call_result_2); - } - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 352; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_6; - } - goto loop_start_2; - loop_end_2:; - goto try_end_4; - // Exception handler code: - try_except_handler_6:; - 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(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_6; - exception_value = exception_keeper_value_6; - exception_tb = exception_keeper_tb_6; - exception_lineno = exception_keeper_lineno_6; - - goto frame_exception_exit_1; - // End of try: - try_end_4:; - 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; - // Tried code: - { - PyObject *tmp_assign_source_27; - PyObject *tmp_iter_arg_6; - PyObject *tmp_called_name_5; - PyObject *tmp_expression_name_13; - 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; - bool tmp_condition_result_1; - PyObject *tmp_compexpr_left_1; - PyObject *tmp_compexpr_right_1; - PyObject *tmp_expression_name_15; - PyObject *tmp_subscript_name_9; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 359; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_9; - } - - tmp_expression_name_13 = par_self; - tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_13, mod_consts[248]); - if (tmp_called_name_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 359; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_9; - } - CHECK_OBJECT(var_img_embeds); - tmp_tuple_element_1 = var_img_embeds; - tmp_args_name_1 = PyTuple_New(4); - { - PyObject *tmp_expression_name_14; - PyObject *tmp_subscript_name_8; - PyTuple_SET_ITEM0(tmp_args_name_1, 0, tmp_tuple_element_1); - CHECK_OBJECT(var_atts_img); - tmp_tuple_element_1 = var_atts_img; - PyTuple_SET_ITEM0(tmp_args_name_1, 1, tmp_tuple_element_1); - if (var_prefix_list == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[246]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 359; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto tuple_build_exception_1; - } - - tmp_tuple_element_1 = var_prefix_list; - PyTuple_SET_ITEM0(tmp_args_name_1, 2, tmp_tuple_element_1); - if (par_samples == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[236]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 359; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto tuple_build_exception_1; - } - - tmp_expression_name_14 = par_samples; - tmp_subscript_name_8 = mod_consts[219]; - tmp_tuple_element_1 = LOOKUP_SUBSCRIPT(tmp_expression_name_14, tmp_subscript_name_8); - if (tmp_tuple_element_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 359; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto tuple_build_exception_1; - } - PyTuple_SET_ITEM(tmp_args_name_1, 3, 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_5); - Py_DECREF(tmp_args_name_1); - goto try_except_handler_9; - // Finished with no exception for tuple_build: - tuple_build_noexception_1:; - tmp_dict_key_1 = mod_consts[249]; - tmp_compexpr_left_1 = mod_consts[207]; - if (par_samples == NULL) { - Py_DECREF(tmp_called_name_5); - Py_DECREF(tmp_args_name_1); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[236]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 359; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_9; - } - - tmp_expression_name_15 = par_samples; - tmp_subscript_name_9 = mod_consts[233]; - tmp_compexpr_right_1 = LOOKUP_SUBSCRIPT(tmp_expression_name_15, tmp_subscript_name_9); - if (tmp_compexpr_right_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_5); - Py_DECREF(tmp_args_name_1); - - exception_lineno = 359; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_9; - } - tmp_res = PySequence_Contains(tmp_compexpr_right_1, tmp_compexpr_left_1); - Py_DECREF(tmp_compexpr_right_1); - if (tmp_res == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_5); - Py_DECREF(tmp_args_name_1); - - exception_lineno = 359; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_9; - } - tmp_condition_result_1 = (tmp_res == 0) ? true : false; - if (tmp_condition_result_1 != false) { - goto condexpr_true_1; - } else { - goto condexpr_false_1; - } - condexpr_true_1:; - tmp_dict_value_1 = Py_None; - goto condexpr_end_1; - condexpr_false_1:; - tmp_dict_value_1 = mod_consts[250]; - condexpr_end_1:; - 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_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 359; - tmp_iter_arg_6 = CALL_FUNCTION(tmp_called_name_5, tmp_args_name_1, tmp_kwargs_name_1); - Py_DECREF(tmp_called_name_5); - Py_DECREF(tmp_args_name_1); - Py_DECREF(tmp_kwargs_name_1); - if (tmp_iter_arg_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 359; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_9; - } - tmp_assign_source_27 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_6); - Py_DECREF(tmp_iter_arg_6); - if (tmp_assign_source_27 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 359; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_9; - } - assert(tmp_tuple_unpack_2__source_iter == NULL); - tmp_tuple_unpack_2__source_iter = tmp_assign_source_27; - } - // Tried code: - { - PyObject *tmp_assign_source_28; - PyObject *tmp_unpack_4; - CHECK_OBJECT(tmp_tuple_unpack_2__source_iter); - tmp_unpack_4 = tmp_tuple_unpack_2__source_iter; - tmp_assign_source_28 = UNPACK_NEXT(tmp_unpack_4, 0, 2); - if (tmp_assign_source_28 == 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 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - exception_lineno = 359; - goto try_except_handler_10; - } - assert(tmp_tuple_unpack_2__element_1 == NULL); - tmp_tuple_unpack_2__element_1 = tmp_assign_source_28; - } - { - PyObject *tmp_assign_source_29; - PyObject *tmp_unpack_5; - CHECK_OBJECT(tmp_tuple_unpack_2__source_iter); - tmp_unpack_5 = tmp_tuple_unpack_2__source_iter; - tmp_assign_source_29 = UNPACK_NEXT(tmp_unpack_5, 1, 2); - if (tmp_assign_source_29 == 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 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - exception_lineno = 359; - goto try_except_handler_10; - } - assert(tmp_tuple_unpack_2__element_2 == NULL); - tmp_tuple_unpack_2__element_2 = tmp_assign_source_29; - } - { - 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 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - exception_lineno = 359; - goto try_except_handler_10; - } - } - } else { - Py_DECREF(tmp_iterator_attempt); - - exception_type = PyExc_ValueError; - Py_INCREF(PyExc_ValueError); - exception_value = mod_consts[9]; - Py_INCREF(exception_value); - exception_tb = NULL; - - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - exception_lineno = 359; - goto try_except_handler_10; - } - } - goto try_end_5; - // Exception handler code: - try_except_handler_10:; - 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; - - Py_XDECREF(tmp_tuple_unpack_2__source_iter); - tmp_tuple_unpack_2__source_iter = 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 try_except_handler_9; - // End of try: - try_end_5:; - goto try_end_6; - // Exception handler code: - try_except_handler_9:; - 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_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; - // 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_6:; - Py_XDECREF(tmp_tuple_unpack_2__source_iter); - tmp_tuple_unpack_2__source_iter = NULL; - { - PyObject *tmp_assign_source_30; - CHECK_OBJECT(tmp_tuple_unpack_2__element_1); - tmp_assign_source_30 = tmp_tuple_unpack_2__element_1; - { - PyObject *old = var_img_embeds; - var_img_embeds = tmp_assign_source_30; - Py_INCREF(var_img_embeds); - Py_XDECREF(old); - } - - } - Py_XDECREF(tmp_tuple_unpack_2__element_1); - tmp_tuple_unpack_2__element_1 = NULL; - - { - PyObject *tmp_assign_source_31; - CHECK_OBJECT(tmp_tuple_unpack_2__element_2); - tmp_assign_source_31 = tmp_tuple_unpack_2__element_2; - { - PyObject *old = var_atts_img; - var_atts_img = tmp_assign_source_31; - Py_INCREF(var_atts_img); - Py_XDECREF(old); - } - - } - Py_XDECREF(tmp_tuple_unpack_2__element_2); - tmp_tuple_unpack_2__element_2 = 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; - { - PyObject *tmp_assattr_name_1; - PyObject *tmp_assattr_target_1; - PyObject *tmp_expression_name_16; - tmp_assattr_name_1 = mod_consts[251]; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 360; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_16 = par_self; - tmp_assattr_target_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_16, mod_consts[93]); - if (tmp_assattr_target_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 360; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[252], 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 = 360; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - } - { - PyObject *tmp_assign_source_32; - // Tried code: - { - PyObject *tmp_assign_source_33; - PyObject *tmp_iter_arg_7; - PyObject *tmp_expression_name_17; - PyObject *tmp_subscript_name_10; - if (par_samples == NULL) { - - FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[236]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 362; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_11; - } - - tmp_expression_name_17 = par_samples; - tmp_subscript_name_10 = mod_consts[253]; - tmp_iter_arg_7 = LOOKUP_SUBSCRIPT(tmp_expression_name_17, tmp_subscript_name_10); - if (tmp_iter_arg_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 362; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_11; - } - tmp_assign_source_33 = MAKE_ITERATOR(tmp_iter_arg_7); - Py_DECREF(tmp_iter_arg_7); - if (tmp_assign_source_33 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 362; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_11; - } - assert(tmp_listcomp_2__$0 == NULL); - tmp_listcomp_2__$0 = tmp_assign_source_33; - } - { - PyObject *tmp_assign_source_34; - tmp_assign_source_34 = PyList_New(0); - assert(tmp_listcomp_2__contraction == NULL); - tmp_listcomp_2__contraction = tmp_assign_source_34; - } - if (isFrameUnusable(cache_frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3)) { - Py_XDECREF(cache_frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3); - -#if _DEBUG_REFCOUNTS - if (cache_frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3 = MAKE_FUNCTION_FRAME(codeobj_ed9b4f20c21c660dd0d8fe8c995d8bb3, module_models$medomni_bp, sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - assert(cache_frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3->m_type_description == NULL); - frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3 = cache_frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3; - - // Push the new frame as the currently active one. - pushFrameStack(frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3) == 2); // Frame stack - - // Framed code: - // Tried code: - loop_start_4:; - { - PyObject *tmp_next_source_4; - PyObject *tmp_assign_source_35; - CHECK_OBJECT(tmp_listcomp_2__$0); - tmp_next_source_4 = tmp_listcomp_2__$0; - tmp_assign_source_35 = ITERATOR_NEXT(tmp_next_source_4); - if (tmp_assign_source_35 == NULL) { - if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { - - goto loop_end_4; - } else { - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - type_description_2 = "o"; - exception_lineno = 362; - goto try_except_handler_12; - } - } - - { - PyObject *old = tmp_listcomp_2__iter_value_0; - tmp_listcomp_2__iter_value_0 = tmp_assign_source_35; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_36; - CHECK_OBJECT(tmp_listcomp_2__iter_value_0); - tmp_assign_source_36 = tmp_listcomp_2__iter_value_0; - { - PyObject *old = outline_1_var_t; - outline_1_var_t = tmp_assign_source_36; - Py_INCREF(outline_1_var_t); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_append_list_2; - PyObject *tmp_append_value_2; - CHECK_OBJECT(tmp_listcomp_2__contraction); - tmp_append_list_2 = tmp_listcomp_2__contraction; - CHECK_OBJECT(outline_1_var_t); - tmp_append_value_2 = outline_1_var_t; - assert(PyList_Check(tmp_append_list_2)); - tmp_result = LIST_APPEND0(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 = 362; - type_description_2 = "o"; - goto try_except_handler_12; - } - } - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 362; - type_description_2 = "o"; - goto try_except_handler_12; - } - goto loop_start_4; - loop_end_4:; - CHECK_OBJECT(tmp_listcomp_2__contraction); - tmp_assign_source_32 = tmp_listcomp_2__contraction; - Py_INCREF(tmp_assign_source_32); - goto try_return_handler_12; - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_12:; - 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_3; - // Exception handler code: - try_except_handler_12:; - 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_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_9; - exception_value = exception_keeper_value_9; - exception_tb = exception_keeper_tb_9; - exception_lineno = exception_keeper_lineno_9; - - goto frame_exception_exit_3; - // End of try: - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_2; - - frame_return_exit_3:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_11; - - frame_exception_exit_3:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3, exception_lineno); - } else if (exception_tb->tb_frame != &frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3, - type_description_2, - outline_1_var_t - ); - - - // Release cached frame if used for exception. - if (frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3 == cache_frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3); - cache_frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_3 = NULL; - } - - assertFrameObject(frame_ed9b4f20c21c660dd0d8fe8c995d8bb3_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 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_11; - skip_nested_handling_2:; - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_11:; - Py_XDECREF(outline_1_var_t); - outline_1_var_t = NULL; - goto outline_result_3; - // Exception handler code: - try_except_handler_11:; - 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; - - Py_XDECREF(outline_1_var_t); - outline_1_var_t = 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_2; - // End of try: - NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); - return NULL; - outline_exception_2:; - exception_lineno = 362; - goto frame_exception_exit_1; - outline_result_3:; - assert(var_prompt == NULL); - var_prompt = tmp_assign_source_32; - } - { - PyObject *tmp_assign_source_37; - PyObject *tmp_iter_arg_8; - PyObject *tmp_xrange_low_4; - PyObject *tmp_len_arg_1; - CHECK_OBJECT(var_prompt); - tmp_len_arg_1 = var_prompt; - tmp_xrange_low_4 = BUILTIN_LEN(tmp_len_arg_1); - if (tmp_xrange_low_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 363; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_iter_arg_8 = BUILTIN_XRANGE1(tmp_xrange_low_4); - Py_DECREF(tmp_xrange_low_4); - if (tmp_iter_arg_8 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 363; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_assign_source_37 = MAKE_ITERATOR(tmp_iter_arg_8); - Py_DECREF(tmp_iter_arg_8); - if (tmp_assign_source_37 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 363; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(tmp_for_loop_3__for_iterator == NULL); - tmp_for_loop_3__for_iterator = tmp_assign_source_37; - } - // Tried code: - loop_start_5:; - { - PyObject *tmp_next_source_5; - PyObject *tmp_assign_source_38; - CHECK_OBJECT(tmp_for_loop_3__for_iterator); - tmp_next_source_5 = tmp_for_loop_3__for_iterator; - tmp_assign_source_38 = ITERATOR_NEXT(tmp_next_source_5); - if (tmp_assign_source_38 == NULL) { - if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { - - goto loop_end_5; - } else { - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - exception_lineno = 363; - goto try_except_handler_13; - } - } - - { - PyObject *old = tmp_for_loop_3__iter_value; - tmp_for_loop_3__iter_value = tmp_assign_source_38; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_39; - CHECK_OBJECT(tmp_for_loop_3__iter_value); - tmp_assign_source_39 = tmp_for_loop_3__iter_value; - { - PyObject *old = var_i; - var_i = tmp_assign_source_39; - Py_INCREF(var_i); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_40; - tmp_assign_source_40 = mod_consts[237]; - { - PyObject *old = var_tags; - var_tags = tmp_assign_source_40; - Py_INCREF(var_tags); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_41; - PyObject *tmp_iter_arg_9; - PyObject *tmp_expression_name_18; - PyObject *tmp_subscript_name_11; - if (var_tag_list == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[244]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 365; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_13; - } - - tmp_expression_name_18 = var_tag_list; - CHECK_OBJECT(var_i); - tmp_subscript_name_11 = var_i; - tmp_iter_arg_9 = LOOKUP_SUBSCRIPT(tmp_expression_name_18, tmp_subscript_name_11); - if (tmp_iter_arg_9 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 365; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_13; - } - tmp_assign_source_41 = MAKE_ITERATOR(tmp_iter_arg_9); - Py_DECREF(tmp_iter_arg_9); - if (tmp_assign_source_41 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 365; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_13; - } - { - PyObject *old = tmp_for_loop_4__for_iterator; - tmp_for_loop_4__for_iterator = tmp_assign_source_41; - Py_XDECREF(old); - } - - } - // Tried code: - loop_start_6:; - { - PyObject *tmp_next_source_6; - PyObject *tmp_assign_source_42; - CHECK_OBJECT(tmp_for_loop_4__for_iterator); - tmp_next_source_6 = tmp_for_loop_4__for_iterator; - tmp_assign_source_42 = ITERATOR_NEXT(tmp_next_source_6); - if (tmp_assign_source_42 == NULL) { - if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { - - goto loop_end_6; - } else { - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - exception_lineno = 365; - goto try_except_handler_14; - } - } - - { - PyObject *old = tmp_for_loop_4__iter_value; - tmp_for_loop_4__iter_value = tmp_assign_source_42; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_43; - CHECK_OBJECT(tmp_for_loop_4__iter_value); - tmp_assign_source_43 = tmp_for_loop_4__iter_value; - { - PyObject *old = var_tag; - var_tag = tmp_assign_source_43; - Py_INCREF(var_tag); - Py_XDECREF(old); - } - - } - { - bool tmp_condition_result_2; - PyObject *tmp_compexpr_left_2; - PyObject *tmp_compexpr_right_2; - PyObject *tmp_expression_name_19; - PyObject *tmp_subscript_name_12; - CHECK_OBJECT(var_tag); - tmp_compexpr_left_2 = var_tag; - if (var_prompt == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[254]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 366; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_14; - } - - tmp_expression_name_19 = var_prompt; - if (var_i == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[222]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 366; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_14; - } - - tmp_subscript_name_12 = var_i; - tmp_compexpr_right_2 = LOOKUP_SUBSCRIPT(tmp_expression_name_19, tmp_subscript_name_12); - if (tmp_compexpr_right_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 366; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_14; - } - tmp_res = PySequence_Contains(tmp_compexpr_right_2, tmp_compexpr_left_2); - Py_DECREF(tmp_compexpr_right_2); - if (tmp_res == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 366; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_14; - } - tmp_condition_result_2 = (tmp_res == 0) ? true : false; - if (tmp_condition_result_2 != false) { - goto branch_yes_1; - } else { - goto branch_no_1; - } - } - branch_yes_1:; - { - PyObject *tmp_assign_source_44; - PyObject *tmp_left_name_11; - PyObject *tmp_right_name_11; - if (var_tags == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[255]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 367; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_14; - } - - tmp_left_name_11 = var_tags; - CHECK_OBJECT(var_tag); - tmp_right_name_11 = var_tag; - tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE(&tmp_left_name_11, tmp_right_name_11); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 367; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_14; - } - tmp_assign_source_44 = tmp_left_name_11; - var_tags = tmp_assign_source_44; - - } - branch_no_1:; - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 365; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_14; - } - goto loop_start_6; - loop_end_6:; - goto try_end_7; - // Exception handler code: - try_except_handler_14:; - 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_for_loop_4__iter_value); - tmp_for_loop_4__iter_value = NULL; - Py_XDECREF(tmp_for_loop_4__for_iterator); - tmp_for_loop_4__for_iterator = 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 try_except_handler_13; - // End of try: - try_end_7:; - Py_XDECREF(tmp_for_loop_4__iter_value); - tmp_for_loop_4__iter_value = NULL; - Py_XDECREF(tmp_for_loop_4__for_iterator); - tmp_for_loop_4__for_iterator = NULL; - { - PyObject *tmp_ass_subvalue_1; - PyObject *tmp_called_name_6; - PyObject *tmp_expression_name_20; - PyObject *tmp_expression_name_21; - PyObject *tmp_subscript_name_13; - PyObject *tmp_args_element_name_7; - PyObject *tmp_args_element_name_8; - PyObject *tmp_ass_subscribed_1; - PyObject *tmp_ass_subscript_1; - if (var_prompt == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[254]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 368; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_13; - } - - tmp_expression_name_21 = var_prompt; - if (var_i == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[222]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 368; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_13; - } - - tmp_subscript_name_13 = var_i; - tmp_expression_name_20 = LOOKUP_SUBSCRIPT(tmp_expression_name_21, tmp_subscript_name_13); - if (tmp_expression_name_20 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 368; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_13; - } - tmp_called_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_20, mod_consts[256]); - Py_DECREF(tmp_expression_name_20); - if (tmp_called_name_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 368; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_13; - } - tmp_args_element_name_7 = mod_consts[257]; - if (var_tags == NULL) { - Py_DECREF(tmp_called_name_6); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[255]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 368; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_13; - } - - tmp_args_element_name_8 = var_tags; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 368; - { - PyObject *call_args[] = {tmp_args_element_name_7, tmp_args_element_name_8}; - tmp_ass_subvalue_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_6, call_args); - } - - Py_DECREF(tmp_called_name_6); - if (tmp_ass_subvalue_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 368; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_13; - } - if (var_prompt == NULL) { - Py_DECREF(tmp_ass_subvalue_1); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[254]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 368; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_13; - } - - tmp_ass_subscribed_1 = var_prompt; - if (var_i == NULL) { - Py_DECREF(tmp_ass_subvalue_1); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[222]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 368; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_13; - } - - tmp_ass_subscript_1 = var_i; - tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1); - Py_DECREF(tmp_ass_subvalue_1); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 368; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_13; - } - } - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 363; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_13; - } - goto loop_start_5; - loop_end_5:; - goto try_end_8; - // Exception handler code: - try_except_handler_13:; - 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_XDECREF(tmp_for_loop_3__iter_value); - tmp_for_loop_3__iter_value = NULL; - Py_XDECREF(tmp_for_loop_3__for_iterator); - tmp_for_loop_3__for_iterator = 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 frame_exception_exit_1; - // End of try: - try_end_8:; - Py_XDECREF(tmp_for_loop_3__iter_value); - tmp_for_loop_3__iter_value = NULL; - Py_XDECREF(tmp_for_loop_3__for_iterator); - tmp_for_loop_3__for_iterator = NULL; - { - bool tmp_condition_result_3; - int tmp_or_left_truth_1; - bool tmp_or_left_value_1; - bool tmp_or_right_value_1; - PyObject *tmp_compexpr_left_3; - PyObject *tmp_compexpr_right_3; - PyObject *tmp_expression_name_22; - PyObject *tmp_subscript_name_14; - PyObject *tmp_compexpr_left_4; - PyObject *tmp_compexpr_right_4; - PyObject *tmp_expression_name_23; - PyObject *tmp_subscript_name_15; - tmp_compexpr_left_3 = mod_consts[258]; - if (par_samples == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[236]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 370; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_22 = par_samples; - tmp_subscript_name_14 = mod_consts[233]; - tmp_compexpr_right_3 = LOOKUP_SUBSCRIPT(tmp_expression_name_22, tmp_subscript_name_14); - if (tmp_compexpr_right_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 370; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_res = PySequence_Contains(tmp_compexpr_right_3, tmp_compexpr_left_3); - Py_DECREF(tmp_compexpr_right_3); - if (tmp_res == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 370; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_or_left_value_1 = (tmp_res == 1) ? true : false; - tmp_or_left_truth_1 = tmp_or_left_value_1 != false ? 1 : 0; - if (tmp_or_left_truth_1 == 1) { - goto or_left_1; - } else { - goto or_right_1; - } - or_right_1:; - tmp_compexpr_left_4 = mod_consts[259]; - if (par_samples == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[236]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 370; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_23 = par_samples; - tmp_subscript_name_15 = mod_consts[233]; - tmp_compexpr_right_4 = LOOKUP_SUBSCRIPT(tmp_expression_name_23, tmp_subscript_name_15); - if (tmp_compexpr_right_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 370; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_res = PySequence_Contains(tmp_compexpr_right_4, tmp_compexpr_left_4); - Py_DECREF(tmp_compexpr_right_4); - if (tmp_res == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 370; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_or_right_value_1 = (tmp_res == 1) ? true : false; - tmp_condition_result_3 = tmp_or_right_value_1; - goto or_end_1; - or_left_1:; - tmp_condition_result_3 = tmp_or_left_value_1; - or_end_1:; - if (tmp_condition_result_3 != false) { - goto branch_yes_2; - } else { - goto branch_no_2; - } - } - branch_yes_2:; - { - PyObject *tmp_assign_source_45; - // Tried code: - { - PyObject *tmp_assign_source_46; - PyObject *tmp_iter_arg_10; - PyObject *tmp_expression_name_24; - PyObject *tmp_subscript_name_16; - if (par_samples == NULL) { - - FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[236]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 371; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_15; - } - - tmp_expression_name_24 = par_samples; - tmp_subscript_name_16 = mod_consts[260]; - tmp_iter_arg_10 = LOOKUP_SUBSCRIPT(tmp_expression_name_24, tmp_subscript_name_16); - if (tmp_iter_arg_10 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 371; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_15; - } - tmp_assign_source_46 = MAKE_ITERATOR(tmp_iter_arg_10); - Py_DECREF(tmp_iter_arg_10); - if (tmp_assign_source_46 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 371; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_15; - } - assert(tmp_listcomp_3__$0 == NULL); - tmp_listcomp_3__$0 = tmp_assign_source_46; - } - { - PyObject *tmp_assign_source_47; - tmp_assign_source_47 = PyList_New(0); - assert(tmp_listcomp_3__contraction == NULL); - tmp_listcomp_3__contraction = tmp_assign_source_47; - } - if (isFrameUnusable(cache_frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4)) { - Py_XDECREF(cache_frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4); - -#if _DEBUG_REFCOUNTS - if (cache_frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4 = MAKE_FUNCTION_FRAME(codeobj_f5b91561ae1c4fa3afdef10fa21f1b7d, module_models$medomni_bp, sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - assert(cache_frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4->m_type_description == NULL); - frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4 = cache_frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4; - - // Push the new frame as the currently active one. - pushFrameStack(frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4) == 2); // Frame stack - - // Framed code: - // Tried code: - loop_start_7:; - { - PyObject *tmp_next_source_7; - PyObject *tmp_assign_source_48; - CHECK_OBJECT(tmp_listcomp_3__$0); - tmp_next_source_7 = tmp_listcomp_3__$0; - tmp_assign_source_48 = ITERATOR_NEXT(tmp_next_source_7); - if (tmp_assign_source_48 == NULL) { - if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { - - goto loop_end_7; - } else { - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - type_description_2 = "o"; - exception_lineno = 371; - goto try_except_handler_16; - } - } - - { - PyObject *old = tmp_listcomp_3__iter_value_0; - tmp_listcomp_3__iter_value_0 = tmp_assign_source_48; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_49; - CHECK_OBJECT(tmp_listcomp_3__iter_value_0); - tmp_assign_source_49 = tmp_listcomp_3__iter_value_0; - { - PyObject *old = outline_2_var_ans; - outline_2_var_ans = tmp_assign_source_49; - Py_INCREF(outline_2_var_ans); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_append_list_3; - PyObject *tmp_append_value_3; - PyObject *tmp_expression_name_25; - PyObject *tmp_called_instance_1; - PyObject *tmp_subscript_name_17; - CHECK_OBJECT(tmp_listcomp_3__contraction); - tmp_append_list_3 = tmp_listcomp_3__contraction; - CHECK_OBJECT(outline_2_var_ans); - tmp_called_instance_1 = outline_2_var_ans; - frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4->m_frame.f_lineno = 371; - tmp_expression_name_25 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_1, - mod_consts[53], - &PyTuple_GET_ITEM(mod_consts[261], 0) - ); - - if (tmp_expression_name_25 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 371; - type_description_2 = "o"; - goto try_except_handler_16; - } - tmp_subscript_name_17 = mod_consts[11]; - tmp_append_value_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_25, tmp_subscript_name_17, 0); - Py_DECREF(tmp_expression_name_25); - if (tmp_append_value_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 371; - type_description_2 = "o"; - goto try_except_handler_16; - } - assert(PyList_Check(tmp_append_list_3)); - tmp_result = LIST_APPEND1(tmp_append_list_3, tmp_append_value_3); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 371; - type_description_2 = "o"; - goto try_except_handler_16; - } - } - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 371; - type_description_2 = "o"; - goto try_except_handler_16; - } - goto loop_start_7; - loop_end_7:; - CHECK_OBJECT(tmp_listcomp_3__contraction); - tmp_assign_source_45 = tmp_listcomp_3__contraction; - Py_INCREF(tmp_assign_source_45); - goto try_return_handler_16; - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_16:; - Py_XDECREF(tmp_listcomp_3__$0); - tmp_listcomp_3__$0 = NULL; - CHECK_OBJECT(tmp_listcomp_3__contraction); - Py_DECREF(tmp_listcomp_3__contraction); - tmp_listcomp_3__contraction = NULL; - Py_XDECREF(tmp_listcomp_3__iter_value_0); - tmp_listcomp_3__iter_value_0 = NULL; - goto frame_return_exit_4; - // Exception handler code: - try_except_handler_16:; - 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; - - Py_XDECREF(tmp_listcomp_3__$0); - tmp_listcomp_3__$0 = NULL; - CHECK_OBJECT(tmp_listcomp_3__contraction); - Py_DECREF(tmp_listcomp_3__contraction); - tmp_listcomp_3__contraction = NULL; - Py_XDECREF(tmp_listcomp_3__iter_value_0); - tmp_listcomp_3__iter_value_0 = 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 frame_exception_exit_4; - // End of try: - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_3; - - frame_return_exit_4:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_15; - - frame_exception_exit_4:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4, exception_lineno); - } else if (exception_tb->tb_frame != &frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4, - type_description_2, - outline_2_var_ans - ); - - - // Release cached frame if used for exception. - if (frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4 == cache_frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4); - cache_frame_f5b91561ae1c4fa3afdef10fa21f1b7d_4 = NULL; - } - - assertFrameObject(frame_f5b91561ae1c4fa3afdef10fa21f1b7d_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:; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_15; - skip_nested_handling_3:; - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_15:; - Py_XDECREF(outline_2_var_ans); - outline_2_var_ans = NULL; - goto outline_result_4; - // Exception handler code: - try_except_handler_15:; - 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(outline_2_var_ans); - outline_2_var_ans = 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 outline_exception_3; - // End of try: - NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); - return NULL; - outline_exception_3:; - exception_lineno = 371; - goto frame_exception_exit_1; - outline_result_4:; - assert(var_sample_ans == NULL); - var_sample_ans = tmp_assign_source_45; - } - { - PyObject *tmp_assign_source_50; - // Tried code: - { - PyObject *tmp_assign_source_51; - PyObject *tmp_iter_arg_11; - PyObject *tmp_expression_name_26; - PyObject *tmp_subscript_name_18; - if (par_samples == NULL) { - - FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[236]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 372; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_17; - } - - tmp_expression_name_26 = par_samples; - tmp_subscript_name_18 = mod_consts[260]; - tmp_iter_arg_11 = LOOKUP_SUBSCRIPT(tmp_expression_name_26, tmp_subscript_name_18); - if (tmp_iter_arg_11 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 372; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_17; - } - tmp_assign_source_51 = MAKE_ITERATOR(tmp_iter_arg_11); - Py_DECREF(tmp_iter_arg_11); - if (tmp_assign_source_51 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 372; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_17; - } - assert(tmp_listcomp_4__$0 == NULL); - tmp_listcomp_4__$0 = tmp_assign_source_51; - } - { - PyObject *tmp_assign_source_52; - tmp_assign_source_52 = PyList_New(0); - assert(tmp_listcomp_4__contraction == NULL); - tmp_listcomp_4__contraction = tmp_assign_source_52; - } - if (isFrameUnusable(cache_frame_61c6cd3e0de25dc41165ffa6ed32e42c_5)) { - Py_XDECREF(cache_frame_61c6cd3e0de25dc41165ffa6ed32e42c_5); - -#if _DEBUG_REFCOUNTS - if (cache_frame_61c6cd3e0de25dc41165ffa6ed32e42c_5 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_61c6cd3e0de25dc41165ffa6ed32e42c_5 = MAKE_FUNCTION_FRAME(codeobj_61c6cd3e0de25dc41165ffa6ed32e42c, module_models$medomni_bp, sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - assert(cache_frame_61c6cd3e0de25dc41165ffa6ed32e42c_5->m_type_description == NULL); - frame_61c6cd3e0de25dc41165ffa6ed32e42c_5 = cache_frame_61c6cd3e0de25dc41165ffa6ed32e42c_5; - - // Push the new frame as the currently active one. - pushFrameStack(frame_61c6cd3e0de25dc41165ffa6ed32e42c_5); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_61c6cd3e0de25dc41165ffa6ed32e42c_5) == 2); // Frame stack - - // Framed code: - // Tried code: - loop_start_8:; - { - PyObject *tmp_next_source_8; - PyObject *tmp_assign_source_53; - CHECK_OBJECT(tmp_listcomp_4__$0); - tmp_next_source_8 = tmp_listcomp_4__$0; - tmp_assign_source_53 = ITERATOR_NEXT(tmp_next_source_8); - if (tmp_assign_source_53 == NULL) { - if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { - - goto loop_end_8; - } else { - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - type_description_2 = "o"; - exception_lineno = 372; - goto try_except_handler_18; - } - } - - { - PyObject *old = tmp_listcomp_4__iter_value_0; - tmp_listcomp_4__iter_value_0 = tmp_assign_source_53; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_54; - CHECK_OBJECT(tmp_listcomp_4__iter_value_0); - tmp_assign_source_54 = tmp_listcomp_4__iter_value_0; - { - PyObject *old = outline_3_var_ans; - outline_3_var_ans = tmp_assign_source_54; - Py_INCREF(outline_3_var_ans); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_append_list_4; - PyObject *tmp_append_value_4; - PyObject *tmp_expression_name_27; - PyObject *tmp_called_instance_2; - PyObject *tmp_subscript_name_19; - CHECK_OBJECT(tmp_listcomp_4__contraction); - tmp_append_list_4 = tmp_listcomp_4__contraction; - CHECK_OBJECT(outline_3_var_ans); - tmp_called_instance_2 = outline_3_var_ans; - frame_61c6cd3e0de25dc41165ffa6ed32e42c_5->m_frame.f_lineno = 372; - tmp_expression_name_27 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_2, - mod_consts[53], - &PyTuple_GET_ITEM(mod_consts[261], 0) - ); - - if (tmp_expression_name_27 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 372; - type_description_2 = "o"; - goto try_except_handler_18; - } - tmp_subscript_name_19 = mod_consts[60]; - tmp_append_value_4 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_27, tmp_subscript_name_19, 1); - Py_DECREF(tmp_expression_name_27); - if (tmp_append_value_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 372; - type_description_2 = "o"; - goto try_except_handler_18; - } - assert(PyList_Check(tmp_append_list_4)); - tmp_result = LIST_APPEND1(tmp_append_list_4, tmp_append_value_4); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 372; - type_description_2 = "o"; - goto try_except_handler_18; - } - } - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 372; - type_description_2 = "o"; - goto try_except_handler_18; - } - goto loop_start_8; - loop_end_8:; - CHECK_OBJECT(tmp_listcomp_4__contraction); - tmp_assign_source_50 = tmp_listcomp_4__contraction; - Py_INCREF(tmp_assign_source_50); - goto try_return_handler_18; - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_18:; - Py_XDECREF(tmp_listcomp_4__$0); - tmp_listcomp_4__$0 = NULL; - CHECK_OBJECT(tmp_listcomp_4__contraction); - Py_DECREF(tmp_listcomp_4__contraction); - tmp_listcomp_4__contraction = NULL; - Py_XDECREF(tmp_listcomp_4__iter_value_0); - tmp_listcomp_4__iter_value_0 = NULL; - goto frame_return_exit_5; - // Exception handler code: - try_except_handler_18:; - 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_XDECREF(tmp_listcomp_4__$0); - tmp_listcomp_4__$0 = NULL; - CHECK_OBJECT(tmp_listcomp_4__contraction); - Py_DECREF(tmp_listcomp_4__contraction); - tmp_listcomp_4__contraction = NULL; - Py_XDECREF(tmp_listcomp_4__iter_value_0); - tmp_listcomp_4__iter_value_0 = 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 frame_exception_exit_5; - // End of try: - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_61c6cd3e0de25dc41165ffa6ed32e42c_5); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_4; - - frame_return_exit_5:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_61c6cd3e0de25dc41165ffa6ed32e42c_5); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_17; - - frame_exception_exit_5:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_61c6cd3e0de25dc41165ffa6ed32e42c_5); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_61c6cd3e0de25dc41165ffa6ed32e42c_5, exception_lineno); - } else if (exception_tb->tb_frame != &frame_61c6cd3e0de25dc41165ffa6ed32e42c_5->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_61c6cd3e0de25dc41165ffa6ed32e42c_5, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_61c6cd3e0de25dc41165ffa6ed32e42c_5, - type_description_2, - outline_3_var_ans - ); - - - // Release cached frame if used for exception. - if (frame_61c6cd3e0de25dc41165ffa6ed32e42c_5 == cache_frame_61c6cd3e0de25dc41165ffa6ed32e42c_5) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_61c6cd3e0de25dc41165ffa6ed32e42c_5); - cache_frame_61c6cd3e0de25dc41165ffa6ed32e42c_5 = NULL; - } - - assertFrameObject(frame_61c6cd3e0de25dc41165ffa6ed32e42c_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:; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_17; - skip_nested_handling_4:; - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_17:; - Py_XDECREF(outline_3_var_ans); - outline_3_var_ans = NULL; - goto outline_result_5; - // Exception handler code: - try_except_handler_17:; - 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; - - Py_XDECREF(outline_3_var_ans); - outline_3_var_ans = 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_4; - // End of try: - NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); - return NULL; - outline_exception_4:; - exception_lineno = 372; - goto frame_exception_exit_1; - outline_result_5:; - assert(var_sample_num == NULL); - var_sample_num = tmp_assign_source_50; - } - goto branch_end_2; - branch_no_2:; - { - PyObject *tmp_assign_source_55; - PyObject *tmp_expression_name_28; - PyObject *tmp_subscript_name_20; - if (par_samples == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[236]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 374; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_28 = par_samples; - tmp_subscript_name_20 = mod_consts[260]; - tmp_assign_source_55 = LOOKUP_SUBSCRIPT(tmp_expression_name_28, tmp_subscript_name_20); - if (tmp_assign_source_55 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 374; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_sample_ans == NULL); - var_sample_ans = tmp_assign_source_55; - } - branch_end_2:; - { - PyObject *tmp_assign_source_56; - // Tried code: - { - PyObject *tmp_assign_source_57; - PyObject *tmp_iter_arg_12; - CHECK_OBJECT(var_sample_ans); - tmp_iter_arg_12 = var_sample_ans; - tmp_assign_source_57 = MAKE_ITERATOR(tmp_iter_arg_12); - if (tmp_assign_source_57 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 375; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_19; - } - assert(tmp_listcomp_5__$0 == NULL); - tmp_listcomp_5__$0 = tmp_assign_source_57; - } - { - PyObject *tmp_assign_source_58; - tmp_assign_source_58 = PyList_New(0); - assert(tmp_listcomp_5__contraction == NULL); - tmp_listcomp_5__contraction = tmp_assign_source_58; - } - if (isFrameUnusable(cache_frame_df4c04242bced16e5cdef975c429cb8d_6)) { - Py_XDECREF(cache_frame_df4c04242bced16e5cdef975c429cb8d_6); - -#if _DEBUG_REFCOUNTS - if (cache_frame_df4c04242bced16e5cdef975c429cb8d_6 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_df4c04242bced16e5cdef975c429cb8d_6 = MAKE_FUNCTION_FRAME(codeobj_df4c04242bced16e5cdef975c429cb8d, module_models$medomni_bp, sizeof(void *)+sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - assert(cache_frame_df4c04242bced16e5cdef975c429cb8d_6->m_type_description == NULL); - frame_df4c04242bced16e5cdef975c429cb8d_6 = cache_frame_df4c04242bced16e5cdef975c429cb8d_6; - - // Push the new frame as the currently active one. - pushFrameStack(frame_df4c04242bced16e5cdef975c429cb8d_6); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_df4c04242bced16e5cdef975c429cb8d_6) == 2); // Frame stack - - // Framed code: - // Tried code: - loop_start_9:; - { - PyObject *tmp_next_source_9; - PyObject *tmp_assign_source_59; - CHECK_OBJECT(tmp_listcomp_5__$0); - tmp_next_source_9 = tmp_listcomp_5__$0; - tmp_assign_source_59 = ITERATOR_NEXT(tmp_next_source_9); - if (tmp_assign_source_59 == NULL) { - if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { - - goto loop_end_9; - } else { - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - type_description_2 = "oo"; - exception_lineno = 375; - goto try_except_handler_20; - } - } - - { - PyObject *old = tmp_listcomp_5__iter_value_0; - tmp_listcomp_5__iter_value_0 = tmp_assign_source_59; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_60; - CHECK_OBJECT(tmp_listcomp_5__iter_value_0); - tmp_assign_source_60 = tmp_listcomp_5__iter_value_0; - { - PyObject *old = outline_4_var_t; - outline_4_var_t = tmp_assign_source_60; - Py_INCREF(outline_4_var_t); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_append_list_5; - PyObject *tmp_append_value_5; - PyObject *tmp_left_name_12; - PyObject *tmp_left_name_13; - PyObject *tmp_right_name_12; - PyObject *tmp_unicode_arg_4; - PyObject *tmp_right_name_13; - PyObject *tmp_expression_name_29; - CHECK_OBJECT(tmp_listcomp_5__contraction); - tmp_append_list_5 = tmp_listcomp_5__contraction; - tmp_left_name_13 = mod_consts[262]; - CHECK_OBJECT(outline_4_var_t); - tmp_unicode_arg_4 = outline_4_var_t; - tmp_right_name_12 = PyObject_Unicode(tmp_unicode_arg_4); - if (tmp_right_name_12 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 375; - type_description_2 = "oo"; - goto try_except_handler_20; - } - tmp_left_name_12 = BINARY_OPERATION_ADD_OBJECT_UNICODE_OBJECT(tmp_left_name_13, tmp_right_name_12); - Py_DECREF(tmp_right_name_12); - if (tmp_left_name_12 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 375; - type_description_2 = "oo"; - goto try_except_handler_20; - } - if (par_self == NULL) { - Py_DECREF(tmp_left_name_12); - FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 375; - type_description_2 = "oo"; - goto try_except_handler_20; - } - - tmp_expression_name_29 = par_self; - tmp_right_name_13 = LOOKUP_ATTRIBUTE(tmp_expression_name_29, mod_consts[168]); - if (tmp_right_name_13 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_left_name_12); - - exception_lineno = 375; - type_description_2 = "oo"; - goto try_except_handler_20; - } - tmp_append_value_5 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_12, tmp_right_name_13); - Py_DECREF(tmp_left_name_12); - Py_DECREF(tmp_right_name_13); - if (tmp_append_value_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 375; - type_description_2 = "oo"; - goto try_except_handler_20; - } - assert(PyList_Check(tmp_append_list_5)); - tmp_result = LIST_APPEND1(tmp_append_list_5, tmp_append_value_5); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 375; - type_description_2 = "oo"; - goto try_except_handler_20; - } - } - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 375; - type_description_2 = "oo"; - goto try_except_handler_20; - } - goto loop_start_9; - loop_end_9:; - CHECK_OBJECT(tmp_listcomp_5__contraction); - tmp_assign_source_56 = tmp_listcomp_5__contraction; - Py_INCREF(tmp_assign_source_56); - 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_XDECREF(tmp_listcomp_5__$0); - tmp_listcomp_5__$0 = NULL; - CHECK_OBJECT(tmp_listcomp_5__contraction); - Py_DECREF(tmp_listcomp_5__contraction); - tmp_listcomp_5__contraction = NULL; - Py_XDECREF(tmp_listcomp_5__iter_value_0); - tmp_listcomp_5__iter_value_0 = NULL; - goto frame_return_exit_6; - // Exception handler code: - try_except_handler_20:; - 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_listcomp_5__$0); - tmp_listcomp_5__$0 = NULL; - CHECK_OBJECT(tmp_listcomp_5__contraction); - Py_DECREF(tmp_listcomp_5__contraction); - tmp_listcomp_5__contraction = NULL; - Py_XDECREF(tmp_listcomp_5__iter_value_0); - tmp_listcomp_5__iter_value_0 = 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_6; - // End of try: - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_df4c04242bced16e5cdef975c429cb8d_6); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_5; - - frame_return_exit_6:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_df4c04242bced16e5cdef975c429cb8d_6); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_19; - - frame_exception_exit_6:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_df4c04242bced16e5cdef975c429cb8d_6); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_df4c04242bced16e5cdef975c429cb8d_6, exception_lineno); - } else if (exception_tb->tb_frame != &frame_df4c04242bced16e5cdef975c429cb8d_6->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_df4c04242bced16e5cdef975c429cb8d_6, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_df4c04242bced16e5cdef975c429cb8d_6, - type_description_2, - outline_4_var_t, - par_self - ); - - - // Release cached frame if used for exception. - if (frame_df4c04242bced16e5cdef975c429cb8d_6 == cache_frame_df4c04242bced16e5cdef975c429cb8d_6) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_df4c04242bced16e5cdef975c429cb8d_6); - cache_frame_df4c04242bced16e5cdef975c429cb8d_6 = NULL; - } - - assertFrameObject(frame_df4c04242bced16e5cdef975c429cb8d_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:; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_19; - skip_nested_handling_5:; - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_19:; - Py_XDECREF(outline_4_var_t); - outline_4_var_t = NULL; - goto outline_result_6; - // Exception handler code: - try_except_handler_19:; - 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_XDECREF(outline_4_var_t); - outline_4_var_t = 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 outline_exception_5; - // End of try: - NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); - return NULL; - outline_exception_5:; - exception_lineno = 375; - goto frame_exception_exit_1; - outline_result_6:; - assert(var_text == NULL); - var_text = tmp_assign_source_56; - } - { - PyObject *tmp_assign_source_61; - PyObject *tmp_called_name_7; - PyObject *tmp_expression_name_30; - PyObject *tmp_called_name_8; - PyObject *tmp_expression_name_31; - PyObject *tmp_args_name_2; - PyObject *tmp_tuple_element_2; - PyObject *tmp_kwargs_name_2; - PyObject *tmp_args_element_name_9; - PyObject *tmp_expression_name_32; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 377; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_31 = par_self; - tmp_called_name_8 = LOOKUP_ATTRIBUTE(tmp_expression_name_31, mod_consts[93]); - if (tmp_called_name_8 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 377; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - if (var_prompt == NULL) { - Py_DECREF(tmp_called_name_8); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[254]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 378; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_tuple_element_2 = var_prompt; - tmp_args_name_2 = PyTuple_New(1); - PyTuple_SET_ITEM0(tmp_args_name_2, 0, tmp_tuple_element_2); - tmp_kwargs_name_2 = PyDict_Copy(mod_consts[263]); - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 377; - tmp_expression_name_30 = CALL_FUNCTION(tmp_called_name_8, tmp_args_name_2, tmp_kwargs_name_2); - Py_DECREF(tmp_called_name_8); - Py_DECREF(tmp_args_name_2); - Py_DECREF(tmp_kwargs_name_2); - if (tmp_expression_name_30 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 377; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_called_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_30, mod_consts[170]); - Py_DECREF(tmp_expression_name_30); - if (tmp_called_name_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 377; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - if (var_image == NULL) { - Py_DECREF(tmp_called_name_7); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[177]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 384; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_32 = var_image; - tmp_args_element_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_32, mod_consts[178]); - 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); - - exception_lineno = 384; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 377; - tmp_assign_source_61 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_7, tmp_args_element_name_9); - Py_DECREF(tmp_called_name_7); - Py_DECREF(tmp_args_element_name_9); - if (tmp_assign_source_61 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 377; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_prompt_tokens == NULL); - var_prompt_tokens = tmp_assign_source_61; - } - // Tried code: - { - PyObject *tmp_assign_source_62; - PyObject *tmp_iter_arg_13; - PyObject *tmp_called_instance_3; - PyObject *tmp_args_element_name_10; - PyObject *tmp_args_element_name_11; - PyObject *tmp_args_element_name_12; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 386; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_21; - } - - tmp_called_instance_3 = par_self; - CHECK_OBJECT(var_img_embeds); - tmp_args_element_name_10 = var_img_embeds; - CHECK_OBJECT(var_atts_img); - tmp_args_element_name_11 = var_atts_img; - CHECK_OBJECT(var_prompt_tokens); - tmp_args_element_name_12 = var_prompt_tokens; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 386; - { - PyObject *call_args[] = {tmp_args_element_name_10, tmp_args_element_name_11, tmp_args_element_name_12}; - tmp_iter_arg_13 = CALL_METHOD_WITH_ARGS3( - tmp_called_instance_3, - mod_consts[264], - call_args - ); - } - - if (tmp_iter_arg_13 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 386; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_21; - } - tmp_assign_source_62 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_13); - Py_DECREF(tmp_iter_arg_13); - if (tmp_assign_source_62 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 386; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_21; - } - assert(tmp_tuple_unpack_3__source_iter == NULL); - tmp_tuple_unpack_3__source_iter = tmp_assign_source_62; - } - // Tried code: - { - PyObject *tmp_assign_source_63; - PyObject *tmp_unpack_6; - CHECK_OBJECT(tmp_tuple_unpack_3__source_iter); - tmp_unpack_6 = tmp_tuple_unpack_3__source_iter; - tmp_assign_source_63 = UNPACK_NEXT(tmp_unpack_6, 0, 2); - if (tmp_assign_source_63 == 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 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - exception_lineno = 386; - goto try_except_handler_22; - } - assert(tmp_tuple_unpack_3__element_1 == NULL); - tmp_tuple_unpack_3__element_1 = tmp_assign_source_63; - } - { - PyObject *tmp_assign_source_64; - PyObject *tmp_unpack_7; - CHECK_OBJECT(tmp_tuple_unpack_3__source_iter); - tmp_unpack_7 = tmp_tuple_unpack_3__source_iter; - tmp_assign_source_64 = UNPACK_NEXT(tmp_unpack_7, 1, 2); - if (tmp_assign_source_64 == 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 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - exception_lineno = 386; - goto try_except_handler_22; - } - assert(tmp_tuple_unpack_3__element_2 == NULL); - tmp_tuple_unpack_3__element_2 = tmp_assign_source_64; - } - { - PyObject *tmp_iterator_name_3; - CHECK_OBJECT(tmp_tuple_unpack_3__source_iter); - tmp_iterator_name_3 = tmp_tuple_unpack_3__source_iter; - // Check if iterator has left-over elements. - CHECK_OBJECT(tmp_iterator_name_3); assert(HAS_ITERNEXT(tmp_iterator_name_3)); - - tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_3)->tp_iternext)(tmp_iterator_name_3); - - 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 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - exception_lineno = 386; - goto try_except_handler_22; - } - } - } else { - Py_DECREF(tmp_iterator_attempt); - - exception_type = PyExc_ValueError; - Py_INCREF(PyExc_ValueError); - exception_value = mod_consts[9]; - Py_INCREF(exception_value); - exception_tb = NULL; - - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - exception_lineno = 386; - goto try_except_handler_22; - } - } - goto try_end_9; - // Exception handler code: - try_except_handler_22:; - 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; - - Py_XDECREF(tmp_tuple_unpack_3__source_iter); - tmp_tuple_unpack_3__source_iter = 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 try_except_handler_21; - // End of try: - try_end_9:; - goto try_end_10; - // Exception handler code: - try_except_handler_21:; - 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_tuple_unpack_3__element_1); - tmp_tuple_unpack_3__element_1 = NULL; - Py_XDECREF(tmp_tuple_unpack_3__element_2); - tmp_tuple_unpack_3__element_2 = 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_10:; - Py_XDECREF(tmp_tuple_unpack_3__source_iter); - tmp_tuple_unpack_3__source_iter = NULL; - { - PyObject *tmp_assign_source_65; - CHECK_OBJECT(tmp_tuple_unpack_3__element_1); - tmp_assign_source_65 = tmp_tuple_unpack_3__element_1; - { - PyObject *old = var_img_embeds; - var_img_embeds = tmp_assign_source_65; - Py_INCREF(var_img_embeds); - Py_XDECREF(old); - } - - } - Py_XDECREF(tmp_tuple_unpack_3__element_1); - tmp_tuple_unpack_3__element_1 = NULL; - - { - PyObject *tmp_assign_source_66; - CHECK_OBJECT(tmp_tuple_unpack_3__element_2); - tmp_assign_source_66 = tmp_tuple_unpack_3__element_2; - { - PyObject *old = var_atts_img; - var_atts_img = tmp_assign_source_66; - Py_INCREF(var_atts_img); - Py_XDECREF(old); - } - - } - Py_XDECREF(tmp_tuple_unpack_3__element_2); - tmp_tuple_unpack_3__element_2 = NULL; - - Py_XDECREF(tmp_tuple_unpack_3__element_1); - tmp_tuple_unpack_3__element_1 = NULL; - Py_XDECREF(tmp_tuple_unpack_3__element_2); - tmp_tuple_unpack_3__element_2 = NULL; - { - PyObject *tmp_assign_source_67; - PyObject *tmp_called_name_9; - PyObject *tmp_expression_name_33; - PyObject *tmp_called_name_10; - PyObject *tmp_expression_name_34; - PyObject *tmp_args_name_3; - PyObject *tmp_tuple_element_3; - PyObject *tmp_kwargs_name_3; - PyObject *tmp_dict_key_2; - PyObject *tmp_dict_value_2; - PyObject *tmp_args_element_name_13; - PyObject *tmp_expression_name_36; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 388; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_34 = par_self; - tmp_called_name_10 = LOOKUP_ATTRIBUTE(tmp_expression_name_34, mod_consts[93]); - if (tmp_called_name_10 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 388; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(var_text); - tmp_tuple_element_3 = var_text; - tmp_args_name_3 = PyTuple_New(1); - PyTuple_SET_ITEM0(tmp_args_name_3, 0, tmp_tuple_element_3); - tmp_dict_key_2 = mod_consts[265]; - tmp_dict_value_2 = mod_consts[266]; - tmp_kwargs_name_3 = _PyDict_NewPresized( 5 ); - { - PyObject *tmp_expression_name_35; - tmp_res = PyDict_SetItem(tmp_kwargs_name_3, tmp_dict_key_2, tmp_dict_value_2); - assert(!(tmp_res != 0)); - tmp_dict_key_2 = mod_consts[267]; - tmp_dict_value_2 = mod_consts[268]; - tmp_res = PyDict_SetItem(tmp_kwargs_name_3, tmp_dict_key_2, tmp_dict_value_2); - assert(!(tmp_res != 0)); - tmp_dict_key_2 = mod_consts[269]; - tmp_dict_value_2 = Py_True; - tmp_res = PyDict_SetItem(tmp_kwargs_name_3, tmp_dict_key_2, tmp_dict_value_2); - assert(!(tmp_res != 0)); - tmp_dict_key_2 = mod_consts[270]; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 393; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto dict_build_exception_1; - } - - tmp_expression_name_35 = par_self; - tmp_dict_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_35, mod_consts[167]); - if (tmp_dict_value_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 393; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto dict_build_exception_1; - } - tmp_res = PyDict_SetItem(tmp_kwargs_name_3, tmp_dict_key_2, tmp_dict_value_2); - Py_DECREF(tmp_dict_value_2); - assert(!(tmp_res != 0)); - tmp_dict_key_2 = mod_consts[96]; - tmp_dict_value_2 = Py_False; - tmp_res = PyDict_SetItem(tmp_kwargs_name_3, tmp_dict_key_2, tmp_dict_value_2); - 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_10); - Py_DECREF(tmp_args_name_3); - Py_DECREF(tmp_kwargs_name_3); - goto frame_exception_exit_1; - // Finished with no exception for dict_build: - dict_build_noexception_1:; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 388; - tmp_expression_name_33 = CALL_FUNCTION(tmp_called_name_10, tmp_args_name_3, tmp_kwargs_name_3); - Py_DECREF(tmp_called_name_10); - Py_DECREF(tmp_args_name_3); - Py_DECREF(tmp_kwargs_name_3); - if (tmp_expression_name_33 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 388; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_called_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_33, mod_consts[170]); - Py_DECREF(tmp_expression_name_33); - if (tmp_called_name_9 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 388; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - if (var_image == NULL) { - Py_DECREF(tmp_called_name_9); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[177]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 395; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_36 = var_image; - tmp_args_element_name_13 = LOOKUP_ATTRIBUTE(tmp_expression_name_36, mod_consts[178]); - if (tmp_args_element_name_13 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_9); - - exception_lineno = 395; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 388; - tmp_assign_source_67 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_9, tmp_args_element_name_13); - Py_DECREF(tmp_called_name_9); - Py_DECREF(tmp_args_element_name_13); - if (tmp_assign_source_67 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 388; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_to_regress_tokens == NULL); - var_to_regress_tokens = tmp_assign_source_67; - } - { - PyObject *tmp_assign_source_68; - PyObject *tmp_called_name_11; - PyObject *tmp_expression_name_37; - PyObject *tmp_expression_name_38; - PyObject *tmp_args_element_name_14; - PyObject *tmp_compexpr_left_5; - PyObject *tmp_compexpr_right_5; - PyObject *tmp_expression_name_39; - PyObject *tmp_expression_name_40; - PyObject *tmp_expression_name_41; - PyObject *tmp_args_element_name_15; - CHECK_OBJECT(var_to_regress_tokens); - tmp_expression_name_38 = var_to_regress_tokens; - tmp_expression_name_37 = LOOKUP_ATTRIBUTE(tmp_expression_name_38, mod_consts[104]); - if (tmp_expression_name_37 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 397; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_called_name_11 = LOOKUP_ATTRIBUTE(tmp_expression_name_37, mod_consts[271]); - Py_DECREF(tmp_expression_name_37); - if (tmp_called_name_11 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 397; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - if (var_to_regress_tokens == NULL) { - Py_DECREF(tmp_called_name_11); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[272]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 398; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_39 = var_to_regress_tokens; - tmp_compexpr_left_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_39, mod_consts[104]); - if (tmp_compexpr_left_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_11); - - exception_lineno = 398; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_called_name_11); - Py_DECREF(tmp_compexpr_left_5); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 398; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_41 = par_self; - tmp_expression_name_40 = LOOKUP_ATTRIBUTE(tmp_expression_name_41, mod_consts[93]); - if (tmp_expression_name_40 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_11); - Py_DECREF(tmp_compexpr_left_5); - - exception_lineno = 398; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_compexpr_right_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_40, mod_consts[273]); - Py_DECREF(tmp_expression_name_40); - if (tmp_compexpr_right_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_11); - Py_DECREF(tmp_compexpr_left_5); - - exception_lineno = 398; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_args_element_name_14 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_5, tmp_compexpr_right_5); - Py_DECREF(tmp_compexpr_left_5); - Py_DECREF(tmp_compexpr_right_5); - if (tmp_args_element_name_14 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_11); - - exception_lineno = 398; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_args_element_name_15 = mod_consts[274]; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 397; - { - PyObject *call_args[] = {tmp_args_element_name_14, tmp_args_element_name_15}; - tmp_assign_source_68 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_11, call_args); - } - - Py_DECREF(tmp_called_name_11); - Py_DECREF(tmp_args_element_name_14); - if (tmp_assign_source_68 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 397; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_targets == NULL); - var_targets = tmp_assign_source_68; - } - { - PyObject *tmp_assign_source_69; - PyObject *tmp_called_instance_4; - PyObject *tmp_called_name_12; - PyObject *tmp_expression_name_42; - PyObject *tmp_called_name_13; - PyObject *tmp_expression_name_43; - PyObject *tmp_args_name_4; - PyObject *tmp_tuple_element_4; - PyObject *tmp_list_element_1; - PyObject *tmp_expression_name_44; - PyObject *tmp_expression_name_45; - PyObject *tmp_subscript_name_21; - PyObject *tmp_kwargs_name_4; - PyObject *tmp_dict_key_3; - PyObject *tmp_dict_value_3; - PyObject *tmp_expression_name_48; - PyObject *tmp_args_element_name_16; - PyObject *tmp_expression_name_49; - tmp_expression_name_43 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_43 == NULL)) { - tmp_expression_name_43 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_43 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 402; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_called_name_13 = LOOKUP_ATTRIBUTE(tmp_expression_name_43, mod_consts[197]); - if (tmp_called_name_13 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 402; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(var_atts_img); - tmp_expression_name_45 = var_atts_img; - tmp_expression_name_44 = LOOKUP_ATTRIBUTE(tmp_expression_name_45, mod_consts[175]); - if (tmp_expression_name_44 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_13); - - exception_lineno = 402; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_subscript_name_21 = mod_consts[11]; - tmp_list_element_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_44, tmp_subscript_name_21, 0); - Py_DECREF(tmp_expression_name_44); - if (tmp_list_element_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_13); - - exception_lineno = 402; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_tuple_element_4 = PyList_New(2); - { - PyObject *tmp_left_name_14; - PyObject *tmp_expression_name_46; - PyObject *tmp_expression_name_47; - PyObject *tmp_subscript_name_22; - PyObject *tmp_right_name_14; - PyList_SET_ITEM(tmp_tuple_element_4, 0, tmp_list_element_1); - if (var_atts_img == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[275]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 402; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto list_build_exception_1; - } - - tmp_expression_name_47 = var_atts_img; - tmp_expression_name_46 = LOOKUP_ATTRIBUTE(tmp_expression_name_47, mod_consts[175]); - if (tmp_expression_name_46 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 402; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto list_build_exception_1; - } - tmp_subscript_name_22 = mod_consts[60]; - tmp_left_name_14 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_46, tmp_subscript_name_22, 1); - Py_DECREF(tmp_expression_name_46); - if (tmp_left_name_14 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 402; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto list_build_exception_1; - } - tmp_right_name_14 = mod_consts[60]; - tmp_list_element_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_left_name_14, tmp_right_name_14); - Py_DECREF(tmp_left_name_14); - if (tmp_list_element_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 402; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto list_build_exception_1; - } - PyList_SET_ITEM(tmp_tuple_element_4, 1, tmp_list_element_1); - } - goto list_build_noexception_1; - // Exception handling pass through code for list_build: - list_build_exception_1:; - Py_DECREF(tmp_called_name_13); - Py_DECREF(tmp_tuple_element_4); - goto frame_exception_exit_1; - // Finished with no exception for list_build: - list_build_noexception_1:; - tmp_args_name_4 = PyTuple_New(1); - PyTuple_SET_ITEM(tmp_args_name_4, 0, tmp_tuple_element_4); - tmp_dict_key_3 = mod_consts[0]; - tmp_expression_name_48 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_48 == NULL)) { - tmp_expression_name_48 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_48 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_13); - Py_DECREF(tmp_args_name_4); - - exception_lineno = 403; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_dict_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_48, mod_consts[199]); - if (tmp_dict_value_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_13); - Py_DECREF(tmp_args_name_4); - - exception_lineno = 403; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_kwargs_name_4 = _PyDict_NewPresized( 1 ); - tmp_res = PyDict_SetItem(tmp_kwargs_name_4, tmp_dict_key_3, tmp_dict_value_3); - Py_DECREF(tmp_dict_value_3); - assert(!(tmp_res != 0)); - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 402; - tmp_expression_name_42 = CALL_FUNCTION(tmp_called_name_13, tmp_args_name_4, tmp_kwargs_name_4); - Py_DECREF(tmp_called_name_13); - Py_DECREF(tmp_args_name_4); - Py_DECREF(tmp_kwargs_name_4); - if (tmp_expression_name_42 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 402; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_called_name_12 = LOOKUP_ATTRIBUTE(tmp_expression_name_42, mod_consts[170]); - Py_DECREF(tmp_expression_name_42); - if (tmp_called_name_12 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 402; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - if (var_image == NULL) { - Py_DECREF(tmp_called_name_12); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[177]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 403; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_49 = var_image; - tmp_args_element_name_16 = LOOKUP_ATTRIBUTE(tmp_expression_name_49, mod_consts[178]); - if (tmp_args_element_name_16 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_12); - - exception_lineno = 403; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 402; - tmp_called_instance_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_12, tmp_args_element_name_16); - Py_DECREF(tmp_called_name_12); - Py_DECREF(tmp_args_element_name_16); - if (tmp_called_instance_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 402; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 402; - tmp_assign_source_69 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_4, - mod_consts[276], - &PyTuple_GET_ITEM(mod_consts[277], 0) - ); - - Py_DECREF(tmp_called_instance_4); - if (tmp_assign_source_69 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 402; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_empty_targets == NULL); - var_empty_targets = tmp_assign_source_69; - } - { - PyObject *tmp_assign_source_70; - PyObject *tmp_called_name_14; - PyObject *tmp_expression_name_50; - PyObject *tmp_args_name_5; - PyObject *tmp_tuple_element_5; - PyObject *tmp_list_element_2; - PyObject *tmp_kwargs_name_5; - tmp_expression_name_50 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_50 == NULL)) { - tmp_expression_name_50 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_50 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 405; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_called_name_14 = LOOKUP_ATTRIBUTE(tmp_expression_name_50, mod_consts[213]); - if (tmp_called_name_14 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 405; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(var_empty_targets); - tmp_list_element_2 = var_empty_targets; - tmp_tuple_element_5 = PyList_New(2); - PyList_SET_ITEM0(tmp_tuple_element_5, 0, tmp_list_element_2); - CHECK_OBJECT(var_targets); - tmp_list_element_2 = var_targets; - PyList_SET_ITEM0(tmp_tuple_element_5, 1, tmp_list_element_2); - tmp_args_name_5 = PyTuple_New(1); - PyTuple_SET_ITEM(tmp_args_name_5, 0, tmp_tuple_element_5); - tmp_kwargs_name_5 = PyDict_Copy(mod_consts[215]); - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 405; - tmp_assign_source_70 = CALL_FUNCTION(tmp_called_name_14, tmp_args_name_5, tmp_kwargs_name_5); - Py_DECREF(tmp_called_name_14); - Py_DECREF(tmp_args_name_5); - Py_DECREF(tmp_kwargs_name_5); - if (tmp_assign_source_70 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 405; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - { - PyObject *old = var_targets; - var_targets = tmp_assign_source_70; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_71; - PyObject *tmp_expression_name_51; - PyObject *tmp_expression_name_52; - PyObject *tmp_subscript_name_23; - CHECK_OBJECT(var_img_embeds); - tmp_expression_name_52 = var_img_embeds; - tmp_expression_name_51 = LOOKUP_ATTRIBUTE(tmp_expression_name_52, mod_consts[175]); - if (tmp_expression_name_51 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 407; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_subscript_name_23 = mod_consts[11]; - tmp_assign_source_71 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_51, tmp_subscript_name_23, 0); - Py_DECREF(tmp_expression_name_51); - if (tmp_assign_source_71 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 407; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_batch_size == NULL); - var_batch_size = tmp_assign_source_71; - } - { - PyObject *tmp_assign_source_72; - PyObject *tmp_left_name_15; - PyObject *tmp_called_name_15; - PyObject *tmp_expression_name_53; - PyObject *tmp_args_name_6; - PyObject *tmp_tuple_element_6; - PyObject *tmp_list_element_3; - PyObject *tmp_kwargs_name_6; - PyObject *tmp_dict_key_4; - PyObject *tmp_dict_value_4; - PyObject *tmp_expression_name_54; - PyObject *tmp_expression_name_55; - PyObject *tmp_right_name_15; - PyObject *tmp_expression_name_58; - PyObject *tmp_expression_name_59; - tmp_expression_name_53 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_53 == NULL)) { - tmp_expression_name_53 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_53 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 408; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_called_name_15 = LOOKUP_ATTRIBUTE(tmp_expression_name_53, mod_consts[197]); - if (tmp_called_name_15 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 408; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(var_batch_size); - tmp_list_element_3 = var_batch_size; - tmp_tuple_element_6 = PyList_New(2); - PyList_SET_ITEM0(tmp_tuple_element_6, 0, tmp_list_element_3); - tmp_list_element_3 = mod_consts[60]; - PyList_SET_ITEM0(tmp_tuple_element_6, 1, tmp_list_element_3); - tmp_args_name_6 = PyTuple_New(1); - PyTuple_SET_ITEM(tmp_args_name_6, 0, tmp_tuple_element_6); - tmp_dict_key_4 = mod_consts[0]; - if (var_to_regress_tokens == NULL) { - Py_DECREF(tmp_called_name_15); - Py_DECREF(tmp_args_name_6); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[272]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 409; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_55 = var_to_regress_tokens; - tmp_expression_name_54 = LOOKUP_ATTRIBUTE(tmp_expression_name_55, mod_consts[104]); - if (tmp_expression_name_54 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_15); - Py_DECREF(tmp_args_name_6); - - exception_lineno = 409; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_dict_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_54, mod_consts[0]); - Py_DECREF(tmp_expression_name_54); - if (tmp_dict_value_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_15); - Py_DECREF(tmp_args_name_6); - - exception_lineno = 409; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_kwargs_name_6 = _PyDict_NewPresized( 2 ); - { - PyObject *tmp_expression_name_56; - PyObject *tmp_expression_name_57; - tmp_res = PyDict_SetItem(tmp_kwargs_name_6, tmp_dict_key_4, tmp_dict_value_4); - Py_DECREF(tmp_dict_value_4); - assert(!(tmp_res != 0)); - tmp_dict_key_4 = mod_consts[178]; - if (var_to_regress_tokens == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[272]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 410; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto dict_build_exception_2; - } - - tmp_expression_name_57 = var_to_regress_tokens; - tmp_expression_name_56 = LOOKUP_ATTRIBUTE(tmp_expression_name_57, mod_consts[104]); - if (tmp_expression_name_56 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 410; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto dict_build_exception_2; - } - tmp_dict_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_56, mod_consts[178]); - Py_DECREF(tmp_expression_name_56); - if (tmp_dict_value_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 410; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto dict_build_exception_2; - } - tmp_res = PyDict_SetItem(tmp_kwargs_name_6, tmp_dict_key_4, tmp_dict_value_4); - Py_DECREF(tmp_dict_value_4); - assert(!(tmp_res != 0)); - } - goto dict_build_noexception_2; - // Exception handling pass through code for dict_build: - dict_build_exception_2:; - Py_DECREF(tmp_called_name_15); - Py_DECREF(tmp_args_name_6); - Py_DECREF(tmp_kwargs_name_6); - goto frame_exception_exit_1; - // Finished with no exception for dict_build: - dict_build_noexception_2:; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 408; - tmp_left_name_15 = CALL_FUNCTION(tmp_called_name_15, tmp_args_name_6, tmp_kwargs_name_6); - Py_DECREF(tmp_called_name_15); - Py_DECREF(tmp_args_name_6); - Py_DECREF(tmp_kwargs_name_6); - if (tmp_left_name_15 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 408; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - if (par_self == NULL) { - Py_DECREF(tmp_left_name_15); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 410; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_59 = par_self; - tmp_expression_name_58 = LOOKUP_ATTRIBUTE(tmp_expression_name_59, mod_consts[93]); - if (tmp_expression_name_58 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_left_name_15); - - exception_lineno = 410; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_right_name_15 = LOOKUP_ATTRIBUTE(tmp_expression_name_58, mod_consts[278]); - Py_DECREF(tmp_expression_name_58); - if (tmp_right_name_15 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_left_name_15); - - exception_lineno = 410; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_assign_source_72 = BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(tmp_left_name_15, tmp_right_name_15); - Py_DECREF(tmp_left_name_15); - Py_DECREF(tmp_right_name_15); - if (tmp_assign_source_72 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 408; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_bos == NULL); - var_bos = tmp_assign_source_72; - } - { - PyObject *tmp_assign_source_73; - PyObject *tmp_called_instance_5; - PyObject *tmp_args_element_name_17; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 412; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_called_instance_5 = par_self; - CHECK_OBJECT(var_bos); - tmp_args_element_name_17 = var_bos; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 412; - tmp_assign_source_73 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_5, mod_consts[119], tmp_args_element_name_17); - if (tmp_assign_source_73 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 412; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_bos_embeds == NULL); - var_bos_embeds = tmp_assign_source_73; - } - { - PyObject *tmp_assign_source_74; - PyObject *tmp_expression_name_60; - PyObject *tmp_subscript_name_24; - if (var_atts_img == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[275]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 413; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_60 = var_atts_img; - tmp_subscript_name_24 = mod_consts[216]; - tmp_assign_source_74 = LOOKUP_SUBSCRIPT(tmp_expression_name_60, tmp_subscript_name_24); - if (tmp_assign_source_74 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 413; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_atts_bos == NULL); - var_atts_bos = tmp_assign_source_74; - } - { - PyObject *tmp_assign_source_75; - PyObject *tmp_called_name_16; - PyObject *tmp_expression_name_61; - PyObject *tmp_args_element_name_18; - PyObject *tmp_expression_name_62; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 415; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_61 = par_self; - tmp_called_name_16 = LOOKUP_ATTRIBUTE(tmp_expression_name_61, mod_consts[119]); - if (tmp_called_name_16 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 415; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - if (var_to_regress_tokens == NULL) { - Py_DECREF(tmp_called_name_16); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[272]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 415; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_62 = var_to_regress_tokens; - tmp_args_element_name_18 = LOOKUP_ATTRIBUTE(tmp_expression_name_62, mod_consts[104]); - if (tmp_args_element_name_18 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_16); - - exception_lineno = 415; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 415; - tmp_assign_source_75 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_16, tmp_args_element_name_18); - Py_DECREF(tmp_called_name_16); - Py_DECREF(tmp_args_element_name_18); - if (tmp_assign_source_75 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 415; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_to_regress_embeds == NULL); - var_to_regress_embeds = tmp_assign_source_75; - } - { - PyObject *tmp_assign_source_76; - PyObject *tmp_called_name_17; - PyObject *tmp_expression_name_63; - PyObject *tmp_args_name_7; - PyObject *tmp_tuple_element_7; - PyObject *tmp_list_element_4; - PyObject *tmp_kwargs_name_7; - tmp_expression_name_63 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_63 == NULL)) { - tmp_expression_name_63 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_63 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 416; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_called_name_17 = LOOKUP_ATTRIBUTE(tmp_expression_name_63, mod_consts[213]); - if (tmp_called_name_17 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 416; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(var_bos_embeds); - tmp_list_element_4 = var_bos_embeds; - tmp_tuple_element_7 = PyList_New(3); - PyList_SET_ITEM0(tmp_tuple_element_7, 0, tmp_list_element_4); - if (var_img_embeds == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[214]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 416; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto list_build_exception_2; - } - - tmp_list_element_4 = var_img_embeds; - PyList_SET_ITEM0(tmp_tuple_element_7, 1, tmp_list_element_4); - CHECK_OBJECT(var_to_regress_embeds); - tmp_list_element_4 = var_to_regress_embeds; - PyList_SET_ITEM0(tmp_tuple_element_7, 2, tmp_list_element_4); - goto list_build_noexception_2; - // Exception handling pass through code for list_build: - list_build_exception_2:; - Py_DECREF(tmp_called_name_17); - Py_DECREF(tmp_tuple_element_7); - goto frame_exception_exit_1; - // Finished with no exception for list_build: - list_build_noexception_2:; - tmp_args_name_7 = PyTuple_New(1); - PyTuple_SET_ITEM(tmp_args_name_7, 0, tmp_tuple_element_7); - tmp_kwargs_name_7 = PyDict_Copy(mod_consts[215]); - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 416; - tmp_assign_source_76 = CALL_FUNCTION(tmp_called_name_17, tmp_args_name_7, tmp_kwargs_name_7); - Py_DECREF(tmp_called_name_17); - Py_DECREF(tmp_args_name_7); - Py_DECREF(tmp_kwargs_name_7); - if (tmp_assign_source_76 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 416; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_inputs_embeds == NULL); - var_inputs_embeds = tmp_assign_source_76; - } - { - PyObject *tmp_assign_source_77; - PyObject *tmp_called_name_18; - PyObject *tmp_expression_name_64; - PyObject *tmp_args_name_8; - PyObject *tmp_tuple_element_8; - PyObject *tmp_list_element_5; - PyObject *tmp_kwargs_name_8; - tmp_expression_name_64 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_64 == NULL)) { - tmp_expression_name_64 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_64 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 417; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_called_name_18 = LOOKUP_ATTRIBUTE(tmp_expression_name_64, mod_consts[213]); - if (tmp_called_name_18 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 417; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(var_atts_bos); - tmp_list_element_5 = var_atts_bos; - tmp_tuple_element_8 = PyList_New(3); - { - PyObject *tmp_expression_name_65; - PyList_SET_ITEM0(tmp_tuple_element_8, 0, tmp_list_element_5); - if (var_atts_img == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[275]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 417; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto list_build_exception_3; - } - - tmp_list_element_5 = var_atts_img; - PyList_SET_ITEM0(tmp_tuple_element_8, 1, tmp_list_element_5); - if (var_to_regress_tokens == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[272]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 417; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto list_build_exception_3; - } - - tmp_expression_name_65 = var_to_regress_tokens; - tmp_list_element_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_65, mod_consts[279]); - if (tmp_list_element_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 417; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto list_build_exception_3; - } - PyList_SET_ITEM(tmp_tuple_element_8, 2, tmp_list_element_5); - } - goto list_build_noexception_3; - // Exception handling pass through code for list_build: - list_build_exception_3:; - Py_DECREF(tmp_called_name_18); - Py_DECREF(tmp_tuple_element_8); - goto frame_exception_exit_1; - // Finished with no exception for list_build: - list_build_noexception_3:; - tmp_args_name_8 = PyTuple_New(1); - PyTuple_SET_ITEM(tmp_args_name_8, 0, tmp_tuple_element_8); - tmp_kwargs_name_8 = PyDict_Copy(mod_consts[215]); - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 417; - tmp_assign_source_77 = CALL_FUNCTION(tmp_called_name_18, tmp_args_name_8, tmp_kwargs_name_8); - Py_DECREF(tmp_called_name_18); - Py_DECREF(tmp_args_name_8); - Py_DECREF(tmp_kwargs_name_8); - if (tmp_assign_source_77 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 417; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_attention_mask == NULL); - var_attention_mask = tmp_assign_source_77; - } - // Tried code: - { - PyObject *tmp_assign_source_78; - PyObject *tmp_called_instance_6; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 418; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_23; - } - - tmp_called_instance_6 = par_self; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 418; - tmp_assign_source_78 = CALL_METHOD_NO_ARGS(tmp_called_instance_6, mod_consts[180]); - if (tmp_assign_source_78 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 418; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_23; - } - assert(tmp_with_1__source == NULL); - tmp_with_1__source = tmp_assign_source_78; - } - { - PyObject *tmp_assign_source_79; - PyObject *tmp_called_name_19; - PyObject *tmp_expression_name_66; - CHECK_OBJECT(tmp_with_1__source); - tmp_expression_name_66 = tmp_with_1__source; - tmp_called_name_19 = LOOKUP_SPECIAL(tmp_expression_name_66, mod_consts[181]); - if (tmp_called_name_19 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 418; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_23; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 418; - tmp_assign_source_79 = CALL_FUNCTION_NO_ARGS(tmp_called_name_19); - Py_DECREF(tmp_called_name_19); - if (tmp_assign_source_79 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 418; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_23; - } - assert(tmp_with_1__enter == NULL); - tmp_with_1__enter = tmp_assign_source_79; - } - { - PyObject *tmp_assign_source_80; - PyObject *tmp_expression_name_67; - CHECK_OBJECT(tmp_with_1__source); - tmp_expression_name_67 = tmp_with_1__source; - tmp_assign_source_80 = LOOKUP_SPECIAL(tmp_expression_name_67, mod_consts[182]); - if (tmp_assign_source_80 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 418; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_23; - } - assert(tmp_with_1__exit == NULL); - tmp_with_1__exit = tmp_assign_source_80; - } - { - nuitka_bool tmp_assign_source_81; - tmp_assign_source_81 = NUITKA_BOOL_TRUE; - tmp_with_1__indicator = tmp_assign_source_81; - } - // Tried code: - // Tried code: - { - PyObject *tmp_assign_source_82; - PyObject *tmp_called_name_20; - PyObject *tmp_expression_name_68; - PyObject *tmp_kwargs_name_9; - PyObject *tmp_dict_key_5; - PyObject *tmp_dict_value_5; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 419; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_25; - } - - tmp_expression_name_68 = par_self; - tmp_called_name_20 = LOOKUP_ATTRIBUTE(tmp_expression_name_68, mod_consts[111]); - if (tmp_called_name_20 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 419; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_25; - } - tmp_dict_key_5 = mod_consts[280]; - CHECK_OBJECT(var_inputs_embeds); - tmp_dict_value_5 = var_inputs_embeds; - tmp_kwargs_name_9 = _PyDict_NewPresized( 5 ); - tmp_res = PyDict_SetItem(tmp_kwargs_name_9, tmp_dict_key_5, tmp_dict_value_5); - assert(!(tmp_res != 0)); - tmp_dict_key_5 = mod_consts[279]; - CHECK_OBJECT(var_attention_mask); - tmp_dict_value_5 = var_attention_mask; - tmp_res = PyDict_SetItem(tmp_kwargs_name_9, tmp_dict_key_5, tmp_dict_value_5); - assert(!(tmp_res != 0)); - tmp_dict_key_5 = mod_consts[281]; - tmp_dict_value_5 = Py_True; - tmp_res = PyDict_SetItem(tmp_kwargs_name_9, tmp_dict_key_5, tmp_dict_value_5); - assert(!(tmp_res != 0)); - tmp_dict_key_5 = mod_consts[57]; - CHECK_OBJECT(var_targets); - tmp_dict_value_5 = var_targets; - tmp_res = PyDict_SetItem(tmp_kwargs_name_9, tmp_dict_key_5, tmp_dict_value_5); - assert(!(tmp_res != 0)); - tmp_dict_key_5 = mod_consts[282]; - tmp_dict_value_5 = Py_True; - tmp_res = PyDict_SetItem(tmp_kwargs_name_9, tmp_dict_key_5, tmp_dict_value_5); - assert(!(tmp_res != 0)); - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 419; - tmp_assign_source_82 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_20, tmp_kwargs_name_9); - Py_DECREF(tmp_called_name_20); - Py_DECREF(tmp_kwargs_name_9); - if (tmp_assign_source_82 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 419; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_25; - } - assert(var_outputs == NULL); - var_outputs = tmp_assign_source_82; - } - goto try_end_11; - // Exception handler code: - try_except_handler_25:; - 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; - - // Preserve existing published exception id 1. - GET_CURRENT_EXCEPTION(&exception_preserved_type_1, &exception_preserved_value_1, &exception_preserved_tb_1); - - if (exception_keeper_tb_21 == NULL) { - exception_keeper_tb_21 = MAKE_TRACEBACK(frame_fe557d162e569c6a186cf09bbb51e6fa, exception_keeper_lineno_21); - } else if (exception_keeper_lineno_21 != 0) { - exception_keeper_tb_21 = ADD_TRACEBACK(exception_keeper_tb_21, frame_fe557d162e569c6a186cf09bbb51e6fa, exception_keeper_lineno_21); - } - - NORMALIZE_EXCEPTION(&exception_keeper_type_21, &exception_keeper_value_21, &exception_keeper_tb_21); - ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(exception_keeper_value_21, exception_keeper_tb_21); - PUBLISH_EXCEPTION(&exception_keeper_type_21, &exception_keeper_value_21, &exception_keeper_tb_21); - // Tried code: - { - bool tmp_condition_result_4; - PyObject *tmp_compexpr_left_6; - PyObject *tmp_compexpr_right_6; - tmp_compexpr_left_6 = EXC_TYPE(PyThreadState_GET()); - tmp_compexpr_right_6 = PyExc_BaseException; - tmp_res = EXCEPTION_MATCH_BOOL(tmp_compexpr_left_6, tmp_compexpr_right_6); - assert(!(tmp_res == -1)); - tmp_condition_result_4 = (tmp_res != 0) ? true : false; - if (tmp_condition_result_4 != false) { - goto branch_yes_3; - } else { - goto branch_no_3; - } - } - branch_yes_3:; - { - nuitka_bool tmp_assign_source_83; - tmp_assign_source_83 = NUITKA_BOOL_FALSE; - tmp_with_1__indicator = tmp_assign_source_83; - } - { - nuitka_bool tmp_condition_result_5; - PyObject *tmp_operand_name_1; - PyObject *tmp_called_name_21; - PyObject *tmp_args_element_name_19; - PyObject *tmp_args_element_name_20; - PyObject *tmp_args_element_name_21; - CHECK_OBJECT(tmp_with_1__exit); - tmp_called_name_21 = tmp_with_1__exit; - tmp_args_element_name_19 = EXC_TYPE(PyThreadState_GET()); - tmp_args_element_name_20 = EXC_VALUE(PyThreadState_GET()); - tmp_args_element_name_21 = EXC_TRACEBACK(PyThreadState_GET()); - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 424; - { - PyObject *call_args[] = {tmp_args_element_name_19, tmp_args_element_name_20, tmp_args_element_name_21}; - tmp_operand_name_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_21, call_args); - } - - if (tmp_operand_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 424; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_26; - } - 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 = 424; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_26; - } - tmp_condition_result_5 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; - if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) { - goto branch_yes_4; - } else { - goto branch_no_4; - } - } - branch_yes_4:; - tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - if (unlikely(tmp_result == false)) { - exception_lineno = 424; - } - - if (exception_tb && exception_tb->tb_frame == &frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame) frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = exception_tb->tb_lineno; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_26; - branch_no_4:; - goto branch_end_3; - branch_no_3:; - tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - if (unlikely(tmp_result == false)) { - exception_lineno = 418; - } - - if (exception_tb && exception_tb->tb_frame == &frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame) frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = exception_tb->tb_lineno; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_26; - branch_end_3:; - goto try_end_12; - // Exception handler code: - try_except_handler_26:; - 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; - - // Restore previous exception id 1. - SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); - - // 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 try_except_handler_24; - // End of try: - try_end_12:; - // Restore previous exception id 1. - SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); - - goto try_end_11; - NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases"); - return NULL; - // End of try: - try_end_11:; - goto try_end_13; - // Exception handler code: - try_except_handler_24:; - 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; - - { - bool tmp_condition_result_6; - nuitka_bool tmp_compexpr_left_7; - nuitka_bool tmp_compexpr_right_7; - assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); - tmp_compexpr_left_7 = tmp_with_1__indicator; - tmp_compexpr_right_7 = NUITKA_BOOL_TRUE; - tmp_condition_result_6 = (tmp_compexpr_left_7 == tmp_compexpr_right_7) ? true : false; - if (tmp_condition_result_6 != false) { - goto branch_yes_5; - } else { - goto branch_no_5; - } - } - branch_yes_5:; - { - PyObject *tmp_called_name_22; - PyObject *tmp_call_result_3; - CHECK_OBJECT(tmp_with_1__exit); - tmp_called_name_22 = tmp_with_1__exit; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 424; - tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_22, &PyTuple_GET_ITEM(mod_consts[208], 0)); - - if (tmp_call_result_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - Py_DECREF(exception_keeper_type_23); - Py_XDECREF(exception_keeper_value_23); - Py_XDECREF(exception_keeper_tb_23); - - exception_lineno = 424; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_23; - } - Py_DECREF(tmp_call_result_3); - } - branch_no_5:; - // 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 try_except_handler_23; - // End of try: - try_end_13:; - { - bool tmp_condition_result_7; - nuitka_bool tmp_compexpr_left_8; - nuitka_bool tmp_compexpr_right_8; - assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); - tmp_compexpr_left_8 = tmp_with_1__indicator; - tmp_compexpr_right_8 = NUITKA_BOOL_TRUE; - tmp_condition_result_7 = (tmp_compexpr_left_8 == tmp_compexpr_right_8) ? true : false; - if (tmp_condition_result_7 != false) { - goto branch_yes_6; - } else { - goto branch_no_6; - } - } - branch_yes_6:; - { - PyObject *tmp_called_name_23; - PyObject *tmp_call_result_4; - CHECK_OBJECT(tmp_with_1__exit); - tmp_called_name_23 = tmp_with_1__exit; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 424; - tmp_call_result_4 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_23, &PyTuple_GET_ITEM(mod_consts[208], 0)); - - if (tmp_call_result_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 424; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_23; - } - Py_DECREF(tmp_call_result_4); - } - branch_no_6:; - goto try_end_14; - // Exception handler code: - try_except_handler_23:; - exception_keeper_type_24 = exception_type; - exception_keeper_value_24 = exception_value; - exception_keeper_tb_24 = exception_tb; - exception_keeper_lineno_24 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - Py_XDECREF(tmp_with_1__source); - tmp_with_1__source = NULL; - Py_XDECREF(tmp_with_1__enter); - tmp_with_1__enter = NULL; - Py_XDECREF(tmp_with_1__exit); - tmp_with_1__exit = NULL; - // Re-raise. - exception_type = exception_keeper_type_24; - exception_value = exception_keeper_value_24; - exception_tb = exception_keeper_tb_24; - exception_lineno = exception_keeper_lineno_24; - - goto frame_exception_exit_1; - // End of try: - try_end_14:; - CHECK_OBJECT(tmp_with_1__source); - Py_DECREF(tmp_with_1__source); - tmp_with_1__source = NULL; - CHECK_OBJECT(tmp_with_1__enter); - Py_DECREF(tmp_with_1__enter); - tmp_with_1__enter = NULL; - Py_XDECREF(tmp_with_1__exit); - tmp_with_1__exit = NULL; - { - PyObject *tmp_assign_source_84; - PyObject *tmp_expression_name_69; - if (var_outputs == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[283]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 426; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_69 = var_outputs; - tmp_assign_source_84 = LOOKUP_ATTRIBUTE(tmp_expression_name_69, mod_consts[284]); - if (tmp_assign_source_84 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 426; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_loss == NULL); - var_loss = tmp_assign_source_84; - } - { - bool tmp_condition_result_8; - PyObject *tmp_compexpr_left_9; - PyObject *tmp_compexpr_right_9; - PyObject *tmp_expression_name_70; - PyObject *tmp_subscript_name_25; - tmp_compexpr_left_9 = mod_consts[258]; - if (par_samples == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[236]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 428; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_70 = par_samples; - tmp_subscript_name_25 = mod_consts[233]; - tmp_compexpr_right_9 = LOOKUP_SUBSCRIPT(tmp_expression_name_70, tmp_subscript_name_25); - if (tmp_compexpr_right_9 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 428; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_res = PySequence_Contains(tmp_compexpr_right_9, tmp_compexpr_left_9); - Py_DECREF(tmp_compexpr_right_9); - if (tmp_res == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 428; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_condition_result_8 = (tmp_res == 1) ? true : false; - if (tmp_condition_result_8 != false) { - goto branch_yes_7; - } else { - goto branch_no_7; - } - } - branch_yes_7:; - // Tried code: - { - PyObject *tmp_assign_source_85; - PyObject *tmp_called_instance_7; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 429; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_27; - } - - tmp_called_instance_7 = par_self; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 429; - tmp_assign_source_85 = CALL_METHOD_NO_ARGS(tmp_called_instance_7, mod_consts[180]); - if (tmp_assign_source_85 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 429; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_27; - } - assert(tmp_with_3__source == NULL); - tmp_with_3__source = tmp_assign_source_85; - } - { - PyObject *tmp_assign_source_86; - PyObject *tmp_called_name_24; - PyObject *tmp_expression_name_71; - CHECK_OBJECT(tmp_with_3__source); - tmp_expression_name_71 = tmp_with_3__source; - tmp_called_name_24 = LOOKUP_SPECIAL(tmp_expression_name_71, mod_consts[181]); - if (tmp_called_name_24 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 429; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_27; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 429; - tmp_assign_source_86 = CALL_FUNCTION_NO_ARGS(tmp_called_name_24); - Py_DECREF(tmp_called_name_24); - if (tmp_assign_source_86 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 429; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_27; - } - assert(tmp_with_3__enter == NULL); - tmp_with_3__enter = tmp_assign_source_86; - } - { - PyObject *tmp_assign_source_87; - PyObject *tmp_expression_name_72; - CHECK_OBJECT(tmp_with_3__source); - tmp_expression_name_72 = tmp_with_3__source; - tmp_assign_source_87 = LOOKUP_SPECIAL(tmp_expression_name_72, mod_consts[182]); - if (tmp_assign_source_87 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 429; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_27; - } - assert(tmp_with_3__exit == NULL); - tmp_with_3__exit = tmp_assign_source_87; - } - { - nuitka_bool tmp_assign_source_88; - tmp_assign_source_88 = NUITKA_BOOL_TRUE; - tmp_with_3__indicator = tmp_assign_source_88; - } - // Tried code: - // Tried code: - { - PyObject *tmp_assign_source_89; - PyObject *tmp_expression_name_73; - PyObject *tmp_expression_name_74; - PyObject *tmp_subscript_name_26; - if (var_outputs == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[283]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 430; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - - tmp_expression_name_74 = var_outputs; - tmp_expression_name_73 = LOOKUP_ATTRIBUTE(tmp_expression_name_74, mod_consts[285]); - if (tmp_expression_name_73 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 430; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - tmp_subscript_name_26 = mod_consts[185]; - tmp_assign_source_89 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_73, tmp_subscript_name_26, -1); - Py_DECREF(tmp_expression_name_73); - if (tmp_assign_source_89 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 430; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - assert(var_hidden_states == NULL); - var_hidden_states = tmp_assign_source_89; - } - { - PyObject *tmp_assign_source_90; - PyObject *tmp_compexpr_left_10; - PyObject *tmp_compexpr_right_10; - PyObject *tmp_expression_name_75; - if (var_targets == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[286]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 431; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - - tmp_compexpr_left_10 = var_targets; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 431; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - - tmp_expression_name_75 = par_self; - tmp_compexpr_right_10 = LOOKUP_ATTRIBUTE(tmp_expression_name_75, mod_consts[105]); - if (tmp_compexpr_right_10 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 431; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - tmp_assign_source_90 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_10, tmp_compexpr_right_10); - Py_DECREF(tmp_compexpr_right_10); - if (tmp_assign_source_90 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 431; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - assert(var_token_mask == NULL); - var_token_mask = tmp_assign_source_90; - } - { - PyObject *tmp_assign_source_91; - PyObject *tmp_expression_name_76; - PyObject *tmp_subscript_name_27; - CHECK_OBJECT(var_hidden_states); - tmp_expression_name_76 = var_hidden_states; - CHECK_OBJECT(var_token_mask); - tmp_subscript_name_27 = var_token_mask; - tmp_assign_source_91 = LOOKUP_SUBSCRIPT(tmp_expression_name_76, tmp_subscript_name_27); - if (tmp_assign_source_91 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 432; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - assert(var_target_states == NULL); - var_target_states = tmp_assign_source_91; - } - // Tried code: - { - PyObject *tmp_assign_source_92; - PyObject *tmp_called_instance_8; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 433; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_30; - } - - tmp_called_instance_8 = par_self; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 433; - tmp_assign_source_92 = CALL_METHOD_NO_ARGS(tmp_called_instance_8, mod_consts[180]); - if (tmp_assign_source_92 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 433; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_30; - } - assert(tmp_with_2__source == NULL); - tmp_with_2__source = tmp_assign_source_92; - } - { - PyObject *tmp_assign_source_93; - PyObject *tmp_called_name_25; - PyObject *tmp_expression_name_77; - CHECK_OBJECT(tmp_with_2__source); - tmp_expression_name_77 = tmp_with_2__source; - tmp_called_name_25 = LOOKUP_SPECIAL(tmp_expression_name_77, mod_consts[181]); - if (tmp_called_name_25 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 433; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_30; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 433; - tmp_assign_source_93 = CALL_FUNCTION_NO_ARGS(tmp_called_name_25); - Py_DECREF(tmp_called_name_25); - if (tmp_assign_source_93 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 433; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_30; - } - assert(tmp_with_2__enter == NULL); - tmp_with_2__enter = tmp_assign_source_93; - } - { - PyObject *tmp_assign_source_94; - PyObject *tmp_expression_name_78; - CHECK_OBJECT(tmp_with_2__source); - tmp_expression_name_78 = tmp_with_2__source; - tmp_assign_source_94 = LOOKUP_SPECIAL(tmp_expression_name_78, mod_consts[182]); - if (tmp_assign_source_94 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 433; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_30; - } - assert(tmp_with_2__exit == NULL); - tmp_with_2__exit = tmp_assign_source_94; - } - { - nuitka_bool tmp_assign_source_95; - tmp_assign_source_95 = NUITKA_BOOL_TRUE; - tmp_with_2__indicator = tmp_assign_source_95; - } - // Tried code: - // Tried code: - { - PyObject *tmp_assign_source_96; - PyObject *tmp_called_instance_9; - PyObject *tmp_args_element_name_22; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 434; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_32; - } - - tmp_called_instance_9 = par_self; - CHECK_OBJECT(var_target_states); - tmp_args_element_name_22 = var_target_states; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 434; - tmp_assign_source_96 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_9, mod_consts[148], tmp_args_element_name_22); - if (tmp_assign_source_96 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 434; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_32; - } - assert(var_det_states == NULL); - var_det_states = tmp_assign_source_96; - } - goto try_end_15; - // Exception handler code: - try_except_handler_32:; - exception_keeper_type_25 = exception_type; - exception_keeper_value_25 = exception_value; - exception_keeper_tb_25 = exception_tb; - exception_keeper_lineno_25 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - // Preserve existing published exception id 2. - GET_CURRENT_EXCEPTION(&exception_preserved_type_2, &exception_preserved_value_2, &exception_preserved_tb_2); - - if (exception_keeper_tb_25 == NULL) { - exception_keeper_tb_25 = MAKE_TRACEBACK(frame_fe557d162e569c6a186cf09bbb51e6fa, exception_keeper_lineno_25); - } else if (exception_keeper_lineno_25 != 0) { - exception_keeper_tb_25 = ADD_TRACEBACK(exception_keeper_tb_25, frame_fe557d162e569c6a186cf09bbb51e6fa, exception_keeper_lineno_25); - } - - NORMALIZE_EXCEPTION(&exception_keeper_type_25, &exception_keeper_value_25, &exception_keeper_tb_25); - ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(exception_keeper_value_25, exception_keeper_tb_25); - PUBLISH_EXCEPTION(&exception_keeper_type_25, &exception_keeper_value_25, &exception_keeper_tb_25); - // Tried code: - { - bool tmp_condition_result_9; - PyObject *tmp_compexpr_left_11; - PyObject *tmp_compexpr_right_11; - tmp_compexpr_left_11 = EXC_TYPE(PyThreadState_GET()); - tmp_compexpr_right_11 = PyExc_BaseException; - tmp_res = EXCEPTION_MATCH_BOOL(tmp_compexpr_left_11, tmp_compexpr_right_11); - assert(!(tmp_res == -1)); - tmp_condition_result_9 = (tmp_res != 0) ? true : false; - if (tmp_condition_result_9 != false) { - goto branch_yes_8; - } else { - goto branch_no_8; - } - } - branch_yes_8:; - { - nuitka_bool tmp_assign_source_97; - tmp_assign_source_97 = NUITKA_BOOL_FALSE; - tmp_with_2__indicator = tmp_assign_source_97; - } - { - nuitka_bool tmp_condition_result_10; - PyObject *tmp_operand_name_2; - PyObject *tmp_called_name_26; - PyObject *tmp_args_element_name_23; - PyObject *tmp_args_element_name_24; - PyObject *tmp_args_element_name_25; - CHECK_OBJECT(tmp_with_2__exit); - tmp_called_name_26 = tmp_with_2__exit; - tmp_args_element_name_23 = EXC_TYPE(PyThreadState_GET()); - tmp_args_element_name_24 = EXC_VALUE(PyThreadState_GET()); - tmp_args_element_name_25 = EXC_TRACEBACK(PyThreadState_GET()); - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 434; - { - PyObject *call_args[] = {tmp_args_element_name_23, tmp_args_element_name_24, tmp_args_element_name_25}; - tmp_operand_name_2 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_26, call_args); - } - - if (tmp_operand_name_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 434; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_33; - } - tmp_res = CHECK_IF_TRUE(tmp_operand_name_2); - Py_DECREF(tmp_operand_name_2); - if (tmp_res == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 434; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_33; - } - tmp_condition_result_10 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; - if (tmp_condition_result_10 == NUITKA_BOOL_TRUE) { - goto branch_yes_9; - } else { - goto branch_no_9; - } - } - branch_yes_9:; - tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - if (unlikely(tmp_result == false)) { - exception_lineno = 434; - } - - if (exception_tb && exception_tb->tb_frame == &frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame) frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = exception_tb->tb_lineno; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_33; - branch_no_9:; - goto branch_end_8; - branch_no_8:; - tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - if (unlikely(tmp_result == false)) { - exception_lineno = 433; - } - - if (exception_tb && exception_tb->tb_frame == &frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame) frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = exception_tb->tb_lineno; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_33; - branch_end_8:; - goto try_end_16; - // Exception handler code: - try_except_handler_33:; - exception_keeper_type_26 = exception_type; - exception_keeper_value_26 = exception_value; - exception_keeper_tb_26 = exception_tb; - exception_keeper_lineno_26 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - // Restore previous exception id 2. - SET_CURRENT_EXCEPTION(exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2); - - // Re-raise. - exception_type = exception_keeper_type_26; - exception_value = exception_keeper_value_26; - exception_tb = exception_keeper_tb_26; - exception_lineno = exception_keeper_lineno_26; - - goto try_except_handler_31; - // End of try: - try_end_16:; - // Restore previous exception id 2. - SET_CURRENT_EXCEPTION(exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2); - - goto try_end_15; - NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases"); - return NULL; - // End of try: - try_end_15:; - goto try_end_17; - // Exception handler code: - try_except_handler_31:; - exception_keeper_type_27 = exception_type; - exception_keeper_value_27 = exception_value; - exception_keeper_tb_27 = exception_tb; - exception_keeper_lineno_27 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - { - bool tmp_condition_result_11; - nuitka_bool tmp_compexpr_left_12; - nuitka_bool tmp_compexpr_right_12; - assert(tmp_with_2__indicator != NUITKA_BOOL_UNASSIGNED); - tmp_compexpr_left_12 = tmp_with_2__indicator; - tmp_compexpr_right_12 = NUITKA_BOOL_TRUE; - tmp_condition_result_11 = (tmp_compexpr_left_12 == tmp_compexpr_right_12) ? true : false; - if (tmp_condition_result_11 != false) { - goto branch_yes_10; - } else { - goto branch_no_10; - } - } - branch_yes_10:; - { - PyObject *tmp_called_name_27; - PyObject *tmp_call_result_5; - CHECK_OBJECT(tmp_with_2__exit); - tmp_called_name_27 = tmp_with_2__exit; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 434; - tmp_call_result_5 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_27, &PyTuple_GET_ITEM(mod_consts[208], 0)); - - if (tmp_call_result_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - Py_DECREF(exception_keeper_type_27); - Py_XDECREF(exception_keeper_value_27); - Py_XDECREF(exception_keeper_tb_27); - - exception_lineno = 434; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_30; - } - Py_DECREF(tmp_call_result_5); - } - branch_no_10:; - // Re-raise. - exception_type = exception_keeper_type_27; - exception_value = exception_keeper_value_27; - exception_tb = exception_keeper_tb_27; - exception_lineno = exception_keeper_lineno_27; - - goto try_except_handler_30; - // End of try: - try_end_17:; - { - bool tmp_condition_result_12; - nuitka_bool tmp_compexpr_left_13; - nuitka_bool tmp_compexpr_right_13; - assert(tmp_with_2__indicator != NUITKA_BOOL_UNASSIGNED); - tmp_compexpr_left_13 = tmp_with_2__indicator; - tmp_compexpr_right_13 = NUITKA_BOOL_TRUE; - tmp_condition_result_12 = (tmp_compexpr_left_13 == tmp_compexpr_right_13) ? true : false; - if (tmp_condition_result_12 != false) { - goto branch_yes_11; - } else { - goto branch_no_11; - } - } - branch_yes_11:; - { - PyObject *tmp_called_name_28; - PyObject *tmp_call_result_6; - CHECK_OBJECT(tmp_with_2__exit); - tmp_called_name_28 = tmp_with_2__exit; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 434; - tmp_call_result_6 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_28, &PyTuple_GET_ITEM(mod_consts[208], 0)); - - if (tmp_call_result_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 434; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_30; - } - Py_DECREF(tmp_call_result_6); - } - branch_no_11:; - goto try_end_18; - // Exception handler code: - try_except_handler_30:; - exception_keeper_type_28 = exception_type; - exception_keeper_value_28 = exception_value; - exception_keeper_tb_28 = exception_tb; - exception_keeper_lineno_28 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - Py_XDECREF(tmp_with_2__source); - tmp_with_2__source = NULL; - Py_XDECREF(tmp_with_2__enter); - tmp_with_2__enter = NULL; - Py_XDECREF(tmp_with_2__exit); - tmp_with_2__exit = NULL; - // Re-raise. - exception_type = exception_keeper_type_28; - exception_value = exception_keeper_value_28; - exception_tb = exception_keeper_tb_28; - exception_lineno = exception_keeper_lineno_28; - - goto try_except_handler_29; - // End of try: - try_end_18:; - CHECK_OBJECT(tmp_with_2__source); - Py_DECREF(tmp_with_2__source); - tmp_with_2__source = NULL; - CHECK_OBJECT(tmp_with_2__enter); - Py_DECREF(tmp_with_2__enter); - tmp_with_2__enter = NULL; - Py_XDECREF(tmp_with_2__exit); - tmp_with_2__exit = NULL; - { - PyObject *tmp_assign_source_98; - PyObject *tmp_called_name_29; - PyObject *tmp_args_element_name_26; - PyObject *tmp_args_element_name_27; - PyObject *tmp_expression_name_79; - PyObject *tmp_expression_name_80; - PyObject *tmp_subscript_name_28; - tmp_called_name_29 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[287]); - - if (unlikely(tmp_called_name_29 == NULL)) { - tmp_called_name_29 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[287]); - } - - if (tmp_called_name_29 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 435; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - if (var_sample_num == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[288]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 435; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - - tmp_args_element_name_26 = var_sample_num; - if (var_det_states == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[289]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 435; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - - tmp_expression_name_80 = var_det_states; - tmp_expression_name_79 = LOOKUP_ATTRIBUTE(tmp_expression_name_80, mod_consts[175]); - if (tmp_expression_name_79 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 435; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - tmp_subscript_name_28 = mod_consts[11]; - tmp_args_element_name_27 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_79, tmp_subscript_name_28, 0); - Py_DECREF(tmp_expression_name_79); - if (tmp_args_element_name_27 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 435; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 435; - { - PyObject *call_args[] = {tmp_args_element_name_26, tmp_args_element_name_27}; - tmp_assign_source_98 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_29, call_args); - } - - Py_DECREF(tmp_args_element_name_27); - if (tmp_assign_source_98 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 435; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - assert(var_labels == NULL); - var_labels = tmp_assign_source_98; - } - { - PyObject *tmp_assign_source_99; - PyObject *tmp_called_name_30; - PyObject *tmp_expression_name_81; - PyObject *tmp_args_element_name_28; - PyObject *tmp_expression_name_82; - CHECK_OBJECT(var_labels); - tmp_expression_name_81 = var_labels; - tmp_called_name_30 = LOOKUP_ATTRIBUTE(tmp_expression_name_81, mod_consts[170]); - if (tmp_called_name_30 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 436; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - if (var_targets == NULL) { - Py_DECREF(tmp_called_name_30); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[286]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 436; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - - tmp_expression_name_82 = var_targets; - tmp_args_element_name_28 = LOOKUP_ATTRIBUTE(tmp_expression_name_82, mod_consts[178]); - if (tmp_args_element_name_28 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_30); - - exception_lineno = 436; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 436; - tmp_assign_source_99 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_30, tmp_args_element_name_28); - Py_DECREF(tmp_called_name_30); - Py_DECREF(tmp_args_element_name_28); - if (tmp_assign_source_99 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 436; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - { - PyObject *old = var_labels; - var_labels = tmp_assign_source_99; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_100; - PyObject *tmp_called_name_31; - PyObject *tmp_expression_name_83; - PyObject *tmp_args_element_name_29; - PyObject *tmp_args_element_name_30; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 437; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - - tmp_expression_name_83 = par_self; - tmp_called_name_31 = LOOKUP_ATTRIBUTE(tmp_expression_name_83, mod_consts[150]); - if (tmp_called_name_31 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 437; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - if (var_det_states == NULL) { - Py_DECREF(tmp_called_name_31); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[289]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 437; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - - tmp_args_element_name_29 = var_det_states; - CHECK_OBJECT(var_labels); - tmp_args_element_name_30 = var_labels; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 437; - { - PyObject *call_args[] = {tmp_args_element_name_29, tmp_args_element_name_30}; - tmp_assign_source_100 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_31, call_args); - } - - Py_DECREF(tmp_called_name_31); - if (tmp_assign_source_100 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 437; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - assert(var_det_loss == NULL); - var_det_loss = tmp_assign_source_100; - } - { - PyObject *tmp_assign_source_101; - PyObject *tmp_left_name_16; - PyObject *tmp_right_name_16; - PyObject *tmp_left_name_17; - PyObject *tmp_right_name_17; - CHECK_OBJECT(var_loss); - tmp_left_name_16 = var_loss; - CHECK_OBJECT(var_det_loss); - tmp_left_name_17 = var_det_loss; - tmp_right_name_17 = mod_consts[290]; - tmp_right_name_16 = BINARY_OPERATION_MULT_OBJECT_OBJECT_FLOAT(tmp_left_name_17, tmp_right_name_17); - if (tmp_right_name_16 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 438; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - tmp_result = BINARY_OPERATION_ADD_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 = 438; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_29; - } - tmp_assign_source_101 = tmp_left_name_16; - var_loss = tmp_assign_source_101; - - } - goto try_end_19; - // Exception handler code: - try_except_handler_29:; - exception_keeper_type_29 = exception_type; - exception_keeper_value_29 = exception_value; - exception_keeper_tb_29 = exception_tb; - exception_keeper_lineno_29 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - // Preserve existing published exception id 3. - GET_CURRENT_EXCEPTION(&exception_preserved_type_3, &exception_preserved_value_3, &exception_preserved_tb_3); - - if (exception_keeper_tb_29 == NULL) { - exception_keeper_tb_29 = MAKE_TRACEBACK(frame_fe557d162e569c6a186cf09bbb51e6fa, exception_keeper_lineno_29); - } else if (exception_keeper_lineno_29 != 0) { - exception_keeper_tb_29 = ADD_TRACEBACK(exception_keeper_tb_29, frame_fe557d162e569c6a186cf09bbb51e6fa, exception_keeper_lineno_29); - } - - NORMALIZE_EXCEPTION(&exception_keeper_type_29, &exception_keeper_value_29, &exception_keeper_tb_29); - ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(exception_keeper_value_29, exception_keeper_tb_29); - PUBLISH_EXCEPTION(&exception_keeper_type_29, &exception_keeper_value_29, &exception_keeper_tb_29); - // Tried code: - { - bool tmp_condition_result_13; - PyObject *tmp_compexpr_left_14; - PyObject *tmp_compexpr_right_14; - tmp_compexpr_left_14 = EXC_TYPE(PyThreadState_GET()); - tmp_compexpr_right_14 = PyExc_BaseException; - tmp_res = EXCEPTION_MATCH_BOOL(tmp_compexpr_left_14, tmp_compexpr_right_14); - assert(!(tmp_res == -1)); - tmp_condition_result_13 = (tmp_res != 0) ? true : false; - if (tmp_condition_result_13 != false) { - goto branch_yes_12; - } else { - goto branch_no_12; - } - } - branch_yes_12:; - { - nuitka_bool tmp_assign_source_102; - tmp_assign_source_102 = NUITKA_BOOL_FALSE; - tmp_with_3__indicator = tmp_assign_source_102; - } - { - nuitka_bool tmp_condition_result_14; - PyObject *tmp_operand_name_3; - PyObject *tmp_called_name_32; - PyObject *tmp_args_element_name_31; - PyObject *tmp_args_element_name_32; - PyObject *tmp_args_element_name_33; - CHECK_OBJECT(tmp_with_3__exit); - tmp_called_name_32 = tmp_with_3__exit; - tmp_args_element_name_31 = EXC_TYPE(PyThreadState_GET()); - tmp_args_element_name_32 = EXC_VALUE(PyThreadState_GET()); - tmp_args_element_name_33 = EXC_TRACEBACK(PyThreadState_GET()); - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 438; - { - PyObject *call_args[] = {tmp_args_element_name_31, tmp_args_element_name_32, tmp_args_element_name_33}; - tmp_operand_name_3 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_32, call_args); - } - - if (tmp_operand_name_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 438; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_34; - } - tmp_res = CHECK_IF_TRUE(tmp_operand_name_3); - Py_DECREF(tmp_operand_name_3); - if (tmp_res == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 438; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_34; - } - tmp_condition_result_14 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; - if (tmp_condition_result_14 == NUITKA_BOOL_TRUE) { - goto branch_yes_13; - } else { - goto branch_no_13; - } - } - branch_yes_13:; - tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - if (unlikely(tmp_result == false)) { - exception_lineno = 438; - } - - if (exception_tb && exception_tb->tb_frame == &frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame) frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = exception_tb->tb_lineno; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_34; - branch_no_13:; - goto branch_end_12; - branch_no_12:; - tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - if (unlikely(tmp_result == false)) { - exception_lineno = 429; - } - - if (exception_tb && exception_tb->tb_frame == &frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame) frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = exception_tb->tb_lineno; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_34; - branch_end_12:; - goto try_end_20; - // Exception handler code: - try_except_handler_34:; - exception_keeper_type_30 = exception_type; - exception_keeper_value_30 = exception_value; - exception_keeper_tb_30 = exception_tb; - exception_keeper_lineno_30 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - // Restore previous exception id 3. - SET_CURRENT_EXCEPTION(exception_preserved_type_3, exception_preserved_value_3, exception_preserved_tb_3); - - // Re-raise. - exception_type = exception_keeper_type_30; - exception_value = exception_keeper_value_30; - exception_tb = exception_keeper_tb_30; - exception_lineno = exception_keeper_lineno_30; - - goto try_except_handler_28; - // End of try: - try_end_20:; - // Restore previous exception id 3. - SET_CURRENT_EXCEPTION(exception_preserved_type_3, exception_preserved_value_3, exception_preserved_tb_3); - - goto try_end_19; - NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases"); - return NULL; - // End of try: - try_end_19:; - goto try_end_21; - // Exception handler code: - try_except_handler_28:; - exception_keeper_type_31 = exception_type; - exception_keeper_value_31 = exception_value; - exception_keeper_tb_31 = exception_tb; - exception_keeper_lineno_31 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - { - bool tmp_condition_result_15; - nuitka_bool tmp_compexpr_left_15; - nuitka_bool tmp_compexpr_right_15; - assert(tmp_with_3__indicator != NUITKA_BOOL_UNASSIGNED); - tmp_compexpr_left_15 = tmp_with_3__indicator; - tmp_compexpr_right_15 = NUITKA_BOOL_TRUE; - tmp_condition_result_15 = (tmp_compexpr_left_15 == tmp_compexpr_right_15) ? true : false; - if (tmp_condition_result_15 != false) { - goto branch_yes_14; - } else { - goto branch_no_14; - } - } - branch_yes_14:; - { - PyObject *tmp_called_name_33; - PyObject *tmp_call_result_7; - CHECK_OBJECT(tmp_with_3__exit); - tmp_called_name_33 = tmp_with_3__exit; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 438; - tmp_call_result_7 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_33, &PyTuple_GET_ITEM(mod_consts[208], 0)); - - if (tmp_call_result_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - Py_DECREF(exception_keeper_type_31); - Py_XDECREF(exception_keeper_value_31); - Py_XDECREF(exception_keeper_tb_31); - - exception_lineno = 438; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_27; - } - Py_DECREF(tmp_call_result_7); - } - branch_no_14:; - // Re-raise. - exception_type = exception_keeper_type_31; - exception_value = exception_keeper_value_31; - exception_tb = exception_keeper_tb_31; - exception_lineno = exception_keeper_lineno_31; - - goto try_except_handler_27; - // End of try: - try_end_21:; - { - bool tmp_condition_result_16; - nuitka_bool tmp_compexpr_left_16; - nuitka_bool tmp_compexpr_right_16; - assert(tmp_with_3__indicator != NUITKA_BOOL_UNASSIGNED); - tmp_compexpr_left_16 = tmp_with_3__indicator; - tmp_compexpr_right_16 = NUITKA_BOOL_TRUE; - tmp_condition_result_16 = (tmp_compexpr_left_16 == tmp_compexpr_right_16) ? true : false; - if (tmp_condition_result_16 != false) { - goto branch_yes_15; - } else { - goto branch_no_15; - } - } - branch_yes_15:; - { - PyObject *tmp_called_name_34; - PyObject *tmp_call_result_8; - CHECK_OBJECT(tmp_with_3__exit); - tmp_called_name_34 = tmp_with_3__exit; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 438; - tmp_call_result_8 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_34, &PyTuple_GET_ITEM(mod_consts[208], 0)); - - if (tmp_call_result_8 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 438; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_27; - } - Py_DECREF(tmp_call_result_8); - } - branch_no_15:; - goto try_end_22; - // Exception handler code: - try_except_handler_27:; - exception_keeper_type_32 = exception_type; - exception_keeper_value_32 = exception_value; - exception_keeper_tb_32 = exception_tb; - exception_keeper_lineno_32 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - Py_XDECREF(tmp_with_3__source); - tmp_with_3__source = NULL; - Py_XDECREF(tmp_with_3__enter); - tmp_with_3__enter = NULL; - Py_XDECREF(tmp_with_3__exit); - tmp_with_3__exit = NULL; - // Re-raise. - exception_type = exception_keeper_type_32; - exception_value = exception_keeper_value_32; - exception_tb = exception_keeper_tb_32; - exception_lineno = exception_keeper_lineno_32; - - goto frame_exception_exit_1; - // End of try: - try_end_22:; - CHECK_OBJECT(tmp_with_3__source); - Py_DECREF(tmp_with_3__source); - tmp_with_3__source = NULL; - CHECK_OBJECT(tmp_with_3__enter); - Py_DECREF(tmp_with_3__enter); - tmp_with_3__enter = NULL; - Py_XDECREF(tmp_with_3__exit); - tmp_with_3__exit = NULL; - branch_no_7:; - { - bool tmp_condition_result_17; - PyObject *tmp_compexpr_left_17; - PyObject *tmp_compexpr_right_17; - PyObject *tmp_expression_name_84; - PyObject *tmp_subscript_name_29; - tmp_compexpr_left_17 = mod_consts[259]; - if (par_samples == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[236]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 440; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_84 = par_samples; - tmp_subscript_name_29 = mod_consts[233]; - tmp_compexpr_right_17 = LOOKUP_SUBSCRIPT(tmp_expression_name_84, tmp_subscript_name_29); - if (tmp_compexpr_right_17 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 440; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_res = PySequence_Contains(tmp_compexpr_right_17, tmp_compexpr_left_17); - Py_DECREF(tmp_compexpr_right_17); - if (tmp_res == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 440; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_condition_result_17 = (tmp_res == 1) ? true : false; - if (tmp_condition_result_17 != false) { - goto branch_yes_16; - } else { - goto branch_no_16; - } - } - branch_yes_16:; - // Tried code: - { - PyObject *tmp_assign_source_103; - PyObject *tmp_called_instance_10; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 441; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_35; - } - - tmp_called_instance_10 = par_self; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 441; - tmp_assign_source_103 = CALL_METHOD_NO_ARGS(tmp_called_instance_10, mod_consts[180]); - if (tmp_assign_source_103 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 441; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_35; - } - assert(tmp_with_5__source == NULL); - tmp_with_5__source = tmp_assign_source_103; - } - { - PyObject *tmp_assign_source_104; - PyObject *tmp_called_name_35; - PyObject *tmp_expression_name_85; - CHECK_OBJECT(tmp_with_5__source); - tmp_expression_name_85 = tmp_with_5__source; - tmp_called_name_35 = LOOKUP_SPECIAL(tmp_expression_name_85, mod_consts[181]); - if (tmp_called_name_35 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 441; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_35; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 441; - tmp_assign_source_104 = CALL_FUNCTION_NO_ARGS(tmp_called_name_35); - Py_DECREF(tmp_called_name_35); - if (tmp_assign_source_104 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 441; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_35; - } - assert(tmp_with_5__enter == NULL); - tmp_with_5__enter = tmp_assign_source_104; - } - { - PyObject *tmp_assign_source_105; - PyObject *tmp_expression_name_86; - CHECK_OBJECT(tmp_with_5__source); - tmp_expression_name_86 = tmp_with_5__source; - tmp_assign_source_105 = LOOKUP_SPECIAL(tmp_expression_name_86, mod_consts[182]); - if (tmp_assign_source_105 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 441; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_35; - } - assert(tmp_with_5__exit == NULL); - tmp_with_5__exit = tmp_assign_source_105; - } - { - nuitka_bool tmp_assign_source_106; - tmp_assign_source_106 = NUITKA_BOOL_TRUE; - tmp_with_5__indicator = tmp_assign_source_106; - } - // Tried code: - // Tried code: - { - PyObject *tmp_assign_source_107; - PyObject *tmp_expression_name_87; - PyObject *tmp_expression_name_88; - PyObject *tmp_subscript_name_30; - if (var_outputs == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[283]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 442; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - - tmp_expression_name_88 = var_outputs; - tmp_expression_name_87 = LOOKUP_ATTRIBUTE(tmp_expression_name_88, mod_consts[285]); - if (tmp_expression_name_87 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 442; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - tmp_subscript_name_30 = mod_consts[185]; - tmp_assign_source_107 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_87, tmp_subscript_name_30, -1); - Py_DECREF(tmp_expression_name_87); - if (tmp_assign_source_107 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 442; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - { - PyObject *old = var_hidden_states; - var_hidden_states = tmp_assign_source_107; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_108; - PyObject *tmp_compexpr_left_18; - PyObject *tmp_compexpr_right_18; - PyObject *tmp_expression_name_89; - if (var_targets == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[286]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 443; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - - tmp_compexpr_left_18 = var_targets; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 443; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - - tmp_expression_name_89 = par_self; - tmp_compexpr_right_18 = LOOKUP_ATTRIBUTE(tmp_expression_name_89, mod_consts[291]); - if (tmp_compexpr_right_18 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 443; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - tmp_assign_source_108 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_18, tmp_compexpr_right_18); - Py_DECREF(tmp_compexpr_right_18); - if (tmp_assign_source_108 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 443; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - { - PyObject *old = var_token_mask; - var_token_mask = tmp_assign_source_108; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_109; - PyObject *tmp_expression_name_90; - PyObject *tmp_subscript_name_31; - CHECK_OBJECT(var_hidden_states); - tmp_expression_name_90 = var_hidden_states; - CHECK_OBJECT(var_token_mask); - tmp_subscript_name_31 = var_token_mask; - tmp_assign_source_109 = LOOKUP_SUBSCRIPT(tmp_expression_name_90, tmp_subscript_name_31); - if (tmp_assign_source_109 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 444; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - { - PyObject *old = var_target_states; - var_target_states = tmp_assign_source_109; - Py_XDECREF(old); - } - - } - // Tried code: - { - PyObject *tmp_assign_source_110; - PyObject *tmp_called_instance_11; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 445; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_38; - } - - tmp_called_instance_11 = par_self; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 445; - tmp_assign_source_110 = CALL_METHOD_NO_ARGS(tmp_called_instance_11, mod_consts[180]); - if (tmp_assign_source_110 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 445; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_38; - } - assert(tmp_with_4__source == NULL); - tmp_with_4__source = tmp_assign_source_110; - } - { - PyObject *tmp_assign_source_111; - PyObject *tmp_called_name_36; - PyObject *tmp_expression_name_91; - CHECK_OBJECT(tmp_with_4__source); - tmp_expression_name_91 = tmp_with_4__source; - tmp_called_name_36 = LOOKUP_SPECIAL(tmp_expression_name_91, mod_consts[181]); - if (tmp_called_name_36 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 445; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_38; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 445; - tmp_assign_source_111 = CALL_FUNCTION_NO_ARGS(tmp_called_name_36); - Py_DECREF(tmp_called_name_36); - if (tmp_assign_source_111 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 445; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_38; - } - assert(tmp_with_4__enter == NULL); - tmp_with_4__enter = tmp_assign_source_111; - } - { - PyObject *tmp_assign_source_112; - PyObject *tmp_expression_name_92; - CHECK_OBJECT(tmp_with_4__source); - tmp_expression_name_92 = tmp_with_4__source; - tmp_assign_source_112 = LOOKUP_SPECIAL(tmp_expression_name_92, mod_consts[182]); - if (tmp_assign_source_112 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 445; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_38; - } - assert(tmp_with_4__exit == NULL); - tmp_with_4__exit = tmp_assign_source_112; - } - { - nuitka_bool tmp_assign_source_113; - tmp_assign_source_113 = NUITKA_BOOL_TRUE; - tmp_with_4__indicator = tmp_assign_source_113; - } - // Tried code: - // Tried code: - { - PyObject *tmp_assign_source_114; - PyObject *tmp_called_instance_12; - PyObject *tmp_args_element_name_34; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 446; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_40; - } - - tmp_called_instance_12 = par_self; - CHECK_OBJECT(var_target_states); - tmp_args_element_name_34 = var_target_states; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 446; - tmp_assign_source_114 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_12, mod_consts[292], tmp_args_element_name_34); - if (tmp_assign_source_114 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 446; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_40; - } - assert(var_point_states == NULL); - var_point_states = tmp_assign_source_114; - } - goto try_end_23; - // Exception handler code: - try_except_handler_40:; - exception_keeper_type_33 = exception_type; - exception_keeper_value_33 = exception_value; - exception_keeper_tb_33 = exception_tb; - exception_keeper_lineno_33 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - // Preserve existing published exception id 4. - GET_CURRENT_EXCEPTION(&exception_preserved_type_4, &exception_preserved_value_4, &exception_preserved_tb_4); - - if (exception_keeper_tb_33 == NULL) { - exception_keeper_tb_33 = MAKE_TRACEBACK(frame_fe557d162e569c6a186cf09bbb51e6fa, exception_keeper_lineno_33); - } else if (exception_keeper_lineno_33 != 0) { - exception_keeper_tb_33 = ADD_TRACEBACK(exception_keeper_tb_33, frame_fe557d162e569c6a186cf09bbb51e6fa, exception_keeper_lineno_33); - } - - NORMALIZE_EXCEPTION(&exception_keeper_type_33, &exception_keeper_value_33, &exception_keeper_tb_33); - ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(exception_keeper_value_33, exception_keeper_tb_33); - PUBLISH_EXCEPTION(&exception_keeper_type_33, &exception_keeper_value_33, &exception_keeper_tb_33); - // Tried code: - { - bool tmp_condition_result_18; - PyObject *tmp_compexpr_left_19; - PyObject *tmp_compexpr_right_19; - tmp_compexpr_left_19 = EXC_TYPE(PyThreadState_GET()); - tmp_compexpr_right_19 = PyExc_BaseException; - tmp_res = EXCEPTION_MATCH_BOOL(tmp_compexpr_left_19, tmp_compexpr_right_19); - assert(!(tmp_res == -1)); - tmp_condition_result_18 = (tmp_res != 0) ? true : false; - if (tmp_condition_result_18 != false) { - goto branch_yes_17; - } else { - goto branch_no_17; - } - } - branch_yes_17:; - { - nuitka_bool tmp_assign_source_115; - tmp_assign_source_115 = NUITKA_BOOL_FALSE; - tmp_with_4__indicator = tmp_assign_source_115; - } - { - nuitka_bool tmp_condition_result_19; - PyObject *tmp_operand_name_4; - PyObject *tmp_called_name_37; - PyObject *tmp_args_element_name_35; - PyObject *tmp_args_element_name_36; - PyObject *tmp_args_element_name_37; - CHECK_OBJECT(tmp_with_4__exit); - tmp_called_name_37 = tmp_with_4__exit; - tmp_args_element_name_35 = EXC_TYPE(PyThreadState_GET()); - tmp_args_element_name_36 = EXC_VALUE(PyThreadState_GET()); - tmp_args_element_name_37 = EXC_TRACEBACK(PyThreadState_GET()); - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 446; - { - PyObject *call_args[] = {tmp_args_element_name_35, tmp_args_element_name_36, tmp_args_element_name_37}; - tmp_operand_name_4 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_37, call_args); - } - - if (tmp_operand_name_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 446; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_41; - } - tmp_res = CHECK_IF_TRUE(tmp_operand_name_4); - Py_DECREF(tmp_operand_name_4); - if (tmp_res == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 446; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_41; - } - tmp_condition_result_19 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; - if (tmp_condition_result_19 == NUITKA_BOOL_TRUE) { - goto branch_yes_18; - } else { - goto branch_no_18; - } - } - branch_yes_18:; - tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - if (unlikely(tmp_result == false)) { - exception_lineno = 446; - } - - if (exception_tb && exception_tb->tb_frame == &frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame) frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = exception_tb->tb_lineno; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_41; - branch_no_18:; - goto branch_end_17; - branch_no_17:; - tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - if (unlikely(tmp_result == false)) { - exception_lineno = 445; - } - - if (exception_tb && exception_tb->tb_frame == &frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame) frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = exception_tb->tb_lineno; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_41; - branch_end_17:; - goto try_end_24; - // Exception handler code: - try_except_handler_41:; - exception_keeper_type_34 = exception_type; - exception_keeper_value_34 = exception_value; - exception_keeper_tb_34 = exception_tb; - exception_keeper_lineno_34 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - // Restore previous exception id 4. - SET_CURRENT_EXCEPTION(exception_preserved_type_4, exception_preserved_value_4, exception_preserved_tb_4); - - // Re-raise. - exception_type = exception_keeper_type_34; - exception_value = exception_keeper_value_34; - exception_tb = exception_keeper_tb_34; - exception_lineno = exception_keeper_lineno_34; - - goto try_except_handler_39; - // End of try: - try_end_24:; - // Restore previous exception id 4. - SET_CURRENT_EXCEPTION(exception_preserved_type_4, exception_preserved_value_4, exception_preserved_tb_4); - - goto try_end_23; - NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases"); - return NULL; - // End of try: - try_end_23:; - goto try_end_25; - // Exception handler code: - try_except_handler_39:; - exception_keeper_type_35 = exception_type; - exception_keeper_value_35 = exception_value; - exception_keeper_tb_35 = exception_tb; - exception_keeper_lineno_35 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - { - bool tmp_condition_result_20; - nuitka_bool tmp_compexpr_left_20; - nuitka_bool tmp_compexpr_right_20; - assert(tmp_with_4__indicator != NUITKA_BOOL_UNASSIGNED); - tmp_compexpr_left_20 = tmp_with_4__indicator; - tmp_compexpr_right_20 = NUITKA_BOOL_TRUE; - tmp_condition_result_20 = (tmp_compexpr_left_20 == tmp_compexpr_right_20) ? true : false; - if (tmp_condition_result_20 != false) { - goto branch_yes_19; - } else { - goto branch_no_19; - } - } - branch_yes_19:; - { - PyObject *tmp_called_name_38; - PyObject *tmp_call_result_9; - CHECK_OBJECT(tmp_with_4__exit); - tmp_called_name_38 = tmp_with_4__exit; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 446; - tmp_call_result_9 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_38, &PyTuple_GET_ITEM(mod_consts[208], 0)); - - if (tmp_call_result_9 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - Py_DECREF(exception_keeper_type_35); - Py_XDECREF(exception_keeper_value_35); - Py_XDECREF(exception_keeper_tb_35); - - exception_lineno = 446; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_38; - } - Py_DECREF(tmp_call_result_9); - } - branch_no_19:; - // Re-raise. - exception_type = exception_keeper_type_35; - exception_value = exception_keeper_value_35; - exception_tb = exception_keeper_tb_35; - exception_lineno = exception_keeper_lineno_35; - - goto try_except_handler_38; - // End of try: - try_end_25:; - { - bool tmp_condition_result_21; - nuitka_bool tmp_compexpr_left_21; - nuitka_bool tmp_compexpr_right_21; - assert(tmp_with_4__indicator != NUITKA_BOOL_UNASSIGNED); - tmp_compexpr_left_21 = tmp_with_4__indicator; - tmp_compexpr_right_21 = NUITKA_BOOL_TRUE; - tmp_condition_result_21 = (tmp_compexpr_left_21 == tmp_compexpr_right_21) ? true : false; - if (tmp_condition_result_21 != false) { - goto branch_yes_20; - } else { - goto branch_no_20; - } - } - branch_yes_20:; - { - PyObject *tmp_called_name_39; - PyObject *tmp_call_result_10; - CHECK_OBJECT(tmp_with_4__exit); - tmp_called_name_39 = tmp_with_4__exit; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 446; - tmp_call_result_10 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_39, &PyTuple_GET_ITEM(mod_consts[208], 0)); - - if (tmp_call_result_10 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 446; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_38; - } - Py_DECREF(tmp_call_result_10); - } - branch_no_20:; - goto try_end_26; - // Exception handler code: - try_except_handler_38:; - exception_keeper_type_36 = exception_type; - exception_keeper_value_36 = exception_value; - exception_keeper_tb_36 = exception_tb; - exception_keeper_lineno_36 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - Py_XDECREF(tmp_with_4__source); - tmp_with_4__source = NULL; - Py_XDECREF(tmp_with_4__enter); - tmp_with_4__enter = NULL; - Py_XDECREF(tmp_with_4__exit); - tmp_with_4__exit = NULL; - // Re-raise. - exception_type = exception_keeper_type_36; - exception_value = exception_keeper_value_36; - exception_tb = exception_keeper_tb_36; - exception_lineno = exception_keeper_lineno_36; - - goto try_except_handler_37; - // End of try: - try_end_26:; - CHECK_OBJECT(tmp_with_4__source); - Py_DECREF(tmp_with_4__source); - tmp_with_4__source = NULL; - CHECK_OBJECT(tmp_with_4__enter); - Py_DECREF(tmp_with_4__enter); - tmp_with_4__enter = NULL; - Py_XDECREF(tmp_with_4__exit); - tmp_with_4__exit = NULL; - { - PyObject *tmp_assign_source_116; - PyObject *tmp_called_name_40; - PyObject *tmp_args_element_name_38; - PyObject *tmp_args_element_name_39; - PyObject *tmp_expression_name_93; - PyObject *tmp_expression_name_94; - PyObject *tmp_subscript_name_32; - tmp_called_name_40 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[293]); - - if (unlikely(tmp_called_name_40 == NULL)) { - tmp_called_name_40 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[293]); - } - - if (tmp_called_name_40 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 447; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - if (var_sample_num == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[288]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 447; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - - tmp_args_element_name_38 = var_sample_num; - if (var_point_states == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[294]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 447; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - - tmp_expression_name_94 = var_point_states; - tmp_expression_name_93 = LOOKUP_ATTRIBUTE(tmp_expression_name_94, mod_consts[175]); - if (tmp_expression_name_93 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 447; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - tmp_subscript_name_32 = mod_consts[11]; - tmp_args_element_name_39 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_93, tmp_subscript_name_32, 0); - Py_DECREF(tmp_expression_name_93); - if (tmp_args_element_name_39 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 447; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 447; - { - PyObject *call_args[] = {tmp_args_element_name_38, tmp_args_element_name_39}; - tmp_assign_source_116 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_40, call_args); - } - - Py_DECREF(tmp_args_element_name_39); - if (tmp_assign_source_116 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 447; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - { - PyObject *old = var_labels; - var_labels = tmp_assign_source_116; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_117; - PyObject *tmp_called_name_41; - PyObject *tmp_expression_name_95; - PyObject *tmp_args_element_name_40; - PyObject *tmp_expression_name_96; - CHECK_OBJECT(var_labels); - tmp_expression_name_95 = var_labels; - tmp_called_name_41 = LOOKUP_ATTRIBUTE(tmp_expression_name_95, mod_consts[170]); - if (tmp_called_name_41 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 448; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - if (var_targets == NULL) { - Py_DECREF(tmp_called_name_41); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[286]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 448; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - - tmp_expression_name_96 = var_targets; - tmp_args_element_name_40 = LOOKUP_ATTRIBUTE(tmp_expression_name_96, mod_consts[178]); - if (tmp_args_element_name_40 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_41); - - exception_lineno = 448; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 448; - tmp_assign_source_117 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_41, tmp_args_element_name_40); - Py_DECREF(tmp_called_name_41); - Py_DECREF(tmp_args_element_name_40); - if (tmp_assign_source_117 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 448; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - { - PyObject *old = var_labels; - var_labels = tmp_assign_source_117; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_118; - PyObject *tmp_called_name_42; - PyObject *tmp_expression_name_97; - PyObject *tmp_args_element_name_41; - PyObject *tmp_args_element_name_42; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 449; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - - tmp_expression_name_97 = par_self; - tmp_called_name_42 = LOOKUP_ATTRIBUTE(tmp_expression_name_97, mod_consts[295]); - if (tmp_called_name_42 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 449; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - if (var_point_states == NULL) { - Py_DECREF(tmp_called_name_42); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[294]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 449; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - - tmp_args_element_name_41 = var_point_states; - CHECK_OBJECT(var_labels); - tmp_args_element_name_42 = var_labels; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 449; - { - PyObject *call_args[] = {tmp_args_element_name_41, tmp_args_element_name_42}; - tmp_assign_source_118 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_42, call_args); - } - - Py_DECREF(tmp_called_name_42); - if (tmp_assign_source_118 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 449; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - assert(var_keypoint_loss == NULL); - var_keypoint_loss = tmp_assign_source_118; - } - { - PyObject *tmp_assign_source_119; - PyObject *tmp_left_name_18; - PyObject *tmp_right_name_18; - PyObject *tmp_left_name_19; - PyObject *tmp_right_name_19; - if (var_loss == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[284]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 450; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - - tmp_left_name_18 = var_loss; - CHECK_OBJECT(var_keypoint_loss); - tmp_left_name_19 = var_keypoint_loss; - tmp_right_name_19 = mod_consts[290]; - tmp_right_name_18 = BINARY_OPERATION_MULT_OBJECT_OBJECT_FLOAT(tmp_left_name_19, tmp_right_name_19); - if (tmp_right_name_18 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 450; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE(&tmp_left_name_18, tmp_right_name_18); - Py_DECREF(tmp_right_name_18); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 450; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_37; - } - tmp_assign_source_119 = tmp_left_name_18; - var_loss = tmp_assign_source_119; - - } - goto try_end_27; - // Exception handler code: - try_except_handler_37:; - exception_keeper_type_37 = exception_type; - exception_keeper_value_37 = exception_value; - exception_keeper_tb_37 = exception_tb; - exception_keeper_lineno_37 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - // Preserve existing published exception id 5. - GET_CURRENT_EXCEPTION(&exception_preserved_type_5, &exception_preserved_value_5, &exception_preserved_tb_5); - - if (exception_keeper_tb_37 == NULL) { - exception_keeper_tb_37 = MAKE_TRACEBACK(frame_fe557d162e569c6a186cf09bbb51e6fa, exception_keeper_lineno_37); - } else if (exception_keeper_lineno_37 != 0) { - exception_keeper_tb_37 = ADD_TRACEBACK(exception_keeper_tb_37, frame_fe557d162e569c6a186cf09bbb51e6fa, exception_keeper_lineno_37); - } - - NORMALIZE_EXCEPTION(&exception_keeper_type_37, &exception_keeper_value_37, &exception_keeper_tb_37); - ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(exception_keeper_value_37, exception_keeper_tb_37); - PUBLISH_EXCEPTION(&exception_keeper_type_37, &exception_keeper_value_37, &exception_keeper_tb_37); - // Tried code: - { - bool tmp_condition_result_22; - PyObject *tmp_compexpr_left_22; - PyObject *tmp_compexpr_right_22; - tmp_compexpr_left_22 = EXC_TYPE(PyThreadState_GET()); - tmp_compexpr_right_22 = PyExc_BaseException; - tmp_res = EXCEPTION_MATCH_BOOL(tmp_compexpr_left_22, tmp_compexpr_right_22); - assert(!(tmp_res == -1)); - tmp_condition_result_22 = (tmp_res != 0) ? true : false; - if (tmp_condition_result_22 != false) { - goto branch_yes_21; - } else { - goto branch_no_21; - } - } - branch_yes_21:; - { - nuitka_bool tmp_assign_source_120; - tmp_assign_source_120 = NUITKA_BOOL_FALSE; - tmp_with_5__indicator = tmp_assign_source_120; - } - { - nuitka_bool tmp_condition_result_23; - PyObject *tmp_operand_name_5; - PyObject *tmp_called_name_43; - PyObject *tmp_args_element_name_43; - PyObject *tmp_args_element_name_44; - PyObject *tmp_args_element_name_45; - CHECK_OBJECT(tmp_with_5__exit); - tmp_called_name_43 = tmp_with_5__exit; - tmp_args_element_name_43 = EXC_TYPE(PyThreadState_GET()); - tmp_args_element_name_44 = EXC_VALUE(PyThreadState_GET()); - tmp_args_element_name_45 = EXC_TRACEBACK(PyThreadState_GET()); - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 450; - { - PyObject *call_args[] = {tmp_args_element_name_43, tmp_args_element_name_44, tmp_args_element_name_45}; - tmp_operand_name_5 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_43, call_args); - } - - if (tmp_operand_name_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 450; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_42; - } - tmp_res = CHECK_IF_TRUE(tmp_operand_name_5); - Py_DECREF(tmp_operand_name_5); - if (tmp_res == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 450; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_42; - } - tmp_condition_result_23 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; - if (tmp_condition_result_23 == NUITKA_BOOL_TRUE) { - goto branch_yes_22; - } else { - goto branch_no_22; - } - } - branch_yes_22:; - tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - if (unlikely(tmp_result == false)) { - exception_lineno = 450; - } - - if (exception_tb && exception_tb->tb_frame == &frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame) frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = exception_tb->tb_lineno; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_42; - branch_no_22:; - goto branch_end_21; - branch_no_21:; - tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - if (unlikely(tmp_result == false)) { - exception_lineno = 441; - } - - if (exception_tb && exception_tb->tb_frame == &frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame) frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = exception_tb->tb_lineno; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_42; - branch_end_21:; - goto try_end_28; - // Exception handler code: - try_except_handler_42:; - exception_keeper_type_38 = exception_type; - exception_keeper_value_38 = exception_value; - exception_keeper_tb_38 = exception_tb; - exception_keeper_lineno_38 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - // Restore previous exception id 5. - SET_CURRENT_EXCEPTION(exception_preserved_type_5, exception_preserved_value_5, exception_preserved_tb_5); - - // Re-raise. - exception_type = exception_keeper_type_38; - exception_value = exception_keeper_value_38; - exception_tb = exception_keeper_tb_38; - exception_lineno = exception_keeper_lineno_38; - - goto try_except_handler_36; - // End of try: - try_end_28:; - // Restore previous exception id 5. - SET_CURRENT_EXCEPTION(exception_preserved_type_5, exception_preserved_value_5, exception_preserved_tb_5); - - goto try_end_27; - NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases"); - return NULL; - // End of try: - try_end_27:; - goto try_end_29; - // Exception handler code: - try_except_handler_36:; - exception_keeper_type_39 = exception_type; - exception_keeper_value_39 = exception_value; - exception_keeper_tb_39 = exception_tb; - exception_keeper_lineno_39 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - { - bool tmp_condition_result_24; - nuitka_bool tmp_compexpr_left_23; - nuitka_bool tmp_compexpr_right_23; - assert(tmp_with_5__indicator != NUITKA_BOOL_UNASSIGNED); - tmp_compexpr_left_23 = tmp_with_5__indicator; - tmp_compexpr_right_23 = NUITKA_BOOL_TRUE; - tmp_condition_result_24 = (tmp_compexpr_left_23 == tmp_compexpr_right_23) ? true : false; - if (tmp_condition_result_24 != false) { - goto branch_yes_23; - } else { - goto branch_no_23; - } - } - branch_yes_23:; - { - PyObject *tmp_called_name_44; - PyObject *tmp_call_result_11; - CHECK_OBJECT(tmp_with_5__exit); - tmp_called_name_44 = tmp_with_5__exit; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 450; - tmp_call_result_11 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_44, &PyTuple_GET_ITEM(mod_consts[208], 0)); - - if (tmp_call_result_11 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - Py_DECREF(exception_keeper_type_39); - Py_XDECREF(exception_keeper_value_39); - Py_XDECREF(exception_keeper_tb_39); - - exception_lineno = 450; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_35; - } - Py_DECREF(tmp_call_result_11); - } - branch_no_23:; - // Re-raise. - exception_type = exception_keeper_type_39; - exception_value = exception_keeper_value_39; - exception_tb = exception_keeper_tb_39; - exception_lineno = exception_keeper_lineno_39; - - goto try_except_handler_35; - // End of try: - try_end_29:; - { - bool tmp_condition_result_25; - nuitka_bool tmp_compexpr_left_24; - nuitka_bool tmp_compexpr_right_24; - assert(tmp_with_5__indicator != NUITKA_BOOL_UNASSIGNED); - tmp_compexpr_left_24 = tmp_with_5__indicator; - tmp_compexpr_right_24 = NUITKA_BOOL_TRUE; - tmp_condition_result_25 = (tmp_compexpr_left_24 == tmp_compexpr_right_24) ? true : false; - if (tmp_condition_result_25 != false) { - goto branch_yes_24; - } else { - goto branch_no_24; - } - } - branch_yes_24:; - { - PyObject *tmp_called_name_45; - PyObject *tmp_call_result_12; - CHECK_OBJECT(tmp_with_5__exit); - tmp_called_name_45 = tmp_with_5__exit; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 450; - tmp_call_result_12 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_45, &PyTuple_GET_ITEM(mod_consts[208], 0)); - - if (tmp_call_result_12 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 450; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_35; - } - Py_DECREF(tmp_call_result_12); - } - branch_no_24:; - goto try_end_30; - // Exception handler code: - try_except_handler_35:; - exception_keeper_type_40 = exception_type; - exception_keeper_value_40 = exception_value; - exception_keeper_tb_40 = exception_tb; - exception_keeper_lineno_40 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - Py_XDECREF(tmp_with_5__source); - tmp_with_5__source = NULL; - Py_XDECREF(tmp_with_5__enter); - tmp_with_5__enter = NULL; - Py_XDECREF(tmp_with_5__exit); - tmp_with_5__exit = NULL; - // Re-raise. - exception_type = exception_keeper_type_40; - exception_value = exception_keeper_value_40; - exception_tb = exception_keeper_tb_40; - exception_lineno = exception_keeper_lineno_40; - - goto frame_exception_exit_1; - // End of try: - try_end_30:; - CHECK_OBJECT(tmp_with_5__source); - Py_DECREF(tmp_with_5__source); - tmp_with_5__source = NULL; - CHECK_OBJECT(tmp_with_5__enter); - Py_DECREF(tmp_with_5__enter); - tmp_with_5__enter = NULL; - Py_XDECREF(tmp_with_5__exit); - tmp_with_5__exit = NULL; - branch_no_16:; - { - bool tmp_condition_result_26; - PyObject *tmp_compexpr_left_25; - PyObject *tmp_compexpr_right_25; - PyObject *tmp_expression_name_98; - PyObject *tmp_subscript_name_33; - tmp_compexpr_left_25 = mod_consts[207]; - if (par_samples == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[236]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 452; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_98 = par_samples; - tmp_subscript_name_33 = mod_consts[233]; - tmp_compexpr_right_25 = LOOKUP_SUBSCRIPT(tmp_expression_name_98, tmp_subscript_name_33); - if (tmp_compexpr_right_25 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 452; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_res = PySequence_Contains(tmp_compexpr_right_25, tmp_compexpr_left_25); - Py_DECREF(tmp_compexpr_right_25); - if (tmp_res == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 452; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_condition_result_26 = (tmp_res == 1) ? true : false; - if (tmp_condition_result_26 != false) { - goto branch_yes_25; - } else { - goto branch_no_25; - } - } - branch_yes_25:; - { - bool tmp_condition_result_27; - PyObject *tmp_compexpr_left_26; - PyObject *tmp_compexpr_right_26; - PyObject *tmp_expression_name_99; - PyObject *tmp_subscript_name_34; - tmp_compexpr_left_26 = mod_consts[183]; - if (par_samples == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[236]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 453; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_99 = par_samples; - tmp_subscript_name_34 = mod_consts[232]; - tmp_compexpr_right_26 = LOOKUP_SUBSCRIPT(tmp_expression_name_99, tmp_subscript_name_34); - if (tmp_compexpr_right_26 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 453; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_res = PySequence_Contains(tmp_compexpr_right_26, tmp_compexpr_left_26); - Py_DECREF(tmp_compexpr_right_26); - if (tmp_res == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 453; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_condition_result_27 = (tmp_res == 1) ? true : false; - if (tmp_condition_result_27 != false) { - goto branch_yes_26; - } else { - goto branch_no_26; - } - } - branch_yes_26:; - { - PyObject *tmp_assign_source_121; - PyObject *tmp_expression_name_100; - PyObject *tmp_subscript_name_35; - if (par_samples == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[236]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 454; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_100 = par_samples; - tmp_subscript_name_35 = mod_consts[296]; - tmp_assign_source_121 = LOOKUP_SUBSCRIPT(tmp_expression_name_100, tmp_subscript_name_35); - if (tmp_assign_source_121 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 454; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_masks == NULL); - var_masks = tmp_assign_source_121; - } - // Tried code: - { - PyObject *tmp_assign_source_122; - PyObject *tmp_called_instance_13; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 455; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_43; - } - - tmp_called_instance_13 = par_self; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 455; - tmp_assign_source_122 = CALL_METHOD_NO_ARGS(tmp_called_instance_13, mod_consts[180]); - if (tmp_assign_source_122 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 455; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_43; - } - assert(tmp_with_6__source == NULL); - tmp_with_6__source = tmp_assign_source_122; - } - { - PyObject *tmp_assign_source_123; - PyObject *tmp_called_name_46; - PyObject *tmp_expression_name_101; - CHECK_OBJECT(tmp_with_6__source); - tmp_expression_name_101 = tmp_with_6__source; - tmp_called_name_46 = LOOKUP_SPECIAL(tmp_expression_name_101, mod_consts[181]); - if (tmp_called_name_46 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 455; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_43; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 455; - tmp_assign_source_123 = CALL_FUNCTION_NO_ARGS(tmp_called_name_46); - Py_DECREF(tmp_called_name_46); - if (tmp_assign_source_123 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 455; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_43; - } - assert(tmp_with_6__enter == NULL); - tmp_with_6__enter = tmp_assign_source_123; - } - { - PyObject *tmp_assign_source_124; - PyObject *tmp_expression_name_102; - CHECK_OBJECT(tmp_with_6__source); - tmp_expression_name_102 = tmp_with_6__source; - tmp_assign_source_124 = LOOKUP_SPECIAL(tmp_expression_name_102, mod_consts[182]); - if (tmp_assign_source_124 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 455; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_43; - } - assert(tmp_with_6__exit == NULL); - tmp_with_6__exit = tmp_assign_source_124; - } - { - nuitka_bool tmp_assign_source_125; - tmp_assign_source_125 = NUITKA_BOOL_TRUE; - tmp_with_6__indicator = tmp_assign_source_125; - } - // Tried code: - // Tried code: - { - PyObject *tmp_assign_source_126; - PyObject *tmp_called_name_47; - PyObject *tmp_expression_name_103; - PyObject *tmp_args_name_9; - PyObject *tmp_tuple_element_9; - PyObject *tmp_kwargs_name_10; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 456; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - - tmp_expression_name_103 = par_self; - tmp_called_name_47 = LOOKUP_ATTRIBUTE(tmp_expression_name_103, mod_consts[75]); - if (tmp_called_name_47 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 456; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - if (var_image == NULL) { - Py_DECREF(tmp_called_name_47); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[177]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 456; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - - tmp_tuple_element_9 = var_image; - tmp_args_name_9 = PyTuple_New(1); - PyTuple_SET_ITEM0(tmp_args_name_9, 0, tmp_tuple_element_9); - tmp_kwargs_name_10 = PyDict_Copy(mod_consts[184]); - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 456; - tmp_assign_source_126 = CALL_FUNCTION(tmp_called_name_47, tmp_args_name_9, tmp_kwargs_name_10); - Py_DECREF(tmp_called_name_47); - Py_DECREF(tmp_args_name_9); - Py_DECREF(tmp_kwargs_name_10); - if (tmp_assign_source_126 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 456; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - { - PyObject *old = var_img_embeds_list; - assert(old != NULL); - var_img_embeds_list = tmp_assign_source_126; - Py_DECREF(old); - } - - } - { - PyObject *tmp_assign_source_127; - // Tried code: - { - PyObject *tmp_assign_source_128; - PyObject *tmp_iter_arg_14; - CHECK_OBJECT(var_img_embeds_list); - tmp_iter_arg_14 = var_img_embeds_list; - tmp_assign_source_128 = MAKE_ITERATOR(tmp_iter_arg_14); - if (tmp_assign_source_128 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 457; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_46; - } - assert(tmp_listcomp_6__$0 == NULL); - tmp_listcomp_6__$0 = tmp_assign_source_128; - } - { - PyObject *tmp_assign_source_129; - tmp_assign_source_129 = PyList_New(0); - assert(tmp_listcomp_6__contraction == NULL); - tmp_listcomp_6__contraction = tmp_assign_source_129; - } - if (isFrameUnusable(cache_frame_b2b96fbed34f62b539d2c554c20d923d_7)) { - Py_XDECREF(cache_frame_b2b96fbed34f62b539d2c554c20d923d_7); - -#if _DEBUG_REFCOUNTS - if (cache_frame_b2b96fbed34f62b539d2c554c20d923d_7 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_b2b96fbed34f62b539d2c554c20d923d_7 = MAKE_FUNCTION_FRAME(codeobj_b2b96fbed34f62b539d2c554c20d923d, module_models$medomni_bp, sizeof(void *)+sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - assert(cache_frame_b2b96fbed34f62b539d2c554c20d923d_7->m_type_description == NULL); - frame_b2b96fbed34f62b539d2c554c20d923d_7 = cache_frame_b2b96fbed34f62b539d2c554c20d923d_7; - - // Push the new frame as the currently active one. - pushFrameStack(frame_b2b96fbed34f62b539d2c554c20d923d_7); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_b2b96fbed34f62b539d2c554c20d923d_7) == 2); // Frame stack - - // Framed code: - // Tried code: - loop_start_10:; - { - PyObject *tmp_next_source_10; - PyObject *tmp_assign_source_130; - CHECK_OBJECT(tmp_listcomp_6__$0); - tmp_next_source_10 = tmp_listcomp_6__$0; - tmp_assign_source_130 = ITERATOR_NEXT(tmp_next_source_10); - if (tmp_assign_source_130 == NULL) { - if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { - - goto loop_end_10; - } else { - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - type_description_2 = "oo"; - exception_lineno = 457; - goto try_except_handler_47; - } - } - - { - PyObject *old = tmp_listcomp_6__iter_value_0; - tmp_listcomp_6__iter_value_0 = tmp_assign_source_130; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_131; - CHECK_OBJECT(tmp_listcomp_6__iter_value_0); - tmp_assign_source_131 = tmp_listcomp_6__iter_value_0; - { - PyObject *old = outline_5_var__; - outline_5_var__ = tmp_assign_source_131; - Py_INCREF(outline_5_var__); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_append_list_6; - PyObject *tmp_append_value_6; - PyObject *tmp_called_name_48; - PyObject *tmp_expression_name_104; - PyObject *tmp_args_element_name_46; - PyObject *tmp_expression_name_105; - CHECK_OBJECT(tmp_listcomp_6__contraction); - tmp_append_list_6 = tmp_listcomp_6__contraction; - CHECK_OBJECT(outline_5_var__); - tmp_expression_name_104 = outline_5_var__; - tmp_called_name_48 = LOOKUP_ATTRIBUTE(tmp_expression_name_104, mod_consts[170]); - if (tmp_called_name_48 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 457; - type_description_2 = "oo"; - goto try_except_handler_47; - } - if (var_targets == NULL) { - Py_DECREF(tmp_called_name_48); - FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[286]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 457; - type_description_2 = "oo"; - goto try_except_handler_47; - } - - tmp_expression_name_105 = var_targets; - tmp_args_element_name_46 = LOOKUP_ATTRIBUTE(tmp_expression_name_105, mod_consts[178]); - if (tmp_args_element_name_46 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_48); - - exception_lineno = 457; - type_description_2 = "oo"; - goto try_except_handler_47; - } - frame_b2b96fbed34f62b539d2c554c20d923d_7->m_frame.f_lineno = 457; - tmp_append_value_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_48, tmp_args_element_name_46); - Py_DECREF(tmp_called_name_48); - Py_DECREF(tmp_args_element_name_46); - if (tmp_append_value_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 457; - type_description_2 = "oo"; - goto try_except_handler_47; - } - assert(PyList_Check(tmp_append_list_6)); - tmp_result = LIST_APPEND1(tmp_append_list_6, tmp_append_value_6); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 457; - type_description_2 = "oo"; - goto try_except_handler_47; - } - } - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 457; - type_description_2 = "oo"; - goto try_except_handler_47; - } - goto loop_start_10; - loop_end_10:; - CHECK_OBJECT(tmp_listcomp_6__contraction); - tmp_assign_source_127 = tmp_listcomp_6__contraction; - Py_INCREF(tmp_assign_source_127); - goto try_return_handler_47; - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_47:; - Py_XDECREF(tmp_listcomp_6__$0); - tmp_listcomp_6__$0 = NULL; - CHECK_OBJECT(tmp_listcomp_6__contraction); - Py_DECREF(tmp_listcomp_6__contraction); - tmp_listcomp_6__contraction = NULL; - Py_XDECREF(tmp_listcomp_6__iter_value_0); - tmp_listcomp_6__iter_value_0 = NULL; - goto frame_return_exit_7; - // Exception handler code: - try_except_handler_47:; - exception_keeper_type_41 = exception_type; - exception_keeper_value_41 = exception_value; - exception_keeper_tb_41 = exception_tb; - exception_keeper_lineno_41 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - Py_XDECREF(tmp_listcomp_6__$0); - tmp_listcomp_6__$0 = NULL; - CHECK_OBJECT(tmp_listcomp_6__contraction); - Py_DECREF(tmp_listcomp_6__contraction); - tmp_listcomp_6__contraction = NULL; - Py_XDECREF(tmp_listcomp_6__iter_value_0); - tmp_listcomp_6__iter_value_0 = NULL; - // Re-raise. - exception_type = exception_keeper_type_41; - exception_value = exception_keeper_value_41; - exception_tb = exception_keeper_tb_41; - exception_lineno = exception_keeper_lineno_41; - - goto frame_exception_exit_7; - // End of try: - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_b2b96fbed34f62b539d2c554c20d923d_7); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_6; - - frame_return_exit_7:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_b2b96fbed34f62b539d2c554c20d923d_7); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_46; - - frame_exception_exit_7:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_b2b96fbed34f62b539d2c554c20d923d_7); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_b2b96fbed34f62b539d2c554c20d923d_7, exception_lineno); - } else if (exception_tb->tb_frame != &frame_b2b96fbed34f62b539d2c554c20d923d_7->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_b2b96fbed34f62b539d2c554c20d923d_7, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_b2b96fbed34f62b539d2c554c20d923d_7, - type_description_2, - outline_5_var__, - var_targets - ); - - - // Release cached frame if used for exception. - if (frame_b2b96fbed34f62b539d2c554c20d923d_7 == cache_frame_b2b96fbed34f62b539d2c554c20d923d_7) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_b2b96fbed34f62b539d2c554c20d923d_7); - cache_frame_b2b96fbed34f62b539d2c554c20d923d_7 = NULL; - } - - assertFrameObject(frame_b2b96fbed34f62b539d2c554c20d923d_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:; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_46; - skip_nested_handling_6:; - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_46:; - Py_XDECREF(outline_5_var__); - outline_5_var__ = NULL; - goto outline_result_7; - // Exception handler code: - try_except_handler_46:; - exception_keeper_type_42 = exception_type; - exception_keeper_value_42 = exception_value; - exception_keeper_tb_42 = exception_tb; - exception_keeper_lineno_42 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - Py_XDECREF(outline_5_var__); - outline_5_var__ = NULL; - // Re-raise. - exception_type = exception_keeper_type_42; - exception_value = exception_keeper_value_42; - exception_tb = exception_keeper_tb_42; - exception_lineno = exception_keeper_lineno_42; - - goto outline_exception_6; - // End of try: - NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); - return NULL; - outline_exception_6:; - exception_lineno = 457; - goto try_except_handler_45; - outline_result_7:; - { - PyObject *old = var_img_embeds_list; - var_img_embeds_list = tmp_assign_source_127; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_132; - PyObject *tmp_expression_name_106; - PyObject *tmp_expression_name_107; - PyObject *tmp_subscript_name_36; - if (var_outputs == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[283]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 458; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - - tmp_expression_name_107 = var_outputs; - tmp_expression_name_106 = LOOKUP_ATTRIBUTE(tmp_expression_name_107, mod_consts[285]); - if (tmp_expression_name_106 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 458; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - tmp_subscript_name_36 = mod_consts[185]; - tmp_assign_source_132 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_106, tmp_subscript_name_36, -1); - Py_DECREF(tmp_expression_name_106); - if (tmp_assign_source_132 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 458; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - { - PyObject *old = var_hidden_states; - var_hidden_states = tmp_assign_source_132; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_133; - PyObject *tmp_compexpr_left_27; - PyObject *tmp_compexpr_right_27; - PyObject *tmp_expression_name_108; - if (var_targets == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[286]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 459; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - - tmp_compexpr_left_27 = var_targets; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 459; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - - tmp_expression_name_108 = par_self; - tmp_compexpr_right_27 = LOOKUP_ATTRIBUTE(tmp_expression_name_108, mod_consts[107]); - if (tmp_compexpr_right_27 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 459; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - tmp_assign_source_133 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_27, tmp_compexpr_right_27); - Py_DECREF(tmp_compexpr_right_27); - if (tmp_assign_source_133 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 459; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - { - PyObject *old = var_token_mask; - var_token_mask = tmp_assign_source_133; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_134; - PyObject *tmp_expression_name_109; - PyObject *tmp_subscript_name_37; - CHECK_OBJECT(var_hidden_states); - tmp_expression_name_109 = var_hidden_states; - CHECK_OBJECT(var_token_mask); - tmp_subscript_name_37 = var_token_mask; - tmp_assign_source_134 = LOOKUP_SUBSCRIPT(tmp_expression_name_109, tmp_subscript_name_37); - if (tmp_assign_source_134 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 460; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - { - PyObject *old = var_target_states; - var_target_states = tmp_assign_source_134; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_135; - PyObject *tmp_called_instance_14; - PyObject *tmp_args_element_name_47; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 461; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - - tmp_called_instance_14 = par_self; - CHECK_OBJECT(var_target_states); - tmp_args_element_name_47 = var_target_states; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 461; - tmp_assign_source_135 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_14, mod_consts[160], tmp_args_element_name_47); - if (tmp_assign_source_135 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 461; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - assert(var_seg_states == NULL); - var_seg_states = tmp_assign_source_135; - } - { - PyObject *tmp_assign_source_136; - PyObject *tmp_expression_name_110; - PyObject *tmp_subscript_name_38; - CHECK_OBJECT(var_img_embeds_list); - tmp_expression_name_110 = var_img_embeds_list; - tmp_subscript_name_38 = mod_consts[185]; - tmp_assign_source_136 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_110, tmp_subscript_name_38, -1); - if (tmp_assign_source_136 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 462; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - assert(var_last_feats == NULL); - var_last_feats = tmp_assign_source_136; - } - { - PyObject *tmp_assign_source_137; - PyObject *tmp_left_name_20; - PyObject *tmp_right_name_20; - PyObject *tmp_called_instance_15; - PyObject *tmp_called_instance_16; - PyObject *tmp_called_instance_17; - CHECK_OBJECT(var_last_feats); - tmp_left_name_20 = var_last_feats; - CHECK_OBJECT(var_seg_states); - tmp_called_instance_17 = var_seg_states; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 463; - tmp_called_instance_16 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_17, - mod_consts[297], - &PyTuple_GET_ITEM(mod_consts[25], 0) - ); - - if (tmp_called_instance_16 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 463; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 463; - tmp_called_instance_15 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_16, - mod_consts[297], - &PyTuple_GET_ITEM(mod_consts[25], 0) - ); - - Py_DECREF(tmp_called_instance_16); - if (tmp_called_instance_15 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 463; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 463; - tmp_right_name_20 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_15, - mod_consts[297], - &PyTuple_GET_ITEM(mod_consts[25], 0) - ); - - Py_DECREF(tmp_called_instance_15); - if (tmp_right_name_20 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 463; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - tmp_assign_source_137 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_20, tmp_right_name_20); - Py_DECREF(tmp_right_name_20); - if (tmp_assign_source_137 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 463; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - { - PyObject *old = var_last_feats; - var_last_feats = tmp_assign_source_137; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_138; - PyObject *tmp_called_instance_18; - PyObject *tmp_args_element_name_48; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 464; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - - tmp_called_instance_18 = par_self; - CHECK_OBJECT(var_last_feats); - tmp_args_element_name_48 = var_last_feats; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 464; - tmp_assign_source_138 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_18, mod_consts[163], tmp_args_element_name_48); - if (tmp_assign_source_138 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 464; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - { - PyObject *old = var_last_feats; - var_last_feats = tmp_assign_source_138; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_ass_subvalue_2; - PyObject *tmp_ass_subscribed_2; - PyObject *tmp_ass_subscript_2; - int tmp_ass_subscript_res_1; - CHECK_OBJECT(var_last_feats); - tmp_ass_subvalue_2 = var_last_feats; - CHECK_OBJECT(var_img_embeds_list); - tmp_ass_subscribed_2 = var_img_embeds_list; - tmp_ass_subscript_2 = mod_consts[185]; - tmp_ass_subscript_res_1 = SET_SUBSCRIPT_CONST(tmp_ass_subscribed_2, tmp_ass_subscript_2, -1, tmp_ass_subvalue_2); - if (tmp_ass_subscript_res_1 == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 465; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - } - { - PyObject *tmp_assign_source_139; - PyObject *tmp_called_name_49; - PyObject *tmp_expression_name_111; - PyObject *tmp_kwargs_name_11; - PyObject *tmp_dict_key_6; - PyObject *tmp_dict_value_6; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 466; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - - tmp_expression_name_111 = par_self; - tmp_called_name_49 = LOOKUP_ATTRIBUTE(tmp_expression_name_111, mod_consts[75]); - if (tmp_called_name_49 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 466; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - tmp_dict_key_6 = mod_consts[298]; - tmp_dict_value_6 = Py_False; - tmp_kwargs_name_11 = _PyDict_NewPresized( 2 ); - tmp_res = PyDict_SetItem(tmp_kwargs_name_11, tmp_dict_key_6, tmp_dict_value_6); - assert(!(tmp_res != 0)); - tmp_dict_key_6 = mod_consts[299]; - if (var_img_embeds_list == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[300]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 466; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto dict_build_exception_3; - } - - tmp_dict_value_6 = var_img_embeds_list; - tmp_res = PyDict_SetItem(tmp_kwargs_name_11, tmp_dict_key_6, tmp_dict_value_6); - assert(!(tmp_res != 0)); - goto dict_build_noexception_3; - // Exception handling pass through code for dict_build: - dict_build_exception_3:; - Py_DECREF(tmp_called_name_49); - Py_DECREF(tmp_kwargs_name_11); - goto try_except_handler_45; - // Finished with no exception for dict_build: - dict_build_noexception_3:; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 466; - tmp_assign_source_139 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_49, tmp_kwargs_name_11); - Py_DECREF(tmp_called_name_49); - Py_DECREF(tmp_kwargs_name_11); - if (tmp_assign_source_139 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 466; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - assert(var_seg_preds == NULL); - var_seg_preds = tmp_assign_source_139; - } - { - PyObject *tmp_assign_source_140; - PyObject *tmp_left_name_21; - PyObject *tmp_right_name_21; - PyObject *tmp_called_name_50; - PyObject *tmp_expression_name_112; - PyObject *tmp_args_element_name_49; - PyObject *tmp_args_element_name_50; - PyObject *tmp_called_instance_19; - if (var_loss == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[284]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 467; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - - tmp_left_name_21 = var_loss; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 467; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - - tmp_expression_name_112 = par_self; - tmp_called_name_50 = LOOKUP_ATTRIBUTE(tmp_expression_name_112, mod_consts[166]); - if (tmp_called_name_50 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 467; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - CHECK_OBJECT(var_seg_preds); - tmp_args_element_name_49 = var_seg_preds; - CHECK_OBJECT(var_masks); - tmp_called_instance_19 = var_masks; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 467; - tmp_args_element_name_50 = CALL_METHOD_NO_ARGS(tmp_called_instance_19, mod_consts[173]); - if (tmp_args_element_name_50 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_50); - - exception_lineno = 467; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 467; - { - PyObject *call_args[] = {tmp_args_element_name_49, tmp_args_element_name_50}; - tmp_right_name_21 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_50, call_args); - } - - Py_DECREF(tmp_called_name_50); - Py_DECREF(tmp_args_element_name_50); - if (tmp_right_name_21 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 467; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE(&tmp_left_name_21, tmp_right_name_21); - Py_DECREF(tmp_right_name_21); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 467; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_45; - } - tmp_assign_source_140 = tmp_left_name_21; - var_loss = tmp_assign_source_140; - - } - goto try_end_31; - // Exception handler code: - try_except_handler_45:; - exception_keeper_type_43 = exception_type; - exception_keeper_value_43 = exception_value; - exception_keeper_tb_43 = exception_tb; - exception_keeper_lineno_43 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - // Preserve existing published exception id 6. - GET_CURRENT_EXCEPTION(&exception_preserved_type_6, &exception_preserved_value_6, &exception_preserved_tb_6); - - if (exception_keeper_tb_43 == NULL) { - exception_keeper_tb_43 = MAKE_TRACEBACK(frame_fe557d162e569c6a186cf09bbb51e6fa, exception_keeper_lineno_43); - } else if (exception_keeper_lineno_43 != 0) { - exception_keeper_tb_43 = ADD_TRACEBACK(exception_keeper_tb_43, frame_fe557d162e569c6a186cf09bbb51e6fa, exception_keeper_lineno_43); - } - - NORMALIZE_EXCEPTION(&exception_keeper_type_43, &exception_keeper_value_43, &exception_keeper_tb_43); - ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(exception_keeper_value_43, exception_keeper_tb_43); - PUBLISH_EXCEPTION(&exception_keeper_type_43, &exception_keeper_value_43, &exception_keeper_tb_43); - // Tried code: - { - bool tmp_condition_result_28; - PyObject *tmp_compexpr_left_28; - PyObject *tmp_compexpr_right_28; - tmp_compexpr_left_28 = EXC_TYPE(PyThreadState_GET()); - tmp_compexpr_right_28 = PyExc_BaseException; - tmp_res = EXCEPTION_MATCH_BOOL(tmp_compexpr_left_28, tmp_compexpr_right_28); - assert(!(tmp_res == -1)); - tmp_condition_result_28 = (tmp_res != 0) ? true : false; - if (tmp_condition_result_28 != false) { - goto branch_yes_27; - } else { - goto branch_no_27; - } - } - branch_yes_27:; - { - nuitka_bool tmp_assign_source_141; - tmp_assign_source_141 = NUITKA_BOOL_FALSE; - tmp_with_6__indicator = tmp_assign_source_141; - } - { - nuitka_bool tmp_condition_result_29; - PyObject *tmp_operand_name_6; - PyObject *tmp_called_name_51; - PyObject *tmp_args_element_name_51; - PyObject *tmp_args_element_name_52; - PyObject *tmp_args_element_name_53; - CHECK_OBJECT(tmp_with_6__exit); - tmp_called_name_51 = tmp_with_6__exit; - tmp_args_element_name_51 = EXC_TYPE(PyThreadState_GET()); - tmp_args_element_name_52 = EXC_VALUE(PyThreadState_GET()); - tmp_args_element_name_53 = EXC_TRACEBACK(PyThreadState_GET()); - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 467; - { - PyObject *call_args[] = {tmp_args_element_name_51, tmp_args_element_name_52, tmp_args_element_name_53}; - tmp_operand_name_6 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_51, call_args); - } - - if (tmp_operand_name_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 467; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_48; - } - tmp_res = CHECK_IF_TRUE(tmp_operand_name_6); - Py_DECREF(tmp_operand_name_6); - if (tmp_res == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 467; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_48; - } - tmp_condition_result_29 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; - if (tmp_condition_result_29 == NUITKA_BOOL_TRUE) { - goto branch_yes_28; - } else { - goto branch_no_28; - } - } - branch_yes_28:; - tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - if (unlikely(tmp_result == false)) { - exception_lineno = 467; - } - - if (exception_tb && exception_tb->tb_frame == &frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame) frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = exception_tb->tb_lineno; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_48; - branch_no_28:; - goto branch_end_27; - branch_no_27:; - tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - if (unlikely(tmp_result == false)) { - exception_lineno = 455; - } - - if (exception_tb && exception_tb->tb_frame == &frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame) frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = exception_tb->tb_lineno; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_48; - branch_end_27:; - goto try_end_32; - // Exception handler code: - try_except_handler_48:; - exception_keeper_type_44 = exception_type; - exception_keeper_value_44 = exception_value; - exception_keeper_tb_44 = exception_tb; - exception_keeper_lineno_44 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - // Restore previous exception id 6. - SET_CURRENT_EXCEPTION(exception_preserved_type_6, exception_preserved_value_6, exception_preserved_tb_6); - - // Re-raise. - exception_type = exception_keeper_type_44; - exception_value = exception_keeper_value_44; - exception_tb = exception_keeper_tb_44; - exception_lineno = exception_keeper_lineno_44; - - goto try_except_handler_44; - // End of try: - try_end_32:; - // Restore previous exception id 6. - SET_CURRENT_EXCEPTION(exception_preserved_type_6, exception_preserved_value_6, exception_preserved_tb_6); - - goto try_end_31; - NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases"); - return NULL; - // End of try: - try_end_31:; - goto try_end_33; - // Exception handler code: - try_except_handler_44:; - exception_keeper_type_45 = exception_type; - exception_keeper_value_45 = exception_value; - exception_keeper_tb_45 = exception_tb; - exception_keeper_lineno_45 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - { - bool tmp_condition_result_30; - nuitka_bool tmp_compexpr_left_29; - nuitka_bool tmp_compexpr_right_29; - assert(tmp_with_6__indicator != NUITKA_BOOL_UNASSIGNED); - tmp_compexpr_left_29 = tmp_with_6__indicator; - tmp_compexpr_right_29 = NUITKA_BOOL_TRUE; - tmp_condition_result_30 = (tmp_compexpr_left_29 == tmp_compexpr_right_29) ? true : false; - if (tmp_condition_result_30 != false) { - goto branch_yes_29; - } else { - goto branch_no_29; - } - } - branch_yes_29:; - { - PyObject *tmp_called_name_52; - PyObject *tmp_call_result_13; - CHECK_OBJECT(tmp_with_6__exit); - tmp_called_name_52 = tmp_with_6__exit; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 467; - tmp_call_result_13 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_52, &PyTuple_GET_ITEM(mod_consts[208], 0)); - - if (tmp_call_result_13 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - Py_DECREF(exception_keeper_type_45); - Py_XDECREF(exception_keeper_value_45); - Py_XDECREF(exception_keeper_tb_45); - - exception_lineno = 467; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_43; - } - Py_DECREF(tmp_call_result_13); - } - branch_no_29:; - // Re-raise. - exception_type = exception_keeper_type_45; - exception_value = exception_keeper_value_45; - exception_tb = exception_keeper_tb_45; - exception_lineno = exception_keeper_lineno_45; - - goto try_except_handler_43; - // End of try: - try_end_33:; - { - bool tmp_condition_result_31; - nuitka_bool tmp_compexpr_left_30; - nuitka_bool tmp_compexpr_right_30; - assert(tmp_with_6__indicator != NUITKA_BOOL_UNASSIGNED); - tmp_compexpr_left_30 = tmp_with_6__indicator; - tmp_compexpr_right_30 = NUITKA_BOOL_TRUE; - tmp_condition_result_31 = (tmp_compexpr_left_30 == tmp_compexpr_right_30) ? true : false; - if (tmp_condition_result_31 != false) { - goto branch_yes_30; - } else { - goto branch_no_30; - } - } - branch_yes_30:; - { - PyObject *tmp_called_name_53; - PyObject *tmp_call_result_14; - CHECK_OBJECT(tmp_with_6__exit); - tmp_called_name_53 = tmp_with_6__exit; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 467; - tmp_call_result_14 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_53, &PyTuple_GET_ITEM(mod_consts[208], 0)); - - if (tmp_call_result_14 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 467; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_43; - } - Py_DECREF(tmp_call_result_14); - } - branch_no_30:; - goto try_end_34; - // Exception handler code: - try_except_handler_43:; - exception_keeper_type_46 = exception_type; - exception_keeper_value_46 = exception_value; - exception_keeper_tb_46 = exception_tb; - exception_keeper_lineno_46 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - Py_XDECREF(tmp_with_6__source); - tmp_with_6__source = NULL; - Py_XDECREF(tmp_with_6__enter); - tmp_with_6__enter = NULL; - Py_XDECREF(tmp_with_6__exit); - tmp_with_6__exit = NULL; - // Re-raise. - exception_type = exception_keeper_type_46; - exception_value = exception_keeper_value_46; - exception_tb = exception_keeper_tb_46; - exception_lineno = exception_keeper_lineno_46; - - goto frame_exception_exit_1; - // End of try: - try_end_34:; - CHECK_OBJECT(tmp_with_6__source); - Py_DECREF(tmp_with_6__source); - tmp_with_6__source = NULL; - CHECK_OBJECT(tmp_with_6__enter); - Py_DECREF(tmp_with_6__enter); - tmp_with_6__enter = NULL; - Py_XDECREF(tmp_with_6__exit); - tmp_with_6__exit = NULL; - goto branch_end_26; - branch_no_26:; - { - PyObject *tmp_assign_source_142; - PyObject *tmp_expression_name_113; - PyObject *tmp_subscript_name_39; - if (par_samples == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[236]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 469; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_113 = par_samples; - tmp_subscript_name_39 = mod_consts[296]; - tmp_assign_source_142 = LOOKUP_SUBSCRIPT(tmp_expression_name_113, tmp_subscript_name_39); - if (tmp_assign_source_142 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 469; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_masks == NULL); - var_masks = tmp_assign_source_142; - } - // Tried code: - { - PyObject *tmp_assign_source_143; - PyObject *tmp_called_instance_20; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 470; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_49; - } - - tmp_called_instance_20 = par_self; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 470; - tmp_assign_source_143 = CALL_METHOD_NO_ARGS(tmp_called_instance_20, mod_consts[180]); - if (tmp_assign_source_143 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 470; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_49; - } - assert(tmp_with_7__source == NULL); - tmp_with_7__source = tmp_assign_source_143; - } - { - PyObject *tmp_assign_source_144; - PyObject *tmp_called_name_54; - PyObject *tmp_expression_name_114; - CHECK_OBJECT(tmp_with_7__source); - tmp_expression_name_114 = tmp_with_7__source; - tmp_called_name_54 = LOOKUP_SPECIAL(tmp_expression_name_114, mod_consts[181]); - if (tmp_called_name_54 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 470; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_49; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 470; - tmp_assign_source_144 = CALL_FUNCTION_NO_ARGS(tmp_called_name_54); - Py_DECREF(tmp_called_name_54); - if (tmp_assign_source_144 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 470; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_49; - } - assert(tmp_with_7__enter == NULL); - tmp_with_7__enter = tmp_assign_source_144; - } - { - PyObject *tmp_assign_source_145; - PyObject *tmp_expression_name_115; - CHECK_OBJECT(tmp_with_7__source); - tmp_expression_name_115 = tmp_with_7__source; - tmp_assign_source_145 = LOOKUP_SPECIAL(tmp_expression_name_115, mod_consts[182]); - if (tmp_assign_source_145 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 470; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_49; - } - assert(tmp_with_7__exit == NULL); - tmp_with_7__exit = tmp_assign_source_145; - } - { - nuitka_bool tmp_assign_source_146; - tmp_assign_source_146 = NUITKA_BOOL_TRUE; - tmp_with_7__indicator = tmp_assign_source_146; - } - // Tried code: - // Tried code: - { - PyObject *tmp_assign_source_147; - PyObject *tmp_called_name_55; - PyObject *tmp_expression_name_116; - PyObject *tmp_expression_name_117; - PyObject *tmp_args_element_name_54; - PyObject *tmp_expression_name_118; - PyObject *tmp_subscript_name_40; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 471; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - - tmp_expression_name_117 = par_self; - tmp_expression_name_116 = LOOKUP_ATTRIBUTE(tmp_expression_name_117, mod_consts[154]); - if (tmp_expression_name_116 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 471; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - tmp_called_name_55 = LOOKUP_ATTRIBUTE(tmp_expression_name_116, mod_consts[301]); - Py_DECREF(tmp_expression_name_116); - if (tmp_called_name_55 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 471; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - if (var_image == NULL) { - Py_DECREF(tmp_called_name_55); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[177]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 471; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - - tmp_expression_name_118 = var_image; - tmp_subscript_name_40 = mod_consts[302]; - tmp_args_element_name_54 = LOOKUP_SUBSCRIPT(tmp_expression_name_118, tmp_subscript_name_40); - if (tmp_args_element_name_54 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_55); - - exception_lineno = 471; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 471; - tmp_assign_source_147 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_55, tmp_args_element_name_54); - Py_DECREF(tmp_called_name_55); - Py_DECREF(tmp_args_element_name_54); - if (tmp_assign_source_147 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 471; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - assert(var_feats == NULL); - var_feats = tmp_assign_source_147; - } - { - PyObject *tmp_assign_source_148; - PyObject *tmp_expression_name_119; - PyObject *tmp_subscript_name_41; - CHECK_OBJECT(var_feats); - tmp_expression_name_119 = var_feats; - tmp_subscript_name_41 = mod_consts[185]; - tmp_assign_source_148 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_119, tmp_subscript_name_41, -1); - if (tmp_assign_source_148 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 472; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - assert(var_last_feats == NULL); - var_last_feats = tmp_assign_source_148; - } - { - PyObject *tmp_assign_source_149; - PyObject *tmp_expression_name_120; - PyObject *tmp_expression_name_121; - PyObject *tmp_subscript_name_42; - if (var_outputs == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[283]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 473; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - - tmp_expression_name_121 = var_outputs; - tmp_expression_name_120 = LOOKUP_ATTRIBUTE(tmp_expression_name_121, mod_consts[285]); - if (tmp_expression_name_120 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 473; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - tmp_subscript_name_42 = mod_consts[185]; - tmp_assign_source_149 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_120, tmp_subscript_name_42, -1); - Py_DECREF(tmp_expression_name_120); - if (tmp_assign_source_149 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 473; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - { - PyObject *old = var_hidden_states; - var_hidden_states = tmp_assign_source_149; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_150; - PyObject *tmp_compexpr_left_31; - PyObject *tmp_compexpr_right_31; - PyObject *tmp_expression_name_122; - if (var_targets == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[286]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 474; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - - tmp_compexpr_left_31 = var_targets; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 474; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - - tmp_expression_name_122 = par_self; - tmp_compexpr_right_31 = LOOKUP_ATTRIBUTE(tmp_expression_name_122, mod_consts[106]); - if (tmp_compexpr_right_31 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 474; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - tmp_assign_source_150 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_31, tmp_compexpr_right_31); - Py_DECREF(tmp_compexpr_right_31); - if (tmp_assign_source_150 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 474; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - { - PyObject *old = var_token_mask; - var_token_mask = tmp_assign_source_150; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_151; - PyObject *tmp_expression_name_123; - PyObject *tmp_subscript_name_43; - CHECK_OBJECT(var_hidden_states); - tmp_expression_name_123 = var_hidden_states; - CHECK_OBJECT(var_token_mask); - tmp_subscript_name_43 = var_token_mask; - tmp_assign_source_151 = LOOKUP_SUBSCRIPT(tmp_expression_name_123, tmp_subscript_name_43); - if (tmp_assign_source_151 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 475; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - { - PyObject *old = var_target_states; - var_target_states = tmp_assign_source_151; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_152; - PyObject *tmp_called_instance_21; - PyObject *tmp_args_element_name_55; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 476; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - - tmp_called_instance_21 = par_self; - CHECK_OBJECT(var_target_states); - tmp_args_element_name_55 = var_target_states; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 476; - tmp_assign_source_152 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_21, mod_consts[156], tmp_args_element_name_55); - if (tmp_assign_source_152 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 476; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - assert(var_seg_states == NULL); - var_seg_states = tmp_assign_source_152; - } - { - PyObject *tmp_assign_source_153; - PyObject *tmp_left_name_22; - PyObject *tmp_right_name_22; - PyObject *tmp_called_instance_22; - PyObject *tmp_called_instance_23; - CHECK_OBJECT(var_last_feats); - tmp_left_name_22 = var_last_feats; - CHECK_OBJECT(var_seg_states); - tmp_called_instance_23 = var_seg_states; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 477; - tmp_called_instance_22 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_23, - mod_consts[297], - &PyTuple_GET_ITEM(mod_consts[25], 0) - ); - - if (tmp_called_instance_22 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 477; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 477; - tmp_right_name_22 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_22, - mod_consts[297], - &PyTuple_GET_ITEM(mod_consts[25], 0) - ); - - Py_DECREF(tmp_called_instance_22); - if (tmp_right_name_22 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 477; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - tmp_assign_source_153 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_22, tmp_right_name_22); - Py_DECREF(tmp_right_name_22); - if (tmp_assign_source_153 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 477; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - { - PyObject *old = var_last_feats; - var_last_feats = tmp_assign_source_153; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_154; - PyObject *tmp_called_instance_24; - PyObject *tmp_args_element_name_56; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 478; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - - tmp_called_instance_24 = par_self; - CHECK_OBJECT(var_last_feats); - tmp_args_element_name_56 = var_last_feats; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 478; - tmp_assign_source_154 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_24, mod_consts[159], tmp_args_element_name_56); - if (tmp_assign_source_154 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 478; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - { - PyObject *old = var_last_feats; - var_last_feats = tmp_assign_source_154; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_ass_subvalue_3; - PyObject *tmp_ass_subscribed_3; - PyObject *tmp_ass_subscript_3; - int tmp_ass_subscript_res_2; - CHECK_OBJECT(var_last_feats); - tmp_ass_subvalue_3 = var_last_feats; - CHECK_OBJECT(var_feats); - tmp_ass_subscribed_3 = var_feats; - tmp_ass_subscript_3 = mod_consts[185]; - tmp_ass_subscript_res_2 = SET_SUBSCRIPT_CONST(tmp_ass_subscribed_3, tmp_ass_subscript_3, -1, tmp_ass_subvalue_3); - if (tmp_ass_subscript_res_2 == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 479; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - } - { - PyObject *tmp_assign_source_155; - PyObject *tmp_dircall_arg1_1; - PyObject *tmp_expression_name_124; - PyObject *tmp_expression_name_125; - PyObject *tmp_dircall_arg2_1; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 480; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - - tmp_expression_name_125 = par_self; - tmp_expression_name_124 = LOOKUP_ATTRIBUTE(tmp_expression_name_125, mod_consts[154]); - if (tmp_expression_name_124 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 480; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_124, mod_consts[303]); - Py_DECREF(tmp_expression_name_124); - if (tmp_dircall_arg1_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 480; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - if (var_feats == NULL) { - Py_DECREF(tmp_dircall_arg1_1); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[304]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 480; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - - tmp_dircall_arg2_1 = var_feats; - Py_INCREF(tmp_dircall_arg2_1); - - { - PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1}; - tmp_assign_source_155 = impl_models$$$function__2_complex_call_helper_star_list(dir_call_args); - } - if (tmp_assign_source_155 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 480; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - assert(var_seg_feats == NULL); - var_seg_feats = tmp_assign_source_155; - } - { - PyObject *tmp_assign_source_156; - PyObject *tmp_called_instance_25; - PyObject *tmp_expression_name_126; - PyObject *tmp_args_element_name_57; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 481; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - - tmp_expression_name_126 = par_self; - tmp_called_instance_25 = LOOKUP_ATTRIBUTE(tmp_expression_name_126, mod_consts[154]); - if (tmp_called_instance_25 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 481; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - CHECK_OBJECT(var_seg_feats); - tmp_args_element_name_57 = var_seg_feats; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 481; - tmp_assign_source_156 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_25, mod_consts[305], tmp_args_element_name_57); - Py_DECREF(tmp_called_instance_25); - if (tmp_assign_source_156 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 481; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - assert(var_seg_preds == NULL); - var_seg_preds = tmp_assign_source_156; - } - { - PyObject *tmp_assign_source_157; - PyObject *tmp_left_name_23; - PyObject *tmp_right_name_23; - PyObject *tmp_called_name_56; - PyObject *tmp_expression_name_127; - PyObject *tmp_args_element_name_58; - PyObject *tmp_args_element_name_59; - PyObject *tmp_called_instance_26; - if (var_loss == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[284]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 482; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - - tmp_left_name_23 = var_loss; - if (par_self == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 482; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - - tmp_expression_name_127 = par_self; - tmp_called_name_56 = LOOKUP_ATTRIBUTE(tmp_expression_name_127, mod_consts[166]); - if (tmp_called_name_56 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 482; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - CHECK_OBJECT(var_seg_preds); - tmp_args_element_name_58 = var_seg_preds; - CHECK_OBJECT(var_masks); - tmp_called_instance_26 = var_masks; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 482; - tmp_args_element_name_59 = CALL_METHOD_NO_ARGS(tmp_called_instance_26, mod_consts[173]); - if (tmp_args_element_name_59 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_56); - - exception_lineno = 482; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 482; - { - PyObject *call_args[] = {tmp_args_element_name_58, tmp_args_element_name_59}; - tmp_right_name_23 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_56, call_args); - } - - Py_DECREF(tmp_called_name_56); - Py_DECREF(tmp_args_element_name_59); - if (tmp_right_name_23 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 482; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE(&tmp_left_name_23, tmp_right_name_23); - Py_DECREF(tmp_right_name_23); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 482; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_51; - } - tmp_assign_source_157 = tmp_left_name_23; - var_loss = tmp_assign_source_157; - - } - goto try_end_35; - // Exception handler code: - try_except_handler_51:; - exception_keeper_type_47 = exception_type; - exception_keeper_value_47 = exception_value; - exception_keeper_tb_47 = exception_tb; - exception_keeper_lineno_47 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - // Preserve existing published exception id 7. - GET_CURRENT_EXCEPTION(&exception_preserved_type_7, &exception_preserved_value_7, &exception_preserved_tb_7); - - if (exception_keeper_tb_47 == NULL) { - exception_keeper_tb_47 = MAKE_TRACEBACK(frame_fe557d162e569c6a186cf09bbb51e6fa, exception_keeper_lineno_47); - } else if (exception_keeper_lineno_47 != 0) { - exception_keeper_tb_47 = ADD_TRACEBACK(exception_keeper_tb_47, frame_fe557d162e569c6a186cf09bbb51e6fa, exception_keeper_lineno_47); - } - - NORMALIZE_EXCEPTION(&exception_keeper_type_47, &exception_keeper_value_47, &exception_keeper_tb_47); - ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(exception_keeper_value_47, exception_keeper_tb_47); - PUBLISH_EXCEPTION(&exception_keeper_type_47, &exception_keeper_value_47, &exception_keeper_tb_47); - // Tried code: - { - bool tmp_condition_result_32; - PyObject *tmp_compexpr_left_32; - PyObject *tmp_compexpr_right_32; - tmp_compexpr_left_32 = EXC_TYPE(PyThreadState_GET()); - tmp_compexpr_right_32 = PyExc_BaseException; - tmp_res = EXCEPTION_MATCH_BOOL(tmp_compexpr_left_32, tmp_compexpr_right_32); - assert(!(tmp_res == -1)); - tmp_condition_result_32 = (tmp_res != 0) ? true : false; - if (tmp_condition_result_32 != false) { - goto branch_yes_31; - } else { - goto branch_no_31; - } - } - branch_yes_31:; - { - nuitka_bool tmp_assign_source_158; - tmp_assign_source_158 = NUITKA_BOOL_FALSE; - tmp_with_7__indicator = tmp_assign_source_158; - } - { - nuitka_bool tmp_condition_result_33; - PyObject *tmp_operand_name_7; - PyObject *tmp_called_name_57; - PyObject *tmp_args_element_name_60; - PyObject *tmp_args_element_name_61; - PyObject *tmp_args_element_name_62; - CHECK_OBJECT(tmp_with_7__exit); - tmp_called_name_57 = tmp_with_7__exit; - tmp_args_element_name_60 = EXC_TYPE(PyThreadState_GET()); - tmp_args_element_name_61 = EXC_VALUE(PyThreadState_GET()); - tmp_args_element_name_62 = EXC_TRACEBACK(PyThreadState_GET()); - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 482; - { - PyObject *call_args[] = {tmp_args_element_name_60, tmp_args_element_name_61, tmp_args_element_name_62}; - tmp_operand_name_7 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_57, call_args); - } - - if (tmp_operand_name_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 482; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_52; - } - tmp_res = CHECK_IF_TRUE(tmp_operand_name_7); - Py_DECREF(tmp_operand_name_7); - if (tmp_res == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 482; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_52; - } - tmp_condition_result_33 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; - if (tmp_condition_result_33 == NUITKA_BOOL_TRUE) { - goto branch_yes_32; - } else { - goto branch_no_32; - } - } - branch_yes_32:; - tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - if (unlikely(tmp_result == false)) { - exception_lineno = 482; - } - - if (exception_tb && exception_tb->tb_frame == &frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame) frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = exception_tb->tb_lineno; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_52; - branch_no_32:; - goto branch_end_31; - branch_no_31:; - tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - if (unlikely(tmp_result == false)) { - exception_lineno = 470; - } - - if (exception_tb && exception_tb->tb_frame == &frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame) frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = exception_tb->tb_lineno; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_52; - branch_end_31:; - goto try_end_36; - // Exception handler code: - try_except_handler_52:; - exception_keeper_type_48 = exception_type; - exception_keeper_value_48 = exception_value; - exception_keeper_tb_48 = exception_tb; - exception_keeper_lineno_48 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - // Restore previous exception id 7. - SET_CURRENT_EXCEPTION(exception_preserved_type_7, exception_preserved_value_7, exception_preserved_tb_7); - - // Re-raise. - exception_type = exception_keeper_type_48; - exception_value = exception_keeper_value_48; - exception_tb = exception_keeper_tb_48; - exception_lineno = exception_keeper_lineno_48; - - goto try_except_handler_50; - // End of try: - try_end_36:; - // Restore previous exception id 7. - SET_CURRENT_EXCEPTION(exception_preserved_type_7, exception_preserved_value_7, exception_preserved_tb_7); - - goto try_end_35; - NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases"); - return NULL; - // End of try: - try_end_35:; - goto try_end_37; - // Exception handler code: - try_except_handler_50:; - exception_keeper_type_49 = exception_type; - exception_keeper_value_49 = exception_value; - exception_keeper_tb_49 = exception_tb; - exception_keeper_lineno_49 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - { - bool tmp_condition_result_34; - nuitka_bool tmp_compexpr_left_33; - nuitka_bool tmp_compexpr_right_33; - assert(tmp_with_7__indicator != NUITKA_BOOL_UNASSIGNED); - tmp_compexpr_left_33 = tmp_with_7__indicator; - tmp_compexpr_right_33 = NUITKA_BOOL_TRUE; - tmp_condition_result_34 = (tmp_compexpr_left_33 == tmp_compexpr_right_33) ? true : false; - if (tmp_condition_result_34 != false) { - goto branch_yes_33; - } else { - goto branch_no_33; - } - } - branch_yes_33:; - { - PyObject *tmp_called_name_58; - PyObject *tmp_call_result_15; - CHECK_OBJECT(tmp_with_7__exit); - tmp_called_name_58 = tmp_with_7__exit; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 482; - tmp_call_result_15 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_58, &PyTuple_GET_ITEM(mod_consts[208], 0)); - - if (tmp_call_result_15 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - Py_DECREF(exception_keeper_type_49); - Py_XDECREF(exception_keeper_value_49); - Py_XDECREF(exception_keeper_tb_49); - - exception_lineno = 482; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_49; - } - Py_DECREF(tmp_call_result_15); - } - branch_no_33:; - // Re-raise. - exception_type = exception_keeper_type_49; - exception_value = exception_keeper_value_49; - exception_tb = exception_keeper_tb_49; - exception_lineno = exception_keeper_lineno_49; - - goto try_except_handler_49; - // End of try: - try_end_37:; - { - bool tmp_condition_result_35; - nuitka_bool tmp_compexpr_left_34; - nuitka_bool tmp_compexpr_right_34; - assert(tmp_with_7__indicator != NUITKA_BOOL_UNASSIGNED); - tmp_compexpr_left_34 = tmp_with_7__indicator; - tmp_compexpr_right_34 = NUITKA_BOOL_TRUE; - tmp_condition_result_35 = (tmp_compexpr_left_34 == tmp_compexpr_right_34) ? true : false; - if (tmp_condition_result_35 != false) { - goto branch_yes_34; - } else { - goto branch_no_34; - } - } - branch_yes_34:; - { - PyObject *tmp_called_name_59; - PyObject *tmp_call_result_16; - CHECK_OBJECT(tmp_with_7__exit); - tmp_called_name_59 = tmp_with_7__exit; - frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame.f_lineno = 482; - tmp_call_result_16 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_59, &PyTuple_GET_ITEM(mod_consts[208], 0)); - - if (tmp_call_result_16 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 482; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto try_except_handler_49; - } - Py_DECREF(tmp_call_result_16); - } - branch_no_34:; - goto try_end_38; - // Exception handler code: - try_except_handler_49:; - exception_keeper_type_50 = exception_type; - exception_keeper_value_50 = exception_value; - exception_keeper_tb_50 = exception_tb; - exception_keeper_lineno_50 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - Py_XDECREF(tmp_with_7__source); - tmp_with_7__source = NULL; - Py_XDECREF(tmp_with_7__enter); - tmp_with_7__enter = NULL; - Py_XDECREF(tmp_with_7__exit); - tmp_with_7__exit = NULL; - // Re-raise. - exception_type = exception_keeper_type_50; - exception_value = exception_keeper_value_50; - exception_tb = exception_keeper_tb_50; - exception_lineno = exception_keeper_lineno_50; - - goto frame_exception_exit_1; - // End of try: - try_end_38:; - CHECK_OBJECT(tmp_with_7__source); - Py_DECREF(tmp_with_7__source); - tmp_with_7__source = NULL; - CHECK_OBJECT(tmp_with_7__enter); - Py_DECREF(tmp_with_7__enter); - tmp_with_7__enter = NULL; - Py_XDECREF(tmp_with_7__exit); - tmp_with_7__exit = NULL; - branch_end_26:; - branch_no_25:; - { - PyObject *tmp_dict_key_7; - PyObject *tmp_dict_value_7; - tmp_dict_key_7 = mod_consts[284]; - if (var_loss == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[284]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 484; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_dict_value_7 = var_loss; - tmp_return_value = _PyDict_NewPresized( 3 ); - { - PyObject *tmp_expression_name_128; - PyObject *tmp_expression_name_129; - PyObject *tmp_subscript_name_44; - PyObject *tmp_subscript_name_45; - PyObject *tmp_expression_name_130; - PyObject *tmp_expression_name_131; - PyObject *tmp_subscript_name_46; - PyObject *tmp_subscript_name_47; - tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_7, tmp_dict_value_7); - assert(!(tmp_res != 0)); - tmp_dict_key_7 = mod_consts[232]; - if (par_samples == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[236]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 484; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto dict_build_exception_4; - } - - tmp_expression_name_129 = par_samples; - tmp_subscript_name_44 = mod_consts[232]; - tmp_expression_name_128 = LOOKUP_SUBSCRIPT(tmp_expression_name_129, tmp_subscript_name_44); - if (tmp_expression_name_128 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 484; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto dict_build_exception_4; - } - tmp_subscript_name_45 = mod_consts[11]; - tmp_dict_value_7 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_128, tmp_subscript_name_45, 0); - Py_DECREF(tmp_expression_name_128); - if (tmp_dict_value_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 484; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto dict_build_exception_4; - } - tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_7, tmp_dict_value_7); - Py_DECREF(tmp_dict_value_7); - assert(!(tmp_res != 0)); - tmp_dict_key_7 = mod_consts[233]; - if (par_samples == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[236]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 484; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto dict_build_exception_4; - } - - tmp_expression_name_131 = par_samples; - tmp_subscript_name_46 = mod_consts[233]; - tmp_expression_name_130 = LOOKUP_SUBSCRIPT(tmp_expression_name_131, tmp_subscript_name_46); - if (tmp_expression_name_130 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 484; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto dict_build_exception_4; - } - tmp_subscript_name_47 = mod_consts[11]; - tmp_dict_value_7 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_130, tmp_subscript_name_47, 0); - Py_DECREF(tmp_expression_name_130); - if (tmp_dict_value_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 484; - type_description_1 = "ooooooooooooooooooooooooooooooooooooooooooooooo"; - goto dict_build_exception_4; - } - tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_7, tmp_dict_value_7); - Py_DECREF(tmp_dict_value_7); - assert(!(tmp_res != 0)); - } - goto dict_build_noexception_4; - // Exception handling pass through code for dict_build: - dict_build_exception_4:; - Py_DECREF(tmp_return_value); - goto frame_exception_exit_1; - // Finished with no exception for dict_build: - dict_build_noexception_4:; - goto frame_return_exit_1; - } - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_fe557d162e569c6a186cf09bbb51e6fa); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_7; - - frame_return_exit_1:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_fe557d162e569c6a186cf09bbb51e6fa); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_1; - - frame_exception_exit_1:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_fe557d162e569c6a186cf09bbb51e6fa); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_fe557d162e569c6a186cf09bbb51e6fa, exception_lineno); - } else if (exception_tb->tb_frame != &frame_fe557d162e569c6a186cf09bbb51e6fa->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_fe557d162e569c6a186cf09bbb51e6fa, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_fe557d162e569c6a186cf09bbb51e6fa, - type_description_1, - par_self, - par_samples, - var_image, - var_bsz, - var_img_embeds, - var_atts_img, - var_img_embeds_list, - var_prefix_list, - var_tag_list, - var_placeholder, - var_j, - var_num, - var_prefix, - var_i, - var_prompt, - var_tags, - var_tag, - var_sample_ans, - var_sample_num, - var_text, - var_prompt_tokens, - var_to_regress_tokens, - var_targets, - var_empty_targets, - var_batch_size, - var_bos, - var_bos_embeds, - var_atts_bos, - var_to_regress_embeds, - var_inputs_embeds, - var_attention_mask, - var_outputs, - var_loss, - var_hidden_states, - var_token_mask, - var_target_states, - var_det_states, - var_labels, - var_det_loss, - var_point_states, - var_keypoint_loss, - var_masks, - var_seg_states, - var_last_feats, - var_seg_preds, - var_feats, - var_seg_feats - ); - - - // Release cached frame if used for exception. - if (frame_fe557d162e569c6a186cf09bbb51e6fa == cache_frame_fe557d162e569c6a186cf09bbb51e6fa) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_fe557d162e569c6a186cf09bbb51e6fa); - cache_frame_fe557d162e569c6a186cf09bbb51e6fa = NULL; - } - - assertFrameObject(frame_fe557d162e569c6a186cf09bbb51e6fa); - - // Put the previous frame back on top. - popFrameStack(); - - // Return the error. - goto try_except_handler_1; - - frame_no_exception_7:; - 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_samples); - par_samples = NULL; - Py_XDECREF(var_image); - var_image = NULL; - CHECK_OBJECT(var_bsz); - Py_DECREF(var_bsz); - var_bsz = NULL; - Py_XDECREF(var_img_embeds); - var_img_embeds = NULL; - Py_XDECREF(var_atts_img); - var_atts_img = NULL; - Py_XDECREF(var_img_embeds_list); - var_img_embeds_list = NULL; - Py_XDECREF(var_prefix_list); - var_prefix_list = NULL; - Py_XDECREF(var_tag_list); - var_tag_list = NULL; - Py_XDECREF(var_placeholder); - var_placeholder = NULL; - Py_XDECREF(var_j); - var_j = NULL; - Py_XDECREF(var_num); - var_num = NULL; - Py_XDECREF(var_prefix); - var_prefix = NULL; - Py_XDECREF(var_i); - var_i = NULL; - Py_XDECREF(var_prompt); - var_prompt = NULL; - Py_XDECREF(var_tags); - var_tags = NULL; - Py_XDECREF(var_tag); - var_tag = NULL; - Py_XDECREF(var_sample_ans); - var_sample_ans = NULL; - Py_XDECREF(var_sample_num); - var_sample_num = NULL; - Py_XDECREF(var_text); - var_text = NULL; - Py_XDECREF(var_prompt_tokens); - var_prompt_tokens = NULL; - Py_XDECREF(var_to_regress_tokens); - var_to_regress_tokens = NULL; - Py_XDECREF(var_targets); - var_targets = NULL; - Py_XDECREF(var_empty_targets); - var_empty_targets = NULL; - Py_XDECREF(var_batch_size); - var_batch_size = NULL; - Py_XDECREF(var_bos); - var_bos = NULL; - Py_XDECREF(var_bos_embeds); - var_bos_embeds = NULL; - Py_XDECREF(var_atts_bos); - var_atts_bos = NULL; - Py_XDECREF(var_to_regress_embeds); - var_to_regress_embeds = NULL; - Py_XDECREF(var_inputs_embeds); - var_inputs_embeds = NULL; - Py_XDECREF(var_attention_mask); - var_attention_mask = NULL; - Py_XDECREF(var_outputs); - var_outputs = NULL; - Py_XDECREF(var_loss); - var_loss = NULL; - Py_XDECREF(var_hidden_states); - var_hidden_states = NULL; - Py_XDECREF(var_token_mask); - var_token_mask = NULL; - Py_XDECREF(var_target_states); - var_target_states = NULL; - Py_XDECREF(var_det_states); - var_det_states = NULL; - Py_XDECREF(var_labels); - var_labels = NULL; - Py_XDECREF(var_det_loss); - var_det_loss = NULL; - Py_XDECREF(var_point_states); - var_point_states = NULL; - Py_XDECREF(var_keypoint_loss); - var_keypoint_loss = NULL; - Py_XDECREF(var_masks); - var_masks = NULL; - Py_XDECREF(var_seg_states); - var_seg_states = NULL; - Py_XDECREF(var_last_feats); - var_last_feats = NULL; - Py_XDECREF(var_seg_preds); - var_seg_preds = NULL; - Py_XDECREF(var_feats); - var_feats = NULL; - Py_XDECREF(var_seg_feats); - var_seg_feats = NULL; - goto function_return_exit; - // Exception handler code: - try_except_handler_1:; - exception_keeper_type_51 = exception_type; - exception_keeper_value_51 = exception_value; - exception_keeper_tb_51 = exception_tb; - exception_keeper_lineno_51 = exception_lineno; - exception_type = NULL; - exception_value = NULL; - exception_tb = NULL; - exception_lineno = 0; - - Py_XDECREF(par_self); - par_self = NULL; - Py_XDECREF(par_samples); - par_samples = NULL; - Py_XDECREF(var_image); - var_image = NULL; - Py_XDECREF(var_bsz); - var_bsz = NULL; - Py_XDECREF(var_img_embeds); - var_img_embeds = NULL; - Py_XDECREF(var_atts_img); - var_atts_img = NULL; - Py_XDECREF(var_img_embeds_list); - var_img_embeds_list = NULL; - Py_XDECREF(var_prefix_list); - var_prefix_list = NULL; - Py_XDECREF(var_tag_list); - var_tag_list = NULL; - Py_XDECREF(var_placeholder); - var_placeholder = NULL; - Py_XDECREF(var_j); - var_j = NULL; - Py_XDECREF(var_num); - var_num = NULL; - Py_XDECREF(var_prefix); - var_prefix = NULL; - Py_XDECREF(var_i); - var_i = NULL; - Py_XDECREF(var_prompt); - var_prompt = NULL; - Py_XDECREF(var_tags); - var_tags = NULL; - Py_XDECREF(var_tag); - var_tag = NULL; - Py_XDECREF(var_sample_ans); - var_sample_ans = NULL; - Py_XDECREF(var_sample_num); - var_sample_num = NULL; - Py_XDECREF(var_text); - var_text = NULL; - Py_XDECREF(var_prompt_tokens); - var_prompt_tokens = NULL; - Py_XDECREF(var_to_regress_tokens); - var_to_regress_tokens = NULL; - Py_XDECREF(var_targets); - var_targets = NULL; - Py_XDECREF(var_empty_targets); - var_empty_targets = NULL; - Py_XDECREF(var_batch_size); - var_batch_size = NULL; - Py_XDECREF(var_bos); - var_bos = NULL; - Py_XDECREF(var_bos_embeds); - var_bos_embeds = NULL; - Py_XDECREF(var_atts_bos); - var_atts_bos = NULL; - Py_XDECREF(var_to_regress_embeds); - var_to_regress_embeds = NULL; - Py_XDECREF(var_inputs_embeds); - var_inputs_embeds = NULL; - Py_XDECREF(var_attention_mask); - var_attention_mask = NULL; - Py_XDECREF(var_outputs); - var_outputs = NULL; - Py_XDECREF(var_loss); - var_loss = NULL; - Py_XDECREF(var_hidden_states); - var_hidden_states = NULL; - Py_XDECREF(var_token_mask); - var_token_mask = NULL; - Py_XDECREF(var_target_states); - var_target_states = NULL; - Py_XDECREF(var_det_states); - var_det_states = NULL; - Py_XDECREF(var_labels); - var_labels = NULL; - Py_XDECREF(var_det_loss); - var_det_loss = NULL; - Py_XDECREF(var_point_states); - var_point_states = NULL; - Py_XDECREF(var_keypoint_loss); - var_keypoint_loss = NULL; - Py_XDECREF(var_masks); - var_masks = NULL; - Py_XDECREF(var_seg_states); - var_seg_states = NULL; - Py_XDECREF(var_last_feats); - var_last_feats = NULL; - Py_XDECREF(var_seg_preds); - var_seg_preds = NULL; - Py_XDECREF(var_feats); - var_feats = NULL; - Py_XDECREF(var_seg_feats); - var_seg_feats = NULL; - // Re-raise. - exception_type = exception_keeper_type_51; - exception_value = exception_keeper_value_51; - exception_tb = exception_keeper_tb_51; - exception_lineno = exception_keeper_lineno_51; - - 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; -} - - - -struct models$medomni_bp$$$function__17_forward$$$genexpr__1_genexpr_locals { - PyObject *var_x; - PyObject *tmp_iter_value_0; - char const *type_description_1; - PyObject *exception_type; - PyObject *exception_value; - PyTracebackObject *exception_tb; - int exception_lineno; - PyObject *exception_keeper_type_1; - PyObject *exception_keeper_value_1; - PyTracebackObject *exception_keeper_tb_1; - int exception_keeper_lineno_1; - PyObject *exception_keeper_type_2; - PyObject *exception_keeper_value_2; - PyTracebackObject *exception_keeper_tb_2; - int exception_keeper_lineno_2; -}; - -static PyObject *models$medomni_bp$$$function__17_forward$$$genexpr__1_genexpr_context(struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value) { - CHECK_OBJECT(generator); - assert(Nuitka_Generator_Check((PyObject *)generator)); - CHECK_OBJECT_X(yield_return_value); - - // Heap access if used. - struct models$medomni_bp$$$function__17_forward$$$genexpr__1_genexpr_locals *generator_heap = (struct models$medomni_bp$$$function__17_forward$$$genexpr__1_genexpr_locals *)generator->m_heap_storage; - - // Dispatch to yield based on return label index: - switch(generator->m_yield_return_index) { - case 1: goto yield_return_1; - } - - // Local variable initialization - NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; - static struct Nuitka_FrameObject *cache_m_frame = NULL; - generator_heap->var_x = NULL; - generator_heap->tmp_iter_value_0 = NULL; - generator_heap->type_description_1 = NULL; - generator_heap->exception_type = NULL; - generator_heap->exception_value = NULL; - generator_heap->exception_tb = NULL; - generator_heap->exception_lineno = 0; - - // Actual generator function body. - // Tried code: - if (isFrameUnusable(cache_m_frame)) { - Py_XDECREF(cache_m_frame); - -#if _DEBUG_REFCOUNTS - if (cache_m_frame == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_9b154103e79061564ce08a43fe982301, module_models$medomni_bp, sizeof(void *)+sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - generator->m_frame = cache_m_frame; - - // Mark the frame object as in use, ref count 1 will be up for reuse. - Py_INCREF(generator->m_frame); - assert(Py_REFCNT(generator->m_frame) == 2); // Frame stack - -#if PYTHON_VERSION >= 0x340 - generator->m_frame->m_frame.f_gen = (PyObject *)generator; -#endif - - assert(generator->m_frame->m_frame.f_back == NULL); - Py_CLEAR(generator->m_frame->m_frame.f_back); - - generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame; - Py_INCREF(generator->m_frame->m_frame.f_back); - - PyThreadState_GET()->frame = &generator->m_frame->m_frame; - Py_INCREF(generator->m_frame); - - Nuitka_Frame_MarkAsExecuting(generator->m_frame); - -#if PYTHON_VERSION >= 0x300 - // Accept currently existing exception as the one to publish again when we - // yield or yield from. - { - PyThreadState *thread_state = PyThreadState_GET(); - - EXC_TYPE_F(generator) = EXC_TYPE(thread_state); - if (EXC_TYPE_F(generator) == Py_None) EXC_TYPE_F(generator) = NULL; - Py_XINCREF(EXC_TYPE_F(generator)); - EXC_VALUE_F(generator) = EXC_VALUE(thread_state); - Py_XINCREF(EXC_VALUE_F(generator)); - EXC_TRACEBACK_F(generator) = EXC_TRACEBACK(thread_state); - Py_XINCREF(EXC_TRACEBACK_F(generator)); - } - -#endif - - // Framed code: - // Tried code: - loop_start_1:; - { - PyObject *tmp_next_source_1; - PyObject *tmp_assign_source_1; - CHECK_OBJECT(Nuitka_Cell_GET(generator->m_closure[0])); - tmp_next_source_1 = Nuitka_Cell_GET(generator->m_closure[0]); - tmp_assign_source_1 = ITERATOR_NEXT(tmp_next_source_1); - if (tmp_assign_source_1 == NULL) { - if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { - - goto loop_end_1; - } else { - - FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); - generator_heap->type_description_1 = "No"; - generator_heap->exception_lineno = 356; - goto try_except_handler_2; - } - } - - { - PyObject *old = generator_heap->tmp_iter_value_0; - generator_heap->tmp_iter_value_0 = tmp_assign_source_1; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_2; - CHECK_OBJECT(generator_heap->tmp_iter_value_0); - tmp_assign_source_2 = generator_heap->tmp_iter_value_0; - { - PyObject *old = generator_heap->var_x; - generator_heap->var_x = tmp_assign_source_2; - Py_INCREF(generator_heap->var_x); - Py_XDECREF(old); - } - - } - { - PyObject *tmp_expression_name_1; - NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1; - CHECK_OBJECT(generator_heap->var_x); - tmp_expression_name_1 = generator_heap->var_x; - Py_INCREF(tmp_expression_name_1); - generator->m_yield_return_index = 1; - return tmp_expression_name_1; - yield_return_1: - if (yield_return_value == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); - - - generator_heap->exception_lineno = 356; - generator_heap->type_description_1 = "No"; - goto try_except_handler_2; - } - tmp_yield_result_1 = yield_return_value; - } - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb); - - - generator_heap->exception_lineno = 356; - generator_heap->type_description_1 = "No"; - goto try_except_handler_2; - } - goto loop_start_1; - loop_end_1:; - goto try_end_1; - // Exception handler code: - try_except_handler_2:; - generator_heap->exception_keeper_type_1 = generator_heap->exception_type; - generator_heap->exception_keeper_value_1 = generator_heap->exception_value; - generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb; - generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno; - generator_heap->exception_type = NULL; - generator_heap->exception_value = NULL; - generator_heap->exception_tb = NULL; - generator_heap->exception_lineno = 0; - - Py_XDECREF(generator_heap->tmp_iter_value_0); - generator_heap->tmp_iter_value_0 = NULL; - // Re-raise. - generator_heap->exception_type = generator_heap->exception_keeper_type_1; - generator_heap->exception_value = generator_heap->exception_keeper_value_1; - generator_heap->exception_tb = generator_heap->exception_keeper_tb_1; - generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1; - - goto frame_exception_exit_1; - // End of try: - try_end_1:; - - Nuitka_Frame_MarkAsNotExecuting(generator->m_frame); - -#if PYTHON_VERSION >= 0x300 - Py_CLEAR(EXC_TYPE_F(generator)); - Py_CLEAR(EXC_VALUE_F(generator)); - Py_CLEAR(EXC_TRACEBACK_F(generator)); -#endif - - // Allow re-use of the frame again. - Py_DECREF(generator->m_frame); - goto frame_no_exception_1; - - frame_exception_exit_1:; - - // If it's not an exit exception, consider and create a traceback for it. - if (!EXCEPTION_MATCH_GENERATOR(generator_heap->exception_type)) { - if (generator_heap->exception_tb == NULL) { - generator_heap->exception_tb = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_lineno); - } else if (generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame) { - generator_heap->exception_tb = ADD_TRACEBACK(generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno); - } - - Nuitka_Frame_AttachLocals( - generator->m_frame, - generator_heap->type_description_1, - NULL, - generator_heap->var_x - ); - - - // Release cached frame if used for exception. - if (generator->m_frame == cache_m_frame) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_m_frame); - cache_m_frame = NULL; - } - - assertFrameObject(generator->m_frame); - } - -#if PYTHON_VERSION >= 0x300 - Py_CLEAR(EXC_TYPE_F(generator)); - Py_CLEAR(EXC_VALUE_F(generator)); - Py_CLEAR(EXC_TRACEBACK_F(generator)); -#endif - - Py_DECREF(generator->m_frame); - - // Return the error. - goto try_except_handler_1; - - frame_no_exception_1:; - goto try_end_2; - // Exception handler code: - try_except_handler_1:; - generator_heap->exception_keeper_type_2 = generator_heap->exception_type; - generator_heap->exception_keeper_value_2 = generator_heap->exception_value; - generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb; - generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno; - generator_heap->exception_type = NULL; - generator_heap->exception_value = NULL; - generator_heap->exception_tb = NULL; - generator_heap->exception_lineno = 0; - - Py_XDECREF(generator_heap->var_x); - generator_heap->var_x = NULL; - // Re-raise. - generator_heap->exception_type = generator_heap->exception_keeper_type_2; - generator_heap->exception_value = generator_heap->exception_keeper_value_2; - generator_heap->exception_tb = generator_heap->exception_keeper_tb_2; - generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2; - - goto function_exception_exit; - // End of try: - try_end_2:; - Py_XDECREF(generator_heap->tmp_iter_value_0); - generator_heap->tmp_iter_value_0 = NULL; - Py_XDECREF(generator_heap->var_x); - generator_heap->var_x = NULL; - - - return NULL; - - function_exception_exit: - assert(generator_heap->exception_type); - RESTORE_ERROR_OCCURRED(generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb); - - return NULL; - -} - -static PyObject *MAKE_GENERATOR_models$medomni_bp$$$function__17_forward$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure) { - return Nuitka_Generator_New( - models$medomni_bp$$$function__17_forward$$$genexpr__1_genexpr_context, - module_models$medomni_bp, - mod_consts[306], -#if PYTHON_VERSION >= 0x350 - mod_consts[307], -#endif - codeobj_9b154103e79061564ce08a43fe982301, - closure, - 1, - sizeof(struct models$medomni_bp$$$function__17_forward$$$genexpr__1_genexpr_locals) - ); -} - - -static PyObject *impl_models$medomni_bp$$$function__18_from_config(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_cls = python_pars[0]; - PyObject *par_cfg = python_pars[1]; - PyObject *par_finetune = python_pars[2]; - PyObject *var_llama_model = NULL; - PyObject *var_freeze_vit = NULL; - PyObject *var_low_resource = NULL; - PyObject *var_max_txt_len = NULL; - PyObject *var_end_sym = NULL; - PyObject *var_model = NULL; - PyObject *var_ckpt_path = NULL; - PyObject *var_ckpt = NULL; - PyObject *var_current_model_dict = NULL; - PyObject *var_weights = NULL; - PyObject *var_new_state_dict = NULL; - PyObject *var_k = NULL; - PyObject *var_msg = NULL; - PyObject *tmp_for_loop_1__for_iterator = NULL; - PyObject *tmp_for_loop_1__iter_value = NULL; - struct Nuitka_FrameObject *frame_3b40d46a4cb1e9e3d54dc40920fbf9d6; - 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; - 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 *tmp_return_value = NULL; - static struct Nuitka_FrameObject *cache_frame_3b40d46a4cb1e9e3d54dc40920fbf9d6 = 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; - - // Actual function body. - // Tried code: - if (isFrameUnusable(cache_frame_3b40d46a4cb1e9e3d54dc40920fbf9d6)) { - Py_XDECREF(cache_frame_3b40d46a4cb1e9e3d54dc40920fbf9d6); - -#if _DEBUG_REFCOUNTS - if (cache_frame_3b40d46a4cb1e9e3d54dc40920fbf9d6 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_3b40d46a4cb1e9e3d54dc40920fbf9d6 = MAKE_FUNCTION_FRAME(codeobj_3b40d46a4cb1e9e3d54dc40920fbf9d6, module_models$medomni_bp, 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_3b40d46a4cb1e9e3d54dc40920fbf9d6->m_type_description == NULL); - frame_3b40d46a4cb1e9e3d54dc40920fbf9d6 = cache_frame_3b40d46a4cb1e9e3d54dc40920fbf9d6; - - // Push the new frame as the currently active one. - pushFrameStack(frame_3b40d46a4cb1e9e3d54dc40920fbf9d6); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_3b40d46a4cb1e9e3d54dc40920fbf9d6) == 2); // Frame stack - - // Framed code: - { - PyObject *tmp_assign_source_1; - PyObject *tmp_called_instance_1; - CHECK_OBJECT(par_cfg); - tmp_called_instance_1 = par_cfg; - frame_3b40d46a4cb1e9e3d54dc40920fbf9d6->m_frame.f_lineno = 488; - tmp_assign_source_1 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_1, - mod_consts[308], - &PyTuple_GET_ITEM(mod_consts[309], 0) - ); - - if (tmp_assign_source_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 488; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_llama_model == NULL); - var_llama_model = tmp_assign_source_1; - } - { - PyObject *tmp_assign_source_2; - PyObject *tmp_called_instance_2; - if (par_cfg == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[310]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 489; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_called_instance_2 = par_cfg; - frame_3b40d46a4cb1e9e3d54dc40920fbf9d6->m_frame.f_lineno = 489; - tmp_assign_source_2 = CALL_METHOD_WITH_ARGS2( - tmp_called_instance_2, - mod_consts[308], - &PyTuple_GET_ITEM(mod_consts[311], 0) - ); - - if (tmp_assign_source_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 489; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_freeze_vit == NULL); - var_freeze_vit = tmp_assign_source_2; - } - { - PyObject *tmp_assign_source_3; - PyObject *tmp_called_instance_3; - if (par_cfg == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[310]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 490; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_called_instance_3 = par_cfg; - frame_3b40d46a4cb1e9e3d54dc40920fbf9d6->m_frame.f_lineno = 490; - tmp_assign_source_3 = CALL_METHOD_WITH_ARGS2( - tmp_called_instance_3, - mod_consts[308], - &PyTuple_GET_ITEM(mod_consts[312], 0) - ); - - if (tmp_assign_source_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 490; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_low_resource == NULL); - var_low_resource = tmp_assign_source_3; - } - { - PyObject *tmp_assign_source_4; - PyObject *tmp_called_instance_4; - if (par_cfg == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[310]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 491; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_called_instance_4 = par_cfg; - frame_3b40d46a4cb1e9e3d54dc40920fbf9d6->m_frame.f_lineno = 491; - tmp_assign_source_4 = CALL_METHOD_WITH_ARGS2( - tmp_called_instance_4, - mod_consts[308], - &PyTuple_GET_ITEM(mod_consts[313], 0) - ); - - if (tmp_assign_source_4 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 491; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_max_txt_len == NULL); - var_max_txt_len = tmp_assign_source_4; - } - { - PyObject *tmp_assign_source_5; - PyObject *tmp_called_instance_5; - if (par_cfg == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[310]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 492; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_called_instance_5 = par_cfg; - frame_3b40d46a4cb1e9e3d54dc40920fbf9d6->m_frame.f_lineno = 492; - tmp_assign_source_5 = CALL_METHOD_WITH_ARGS2( - tmp_called_instance_5, - mod_consts[308], - &PyTuple_GET_ITEM(mod_consts[314], 0) - ); - - if (tmp_assign_source_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 492; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_end_sym == NULL); - var_end_sym = tmp_assign_source_5; - } - { - PyObject *tmp_assign_source_6; - PyObject *tmp_called_name_1; - PyObject *tmp_kwargs_name_1; - PyObject *tmp_dict_key_1; - PyObject *tmp_dict_value_1; - CHECK_OBJECT(par_cls); - tmp_called_name_1 = par_cls; - tmp_dict_key_1 = mod_consts[315]; - CHECK_OBJECT(var_freeze_vit); - tmp_dict_value_1 = var_freeze_vit; - tmp_kwargs_name_1 = _PyDict_NewPresized( 5 ); - 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[111]; - CHECK_OBJECT(var_llama_model); - tmp_dict_value_1 = var_llama_model; - 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[167]; - CHECK_OBJECT(var_max_txt_len); - tmp_dict_value_1 = var_max_txt_len; - 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[66]; - CHECK_OBJECT(var_low_resource); - tmp_dict_value_1 = var_low_resource; - 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[168]; - CHECK_OBJECT(var_end_sym); - tmp_dict_value_1 = var_end_sym; - tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); - assert(!(tmp_res != 0)); - frame_3b40d46a4cb1e9e3d54dc40920fbf9d6->m_frame.f_lineno = 494; - tmp_assign_source_6 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_1, tmp_kwargs_name_1); - Py_DECREF(tmp_kwargs_name_1); - if (tmp_assign_source_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 494; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_model == NULL); - var_model = tmp_assign_source_6; - } - { - PyObject *tmp_assign_source_7; - PyObject *tmp_called_instance_6; - if (par_cfg == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[310]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 503; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_called_instance_6 = par_cfg; - frame_3b40d46a4cb1e9e3d54dc40920fbf9d6->m_frame.f_lineno = 503; - tmp_assign_source_7 = CALL_METHOD_WITH_ARGS2( - tmp_called_instance_6, - mod_consts[308], - &PyTuple_GET_ITEM(mod_consts[316], 0) - ); - - if (tmp_assign_source_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 503; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_ckpt_path == NULL); - var_ckpt_path = tmp_assign_source_7; - } - { - nuitka_bool tmp_condition_result_1; - int tmp_truth_name_1; - CHECK_OBJECT(var_ckpt_path); - tmp_truth_name_1 = CHECK_IF_TRUE(var_ckpt_path); - if (tmp_truth_name_1 == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 504; - type_description_1 = "oooooooooooooooo"; - 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_called_name_2; - PyObject *tmp_call_result_1; - PyObject *tmp_args_element_name_1; - PyObject *tmp_called_instance_7; - PyObject *tmp_args_element_name_2; - tmp_called_name_2 = LOOKUP_BUILTIN(mod_consts[67]); - assert(tmp_called_name_2 != NULL); - tmp_called_instance_7 = mod_consts[317]; - CHECK_OBJECT(var_ckpt_path); - tmp_args_element_name_2 = var_ckpt_path; - frame_3b40d46a4cb1e9e3d54dc40920fbf9d6->m_frame.f_lineno = 505; - tmp_args_element_name_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_7, mod_consts[35], tmp_args_element_name_2); - if (tmp_args_element_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 505; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - frame_3b40d46a4cb1e9e3d54dc40920fbf9d6->m_frame.f_lineno = 505; - tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_2, 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 = 505; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - Py_DECREF(tmp_call_result_1); - } - { - PyObject *tmp_assign_source_8; - PyObject *tmp_called_name_3; - PyObject *tmp_expression_name_1; - PyObject *tmp_args_name_1; - PyObject *tmp_tuple_element_1; - PyObject *tmp_kwargs_name_2; - tmp_expression_name_1 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_1 == NULL)) { - tmp_expression_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 506; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[318]); - if (tmp_called_name_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 506; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - if (var_ckpt_path == NULL) { - Py_DECREF(tmp_called_name_3); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[319]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 506; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_tuple_element_1 = var_ckpt_path; - tmp_args_name_1 = PyTuple_New(1); - PyTuple_SET_ITEM0(tmp_args_name_1, 0, tmp_tuple_element_1); - tmp_kwargs_name_2 = PyDict_Copy(mod_consts[320]); - frame_3b40d46a4cb1e9e3d54dc40920fbf9d6->m_frame.f_lineno = 506; - tmp_assign_source_8 = CALL_FUNCTION(tmp_called_name_3, tmp_args_name_1, tmp_kwargs_name_2); - Py_DECREF(tmp_called_name_3); - Py_DECREF(tmp_args_name_1); - Py_DECREF(tmp_kwargs_name_2); - if (tmp_assign_source_8 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 506; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_ckpt == NULL); - var_ckpt = tmp_assign_source_8; - } - { - nuitka_bool tmp_condition_result_2; - int tmp_truth_name_2; - CHECK_OBJECT(par_finetune); - tmp_truth_name_2 = CHECK_IF_TRUE(par_finetune); - if (tmp_truth_name_2 == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 507; - type_description_1 = "oooooooooooooooo"; - 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_assign_source_9; - PyObject *tmp_called_instance_8; - CHECK_OBJECT(var_model); - tmp_called_instance_8 = var_model; - frame_3b40d46a4cb1e9e3d54dc40920fbf9d6->m_frame.f_lineno = 508; - tmp_assign_source_9 = CALL_METHOD_NO_ARGS(tmp_called_instance_8, mod_consts[321]); - if (tmp_assign_source_9 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 508; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_current_model_dict == NULL); - var_current_model_dict = tmp_assign_source_9; - } - { - PyObject *tmp_assign_source_10; - PyObject *tmp_expression_name_2; - PyObject *tmp_subscript_name_1; - CHECK_OBJECT(var_ckpt); - tmp_expression_name_2 = var_ckpt; - tmp_subscript_name_1 = mod_consts[14]; - tmp_assign_source_10 = LOOKUP_SUBSCRIPT(tmp_expression_name_2, tmp_subscript_name_1); - if (tmp_assign_source_10 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 509; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_weights == NULL); - var_weights = tmp_assign_source_10; - } - { - PyObject *tmp_assign_source_11; - tmp_assign_source_11 = PyDict_New(); - assert(var_new_state_dict == NULL); - var_new_state_dict = tmp_assign_source_11; - } - { - PyObject *tmp_assign_source_12; - PyObject *tmp_iter_arg_1; - PyObject *tmp_list_arg_1; - PyObject *tmp_called_instance_9; - CHECK_OBJECT(var_current_model_dict); - tmp_called_instance_9 = var_current_model_dict; - frame_3b40d46a4cb1e9e3d54dc40920fbf9d6->m_frame.f_lineno = 511; - tmp_list_arg_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_9, mod_consts[322]); - if (tmp_list_arg_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 511; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_iter_arg_1 = MAKE_LIST(tmp_list_arg_1); - Py_DECREF(tmp_list_arg_1); - if (tmp_iter_arg_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 511; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - tmp_assign_source_12 = MAKE_ITERATOR(tmp_iter_arg_1); - Py_DECREF(tmp_iter_arg_1); - if (tmp_assign_source_12 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 511; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(tmp_for_loop_1__for_iterator == NULL); - tmp_for_loop_1__for_iterator = tmp_assign_source_12; - } - // Tried code: - loop_start_1:; - { - PyObject *tmp_next_source_1; - PyObject *tmp_assign_source_13; - CHECK_OBJECT(tmp_for_loop_1__for_iterator); - tmp_next_source_1 = tmp_for_loop_1__for_iterator; - tmp_assign_source_13 = ITERATOR_NEXT(tmp_next_source_1); - if (tmp_assign_source_13 == 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 = "oooooooooooooooo"; - exception_lineno = 511; - goto try_except_handler_2; - } - } - - { - PyObject *old = tmp_for_loop_1__iter_value; - tmp_for_loop_1__iter_value = tmp_assign_source_13; - Py_XDECREF(old); - } - - } - { - PyObject *tmp_assign_source_14; - CHECK_OBJECT(tmp_for_loop_1__iter_value); - tmp_assign_source_14 = tmp_for_loop_1__iter_value; - { - PyObject *old = var_k; - var_k = tmp_assign_source_14; - Py_INCREF(var_k); - Py_XDECREF(old); - } - - } - { - bool tmp_condition_result_3; - PyObject *tmp_compexpr_left_1; - PyObject *tmp_compexpr_right_1; - PyObject *tmp_list_arg_2; - PyObject *tmp_called_instance_10; - CHECK_OBJECT(var_k); - tmp_compexpr_left_1 = var_k; - if (var_weights == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[323]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 512; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - - tmp_called_instance_10 = var_weights; - frame_3b40d46a4cb1e9e3d54dc40920fbf9d6->m_frame.f_lineno = 512; - tmp_list_arg_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_10, mod_consts[322]); - if (tmp_list_arg_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 512; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - tmp_compexpr_right_1 = MAKE_LIST(tmp_list_arg_2); - Py_DECREF(tmp_list_arg_2); - if (tmp_compexpr_right_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 512; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - tmp_res = PySequence_Contains(tmp_compexpr_right_1, tmp_compexpr_left_1); - Py_DECREF(tmp_compexpr_right_1); - if (tmp_res == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 512; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - tmp_condition_result_3 = (tmp_res == 1) ? true : false; - if (tmp_condition_result_3 != false) { - goto branch_yes_3; - } else { - goto branch_no_3; - } - } - branch_yes_3:; - { - nuitka_bool tmp_condition_result_4; - PyObject *tmp_compexpr_left_2; - PyObject *tmp_compexpr_right_2; - PyObject *tmp_called_instance_11; - PyObject *tmp_expression_name_3; - PyObject *tmp_subscript_name_2; - PyObject *tmp_called_instance_12; - PyObject *tmp_expression_name_4; - PyObject *tmp_subscript_name_3; - if (var_weights == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[323]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 513; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - - tmp_expression_name_3 = var_weights; - CHECK_OBJECT(var_k); - tmp_subscript_name_2 = var_k; - tmp_called_instance_11 = LOOKUP_SUBSCRIPT(tmp_expression_name_3, tmp_subscript_name_2); - if (tmp_called_instance_11 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 513; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - frame_3b40d46a4cb1e9e3d54dc40920fbf9d6->m_frame.f_lineno = 513; - tmp_compexpr_left_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_11, mod_consts[33]); - Py_DECREF(tmp_called_instance_11); - if (tmp_compexpr_left_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 513; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - if (var_current_model_dict == NULL) { - Py_DECREF(tmp_compexpr_left_2); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[324]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 513; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - - tmp_expression_name_4 = var_current_model_dict; - CHECK_OBJECT(var_k); - tmp_subscript_name_3 = var_k; - tmp_called_instance_12 = LOOKUP_SUBSCRIPT(tmp_expression_name_4, tmp_subscript_name_3); - if (tmp_called_instance_12 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_compexpr_left_2); - - exception_lineno = 513; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - frame_3b40d46a4cb1e9e3d54dc40920fbf9d6->m_frame.f_lineno = 513; - tmp_compexpr_right_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_12, mod_consts[33]); - Py_DECREF(tmp_called_instance_12); - if (tmp_compexpr_right_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_compexpr_left_2); - - exception_lineno = 513; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - tmp_condition_result_4 = RICH_COMPARE_EQ_NBOOL_OBJECT_OBJECT(tmp_compexpr_left_2, tmp_compexpr_right_2); - Py_DECREF(tmp_compexpr_left_2); - Py_DECREF(tmp_compexpr_right_2); - if (tmp_condition_result_4 == NUITKA_BOOL_EXCEPTION) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 513; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) { - goto branch_yes_4; - } else { - goto branch_no_4; - } - assert(tmp_condition_result_4 != NUITKA_BOOL_UNASSIGNED); - } - branch_yes_4:; - { - PyObject *tmp_ass_subvalue_1; - PyObject *tmp_expression_name_5; - PyObject *tmp_subscript_name_4; - PyObject *tmp_ass_subscribed_1; - PyObject *tmp_ass_subscript_1; - if (var_weights == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[323]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 514; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - - tmp_expression_name_5 = var_weights; - CHECK_OBJECT(var_k); - tmp_subscript_name_4 = var_k; - tmp_ass_subvalue_1 = LOOKUP_SUBSCRIPT(tmp_expression_name_5, tmp_subscript_name_4); - if (tmp_ass_subvalue_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 514; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - if (var_new_state_dict == NULL) { - Py_DECREF(tmp_ass_subvalue_1); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[325]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 514; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - - tmp_ass_subscribed_1 = var_new_state_dict; - CHECK_OBJECT(var_k); - tmp_ass_subscript_1 = var_k; - tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1); - Py_DECREF(tmp_ass_subvalue_1); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 514; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - } - goto branch_end_4; - branch_no_4:; - { - PyObject *tmp_ass_subvalue_2; - PyObject *tmp_expression_name_6; - PyObject *tmp_subscript_name_5; - PyObject *tmp_ass_subscribed_2; - PyObject *tmp_ass_subscript_2; - if (var_current_model_dict == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[324]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 516; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - - tmp_expression_name_6 = var_current_model_dict; - CHECK_OBJECT(var_k); - tmp_subscript_name_5 = var_k; - tmp_ass_subvalue_2 = LOOKUP_SUBSCRIPT(tmp_expression_name_6, tmp_subscript_name_5); - if (tmp_ass_subvalue_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 516; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - if (var_new_state_dict == NULL) { - Py_DECREF(tmp_ass_subvalue_2); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[325]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 516; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - - tmp_ass_subscribed_2 = var_new_state_dict; - CHECK_OBJECT(var_k); - tmp_ass_subscript_2 = var_k; - tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2); - Py_DECREF(tmp_ass_subvalue_2); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 516; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - } - branch_end_4:; - goto branch_end_3; - branch_no_3:; - { - PyObject *tmp_called_name_4; - PyObject *tmp_call_result_2; - PyObject *tmp_args_element_name_3; - tmp_called_name_4 = LOOKUP_BUILTIN(mod_consts[67]); - assert(tmp_called_name_4 != NULL); - CHECK_OBJECT(var_k); - tmp_args_element_name_3 = var_k; - frame_3b40d46a4cb1e9e3d54dc40920fbf9d6->m_frame.f_lineno = 518; - tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_4, 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 = 518; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - Py_DECREF(tmp_call_result_2); - } - { - PyObject *tmp_ass_subvalue_3; - PyObject *tmp_expression_name_7; - PyObject *tmp_subscript_name_6; - PyObject *tmp_ass_subscribed_3; - PyObject *tmp_ass_subscript_3; - if (var_current_model_dict == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[324]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 519; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - - tmp_expression_name_7 = var_current_model_dict; - CHECK_OBJECT(var_k); - tmp_subscript_name_6 = var_k; - tmp_ass_subvalue_3 = LOOKUP_SUBSCRIPT(tmp_expression_name_7, tmp_subscript_name_6); - if (tmp_ass_subvalue_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 519; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - if (var_new_state_dict == NULL) { - Py_DECREF(tmp_ass_subvalue_3); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[325]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 519; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - - tmp_ass_subscribed_3 = var_new_state_dict; - CHECK_OBJECT(var_k); - tmp_ass_subscript_3 = var_k; - tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_3, tmp_ass_subscript_3, tmp_ass_subvalue_3); - Py_DECREF(tmp_ass_subvalue_3); - if (tmp_result == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 519; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - } - branch_end_3:; - if (CONSIDER_THREADING() == false) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 511; - type_description_1 = "oooooooooooooooo"; - goto try_except_handler_2; - } - goto loop_start_1; - loop_end_1:; - 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; - - 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_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:; - 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; - { - PyObject *tmp_assign_source_15; - PyObject *tmp_called_name_5; - PyObject *tmp_expression_name_8; - PyObject *tmp_args_name_2; - PyObject *tmp_tuple_element_2; - PyObject *tmp_kwargs_name_3; - if (var_model == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[14]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 520; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_expression_name_8 = var_model; - tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[326]); - if (tmp_called_name_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 520; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - if (var_new_state_dict == NULL) { - Py_DECREF(tmp_called_name_5); - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[325]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 520; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - - tmp_tuple_element_2 = var_new_state_dict; - 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[327]); - frame_3b40d46a4cb1e9e3d54dc40920fbf9d6->m_frame.f_lineno = 520; - tmp_assign_source_15 = CALL_FUNCTION(tmp_called_name_5, tmp_args_name_2, tmp_kwargs_name_3); - Py_DECREF(tmp_called_name_5); - Py_DECREF(tmp_args_name_2); - Py_DECREF(tmp_kwargs_name_3); - if (tmp_assign_source_15 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 520; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_msg == NULL); - var_msg = tmp_assign_source_15; - } - goto branch_end_2; - branch_no_2:; - { - PyObject *tmp_assign_source_16; - PyObject *tmp_called_name_6; - PyObject *tmp_expression_name_9; - PyObject *tmp_args_name_3; - PyObject *tmp_tuple_element_3; - PyObject *tmp_expression_name_10; - PyObject *tmp_subscript_name_7; - PyObject *tmp_kwargs_name_4; - CHECK_OBJECT(var_model); - tmp_expression_name_9 = var_model; - tmp_called_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[326]); - if (tmp_called_name_6 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 522; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - CHECK_OBJECT(var_ckpt); - tmp_expression_name_10 = var_ckpt; - tmp_subscript_name_7 = mod_consts[14]; - tmp_tuple_element_3 = LOOKUP_SUBSCRIPT(tmp_expression_name_10, tmp_subscript_name_7); - if (tmp_tuple_element_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - Py_DECREF(tmp_called_name_6); - - exception_lineno = 522; - type_description_1 = "oooooooooooooooo"; - 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[327]); - frame_3b40d46a4cb1e9e3d54dc40920fbf9d6->m_frame.f_lineno = 522; - tmp_assign_source_16 = CALL_FUNCTION(tmp_called_name_6, tmp_args_name_3, tmp_kwargs_name_4); - Py_DECREF(tmp_called_name_6); - Py_DECREF(tmp_args_name_3); - Py_DECREF(tmp_kwargs_name_4); - if (tmp_assign_source_16 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 522; - type_description_1 = "oooooooooooooooo"; - goto frame_exception_exit_1; - } - assert(var_msg == NULL); - var_msg = tmp_assign_source_16; - } - branch_end_2:; - branch_no_1:; - if (var_model == NULL) { - - FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[14]); - exception_tb = NULL; - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 524; - type_description_1 = "oooooooooooooooo"; - 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_3b40d46a4cb1e9e3d54dc40920fbf9d6); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto frame_no_exception_1; - - frame_return_exit_1:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_3b40d46a4cb1e9e3d54dc40920fbf9d6); -#endif - - // Put the previous frame back on top. - popFrameStack(); - - goto try_return_handler_1; - - frame_exception_exit_1:; - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_3b40d46a4cb1e9e3d54dc40920fbf9d6); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_3b40d46a4cb1e9e3d54dc40920fbf9d6, exception_lineno); - } else if (exception_tb->tb_frame != &frame_3b40d46a4cb1e9e3d54dc40920fbf9d6->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_3b40d46a4cb1e9e3d54dc40920fbf9d6, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_3b40d46a4cb1e9e3d54dc40920fbf9d6, - type_description_1, - par_cls, - par_cfg, - par_finetune, - var_llama_model, - var_freeze_vit, - var_low_resource, - var_max_txt_len, - var_end_sym, - var_model, - var_ckpt_path, - var_ckpt, - var_current_model_dict, - var_weights, - var_new_state_dict, - var_k, - var_msg - ); - - - // Release cached frame if used for exception. - if (frame_3b40d46a4cb1e9e3d54dc40920fbf9d6 == cache_frame_3b40d46a4cb1e9e3d54dc40920fbf9d6) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_3b40d46a4cb1e9e3d54dc40920fbf9d6); - cache_frame_3b40d46a4cb1e9e3d54dc40920fbf9d6 = NULL; - } - - assertFrameObject(frame_3b40d46a4cb1e9e3d54dc40920fbf9d6); - - // 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_cls); - Py_DECREF(par_cls); - par_cls = NULL; - Py_XDECREF(par_cfg); - par_cfg = NULL; - CHECK_OBJECT(par_finetune); - Py_DECREF(par_finetune); - par_finetune = NULL; - CHECK_OBJECT(var_llama_model); - Py_DECREF(var_llama_model); - var_llama_model = NULL; - CHECK_OBJECT(var_freeze_vit); - Py_DECREF(var_freeze_vit); - var_freeze_vit = NULL; - CHECK_OBJECT(var_low_resource); - Py_DECREF(var_low_resource); - var_low_resource = NULL; - CHECK_OBJECT(var_max_txt_len); - Py_DECREF(var_max_txt_len); - var_max_txt_len = NULL; - CHECK_OBJECT(var_end_sym); - Py_DECREF(var_end_sym); - var_end_sym = NULL; - Py_XDECREF(var_model); - var_model = NULL; - Py_XDECREF(var_ckpt_path); - var_ckpt_path = NULL; - Py_XDECREF(var_ckpt); - var_ckpt = NULL; - Py_XDECREF(var_current_model_dict); - var_current_model_dict = NULL; - Py_XDECREF(var_weights); - var_weights = NULL; - Py_XDECREF(var_new_state_dict); - var_new_state_dict = NULL; - Py_XDECREF(var_k); - var_k = NULL; - Py_XDECREF(var_msg); - var_msg = NULL; - goto function_return_exit; - // Exception handler code: - try_except_handler_1:; - 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(par_cls); - Py_DECREF(par_cls); - par_cls = NULL; - Py_XDECREF(par_cfg); - par_cfg = NULL; - CHECK_OBJECT(par_finetune); - Py_DECREF(par_finetune); - par_finetune = NULL; - Py_XDECREF(var_llama_model); - var_llama_model = NULL; - Py_XDECREF(var_freeze_vit); - var_freeze_vit = NULL; - Py_XDECREF(var_low_resource); - var_low_resource = NULL; - Py_XDECREF(var_max_txt_len); - var_max_txt_len = NULL; - Py_XDECREF(var_end_sym); - var_end_sym = NULL; - Py_XDECREF(var_model); - var_model = NULL; - Py_XDECREF(var_ckpt_path); - var_ckpt_path = NULL; - Py_XDECREF(var_ckpt); - var_ckpt = NULL; - Py_XDECREF(var_current_model_dict); - var_current_model_dict = NULL; - Py_XDECREF(var_weights); - var_weights = NULL; - Py_XDECREF(var_new_state_dict); - var_new_state_dict = NULL; - Py_XDECREF(var_k); - var_k = NULL; - Py_XDECREF(var_msg); - var_msg = 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 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$medomni_bp$$$function__10_trans_det() { - struct Nuitka_FunctionObject *result = Nuitka_Function_New( - impl_models$medomni_bp$$$function__10_trans_det, - mod_consts[287], -#if PYTHON_VERSION >= 0x300 - NULL, -#endif - codeobj_b0b331f085277111601888195501fa13, - NULL, -#if PYTHON_VERSION >= 0x300 - NULL, - NULL, -#endif - module_models$medomni_bp, - NULL, - NULL, - 0 - ); - - - return (PyObject *)result; -} - - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__11_trans_keypoint() { - struct Nuitka_FunctionObject *result = Nuitka_Function_New( - impl_models$medomni_bp$$$function__11_trans_keypoint, - mod_consts[293], -#if PYTHON_VERSION >= 0x300 - NULL, -#endif - codeobj_a45548cd58c2face9e36cbc89b979801, - NULL, -#if PYTHON_VERSION >= 0x300 - NULL, - NULL, -#endif - module_models$medomni_bp, - NULL, - NULL, - 0 - ); - - - return (PyObject *)result; -} - - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__12___init__(PyObject *defaults, struct Nuitka_CellObject **closure) { - struct Nuitka_FunctionObject *result = Nuitka_Function_New( - impl_models$medomni_bp$$$function__12___init__, - mod_consts[31], -#if PYTHON_VERSION >= 0x300 - mod_consts[389], -#endif - codeobj_f49b4cc387c566c587dd5b706722b99c, - defaults, -#if PYTHON_VERSION >= 0x300 - NULL, - NULL, -#endif - module_models$medomni_bp, - NULL, - closure, - 1 - ); - - - return (PyObject *)result; -} - - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__12___init__$$$function__1_forward(struct Nuitka_CellObject **closure) { - struct Nuitka_FunctionObject *result = Nuitka_Function_New( - impl_models$medomni_bp$$$function__12___init__$$$function__1_forward, - mod_consts[2], -#if PYTHON_VERSION >= 0x300 - mod_consts[133], -#endif - codeobj_678266b6b2faeb3dc81b89982e327d91, - NULL, -#if PYTHON_VERSION >= 0x300 - NULL, - NULL, -#endif - module_models$medomni_bp, - NULL, - closure, - 1 - ); - - - return (PyObject *)result; -} - - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__13_vit_to_cpu() { - struct Nuitka_FunctionObject *result = Nuitka_Function_New( - impl_models$medomni_bp$$$function__13_vit_to_cpu, - mod_consts[179], -#if PYTHON_VERSION >= 0x300 - mod_consts[390], -#endif - codeobj_5d568379025a008913acddc22c837d7b, - NULL, -#if PYTHON_VERSION >= 0x300 - NULL, - NULL, -#endif - module_models$medomni_bp, - NULL, - NULL, - 0 - ); - - - return (PyObject *)result; -} - - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__14_encode_img() { - struct Nuitka_FunctionObject *result = Nuitka_Function_New( - impl_models$medomni_bp$$$function__14_encode_img, - mod_consts[231], -#if PYTHON_VERSION >= 0x300 - mod_consts[391], -#endif - codeobj_cf7c573f3eabc09b380bf631954f6108, - NULL, -#if PYTHON_VERSION >= 0x300 - NULL, - NULL, -#endif - module_models$medomni_bp, - NULL, - NULL, - 0 - ); - - - return (PyObject *)result; -} - - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__15_prompt_concat() { - struct Nuitka_FunctionObject *result = Nuitka_Function_New( - impl_models$medomni_bp$$$function__15_prompt_concat, - mod_consts[264], -#if PYTHON_VERSION >= 0x300 - mod_consts[392], -#endif - codeobj_40a21ff435291cacab2ca20091a7e59f, - NULL, -#if PYTHON_VERSION >= 0x300 - NULL, - NULL, -#endif - module_models$medomni_bp, - NULL, - NULL, - 0 - ); - - - return (PyObject *)result; -} - - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__16_prompt_wrap(PyObject *defaults) { - struct Nuitka_FunctionObject *result = Nuitka_Function_New( - impl_models$medomni_bp$$$function__16_prompt_wrap, - mod_consts[248], -#if PYTHON_VERSION >= 0x300 - mod_consts[394], -#endif - codeobj_213cbc07f24f34b89cdb18c9cf2e6690, - defaults, -#if PYTHON_VERSION >= 0x300 - NULL, - NULL, -#endif - module_models$medomni_bp, - NULL, - NULL, - 0 - ); - - - return (PyObject *)result; -} - - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__17_forward() { - struct Nuitka_FunctionObject *result = Nuitka_Function_New( - impl_models$medomni_bp$$$function__17_forward, - mod_consts[2], -#if PYTHON_VERSION >= 0x300 - mod_consts[395], -#endif - codeobj_fe557d162e569c6a186cf09bbb51e6fa, - NULL, -#if PYTHON_VERSION >= 0x300 - NULL, - NULL, -#endif - module_models$medomni_bp, - NULL, - NULL, - 0 - ); - - - return (PyObject *)result; -} - - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__18_from_config(PyObject *defaults) { - struct Nuitka_FunctionObject *result = Nuitka_Function_New( - impl_models$medomni_bp$$$function__18_from_config, - mod_consts[398], -#if PYTHON_VERSION >= 0x300 - mod_consts[399], -#endif - codeobj_3b40d46a4cb1e9e3d54dc40920fbf9d6, - defaults, -#if PYTHON_VERSION >= 0x300 - NULL, - NULL, -#endif - module_models$medomni_bp, - NULL, - NULL, - 0 - ); - - - return (PyObject *)result; -} - - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__1_forward(PyObject *annotations, struct Nuitka_CellObject **closure) { - struct Nuitka_FunctionObject *result = Nuitka_Function_New( - impl_models$medomni_bp$$$function__1_forward, - mod_consts[2], -#if PYTHON_VERSION >= 0x300 - mod_consts[375], -#endif - codeobj_e81ebbfb2ec3a1af6ddd6a3d2c75c165, - NULL, -#if PYTHON_VERSION >= 0x300 - NULL, - annotations, -#endif - module_models$medomni_bp, - NULL, - closure, - 1 - ); - - - return (PyObject *)result; -} - - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__2_forward(PyObject *annotations, struct Nuitka_CellObject **closure) { - struct Nuitka_FunctionObject *result = Nuitka_Function_New( - impl_models$medomni_bp$$$function__2_forward, - mod_consts[2], -#if PYTHON_VERSION >= 0x300 - mod_consts[376], -#endif - codeobj_048bbd020f35504ab633cfd37d07e770, - NULL, -#if PYTHON_VERSION >= 0x300 - NULL, - annotations, -#endif - module_models$medomni_bp, - NULL, - closure, - 1 - ); - - - return (PyObject *)result; -} - - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__3_replace_batchnorm_2d() { - struct Nuitka_FunctionObject *result = Nuitka_Function_New( - impl_models$medomni_bp$$$function__3_replace_batchnorm_2d, - mod_consts[12], -#if PYTHON_VERSION >= 0x300 - NULL, -#endif - codeobj_c18430faac4f931c946f463c136a2236, - NULL, -#if PYTHON_VERSION >= 0x300 - NULL, - NULL, -#endif - module_models$medomni_bp, - NULL, - NULL, - 0 - ); - - - return (PyObject *)result; -} - - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__4_dice_loss() { - struct Nuitka_FunctionObject *result = Nuitka_Function_New( - impl_models$medomni_bp$$$function__4_dice_loss, - mod_consts[50], -#if PYTHON_VERSION >= 0x300 - NULL, -#endif - codeobj_168b01bfd9d8202de2e66d125c81eec9, - NULL, -#if PYTHON_VERSION >= 0x300 - NULL, - NULL, -#endif - module_models$medomni_bp, - NULL, - NULL, - 0 - ); - - - return (PyObject *)result; -} - - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__5___init__(struct Nuitka_CellObject **closure) { - struct Nuitka_FunctionObject *result = Nuitka_Function_New( - impl_models$medomni_bp$$$function__5___init__, - mod_consts[31], -#if PYTHON_VERSION >= 0x300 - mod_consts[378], -#endif - codeobj_4db878a8d04a4dfe8c38caaa351601be, - NULL, -#if PYTHON_VERSION >= 0x300 - NULL, - NULL, -#endif - module_models$medomni_bp, - NULL, - closure, - 1 - ); - - - return (PyObject *)result; -} - - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__6_forward() { - struct Nuitka_FunctionObject *result = Nuitka_Function_New( - impl_models$medomni_bp$$$function__6_forward, - mod_consts[2], -#if PYTHON_VERSION >= 0x300 - mod_consts[379], -#endif - codeobj_d2f1eea242db134fa0b488a0ed0074d2, - NULL, -#if PYTHON_VERSION >= 0x300 - NULL, - NULL, -#endif - module_models$medomni_bp, - NULL, - NULL, - 0 - ); - - - return (PyObject *)result; -} - - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__7___init__(struct Nuitka_CellObject **closure) { - struct Nuitka_FunctionObject *result = Nuitka_Function_New( - impl_models$medomni_bp$$$function__7___init__, - mod_consts[31], -#if PYTHON_VERSION >= 0x300 - mod_consts[380], -#endif - codeobj_59989aa3b41bd36889beee060e2da0b4, - NULL, -#if PYTHON_VERSION >= 0x300 - NULL, - NULL, -#endif - module_models$medomni_bp, - NULL, - closure, - 1 - ); - - - return (PyObject *)result; -} - - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__8_forward() { - struct Nuitka_FunctionObject *result = Nuitka_Function_New( - impl_models$medomni_bp$$$function__8_forward, - mod_consts[2], -#if PYTHON_VERSION >= 0x300 - mod_consts[381], -#endif - codeobj_b1ee5fd62d6c69da575619caa1d8e0c3, - NULL, -#if PYTHON_VERSION >= 0x300 - NULL, - NULL, -#endif - module_models$medomni_bp, - NULL, - NULL, - 0 - ); - - - return (PyObject *)result; -} - - - -static PyObject *MAKE_FUNCTION_models$medomni_bp$$$function__9_trans_seg() { - struct Nuitka_FunctionObject *result = Nuitka_Function_New( - impl_models$medomni_bp$$$function__9_trans_seg, - mod_consts[382], -#if PYTHON_VERSION >= 0x300 - NULL, -#endif - codeobj_30f7346d71ee32c85eb9e23ad4f81d69, - NULL, -#if PYTHON_VERSION >= 0x300 - NULL, - NULL, -#endif - module_models$medomni_bp, - NULL, - NULL, - 0 - ); - - - 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$medomni_bp[] = { - impl_models$medomni_bp$$$function__12___init__$$$function__1_forward, - impl_models$medomni_bp$$$function__1_forward, - impl_models$medomni_bp$$$function__2_forward, - impl_models$medomni_bp$$$function__3_replace_batchnorm_2d, - impl_models$medomni_bp$$$function__4_dice_loss, - impl_models$medomni_bp$$$function__5___init__, - impl_models$medomni_bp$$$function__6_forward, - impl_models$medomni_bp$$$function__7___init__, - impl_models$medomni_bp$$$function__8_forward, - impl_models$medomni_bp$$$function__9_trans_seg, - impl_models$medomni_bp$$$function__10_trans_det, - impl_models$medomni_bp$$$function__11_trans_keypoint, - impl_models$medomni_bp$$$function__12___init__, - impl_models$medomni_bp$$$function__13_vit_to_cpu, - impl_models$medomni_bp$$$function__14_encode_img, - impl_models$medomni_bp$$$function__15_prompt_concat, - impl_models$medomni_bp$$$function__16_prompt_wrap, - impl_models$medomni_bp$$$function__17_forward, - impl_models$medomni_bp$$$function__18_from_config, - 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$medomni_bp; - 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$medomni_bp) || 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$medomni_bp[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$medomni_bp, - 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$medomni_bp(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *module_entry) { - module_models$medomni_bp = 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.medomni_bp: 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.medomni_bp: Calling createModuleConstants().\n"); -#endif - createModuleConstants(); - - /* The code objects used by this module are created now. */ -#ifdef _NUITKA_TRACE - PRINT_STRING("models.medomni_bp: Calling createModuleCodeObjects().\n"); -#endif - createModuleCodeObjects(); - - // PRINT_STRING("in initmodels$medomni_bp\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$medomni_bp = MODULE_DICT(module_models$medomni_bp); - -#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$medomni_bp, - (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$medomni_bp, - (Nuitka_StringObject *)const_str_plain___package__, - const_str_empty - ); -#elif 0 - PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)const_str_plain___name__); - - UPDATE_STRING_DICT0( - moduledict_models$medomni_bp, - (Nuitka_StringObject *)const_str_plain___package__, - module_name - ); -#else - -#if PYTHON_VERSION < 0x300 - PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (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$medomni_bp, - (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$medomni_bp, (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$medomni_bp, - (Nuitka_StringObject *)const_str_plain___package__, - PyUnicode_Substring(module_name, 0, dot_index) - ); - } -#endif -#endif - } - - CHECK_OBJECT(module_models$medomni_bp); - - // 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$medomni_bp, (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$medomni_bp, (Nuitka_StringObject *)const_str_plain___builtins__, value); - } - -#if PYTHON_VERSION >= 0x300 - UPDATE_STRING_DICT0(moduledict_models$medomni_bp, (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$medomni_bp, (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$medomni_bp); - 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$medomni_bp, (Nuitka_StringObject *)const_str_plain___spec__, spec_value); - } -#endif -#endif - - // Temp variables if any - struct Nuitka_CellObject *outline_0_var___class__ = Nuitka_Cell_Empty(); - 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(); - 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_import_from_1__module = NULL; - PyObject *tmp_import_from_2__module = NULL; - PyObject *tmp_import_from_3__module = NULL; - struct Nuitka_FrameObject *frame_63b85d45078d5c768ad6f82e6838a770; - 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; - 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; - PyObject *tmp_dictdel_dict; - PyObject *tmp_dictdel_key; - PyObject *locals_models$medomni_bp$$$class__1_GroupNorm_31 = NULL; - PyObject *tmp_dictset_value; - struct Nuitka_FrameObject *frame_8e2d9ccb6d85da198b831c3a3c5e69c6_2; - NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; - static struct Nuitka_FrameObject *cache_frame_8e2d9ccb6d85da198b831c3a3c5e69c6_2 = 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; - 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 *exception_keeper_type_6; - PyObject *exception_keeper_value_6; - PyTracebackObject *exception_keeper_tb_6; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; - PyObject *locals_models$medomni_bp$$$class__2_LayerNorm_39 = NULL; - struct Nuitka_FrameObject *frame_6c800241dc87d02997e9d2e4b01fc079_3; - NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL; - static struct Nuitka_FrameObject *cache_frame_6c800241dc87d02997e9d2e4b01fc079_3 = NULL; - 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 *exception_keeper_type_9; - PyObject *exception_keeper_value_9; - PyTracebackObject *exception_keeper_tb_9; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9; - PyObject *locals_models$medomni_bp$$$class__3_FocalLoss_64 = NULL; - struct Nuitka_FrameObject *frame_25d4492c6bc24c9ba55d89fcd7c18a51_4; - NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL; - static struct Nuitka_FrameObject *cache_frame_25d4492c6bc24c9ba55d89fcd7c18a51_4 = NULL; - 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 *exception_keeper_type_12; - PyObject *exception_keeper_value_12; - PyTracebackObject *exception_keeper_tb_12; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12; - PyObject *locals_models$medomni_bp$$$class__4_MixedLoss_80 = NULL; - struct Nuitka_FrameObject *frame_aee592ce980fa3c1d3fed78e1558148c_5; - NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL; - static struct Nuitka_FrameObject *cache_frame_aee592ce980fa3c1d3fed78e1558148c_5 = NULL; - 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 *exception_keeper_type_15; - PyObject *exception_keeper_value_15; - PyTracebackObject *exception_keeper_tb_15; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15; - PyObject *locals_models$medomni_bp$$$class__5_MedOmni_133 = NULL; - struct Nuitka_FrameObject *frame_9f24eb05d199684a8b5a54133678fb42_6; - NUITKA_MAY_BE_UNUSED char const *type_description_6 = NULL; - static struct Nuitka_FrameObject *cache_frame_9f24eb05d199684a8b5a54133678fb42_6 = NULL; - 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 *exception_keeper_type_18; - PyObject *exception_keeper_value_18; - PyTracebackObject *exception_keeper_tb_18; - NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_18; - - // Module code. - { - PyObject *tmp_assign_source_1; - tmp_assign_source_1 = Py_None; - UPDATE_STRING_DICT0(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[328], tmp_assign_source_1); - } - { - PyObject *tmp_assign_source_2; - tmp_assign_source_2 = module_filename_obj; - UPDATE_STRING_DICT0(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[329], tmp_assign_source_2); - } - // Frame without reuse. - frame_63b85d45078d5c768ad6f82e6838a770 = MAKE_MODULE_FRAME(codeobj_63b85d45078d5c768ad6f82e6838a770, module_models$medomni_bp); - - // Push the new frame as the currently active one, and we should be exclusively - // owning it. - pushFrameStack(frame_63b85d45078d5c768ad6f82e6838a770); - assert(Py_REFCNT(frame_63b85d45078d5c768ad6f82e6838a770) == 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$medomni_bp, (Nuitka_StringObject *)mod_consts[330]); - - if (unlikely(tmp_assattr_target_1 == NULL)) { - tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[330]); - } - - assert(!(tmp_assattr_target_1 == NULL)); - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[331], 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$medomni_bp, (Nuitka_StringObject *)mod_consts[330]); - - if (unlikely(tmp_assattr_target_2 == NULL)) { - tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[330]); - } - - assert(!(tmp_assattr_target_2 == NULL)); - tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[332], 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$medomni_bp, (Nuitka_StringObject *)mod_consts[333], 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[86]; - tmp_globals_arg_name_1 = (PyObject *)moduledict_models$medomni_bp; - tmp_locals_arg_name_1 = Py_None; - tmp_fromlist_name_1 = Py_None; - tmp_level_name_1 = mod_consts[11]; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 1; - 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 = 1; - - goto frame_exception_exit_1; - } - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[86], tmp_assign_source_4); - } - { - PyObject *tmp_assign_source_5; - 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[334]; - tmp_globals_arg_name_2 = (PyObject *)moduledict_models$medomni_bp; - tmp_locals_arg_name_2 = Py_None; - tmp_fromlist_name_2 = Py_None; - tmp_level_name_2 = mod_consts[11]; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 2; - tmp_assign_source_5 = 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_assign_source_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 2; - - goto frame_exception_exit_1; - } - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[334], 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[5]; - tmp_globals_arg_name_3 = (PyObject *)moduledict_models$medomni_bp; - tmp_locals_arg_name_3 = Py_None; - tmp_fromlist_name_3 = Py_None; - tmp_level_name_3 = mod_consts[11]; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 4; - 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 = 4; - - goto frame_exception_exit_1; - } - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5], tmp_assign_source_6); - } - { - PyObject *tmp_assign_source_7; - PyObject *tmp_import_name_from_1; - 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[335]; - tmp_globals_arg_name_4 = (PyObject *)moduledict_models$medomni_bp; - tmp_locals_arg_name_4 = Py_None; - tmp_fromlist_name_4 = mod_consts[336]; - tmp_level_name_4 = mod_consts[11]; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 5; - tmp_import_name_from_1 = 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_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 5; - - goto frame_exception_exit_1; - } - if (PyModule_Check(tmp_import_name_from_1)) { - tmp_assign_source_7 = IMPORT_NAME_OR_MODULE( - tmp_import_name_from_1, - (PyObject *)moduledict_models$medomni_bp, - mod_consts[337], - mod_consts[11] - ); - } else { - tmp_assign_source_7 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[337]); - } - - Py_DECREF(tmp_import_name_from_1); - if (tmp_assign_source_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 5; - - goto frame_exception_exit_1; - } - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[337], tmp_assign_source_7); - } - { - PyObject *tmp_assign_source_8; - PyObject *tmp_import_name_from_2; - 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[338]; - tmp_globals_arg_name_5 = (PyObject *)moduledict_models$medomni_bp; - tmp_locals_arg_name_5 = Py_None; - tmp_fromlist_name_5 = mod_consts[339]; - tmp_level_name_5 = mod_consts[11]; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 6; - tmp_import_name_from_2 = 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_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 6; - - goto frame_exception_exit_1; - } - if (PyModule_Check(tmp_import_name_from_2)) { - tmp_assign_source_8 = IMPORT_NAME_OR_MODULE( - tmp_import_name_from_2, - (PyObject *)moduledict_models$medomni_bp, - mod_consts[340], - mod_consts[11] - ); - } else { - tmp_assign_source_8 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[340]); - } - - Py_DECREF(tmp_import_name_from_2); - if (tmp_assign_source_8 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 6; - - goto frame_exception_exit_1; - } - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[340], tmp_assign_source_8); - } - { - PyObject *tmp_assign_source_9; - PyObject *tmp_import_name_from_3; - 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[341]; - tmp_globals_arg_name_6 = (PyObject *)moduledict_models$medomni_bp; - tmp_locals_arg_name_6 = Py_None; - tmp_fromlist_name_6 = Py_None; - tmp_level_name_6 = mod_consts[11]; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 7; - tmp_import_name_from_3 = 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_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 7; - - goto frame_exception_exit_1; - } - if (PyModule_Check(tmp_import_name_from_3)) { - tmp_assign_source_9 = IMPORT_NAME_OR_MODULE( - tmp_import_name_from_3, - (PyObject *)moduledict_models$medomni_bp, - mod_consts[15], - mod_consts[11] - ); - } else { - tmp_assign_source_9 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[15]); - } - - Py_DECREF(tmp_import_name_from_3); - if (tmp_assign_source_9 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 7; - - goto frame_exception_exit_1; - } - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[15], tmp_assign_source_9); - } - { - PyObject *tmp_assign_source_10; - PyObject *tmp_import_name_from_4; - 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[342]; - tmp_globals_arg_name_7 = (PyObject *)moduledict_models$medomni_bp; - tmp_locals_arg_name_7 = Py_None; - tmp_fromlist_name_7 = mod_consts[343]; - tmp_level_name_7 = mod_consts[11]; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 9; - tmp_import_name_from_4 = 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_import_name_from_4 == 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_4)) { - tmp_assign_source_10 = IMPORT_NAME_OR_MODULE( - tmp_import_name_from_4, - (PyObject *)moduledict_models$medomni_bp, - mod_consts[344], - mod_consts[11] - ); - } else { - tmp_assign_source_10 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[344]); - } - - Py_DECREF(tmp_import_name_from_4); - if (tmp_assign_source_10 == 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$medomni_bp, (Nuitka_StringObject *)mod_consts[344], tmp_assign_source_10); - } - { - PyObject *tmp_assign_source_11; - 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[345]; - tmp_globals_arg_name_8 = (PyObject *)moduledict_models$medomni_bp; - tmp_locals_arg_name_8 = Py_None; - tmp_fromlist_name_8 = mod_consts[346]; - tmp_level_name_8 = mod_consts[11]; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 10; - tmp_assign_source_11 = 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_assign_source_11 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 10; - - goto frame_exception_exit_1; - } - assert(tmp_import_from_1__module == NULL); - tmp_import_from_1__module = tmp_assign_source_11; - } - // Tried code: - { - PyObject *tmp_assign_source_12; - PyObject *tmp_import_name_from_5; - CHECK_OBJECT(tmp_import_from_1__module); - tmp_import_name_from_5 = tmp_import_from_1__module; - if (PyModule_Check(tmp_import_name_from_5)) { - tmp_assign_source_12 = IMPORT_NAME_OR_MODULE( - tmp_import_name_from_5, - (PyObject *)moduledict_models$medomni_bp, - mod_consts[347], - mod_consts[11] - ); - } else { - tmp_assign_source_12 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[347]); - } - - if (tmp_assign_source_12 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 10; - - goto try_except_handler_1; - } - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[347], tmp_assign_source_12); - } - { - PyObject *tmp_assign_source_13; - PyObject *tmp_import_name_from_6; - CHECK_OBJECT(tmp_import_from_1__module); - tmp_import_name_from_6 = tmp_import_from_1__module; - if (PyModule_Check(tmp_import_name_from_6)) { - tmp_assign_source_13 = IMPORT_NAME_OR_MODULE( - tmp_import_name_from_6, - (PyObject *)moduledict_models$medomni_bp, - mod_consts[84], - mod_consts[11] - ); - } else { - tmp_assign_source_13 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[84]); - } - - if (tmp_assign_source_13 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 10; - - goto try_except_handler_1; - } - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[84], 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_7; - 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[348]; - tmp_globals_arg_name_9 = (PyObject *)moduledict_models$medomni_bp; - tmp_locals_arg_name_9 = Py_None; - tmp_fromlist_name_9 = mod_consts[349]; - tmp_level_name_9 = mod_consts[11]; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 11; - tmp_import_name_from_7 = 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_import_name_from_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 11; - - goto frame_exception_exit_1; - } - if (PyModule_Check(tmp_import_name_from_7)) { - tmp_assign_source_14 = IMPORT_NAME_OR_MODULE( - tmp_import_name_from_7, - (PyObject *)moduledict_models$medomni_bp, - mod_consts[110], - mod_consts[11] - ); - } else { - tmp_assign_source_14 = IMPORT_NAME(tmp_import_name_from_7, mod_consts[110]); - } - - Py_DECREF(tmp_import_name_from_7); - if (tmp_assign_source_14 == 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$medomni_bp, (Nuitka_StringObject *)mod_consts[110], tmp_assign_source_14); - } - { - PyObject *tmp_assign_source_15; - PyObject *tmp_import_name_from_8; - 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[350]; - tmp_globals_arg_name_10 = (PyObject *)moduledict_models$medomni_bp; - tmp_locals_arg_name_10 = Py_None; - tmp_fromlist_name_10 = mod_consts[351]; - tmp_level_name_10 = mod_consts[11]; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 12; - tmp_import_name_from_8 = 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_import_name_from_8 == 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_8)) { - tmp_assign_source_15 = IMPORT_NAME_OR_MODULE( - tmp_import_name_from_8, - (PyObject *)moduledict_models$medomni_bp, - mod_consts[91], - mod_consts[11] - ); - } else { - tmp_assign_source_15 = IMPORT_NAME(tmp_import_name_from_8, mod_consts[91]); - } - - Py_DECREF(tmp_import_name_from_8); - if (tmp_assign_source_15 == 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$medomni_bp, (Nuitka_StringObject *)mod_consts[91], tmp_assign_source_15); - } - { - PyObject *tmp_assign_source_16; - PyObject *tmp_import_name_from_9; - 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[350]; - tmp_globals_arg_name_11 = (PyObject *)moduledict_models$medomni_bp; - tmp_locals_arg_name_11 = Py_None; - tmp_fromlist_name_11 = mod_consts[352]; - tmp_level_name_11 = mod_consts[11]; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 13; - tmp_import_name_from_9 = 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_9 == 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_9)) { - tmp_assign_source_16 = IMPORT_NAME_OR_MODULE( - tmp_import_name_from_9, - (PyObject *)moduledict_models$medomni_bp, - mod_consts[69], - mod_consts[11] - ); - } else { - tmp_assign_source_16 = IMPORT_NAME(tmp_import_name_from_9, mod_consts[69]); - } - - Py_DECREF(tmp_import_name_from_9); - if (tmp_assign_source_16 == 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$medomni_bp, (Nuitka_StringObject *)mod_consts[69], tmp_assign_source_16); - } - { - PyObject *tmp_assign_source_17; - PyObject *tmp_import_name_from_10; - PyObject *tmp_import_name_from_11; - PyObject *tmp_name_name_12; - PyObject *tmp_globals_arg_name_12; - PyObject *tmp_locals_arg_name_12; - PyObject *tmp_fromlist_name_12; - PyObject *tmp_level_name_12; - tmp_name_name_12 = mod_consts[353]; - tmp_globals_arg_name_12 = (PyObject *)moduledict_models$medomni_bp; - tmp_locals_arg_name_12 = Py_None; - tmp_fromlist_name_12 = Py_None; - tmp_level_name_12 = mod_consts[11]; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 14; - tmp_import_name_from_11 = IMPORT_MODULE5(tmp_name_name_12, tmp_globals_arg_name_12, tmp_locals_arg_name_12, tmp_fromlist_name_12, tmp_level_name_12); - if (tmp_import_name_from_11 == 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_11)) { - tmp_import_name_from_10 = IMPORT_NAME_OR_MODULE( - tmp_import_name_from_11, - (PyObject *)moduledict_models$medomni_bp, - mod_consts[15], - mod_consts[11] - ); - } else { - tmp_import_name_from_10 = IMPORT_NAME(tmp_import_name_from_11, mod_consts[15]); - } - - Py_DECREF(tmp_import_name_from_11); - if (tmp_import_name_from_10 == 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_10)) { - tmp_assign_source_17 = IMPORT_NAME_OR_MODULE( - tmp_import_name_from_10, - (PyObject *)moduledict_models$medomni_bp, - mod_consts[354], - mod_consts[11] - ); - } else { - tmp_assign_source_17 = IMPORT_NAME(tmp_import_name_from_10, mod_consts[354]); - } - - Py_DECREF(tmp_import_name_from_10); - if (tmp_assign_source_17 == 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$medomni_bp, (Nuitka_StringObject *)mod_consts[43], tmp_assign_source_17); - } - { - PyObject *tmp_assign_source_18; - PyObject *tmp_name_name_13; - PyObject *tmp_globals_arg_name_13; - PyObject *tmp_locals_arg_name_13; - PyObject *tmp_fromlist_name_13; - PyObject *tmp_level_name_13; - tmp_name_name_13 = mod_consts[355]; - tmp_globals_arg_name_13 = (PyObject *)moduledict_models$medomni_bp; - tmp_locals_arg_name_13 = Py_None; - tmp_fromlist_name_13 = Py_None; - tmp_level_name_13 = mod_consts[11]; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 15; - tmp_assign_source_18 = IMPORT_MODULE5(tmp_name_name_13, tmp_globals_arg_name_13, tmp_locals_arg_name_13, tmp_fromlist_name_13, tmp_level_name_13); - if (tmp_assign_source_18 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 15; - - goto frame_exception_exit_1; - } - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[355], tmp_assign_source_18); - } - { - PyObject *tmp_assign_source_19; - PyObject *tmp_name_name_14; - PyObject *tmp_globals_arg_name_14; - PyObject *tmp_locals_arg_name_14; - PyObject *tmp_fromlist_name_14; - PyObject *tmp_level_name_14; - tmp_name_name_14 = mod_consts[356]; - tmp_globals_arg_name_14 = (PyObject *)moduledict_models$medomni_bp; - tmp_locals_arg_name_14 = Py_None; - tmp_fromlist_name_14 = mod_consts[357]; - tmp_level_name_14 = mod_consts[11]; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 16; - tmp_assign_source_19 = IMPORT_MODULE5(tmp_name_name_14, tmp_globals_arg_name_14, tmp_locals_arg_name_14, tmp_fromlist_name_14, tmp_level_name_14); - if (tmp_assign_source_19 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 16; - - goto frame_exception_exit_1; - } - assert(tmp_import_from_2__module == NULL); - tmp_import_from_2__module = tmp_assign_source_19; - } - // Tried code: - { - PyObject *tmp_assign_source_20; - 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_20 = IMPORT_NAME_OR_MODULE( - tmp_import_name_from_12, - (PyObject *)moduledict_models$medomni_bp, - mod_consts[192], - mod_consts[11] - ); - } else { - tmp_assign_source_20 = IMPORT_NAME(tmp_import_name_from_12, mod_consts[192]); - } - - if (tmp_assign_source_20 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 16; - - goto try_except_handler_2; - } - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[192], tmp_assign_source_20); - } - { - PyObject *tmp_assign_source_21; - PyObject *tmp_import_name_from_13; - CHECK_OBJECT(tmp_import_from_2__module); - tmp_import_name_from_13 = tmp_import_from_2__module; - if (PyModule_Check(tmp_import_name_from_13)) { - tmp_assign_source_21 = IMPORT_NAME_OR_MODULE( - tmp_import_name_from_13, - (PyObject *)moduledict_models$medomni_bp, - mod_consts[358], - mod_consts[11] - ); - } else { - tmp_assign_source_21 = IMPORT_NAME(tmp_import_name_from_13, mod_consts[358]); - } - - if (tmp_assign_source_21 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 16; - - goto try_except_handler_2; - } - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[358], tmp_assign_source_21); - } - 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_22; - PyObject *tmp_import_name_from_14; - PyObject *tmp_name_name_15; - PyObject *tmp_globals_arg_name_15; - PyObject *tmp_locals_arg_name_15; - PyObject *tmp_fromlist_name_15; - PyObject *tmp_level_name_15; - tmp_name_name_15 = mod_consts[359]; - tmp_globals_arg_name_15 = (PyObject *)moduledict_models$medomni_bp; - tmp_locals_arg_name_15 = Py_None; - tmp_fromlist_name_15 = mod_consts[360]; - tmp_level_name_15 = mod_consts[11]; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 17; - tmp_import_name_from_14 = IMPORT_MODULE5(tmp_name_name_15, tmp_globals_arg_name_15, tmp_locals_arg_name_15, tmp_fromlist_name_15, tmp_level_name_15); - if (tmp_import_name_from_14 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 17; - - goto frame_exception_exit_1; - } - if (PyModule_Check(tmp_import_name_from_14)) { - tmp_assign_source_22 = IMPORT_NAME_OR_MODULE( - tmp_import_name_from_14, - (PyObject *)moduledict_models$medomni_bp, - mod_consts[361], - mod_consts[11] - ); - } else { - tmp_assign_source_22 = IMPORT_NAME(tmp_import_name_from_14, mod_consts[361]); - } - - Py_DECREF(tmp_import_name_from_14); - if (tmp_assign_source_22 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 17; - - goto frame_exception_exit_1; - } - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[361], tmp_assign_source_22); - } - { - PyObject *tmp_assign_source_23; - PyObject *tmp_name_name_16; - PyObject *tmp_globals_arg_name_16; - PyObject *tmp_locals_arg_name_16; - PyObject *tmp_fromlist_name_16; - PyObject *tmp_level_name_16; - tmp_name_name_16 = mod_consts[362]; - tmp_globals_arg_name_16 = (PyObject *)moduledict_models$medomni_bp; - tmp_locals_arg_name_16 = Py_None; - tmp_fromlist_name_16 = Py_None; - tmp_level_name_16 = mod_consts[11]; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 18; - tmp_assign_source_23 = IMPORT_MODULE5(tmp_name_name_16, tmp_globals_arg_name_16, tmp_locals_arg_name_16, tmp_fromlist_name_16, tmp_level_name_16); - if (tmp_assign_source_23 == 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$medomni_bp, (Nuitka_StringObject *)mod_consts[362], tmp_assign_source_23); - } - { - PyObject *tmp_assign_source_24; - PyObject *tmp_name_name_17; - PyObject *tmp_globals_arg_name_17; - PyObject *tmp_locals_arg_name_17; - PyObject *tmp_fromlist_name_17; - PyObject *tmp_level_name_17; - tmp_name_name_17 = mod_consts[363]; - tmp_globals_arg_name_17 = (PyObject *)moduledict_models$medomni_bp; - tmp_locals_arg_name_17 = Py_None; - tmp_fromlist_name_17 = Py_None; - tmp_level_name_17 = mod_consts[11]; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 19; - tmp_assign_source_24 = IMPORT_MODULE5(tmp_name_name_17, tmp_globals_arg_name_17, tmp_locals_arg_name_17, tmp_fromlist_name_17, tmp_level_name_17); - if (tmp_assign_source_24 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 19; - - goto frame_exception_exit_1; - } - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[151], tmp_assign_source_24); - } - { - PyObject *tmp_assign_source_25; - PyObject *tmp_import_name_from_15; - PyObject *tmp_name_name_18; - PyObject *tmp_globals_arg_name_18; - PyObject *tmp_locals_arg_name_18; - PyObject *tmp_fromlist_name_18; - PyObject *tmp_level_name_18; - tmp_name_name_18 = mod_consts[364]; - tmp_globals_arg_name_18 = (PyObject *)moduledict_models$medomni_bp; - tmp_locals_arg_name_18 = Py_None; - tmp_fromlist_name_18 = mod_consts[365]; - tmp_level_name_18 = mod_consts[11]; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 20; - tmp_import_name_from_15 = IMPORT_MODULE5(tmp_name_name_18, tmp_globals_arg_name_18, tmp_locals_arg_name_18, tmp_fromlist_name_18, tmp_level_name_18); - if (tmp_import_name_from_15 == 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_15)) { - tmp_assign_source_25 = IMPORT_NAME_OR_MODULE( - tmp_import_name_from_15, - (PyObject *)moduledict_models$medomni_bp, - mod_consts[73], - mod_consts[11] - ); - } else { - tmp_assign_source_25 = IMPORT_NAME(tmp_import_name_from_15, mod_consts[73]); - } - - Py_DECREF(tmp_import_name_from_15); - if (tmp_assign_source_25 == 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$medomni_bp, (Nuitka_StringObject *)mod_consts[73], tmp_assign_source_25); - } - { - PyObject *tmp_assign_source_26; - PyObject *tmp_name_name_19; - PyObject *tmp_globals_arg_name_19; - PyObject *tmp_locals_arg_name_19; - PyObject *tmp_fromlist_name_19; - PyObject *tmp_level_name_19; - tmp_name_name_19 = mod_consts[366]; - tmp_globals_arg_name_19 = (PyObject *)moduledict_models$medomni_bp; - tmp_locals_arg_name_19 = Py_None; - tmp_fromlist_name_19 = Py_None; - tmp_level_name_19 = mod_consts[11]; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 21; - tmp_assign_source_26 = IMPORT_MODULE5(tmp_name_name_19, tmp_globals_arg_name_19, tmp_locals_arg_name_19, tmp_fromlist_name_19, tmp_level_name_19); - if (tmp_assign_source_26 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 21; - - goto frame_exception_exit_1; - } - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[366], tmp_assign_source_26); - } - { - PyObject *tmp_assign_source_27; - PyObject *tmp_name_name_20; - PyObject *tmp_globals_arg_name_20; - PyObject *tmp_locals_arg_name_20; - PyObject *tmp_fromlist_name_20; - PyObject *tmp_level_name_20; - tmp_name_name_20 = mod_consts[367]; - tmp_globals_arg_name_20 = (PyObject *)moduledict_models$medomni_bp; - tmp_locals_arg_name_20 = Py_None; - tmp_fromlist_name_20 = mod_consts[368]; - tmp_level_name_20 = mod_consts[11]; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 22; - tmp_assign_source_27 = IMPORT_MODULE5(tmp_name_name_20, tmp_globals_arg_name_20, tmp_locals_arg_name_20, tmp_fromlist_name_20, tmp_level_name_20); - if (tmp_assign_source_27 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 22; - - goto frame_exception_exit_1; - } - assert(tmp_import_from_3__module == NULL); - tmp_import_from_3__module = tmp_assign_source_27; - } - // Tried code: - { - PyObject *tmp_assign_source_28; - PyObject *tmp_import_name_from_16; - CHECK_OBJECT(tmp_import_from_3__module); - tmp_import_name_from_16 = tmp_import_from_3__module; - if (PyModule_Check(tmp_import_name_from_16)) { - tmp_assign_source_28 = IMPORT_NAME_OR_MODULE( - tmp_import_name_from_16, - (PyObject *)moduledict_models$medomni_bp, - mod_consts[139], - mod_consts[11] - ); - } else { - tmp_assign_source_28 = IMPORT_NAME(tmp_import_name_from_16, mod_consts[139]); - } - - if (tmp_assign_source_28 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 22; - - goto try_except_handler_3; - } - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[139], tmp_assign_source_28); - } - { - PyObject *tmp_assign_source_29; - PyObject *tmp_import_name_from_17; - CHECK_OBJECT(tmp_import_from_3__module); - tmp_import_name_from_17 = tmp_import_from_3__module; - if (PyModule_Check(tmp_import_name_from_17)) { - tmp_assign_source_29 = IMPORT_NAME_OR_MODULE( - tmp_import_name_from_17, - (PyObject *)moduledict_models$medomni_bp, - mod_consts[137], - mod_consts[11] - ); - } else { - tmp_assign_source_29 = IMPORT_NAME(tmp_import_name_from_17, mod_consts[137]); - } - - if (tmp_assign_source_29 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 22; - - goto try_except_handler_3; - } - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[137], tmp_assign_source_29); - } - { - PyObject *tmp_assign_source_30; - PyObject *tmp_import_name_from_18; - CHECK_OBJECT(tmp_import_from_3__module); - tmp_import_name_from_18 = tmp_import_from_3__module; - if (PyModule_Check(tmp_import_name_from_18)) { - tmp_assign_source_30 = IMPORT_NAME_OR_MODULE( - tmp_import_name_from_18, - (PyObject *)moduledict_models$medomni_bp, - mod_consts[369], - mod_consts[11] - ); - } else { - tmp_assign_source_30 = IMPORT_NAME(tmp_import_name_from_18, mod_consts[369]); - } - - if (tmp_assign_source_30 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 22; - - goto try_except_handler_3; - } - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[369], tmp_assign_source_30); - } - { - PyObject *tmp_assign_source_31; - PyObject *tmp_import_name_from_19; - CHECK_OBJECT(tmp_import_from_3__module); - tmp_import_name_from_19 = tmp_import_from_3__module; - if (PyModule_Check(tmp_import_name_from_19)) { - tmp_assign_source_31 = IMPORT_NAME_OR_MODULE( - tmp_import_name_from_19, - (PyObject *)moduledict_models$medomni_bp, - mod_consts[370], - mod_consts[11] - ); - } else { - tmp_assign_source_31 = IMPORT_NAME(tmp_import_name_from_19, mod_consts[370]); - } - - if (tmp_assign_source_31 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 22; - - goto try_except_handler_3; - } - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[370], tmp_assign_source_31); - } - { - PyObject *tmp_assign_source_32; - PyObject *tmp_import_name_from_20; - CHECK_OBJECT(tmp_import_from_3__module); - tmp_import_name_from_20 = tmp_import_from_3__module; - if (PyModule_Check(tmp_import_name_from_20)) { - tmp_assign_source_32 = IMPORT_NAME_OR_MODULE( - tmp_import_name_from_20, - (PyObject *)moduledict_models$medomni_bp, - mod_consts[371], - mod_consts[11] - ); - } else { - tmp_assign_source_32 = IMPORT_NAME(tmp_import_name_from_20, mod_consts[371]); - } - - if (tmp_assign_source_32 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 22; - - goto try_except_handler_3; - } - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[371], tmp_assign_source_32); - } - { - PyObject *tmp_assign_source_33; - PyObject *tmp_import_name_from_21; - CHECK_OBJECT(tmp_import_from_3__module); - tmp_import_name_from_21 = tmp_import_from_3__module; - if (PyModule_Check(tmp_import_name_from_21)) { - tmp_assign_source_33 = IMPORT_NAME_OR_MODULE( - tmp_import_name_from_21, - (PyObject *)moduledict_models$medomni_bp, - mod_consts[372], - mod_consts[11] - ); - } else { - tmp_assign_source_33 = IMPORT_NAME(tmp_import_name_from_21, mod_consts[372]); - } - - if (tmp_assign_source_33 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 22; - - goto try_except_handler_3; - } - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[372], tmp_assign_source_33); - } - goto try_end_3; - // 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; - - CHECK_OBJECT(tmp_import_from_3__module); - Py_DECREF(tmp_import_from_3__module); - tmp_import_from_3__module = 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_import_from_3__module); - Py_DECREF(tmp_import_from_3__module); - tmp_import_from_3__module = NULL; - // Tried code: - { - PyObject *tmp_assign_source_34; - PyObject *tmp_tuple_element_1; - PyObject *tmp_expression_name_1; - tmp_expression_name_1 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[15]); - - if (unlikely(tmp_expression_name_1 == NULL)) { - tmp_expression_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]); - } - - if (tmp_expression_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 31; - - goto try_except_handler_4; - } - tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[17]); - if (tmp_tuple_element_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 31; - - goto try_except_handler_4; - } - tmp_assign_source_34 = PyTuple_New(1); - PyTuple_SET_ITEM(tmp_assign_source_34, 0, tmp_tuple_element_1); - assert(tmp_class_creation_1__bases_orig == NULL); - tmp_class_creation_1__bases_orig = tmp_assign_source_34; - } - { - PyObject *tmp_assign_source_35; - 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_35 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); - } - if (tmp_assign_source_35 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 31; - - goto try_except_handler_4; - } - assert(tmp_class_creation_1__bases == NULL); - tmp_class_creation_1__bases = tmp_assign_source_35; - } - { - PyObject *tmp_assign_source_36; - tmp_assign_source_36 = PyDict_New(); - assert(tmp_class_creation_1__class_decl_dict == NULL); - tmp_class_creation_1__class_decl_dict = tmp_assign_source_36; - } - { - PyObject *tmp_assign_source_37; - 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[123]; - 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[123]; - 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 = 31; - - goto try_except_handler_4; - } - 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 = 31; - - goto try_except_handler_4; - } - 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[11]; - 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 = 31; - - goto try_except_handler_4; - } - 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 = 31; - - goto try_except_handler_4; - } - 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_37 = SELECT_METACLASS(tmp_metaclass_name_1, tmp_bases_name_1); - Py_DECREF(tmp_metaclass_name_1); - if (tmp_assign_source_37 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 31; - - goto try_except_handler_4; - } - assert(tmp_class_creation_1__metaclass == NULL); - tmp_class_creation_1__metaclass = tmp_assign_source_37; - } - { - nuitka_bool tmp_condition_result_3; - PyObject *tmp_key_name_3; - PyObject *tmp_dict_arg_name_3; - tmp_key_name_3 = mod_consts[123]; - 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[123]; - 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 = 31; - - goto try_except_handler_4; - } - 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[124]); - 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_38; - 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[124]); - if (tmp_called_name_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 31; - - goto try_except_handler_4; - } - tmp_tuple_element_2 = mod_consts[17]; - 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_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 31; - tmp_assign_source_38 = 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_38 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 31; - - goto try_except_handler_4; - } - assert(tmp_class_creation_1__prepared == NULL); - tmp_class_creation_1__prepared = tmp_assign_source_38; - } - { - 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[126]); - 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 = 31; - - goto try_except_handler_4; - } - 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[127]; - CHECK_OBJECT(tmp_class_creation_1__metaclass); - tmp_getattr_target_1 = tmp_class_creation_1__metaclass; - tmp_getattr_attr_1 = mod_consts[128]; - tmp_getattr_default_1 = mod_consts[129]; - 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 = 31; - - goto try_except_handler_4; - } - 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[128]); - 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 = 31; - - 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_4; - // 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 = 31; - - goto try_except_handler_4; - } - exception_type = tmp_raise_type_1; - Py_INCREF(tmp_raise_type_1); - exception_value = tmp_raise_value_1; - exception_lineno = 31; - RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); - - goto try_except_handler_4; - } - branch_no_3:; - goto branch_end_2; - branch_no_2:; - { - PyObject *tmp_assign_source_39; - tmp_assign_source_39 = PyDict_New(); - assert(tmp_class_creation_1__prepared == NULL); - tmp_class_creation_1__prepared = tmp_assign_source_39; - } - branch_end_2:; - { - PyObject *tmp_assign_source_40; - { - PyObject *tmp_set_locals_1; - CHECK_OBJECT(tmp_class_creation_1__prepared); - tmp_set_locals_1 = tmp_class_creation_1__prepared; - locals_models$medomni_bp$$$class__1_GroupNorm_31 = tmp_set_locals_1; - Py_INCREF(tmp_set_locals_1); - } - // Tried code: - // Tried code: - tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[128]); - - if (unlikely(tmp_dictset_value == NULL)) { - tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[128]); - } - - assert(!(tmp_dictset_value == NULL)); - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__1_GroupNorm_31, mod_consts[130], tmp_dictset_value); - if (tmp_res != 0) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 31; - - goto try_except_handler_6; - } - tmp_dictset_value = mod_consts[373]; - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__1_GroupNorm_31, mod_consts[328], tmp_dictset_value); - if (tmp_res != 0) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 31; - - goto try_except_handler_6; - } - tmp_dictset_value = mod_consts[17]; - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__1_GroupNorm_31, mod_consts[132], tmp_dictset_value); - if (tmp_res != 0) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 31; - - goto try_except_handler_6; - } - if (isFrameUnusable(cache_frame_8e2d9ccb6d85da198b831c3a3c5e69c6_2)) { - Py_XDECREF(cache_frame_8e2d9ccb6d85da198b831c3a3c5e69c6_2); - -#if _DEBUG_REFCOUNTS - if (cache_frame_8e2d9ccb6d85da198b831c3a3c5e69c6_2 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_8e2d9ccb6d85da198b831c3a3c5e69c6_2 = MAKE_FUNCTION_FRAME(codeobj_8e2d9ccb6d85da198b831c3a3c5e69c6, module_models$medomni_bp, sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - assert(cache_frame_8e2d9ccb6d85da198b831c3a3c5e69c6_2->m_type_description == NULL); - frame_8e2d9ccb6d85da198b831c3a3c5e69c6_2 = cache_frame_8e2d9ccb6d85da198b831c3a3c5e69c6_2; - - // Push the new frame as the currently active one. - pushFrameStack(frame_8e2d9ccb6d85da198b831c3a3c5e69c6_2); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_8e2d9ccb6d85da198b831c3a3c5e69c6_2) == 2); // Frame stack - - // Framed code: - { - PyObject *tmp_annotations_1; - PyObject *tmp_dict_key_1; - PyObject *tmp_dict_value_1; - PyObject *tmp_expression_name_7; - struct Nuitka_CellObject *tmp_closure_1[1]; - tmp_dict_key_1 = mod_consts[3]; - tmp_expression_name_7 = PyObject_GetItem(locals_models$medomni_bp$$$class__1_GroupNorm_31, mod_consts[5]); - - if (tmp_expression_name_7 == NULL) { - if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { - tmp_expression_name_7 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_7 == NULL)) { - tmp_expression_name_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 34; - type_description_2 = "c"; - goto frame_exception_exit_2; - } - Py_INCREF(tmp_expression_name_7); - } - } - - tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[374]); - Py_DECREF(tmp_expression_name_7); - if (tmp_dict_value_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 34; - type_description_2 = "c"; - goto frame_exception_exit_2; - } - 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_closure_1[0] = outline_0_var___class__; - Py_INCREF(tmp_closure_1[0]); - - tmp_dictset_value = MAKE_FUNCTION_models$medomni_bp$$$function__1_forward(tmp_annotations_1, tmp_closure_1); - - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__1_GroupNorm_31, mod_consts[2], 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 = 34; - type_description_2 = "c"; - goto frame_exception_exit_2; - } - } - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_8e2d9ccb6d85da198b831c3a3c5e69c6_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_8e2d9ccb6d85da198b831c3a3c5e69c6_2); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_8e2d9ccb6d85da198b831c3a3c5e69c6_2, exception_lineno); - } else if (exception_tb->tb_frame != &frame_8e2d9ccb6d85da198b831c3a3c5e69c6_2->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_8e2d9ccb6d85da198b831c3a3c5e69c6_2, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_8e2d9ccb6d85da198b831c3a3c5e69c6_2, - type_description_2, - outline_0_var___class__ - ); - - - // Release cached frame if used for exception. - if (frame_8e2d9ccb6d85da198b831c3a3c5e69c6_2 == cache_frame_8e2d9ccb6d85da198b831c3a3c5e69c6_2) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_8e2d9ccb6d85da198b831c3a3c5e69c6_2); - cache_frame_8e2d9ccb6d85da198b831c3a3c5e69c6_2 = NULL; - } - - assertFrameObject(frame_8e2d9ccb6d85da198b831c3a3c5e69c6_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_6; - 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 = 31; - - goto try_except_handler_6; - } - 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$medomni_bp$$$class__1_GroupNorm_31, mod_consts[134], tmp_dictset_value); - if (tmp_res != 0) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 31; - - goto try_except_handler_6; - } - branch_no_4:; - { - PyObject *tmp_assign_source_41; - 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[17]; - 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$medomni_bp$$$class__1_GroupNorm_31; - 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_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 31; - tmp_assign_source_41 = CALL_FUNCTION(tmp_called_name_2, tmp_args_name_2, tmp_kwargs_name_2); - Py_DECREF(tmp_args_name_2); - if (tmp_assign_source_41 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 31; - - goto try_except_handler_6; - } - { - PyObject *old = Nuitka_Cell_GET(outline_0_var___class__); - PyCell_SET(outline_0_var___class__, tmp_assign_source_41); - Py_XDECREF(old); - } - - } - CHECK_OBJECT(Nuitka_Cell_GET(outline_0_var___class__)); - tmp_assign_source_40 = Nuitka_Cell_GET(outline_0_var___class__); - Py_INCREF(tmp_assign_source_40); - 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_DECREF(locals_models$medomni_bp$$$class__1_GroupNorm_31); - locals_models$medomni_bp$$$class__1_GroupNorm_31 = NULL; - goto try_return_handler_5; - // 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_DECREF(locals_models$medomni_bp$$$class__1_GroupNorm_31); - locals_models$medomni_bp$$$class__1_GroupNorm_31 = 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 try_except_handler_5; - // End of try: - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_5:; - 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_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; - - CHECK_OBJECT(outline_0_var___class__); - Py_DECREF(outline_0_var___class__); - outline_0_var___class__ = 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_1; - // End of try: - NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); - return NULL; - outline_exception_1:; - exception_lineno = 31; - goto try_except_handler_4; - outline_result_1:; - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[17], tmp_assign_source_40); - } - goto try_end_4; - // Exception handler code: - try_except_handler_4:; - 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(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_6; - exception_value = exception_keeper_value_6; - exception_tb = exception_keeper_tb_6; - exception_lineno = exception_keeper_lineno_6; - - goto frame_exception_exit_1; - // End of try: - try_end_4:; - 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_42; - PyObject *tmp_tuple_element_5; - PyObject *tmp_expression_name_8; - tmp_expression_name_8 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[15]); - - if (unlikely(tmp_expression_name_8 == NULL)) { - tmp_expression_name_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]); - } - - if (tmp_expression_name_8 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 39; - - goto try_except_handler_7; - } - tmp_tuple_element_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[76]); - if (tmp_tuple_element_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 39; - - goto try_except_handler_7; - } - tmp_assign_source_42 = PyTuple_New(1); - PyTuple_SET_ITEM(tmp_assign_source_42, 0, tmp_tuple_element_5); - assert(tmp_class_creation_2__bases_orig == NULL); - tmp_class_creation_2__bases_orig = tmp_assign_source_42; - } - { - PyObject *tmp_assign_source_43; - 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_43 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); - } - if (tmp_assign_source_43 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 39; - - goto try_except_handler_7; - } - assert(tmp_class_creation_2__bases == NULL); - tmp_class_creation_2__bases = tmp_assign_source_43; - } - { - PyObject *tmp_assign_source_44; - tmp_assign_source_44 = PyDict_New(); - assert(tmp_class_creation_2__class_decl_dict == NULL); - tmp_class_creation_2__class_decl_dict = tmp_assign_source_44; - } - { - PyObject *tmp_assign_source_45; - 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_9; - PyObject *tmp_subscript_name_2; - PyObject *tmp_bases_name_2; - tmp_key_name_4 = mod_consts[123]; - 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[123]; - 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 = 39; - - goto try_except_handler_7; - } - 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 = 39; - - goto try_except_handler_7; - } - 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_9 = tmp_class_creation_2__bases; - tmp_subscript_name_2 = mod_consts[11]; - tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_9, 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 = 39; - - goto try_except_handler_7; - } - 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 = 39; - - goto try_except_handler_7; - } - 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_45 = SELECT_METACLASS(tmp_metaclass_name_2, tmp_bases_name_2); - Py_DECREF(tmp_metaclass_name_2); - if (tmp_assign_source_45 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 39; - - goto try_except_handler_7; - } - assert(tmp_class_creation_2__metaclass == NULL); - tmp_class_creation_2__metaclass = tmp_assign_source_45; - } - { - nuitka_bool tmp_condition_result_9; - PyObject *tmp_key_name_6; - PyObject *tmp_dict_arg_name_6; - tmp_key_name_6 = mod_consts[123]; - 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[123]; - 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 = 39; - - goto try_except_handler_7; - } - branch_no_5:; - { - nuitka_bool tmp_condition_result_10; - PyObject *tmp_expression_name_10; - CHECK_OBJECT(tmp_class_creation_2__metaclass); - tmp_expression_name_10 = tmp_class_creation_2__metaclass; - tmp_result = HAS_ATTR_BOOL(tmp_expression_name_10, mod_consts[124]); - 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_46; - PyObject *tmp_called_name_3; - PyObject *tmp_expression_name_11; - 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_11 = tmp_class_creation_2__metaclass; - tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_11, mod_consts[124]); - if (tmp_called_name_3 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 39; - - goto try_except_handler_7; - } - tmp_tuple_element_6 = mod_consts[76]; - 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_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 39; - tmp_assign_source_46 = 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_46 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 39; - - goto try_except_handler_7; - } - assert(tmp_class_creation_2__prepared == NULL); - tmp_class_creation_2__prepared = tmp_assign_source_46; - } - { - nuitka_bool tmp_condition_result_11; - PyObject *tmp_operand_name_2; - PyObject *tmp_expression_name_12; - CHECK_OBJECT(tmp_class_creation_2__prepared); - tmp_expression_name_12 = tmp_class_creation_2__prepared; - tmp_result = HAS_ATTR_BOOL(tmp_expression_name_12, mod_consts[126]); - 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 = 39; - - goto try_except_handler_7; - } - 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[127]; - CHECK_OBJECT(tmp_class_creation_2__metaclass); - tmp_getattr_target_2 = tmp_class_creation_2__metaclass; - tmp_getattr_attr_2 = mod_consts[128]; - tmp_getattr_default_2 = mod_consts[129]; - 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 = 39; - - goto try_except_handler_7; - } - tmp_right_name_2 = PyTuple_New(2); - { - PyObject *tmp_expression_name_13; - 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_13 = BUILTIN_TYPE1(tmp_type_arg_4); - assert(!(tmp_expression_name_13 == NULL)); - tmp_tuple_element_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_13, mod_consts[128]); - Py_DECREF(tmp_expression_name_13); - if (tmp_tuple_element_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 39; - - 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_7; - // 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 = 39; - - goto try_except_handler_7; - } - exception_type = tmp_raise_type_2; - Py_INCREF(tmp_raise_type_2); - exception_value = tmp_raise_value_2; - exception_lineno = 39; - RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); - - goto try_except_handler_7; - } - branch_no_7:; - goto branch_end_6; - branch_no_6:; - { - PyObject *tmp_assign_source_47; - tmp_assign_source_47 = PyDict_New(); - assert(tmp_class_creation_2__prepared == NULL); - tmp_class_creation_2__prepared = tmp_assign_source_47; - } - branch_end_6:; - { - PyObject *tmp_assign_source_48; - { - PyObject *tmp_set_locals_2; - CHECK_OBJECT(tmp_class_creation_2__prepared); - tmp_set_locals_2 = tmp_class_creation_2__prepared; - locals_models$medomni_bp$$$class__2_LayerNorm_39 = tmp_set_locals_2; - Py_INCREF(tmp_set_locals_2); - } - // Tried code: - // Tried code: - tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[128]); - - if (unlikely(tmp_dictset_value == NULL)) { - tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[128]); - } - - assert(!(tmp_dictset_value == NULL)); - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__2_LayerNorm_39, mod_consts[130], tmp_dictset_value); - if (tmp_res != 0) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 39; - - goto try_except_handler_9; - } - tmp_dictset_value = mod_consts[373]; - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__2_LayerNorm_39, mod_consts[328], tmp_dictset_value); - if (tmp_res != 0) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 39; - - goto try_except_handler_9; - } - tmp_dictset_value = mod_consts[76]; - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__2_LayerNorm_39, mod_consts[132], tmp_dictset_value); - if (tmp_res != 0) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 39; - - goto try_except_handler_9; - } - if (isFrameUnusable(cache_frame_6c800241dc87d02997e9d2e4b01fc079_3)) { - Py_XDECREF(cache_frame_6c800241dc87d02997e9d2e4b01fc079_3); - -#if _DEBUG_REFCOUNTS - if (cache_frame_6c800241dc87d02997e9d2e4b01fc079_3 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_6c800241dc87d02997e9d2e4b01fc079_3 = MAKE_FUNCTION_FRAME(codeobj_6c800241dc87d02997e9d2e4b01fc079, module_models$medomni_bp, sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - assert(cache_frame_6c800241dc87d02997e9d2e4b01fc079_3->m_type_description == NULL); - frame_6c800241dc87d02997e9d2e4b01fc079_3 = cache_frame_6c800241dc87d02997e9d2e4b01fc079_3; - - // Push the new frame as the currently active one. - pushFrameStack(frame_6c800241dc87d02997e9d2e4b01fc079_3); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_6c800241dc87d02997e9d2e4b01fc079_3) == 2); // Frame stack - - // Framed code: - { - PyObject *tmp_annotations_2; - PyObject *tmp_dict_key_2; - PyObject *tmp_dict_value_2; - PyObject *tmp_expression_name_14; - struct Nuitka_CellObject *tmp_closure_2[1]; - tmp_dict_key_2 = mod_consts[3]; - tmp_expression_name_14 = PyObject_GetItem(locals_models$medomni_bp$$$class__2_LayerNorm_39, mod_consts[5]); - - if (tmp_expression_name_14 == NULL) { - if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) { - tmp_expression_name_14 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[5]); - - if (unlikely(tmp_expression_name_14 == NULL)) { - tmp_expression_name_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]); - } - - if (tmp_expression_name_14 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 42; - type_description_2 = "c"; - goto frame_exception_exit_3; - } - Py_INCREF(tmp_expression_name_14); - } - } - - tmp_dict_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_14, mod_consts[374]); - Py_DECREF(tmp_expression_name_14); - if (tmp_dict_value_2 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 42; - type_description_2 = "c"; - goto frame_exception_exit_3; - } - 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_closure_2[0] = outline_1_var___class__; - Py_INCREF(tmp_closure_2[0]); - - tmp_dictset_value = MAKE_FUNCTION_models$medomni_bp$$$function__2_forward(tmp_annotations_2, tmp_closure_2); - - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__2_LayerNorm_39, mod_consts[2], 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 = "c"; - goto frame_exception_exit_3; - } - } - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_6c800241dc87d02997e9d2e4b01fc079_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_6c800241dc87d02997e9d2e4b01fc079_3); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_6c800241dc87d02997e9d2e4b01fc079_3, exception_lineno); - } else if (exception_tb->tb_frame != &frame_6c800241dc87d02997e9d2e4b01fc079_3->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_6c800241dc87d02997e9d2e4b01fc079_3, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_6c800241dc87d02997e9d2e4b01fc079_3, - type_description_2, - outline_1_var___class__ - ); - - - // Release cached frame if used for exception. - if (frame_6c800241dc87d02997e9d2e4b01fc079_3 == cache_frame_6c800241dc87d02997e9d2e4b01fc079_3) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_6c800241dc87d02997e9d2e4b01fc079_3); - cache_frame_6c800241dc87d02997e9d2e4b01fc079_3 = NULL; - } - - assertFrameObject(frame_6c800241dc87d02997e9d2e4b01fc079_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_9; - 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 = 39; - - goto try_except_handler_9; - } - 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$medomni_bp$$$class__2_LayerNorm_39, mod_consts[134], tmp_dictset_value); - if (tmp_res != 0) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 39; - - goto try_except_handler_9; - } - branch_no_8:; - { - PyObject *tmp_assign_source_49; - PyObject *tmp_called_name_4; - PyObject *tmp_args_name_4; - PyObject *tmp_tuple_element_8; - PyObject *tmp_kwargs_name_4; - CHECK_OBJECT(tmp_class_creation_2__metaclass); - tmp_called_name_4 = tmp_class_creation_2__metaclass; - tmp_tuple_element_8 = mod_consts[76]; - tmp_args_name_4 = PyTuple_New(3); - PyTuple_SET_ITEM0(tmp_args_name_4, 0, tmp_tuple_element_8); - CHECK_OBJECT(tmp_class_creation_2__bases); - tmp_tuple_element_8 = tmp_class_creation_2__bases; - PyTuple_SET_ITEM0(tmp_args_name_4, 1, tmp_tuple_element_8); - tmp_tuple_element_8 = locals_models$medomni_bp$$$class__2_LayerNorm_39; - PyTuple_SET_ITEM0(tmp_args_name_4, 2, tmp_tuple_element_8); - CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); - tmp_kwargs_name_4 = tmp_class_creation_2__class_decl_dict; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 39; - tmp_assign_source_49 = CALL_FUNCTION(tmp_called_name_4, tmp_args_name_4, tmp_kwargs_name_4); - Py_DECREF(tmp_args_name_4); - if (tmp_assign_source_49 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 39; - - goto try_except_handler_9; - } - { - PyObject *old = Nuitka_Cell_GET(outline_1_var___class__); - PyCell_SET(outline_1_var___class__, tmp_assign_source_49); - Py_XDECREF(old); - } - - } - CHECK_OBJECT(Nuitka_Cell_GET(outline_1_var___class__)); - tmp_assign_source_48 = Nuitka_Cell_GET(outline_1_var___class__); - Py_INCREF(tmp_assign_source_48); - goto try_return_handler_9; - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_9:; - Py_DECREF(locals_models$medomni_bp$$$class__2_LayerNorm_39); - locals_models$medomni_bp$$$class__2_LayerNorm_39 = NULL; - goto try_return_handler_8; - // Exception handler code: - try_except_handler_9:; - 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; - - Py_DECREF(locals_models$medomni_bp$$$class__2_LayerNorm_39); - locals_models$medomni_bp$$$class__2_LayerNorm_39 = 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 try_except_handler_8; - // End of try: - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_8:; - 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_8:; - 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; - - CHECK_OBJECT(outline_1_var___class__); - Py_DECREF(outline_1_var___class__); - outline_1_var___class__ = 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 outline_exception_2; - // End of try: - NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); - return NULL; - outline_exception_2:; - exception_lineno = 39; - goto try_except_handler_7; - outline_result_2:; - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[76], tmp_assign_source_48); - } - goto try_end_5; - // Exception handler code: - try_except_handler_7:; - 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_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_9; - exception_value = exception_keeper_value_9; - exception_tb = exception_keeper_tb_9; - exception_lineno = exception_keeper_lineno_9; - - goto frame_exception_exit_1; - // End of try: - try_end_5:; - 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; - { - PyObject *tmp_assign_source_50; - - - tmp_assign_source_50 = MAKE_FUNCTION_models$medomni_bp$$$function__3_replace_batchnorm_2d(); - - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[12], tmp_assign_source_50); - } - { - PyObject *tmp_assign_source_51; - - - tmp_assign_source_51 = MAKE_FUNCTION_models$medomni_bp$$$function__4_dice_loss(); - - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[50], tmp_assign_source_51); - } - // Tried code: - { - PyObject *tmp_assign_source_52; - PyObject *tmp_tuple_element_9; - PyObject *tmp_expression_name_15; - tmp_expression_name_15 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[15]); - - if (unlikely(tmp_expression_name_15 == NULL)) { - tmp_expression_name_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]); - } - - if (tmp_expression_name_15 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 64; - - goto try_except_handler_10; - } - tmp_tuple_element_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_15, mod_consts[377]); - if (tmp_tuple_element_9 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 64; - - goto try_except_handler_10; - } - tmp_assign_source_52 = PyTuple_New(1); - PyTuple_SET_ITEM(tmp_assign_source_52, 0, tmp_tuple_element_9); - assert(tmp_class_creation_3__bases_orig == NULL); - tmp_class_creation_3__bases_orig = tmp_assign_source_52; - } - { - PyObject *tmp_assign_source_53; - 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_53 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); - } - if (tmp_assign_source_53 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 64; - - goto try_except_handler_10; - } - assert(tmp_class_creation_3__bases == NULL); - tmp_class_creation_3__bases = tmp_assign_source_53; - } - { - PyObject *tmp_assign_source_54; - tmp_assign_source_54 = PyDict_New(); - assert(tmp_class_creation_3__class_decl_dict == NULL); - tmp_class_creation_3__class_decl_dict = tmp_assign_source_54; - } - { - PyObject *tmp_assign_source_55; - 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_16; - PyObject *tmp_subscript_name_3; - PyObject *tmp_bases_name_3; - tmp_key_name_7 = mod_consts[123]; - 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[123]; - 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 = 64; - - goto try_except_handler_10; - } - 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 = 64; - - goto try_except_handler_10; - } - 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_16 = tmp_class_creation_3__bases; - tmp_subscript_name_3 = mod_consts[11]; - tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_16, 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 = 64; - - goto try_except_handler_10; - } - 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 = 64; - - goto try_except_handler_10; - } - 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_55 = SELECT_METACLASS(tmp_metaclass_name_3, tmp_bases_name_3); - Py_DECREF(tmp_metaclass_name_3); - if (tmp_assign_source_55 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 64; - - goto try_except_handler_10; - } - assert(tmp_class_creation_3__metaclass == NULL); - tmp_class_creation_3__metaclass = tmp_assign_source_55; - } - { - nuitka_bool tmp_condition_result_15; - PyObject *tmp_key_name_9; - PyObject *tmp_dict_arg_name_9; - tmp_key_name_9 = mod_consts[123]; - 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[123]; - 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 = 64; - - goto try_except_handler_10; - } - branch_no_9:; - { - nuitka_bool tmp_condition_result_16; - PyObject *tmp_expression_name_17; - CHECK_OBJECT(tmp_class_creation_3__metaclass); - tmp_expression_name_17 = tmp_class_creation_3__metaclass; - tmp_result = HAS_ATTR_BOOL(tmp_expression_name_17, mod_consts[124]); - 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_56; - PyObject *tmp_called_name_5; - PyObject *tmp_expression_name_18; - PyObject *tmp_args_name_5; - PyObject *tmp_tuple_element_10; - PyObject *tmp_kwargs_name_5; - CHECK_OBJECT(tmp_class_creation_3__metaclass); - tmp_expression_name_18 = tmp_class_creation_3__metaclass; - tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_18, mod_consts[124]); - if (tmp_called_name_5 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 64; - - goto try_except_handler_10; - } - tmp_tuple_element_10 = mod_consts[47]; - tmp_args_name_5 = PyTuple_New(2); - PyTuple_SET_ITEM0(tmp_args_name_5, 0, tmp_tuple_element_10); - CHECK_OBJECT(tmp_class_creation_3__bases); - tmp_tuple_element_10 = tmp_class_creation_3__bases; - PyTuple_SET_ITEM0(tmp_args_name_5, 1, tmp_tuple_element_10); - CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); - tmp_kwargs_name_5 = tmp_class_creation_3__class_decl_dict; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 64; - tmp_assign_source_56 = 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_56 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 64; - - goto try_except_handler_10; - } - assert(tmp_class_creation_3__prepared == NULL); - tmp_class_creation_3__prepared = tmp_assign_source_56; - } - { - nuitka_bool tmp_condition_result_17; - PyObject *tmp_operand_name_3; - PyObject *tmp_expression_name_19; - CHECK_OBJECT(tmp_class_creation_3__prepared); - tmp_expression_name_19 = tmp_class_creation_3__prepared; - tmp_result = HAS_ATTR_BOOL(tmp_expression_name_19, mod_consts[126]); - 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 = 64; - - goto try_except_handler_10; - } - 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_11; - 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[127]; - CHECK_OBJECT(tmp_class_creation_3__metaclass); - tmp_getattr_target_3 = tmp_class_creation_3__metaclass; - tmp_getattr_attr_3 = mod_consts[128]; - tmp_getattr_default_3 = mod_consts[129]; - tmp_tuple_element_11 = BUILTIN_GETATTR(tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3); - if (tmp_tuple_element_11 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 64; - - goto try_except_handler_10; - } - tmp_right_name_3 = PyTuple_New(2); - { - PyObject *tmp_expression_name_20; - PyObject *tmp_type_arg_6; - PyTuple_SET_ITEM(tmp_right_name_3, 0, tmp_tuple_element_11); - CHECK_OBJECT(tmp_class_creation_3__prepared); - tmp_type_arg_6 = tmp_class_creation_3__prepared; - tmp_expression_name_20 = BUILTIN_TYPE1(tmp_type_arg_6); - assert(!(tmp_expression_name_20 == NULL)); - tmp_tuple_element_11 = LOOKUP_ATTRIBUTE(tmp_expression_name_20, mod_consts[128]); - Py_DECREF(tmp_expression_name_20); - if (tmp_tuple_element_11 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 64; - - goto tuple_build_exception_3; - } - PyTuple_SET_ITEM(tmp_right_name_3, 1, tmp_tuple_element_11); - } - goto tuple_build_noexception_3; - // Exception handling pass through code for tuple_build: - tuple_build_exception_3:; - Py_DECREF(tmp_right_name_3); - goto try_except_handler_10; - // Finished with no exception for tuple_build: - tuple_build_noexception_3:; - 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 = 64; - - goto try_except_handler_10; - } - exception_type = tmp_raise_type_3; - Py_INCREF(tmp_raise_type_3); - exception_value = tmp_raise_value_3; - exception_lineno = 64; - RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); - - goto try_except_handler_10; - } - branch_no_11:; - goto branch_end_10; - branch_no_10:; - { - PyObject *tmp_assign_source_57; - tmp_assign_source_57 = PyDict_New(); - assert(tmp_class_creation_3__prepared == NULL); - tmp_class_creation_3__prepared = tmp_assign_source_57; - } - branch_end_10:; - { - PyObject *tmp_assign_source_58; - { - PyObject *tmp_set_locals_3; - CHECK_OBJECT(tmp_class_creation_3__prepared); - tmp_set_locals_3 = tmp_class_creation_3__prepared; - locals_models$medomni_bp$$$class__3_FocalLoss_64 = tmp_set_locals_3; - Py_INCREF(tmp_set_locals_3); - } - // Tried code: - // Tried code: - tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[128]); - - if (unlikely(tmp_dictset_value == NULL)) { - tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[128]); - } - - assert(!(tmp_dictset_value == NULL)); - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__3_FocalLoss_64, mod_consts[130], tmp_dictset_value); - if (tmp_res != 0) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 64; - - goto try_except_handler_12; - } - tmp_dictset_value = mod_consts[47]; - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__3_FocalLoss_64, mod_consts[132], tmp_dictset_value); - if (tmp_res != 0) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 64; - - goto try_except_handler_12; - } - if (isFrameUnusable(cache_frame_25d4492c6bc24c9ba55d89fcd7c18a51_4)) { - Py_XDECREF(cache_frame_25d4492c6bc24c9ba55d89fcd7c18a51_4); - -#if _DEBUG_REFCOUNTS - if (cache_frame_25d4492c6bc24c9ba55d89fcd7c18a51_4 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_25d4492c6bc24c9ba55d89fcd7c18a51_4 = MAKE_FUNCTION_FRAME(codeobj_25d4492c6bc24c9ba55d89fcd7c18a51, module_models$medomni_bp, sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - assert(cache_frame_25d4492c6bc24c9ba55d89fcd7c18a51_4->m_type_description == NULL); - frame_25d4492c6bc24c9ba55d89fcd7c18a51_4 = cache_frame_25d4492c6bc24c9ba55d89fcd7c18a51_4; - - // Push the new frame as the currently active one. - pushFrameStack(frame_25d4492c6bc24c9ba55d89fcd7c18a51_4); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_25d4492c6bc24c9ba55d89fcd7c18a51_4) == 2); // Frame stack - - // Framed code: - { - struct Nuitka_CellObject *tmp_closure_3[1]; - - tmp_closure_3[0] = outline_2_var___class__; - Py_INCREF(tmp_closure_3[0]); - - tmp_dictset_value = MAKE_FUNCTION_models$medomni_bp$$$function__5___init__(tmp_closure_3); - - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__3_FocalLoss_64, mod_consts[31], 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 = 65; - type_description_2 = "c"; - goto frame_exception_exit_4; - } - } - - - tmp_dictset_value = MAKE_FUNCTION_models$medomni_bp$$$function__6_forward(); - - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__3_FocalLoss_64, mod_consts[2], 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 = 69; - type_description_2 = "c"; - goto frame_exception_exit_4; - } - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_25d4492c6bc24c9ba55d89fcd7c18a51_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_25d4492c6bc24c9ba55d89fcd7c18a51_4); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_25d4492c6bc24c9ba55d89fcd7c18a51_4, exception_lineno); - } else if (exception_tb->tb_frame != &frame_25d4492c6bc24c9ba55d89fcd7c18a51_4->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_25d4492c6bc24c9ba55d89fcd7c18a51_4, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_25d4492c6bc24c9ba55d89fcd7c18a51_4, - type_description_2, - outline_2_var___class__ - ); - - - // Release cached frame if used for exception. - if (frame_25d4492c6bc24c9ba55d89fcd7c18a51_4 == cache_frame_25d4492c6bc24c9ba55d89fcd7c18a51_4) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_25d4492c6bc24c9ba55d89fcd7c18a51_4); - cache_frame_25d4492c6bc24c9ba55d89fcd7c18a51_4 = NULL; - } - - assertFrameObject(frame_25d4492c6bc24c9ba55d89fcd7c18a51_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_12; - 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 = 64; - - goto try_except_handler_12; - } - 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$medomni_bp$$$class__3_FocalLoss_64, mod_consts[134], tmp_dictset_value); - if (tmp_res != 0) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 64; - - goto try_except_handler_12; - } - branch_no_12:; - { - PyObject *tmp_assign_source_59; - PyObject *tmp_called_name_6; - PyObject *tmp_args_name_6; - PyObject *tmp_tuple_element_12; - PyObject *tmp_kwargs_name_6; - CHECK_OBJECT(tmp_class_creation_3__metaclass); - tmp_called_name_6 = tmp_class_creation_3__metaclass; - tmp_tuple_element_12 = mod_consts[47]; - tmp_args_name_6 = PyTuple_New(3); - PyTuple_SET_ITEM0(tmp_args_name_6, 0, tmp_tuple_element_12); - CHECK_OBJECT(tmp_class_creation_3__bases); - tmp_tuple_element_12 = tmp_class_creation_3__bases; - PyTuple_SET_ITEM0(tmp_args_name_6, 1, tmp_tuple_element_12); - tmp_tuple_element_12 = locals_models$medomni_bp$$$class__3_FocalLoss_64; - PyTuple_SET_ITEM0(tmp_args_name_6, 2, tmp_tuple_element_12); - CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); - tmp_kwargs_name_6 = tmp_class_creation_3__class_decl_dict; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 64; - tmp_assign_source_59 = CALL_FUNCTION(tmp_called_name_6, tmp_args_name_6, tmp_kwargs_name_6); - Py_DECREF(tmp_args_name_6); - if (tmp_assign_source_59 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 64; - - goto try_except_handler_12; - } - { - PyObject *old = Nuitka_Cell_GET(outline_2_var___class__); - PyCell_SET(outline_2_var___class__, tmp_assign_source_59); - Py_XDECREF(old); - } - - } - CHECK_OBJECT(Nuitka_Cell_GET(outline_2_var___class__)); - tmp_assign_source_58 = Nuitka_Cell_GET(outline_2_var___class__); - Py_INCREF(tmp_assign_source_58); - goto try_return_handler_12; - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_12:; - Py_DECREF(locals_models$medomni_bp$$$class__3_FocalLoss_64); - locals_models$medomni_bp$$$class__3_FocalLoss_64 = NULL; - goto try_return_handler_11; - // Exception handler code: - try_except_handler_12:; - 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; - - Py_DECREF(locals_models$medomni_bp$$$class__3_FocalLoss_64); - locals_models$medomni_bp$$$class__3_FocalLoss_64 = 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 try_except_handler_11; - // End of try: - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_11:; - 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_11:; - 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; - - CHECK_OBJECT(outline_2_var___class__); - Py_DECREF(outline_2_var___class__); - outline_2_var___class__ = 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 outline_exception_3; - // End of try: - NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); - return NULL; - outline_exception_3:; - exception_lineno = 64; - goto try_except_handler_10; - outline_result_3:; - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[47], tmp_assign_source_58); - } - goto try_end_6; - // Exception handler code: - try_except_handler_10:; - 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_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_12; - exception_value = exception_keeper_value_12; - exception_tb = exception_keeper_tb_12; - exception_lineno = exception_keeper_lineno_12; - - goto frame_exception_exit_1; - // End of try: - try_end_6:; - 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_60; - PyObject *tmp_tuple_element_13; - PyObject *tmp_expression_name_21; - tmp_expression_name_21 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[15]); - - if (unlikely(tmp_expression_name_21 == NULL)) { - tmp_expression_name_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]); - } - - if (tmp_expression_name_21 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 80; - - goto try_except_handler_13; - } - tmp_tuple_element_13 = LOOKUP_ATTRIBUTE(tmp_expression_name_21, mod_consts[377]); - if (tmp_tuple_element_13 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 80; - - goto try_except_handler_13; - } - tmp_assign_source_60 = PyTuple_New(1); - PyTuple_SET_ITEM(tmp_assign_source_60, 0, tmp_tuple_element_13); - assert(tmp_class_creation_4__bases_orig == NULL); - tmp_class_creation_4__bases_orig = tmp_assign_source_60; - } - { - PyObject *tmp_assign_source_61; - 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_61 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); - } - if (tmp_assign_source_61 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 80; - - goto try_except_handler_13; - } - assert(tmp_class_creation_4__bases == NULL); - tmp_class_creation_4__bases = tmp_assign_source_61; - } - { - PyObject *tmp_assign_source_62; - tmp_assign_source_62 = PyDict_New(); - assert(tmp_class_creation_4__class_decl_dict == NULL); - tmp_class_creation_4__class_decl_dict = tmp_assign_source_62; - } - { - PyObject *tmp_assign_source_63; - 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_22; - PyObject *tmp_subscript_name_4; - PyObject *tmp_bases_name_4; - tmp_key_name_10 = mod_consts[123]; - 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[123]; - 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 = 80; - - goto try_except_handler_13; - } - 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 = 80; - - goto try_except_handler_13; - } - 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_22 = tmp_class_creation_4__bases; - tmp_subscript_name_4 = mod_consts[11]; - tmp_type_arg_7 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_22, 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 = 80; - - goto try_except_handler_13; - } - 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 = 80; - - goto try_except_handler_13; - } - 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_63 = SELECT_METACLASS(tmp_metaclass_name_4, tmp_bases_name_4); - Py_DECREF(tmp_metaclass_name_4); - if (tmp_assign_source_63 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 80; - - goto try_except_handler_13; - } - assert(tmp_class_creation_4__metaclass == NULL); - tmp_class_creation_4__metaclass = tmp_assign_source_63; - } - { - nuitka_bool tmp_condition_result_21; - PyObject *tmp_key_name_12; - PyObject *tmp_dict_arg_name_12; - tmp_key_name_12 = mod_consts[123]; - 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[123]; - 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 = 80; - - goto try_except_handler_13; - } - branch_no_13:; - { - nuitka_bool tmp_condition_result_22; - PyObject *tmp_expression_name_23; - CHECK_OBJECT(tmp_class_creation_4__metaclass); - tmp_expression_name_23 = tmp_class_creation_4__metaclass; - tmp_result = HAS_ATTR_BOOL(tmp_expression_name_23, mod_consts[124]); - 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_64; - PyObject *tmp_called_name_7; - PyObject *tmp_expression_name_24; - PyObject *tmp_args_name_7; - PyObject *tmp_tuple_element_14; - PyObject *tmp_kwargs_name_7; - CHECK_OBJECT(tmp_class_creation_4__metaclass); - tmp_expression_name_24 = tmp_class_creation_4__metaclass; - tmp_called_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_24, mod_consts[124]); - if (tmp_called_name_7 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 80; - - goto try_except_handler_13; - } - tmp_tuple_element_14 = mod_consts[164]; - tmp_args_name_7 = PyTuple_New(2); - PyTuple_SET_ITEM0(tmp_args_name_7, 0, tmp_tuple_element_14); - CHECK_OBJECT(tmp_class_creation_4__bases); - tmp_tuple_element_14 = tmp_class_creation_4__bases; - PyTuple_SET_ITEM0(tmp_args_name_7, 1, tmp_tuple_element_14); - CHECK_OBJECT(tmp_class_creation_4__class_decl_dict); - tmp_kwargs_name_7 = tmp_class_creation_4__class_decl_dict; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 80; - tmp_assign_source_64 = 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_64 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 80; - - goto try_except_handler_13; - } - assert(tmp_class_creation_4__prepared == NULL); - tmp_class_creation_4__prepared = tmp_assign_source_64; - } - { - nuitka_bool tmp_condition_result_23; - PyObject *tmp_operand_name_4; - PyObject *tmp_expression_name_25; - CHECK_OBJECT(tmp_class_creation_4__prepared); - tmp_expression_name_25 = tmp_class_creation_4__prepared; - tmp_result = HAS_ATTR_BOOL(tmp_expression_name_25, mod_consts[126]); - 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 = 80; - - goto try_except_handler_13; - } - 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_15; - 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[127]; - CHECK_OBJECT(tmp_class_creation_4__metaclass); - tmp_getattr_target_4 = tmp_class_creation_4__metaclass; - tmp_getattr_attr_4 = mod_consts[128]; - tmp_getattr_default_4 = mod_consts[129]; - tmp_tuple_element_15 = BUILTIN_GETATTR(tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4); - if (tmp_tuple_element_15 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 80; - - goto try_except_handler_13; - } - tmp_right_name_4 = PyTuple_New(2); - { - PyObject *tmp_expression_name_26; - PyObject *tmp_type_arg_8; - PyTuple_SET_ITEM(tmp_right_name_4, 0, tmp_tuple_element_15); - CHECK_OBJECT(tmp_class_creation_4__prepared); - tmp_type_arg_8 = tmp_class_creation_4__prepared; - tmp_expression_name_26 = BUILTIN_TYPE1(tmp_type_arg_8); - assert(!(tmp_expression_name_26 == NULL)); - tmp_tuple_element_15 = LOOKUP_ATTRIBUTE(tmp_expression_name_26, mod_consts[128]); - Py_DECREF(tmp_expression_name_26); - if (tmp_tuple_element_15 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 80; - - goto tuple_build_exception_4; - } - PyTuple_SET_ITEM(tmp_right_name_4, 1, tmp_tuple_element_15); - } - goto tuple_build_noexception_4; - // Exception handling pass through code for tuple_build: - tuple_build_exception_4:; - Py_DECREF(tmp_right_name_4); - goto try_except_handler_13; - // Finished with no exception for tuple_build: - tuple_build_noexception_4:; - 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 = 80; - - goto try_except_handler_13; - } - exception_type = tmp_raise_type_4; - Py_INCREF(tmp_raise_type_4); - exception_value = tmp_raise_value_4; - exception_lineno = 80; - RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); - - goto try_except_handler_13; - } - branch_no_15:; - goto branch_end_14; - branch_no_14:; - { - PyObject *tmp_assign_source_65; - tmp_assign_source_65 = PyDict_New(); - assert(tmp_class_creation_4__prepared == NULL); - tmp_class_creation_4__prepared = tmp_assign_source_65; - } - branch_end_14:; - { - PyObject *tmp_assign_source_66; - { - PyObject *tmp_set_locals_4; - CHECK_OBJECT(tmp_class_creation_4__prepared); - tmp_set_locals_4 = tmp_class_creation_4__prepared; - locals_models$medomni_bp$$$class__4_MixedLoss_80 = tmp_set_locals_4; - Py_INCREF(tmp_set_locals_4); - } - // Tried code: - // Tried code: - tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[128]); - - if (unlikely(tmp_dictset_value == NULL)) { - tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[128]); - } - - assert(!(tmp_dictset_value == NULL)); - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__4_MixedLoss_80, mod_consts[130], tmp_dictset_value); - if (tmp_res != 0) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 80; - - goto try_except_handler_15; - } - tmp_dictset_value = mod_consts[164]; - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__4_MixedLoss_80, mod_consts[132], tmp_dictset_value); - if (tmp_res != 0) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 80; - - goto try_except_handler_15; - } - if (isFrameUnusable(cache_frame_aee592ce980fa3c1d3fed78e1558148c_5)) { - Py_XDECREF(cache_frame_aee592ce980fa3c1d3fed78e1558148c_5); - -#if _DEBUG_REFCOUNTS - if (cache_frame_aee592ce980fa3c1d3fed78e1558148c_5 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_aee592ce980fa3c1d3fed78e1558148c_5 = MAKE_FUNCTION_FRAME(codeobj_aee592ce980fa3c1d3fed78e1558148c, module_models$medomni_bp, sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - assert(cache_frame_aee592ce980fa3c1d3fed78e1558148c_5->m_type_description == NULL); - frame_aee592ce980fa3c1d3fed78e1558148c_5 = cache_frame_aee592ce980fa3c1d3fed78e1558148c_5; - - // Push the new frame as the currently active one. - pushFrameStack(frame_aee592ce980fa3c1d3fed78e1558148c_5); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_aee592ce980fa3c1d3fed78e1558148c_5) == 2); // Frame stack - - // Framed code: - { - struct Nuitka_CellObject *tmp_closure_4[1]; - - tmp_closure_4[0] = outline_3_var___class__; - Py_INCREF(tmp_closure_4[0]); - - tmp_dictset_value = MAKE_FUNCTION_models$medomni_bp$$$function__7___init__(tmp_closure_4); - - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__4_MixedLoss_80, mod_consts[31], 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 = 81; - type_description_2 = "c"; - goto frame_exception_exit_5; - } - } - - - tmp_dictset_value = MAKE_FUNCTION_models$medomni_bp$$$function__8_forward(); - - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__4_MixedLoss_80, mod_consts[2], 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 = 86; - type_description_2 = "c"; - goto frame_exception_exit_5; - } - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_aee592ce980fa3c1d3fed78e1558148c_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_aee592ce980fa3c1d3fed78e1558148c_5); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_aee592ce980fa3c1d3fed78e1558148c_5, exception_lineno); - } else if (exception_tb->tb_frame != &frame_aee592ce980fa3c1d3fed78e1558148c_5->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_aee592ce980fa3c1d3fed78e1558148c_5, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_aee592ce980fa3c1d3fed78e1558148c_5, - type_description_2, - outline_3_var___class__ - ); - - - // Release cached frame if used for exception. - if (frame_aee592ce980fa3c1d3fed78e1558148c_5 == cache_frame_aee592ce980fa3c1d3fed78e1558148c_5) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_aee592ce980fa3c1d3fed78e1558148c_5); - cache_frame_aee592ce980fa3c1d3fed78e1558148c_5 = NULL; - } - - assertFrameObject(frame_aee592ce980fa3c1d3fed78e1558148c_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_15; - 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 = 80; - - goto try_except_handler_15; - } - 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$medomni_bp$$$class__4_MixedLoss_80, mod_consts[134], tmp_dictset_value); - if (tmp_res != 0) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 80; - - goto try_except_handler_15; - } - branch_no_16:; - { - PyObject *tmp_assign_source_67; - PyObject *tmp_called_name_8; - PyObject *tmp_args_name_8; - PyObject *tmp_tuple_element_16; - PyObject *tmp_kwargs_name_8; - CHECK_OBJECT(tmp_class_creation_4__metaclass); - tmp_called_name_8 = tmp_class_creation_4__metaclass; - tmp_tuple_element_16 = mod_consts[164]; - tmp_args_name_8 = PyTuple_New(3); - PyTuple_SET_ITEM0(tmp_args_name_8, 0, tmp_tuple_element_16); - CHECK_OBJECT(tmp_class_creation_4__bases); - tmp_tuple_element_16 = tmp_class_creation_4__bases; - PyTuple_SET_ITEM0(tmp_args_name_8, 1, tmp_tuple_element_16); - tmp_tuple_element_16 = locals_models$medomni_bp$$$class__4_MixedLoss_80; - PyTuple_SET_ITEM0(tmp_args_name_8, 2, tmp_tuple_element_16); - CHECK_OBJECT(tmp_class_creation_4__class_decl_dict); - tmp_kwargs_name_8 = tmp_class_creation_4__class_decl_dict; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 80; - tmp_assign_source_67 = CALL_FUNCTION(tmp_called_name_8, tmp_args_name_8, tmp_kwargs_name_8); - Py_DECREF(tmp_args_name_8); - if (tmp_assign_source_67 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 80; - - goto try_except_handler_15; - } - { - PyObject *old = Nuitka_Cell_GET(outline_3_var___class__); - PyCell_SET(outline_3_var___class__, tmp_assign_source_67); - Py_XDECREF(old); - } - - } - CHECK_OBJECT(Nuitka_Cell_GET(outline_3_var___class__)); - tmp_assign_source_66 = Nuitka_Cell_GET(outline_3_var___class__); - Py_INCREF(tmp_assign_source_66); - goto try_return_handler_15; - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_15:; - Py_DECREF(locals_models$medomni_bp$$$class__4_MixedLoss_80); - locals_models$medomni_bp$$$class__4_MixedLoss_80 = NULL; - goto try_return_handler_14; - // Exception handler code: - try_except_handler_15:; - 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; - - Py_DECREF(locals_models$medomni_bp$$$class__4_MixedLoss_80); - locals_models$medomni_bp$$$class__4_MixedLoss_80 = 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 try_except_handler_14; - // End of try: - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_14:; - 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_14:; - 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; - - CHECK_OBJECT(outline_3_var___class__); - Py_DECREF(outline_3_var___class__); - outline_3_var___class__ = 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 outline_exception_4; - // End of try: - NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); - return NULL; - outline_exception_4:; - exception_lineno = 80; - goto try_except_handler_13; - outline_result_4:; - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[164], tmp_assign_source_66); - } - goto try_end_7; - // Exception handler code: - try_except_handler_13:; - 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_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_15; - exception_value = exception_keeper_value_15; - exception_tb = exception_keeper_tb_15; - exception_lineno = exception_keeper_lineno_15; - - goto frame_exception_exit_1; - // End of try: - try_end_7:; - 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; - { - PyObject *tmp_assign_source_68; - - - tmp_assign_source_68 = MAKE_FUNCTION_models$medomni_bp$$$function__9_trans_seg(); - - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[382], tmp_assign_source_68); - } - { - PyObject *tmp_assign_source_69; - - - tmp_assign_source_69 = MAKE_FUNCTION_models$medomni_bp$$$function__10_trans_det(); - - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[287], tmp_assign_source_69); - } - { - PyObject *tmp_assign_source_70; - - - tmp_assign_source_70 = MAKE_FUNCTION_models$medomni_bp$$$function__11_trans_keypoint(); - - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[293], tmp_assign_source_70); - } - // Tried code: - { - PyObject *tmp_assign_source_71; - PyObject *tmp_tuple_element_17; - tmp_tuple_element_17 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[347]); - - if (unlikely(tmp_tuple_element_17 == NULL)) { - tmp_tuple_element_17 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[347]); - } - - if (tmp_tuple_element_17 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 133; - - goto try_except_handler_16; - } - tmp_assign_source_71 = PyTuple_New(1); - PyTuple_SET_ITEM0(tmp_assign_source_71, 0, tmp_tuple_element_17); - assert(tmp_class_creation_5__bases_orig == NULL); - tmp_class_creation_5__bases_orig = tmp_assign_source_71; - } - { - PyObject *tmp_assign_source_72; - 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_72 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); - } - if (tmp_assign_source_72 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 133; - - goto try_except_handler_16; - } - assert(tmp_class_creation_5__bases == NULL); - tmp_class_creation_5__bases = tmp_assign_source_72; - } - { - PyObject *tmp_assign_source_73; - tmp_assign_source_73 = PyDict_New(); - assert(tmp_class_creation_5__class_decl_dict == NULL); - tmp_class_creation_5__class_decl_dict = tmp_assign_source_73; - } - { - PyObject *tmp_assign_source_74; - 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_27; - PyObject *tmp_subscript_name_5; - PyObject *tmp_bases_name_5; - tmp_key_name_13 = mod_consts[123]; - 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[123]; - 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 = 133; - - goto try_except_handler_16; - } - 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 = 133; - - goto try_except_handler_16; - } - 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_27 = tmp_class_creation_5__bases; - tmp_subscript_name_5 = mod_consts[11]; - tmp_type_arg_9 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_27, 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 = 133; - - goto try_except_handler_16; - } - 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 = 133; - - goto try_except_handler_16; - } - 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_74 = SELECT_METACLASS(tmp_metaclass_name_5, tmp_bases_name_5); - Py_DECREF(tmp_metaclass_name_5); - if (tmp_assign_source_74 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 133; - - goto try_except_handler_16; - } - assert(tmp_class_creation_5__metaclass == NULL); - tmp_class_creation_5__metaclass = tmp_assign_source_74; - } - { - nuitka_bool tmp_condition_result_27; - PyObject *tmp_key_name_15; - PyObject *tmp_dict_arg_name_15; - tmp_key_name_15 = mod_consts[123]; - 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[123]; - 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 = 133; - - goto try_except_handler_16; - } - branch_no_17:; - { - nuitka_bool tmp_condition_result_28; - PyObject *tmp_expression_name_28; - CHECK_OBJECT(tmp_class_creation_5__metaclass); - tmp_expression_name_28 = tmp_class_creation_5__metaclass; - tmp_result = HAS_ATTR_BOOL(tmp_expression_name_28, mod_consts[124]); - 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_75; - PyObject *tmp_called_name_9; - PyObject *tmp_expression_name_29; - PyObject *tmp_args_name_9; - PyObject *tmp_tuple_element_18; - PyObject *tmp_kwargs_name_9; - CHECK_OBJECT(tmp_class_creation_5__metaclass); - tmp_expression_name_29 = tmp_class_creation_5__metaclass; - tmp_called_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_29, mod_consts[124]); - if (tmp_called_name_9 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 133; - - goto try_except_handler_16; - } - tmp_tuple_element_18 = mod_consts[383]; - tmp_args_name_9 = PyTuple_New(2); - PyTuple_SET_ITEM0(tmp_args_name_9, 0, tmp_tuple_element_18); - CHECK_OBJECT(tmp_class_creation_5__bases); - tmp_tuple_element_18 = tmp_class_creation_5__bases; - PyTuple_SET_ITEM0(tmp_args_name_9, 1, tmp_tuple_element_18); - CHECK_OBJECT(tmp_class_creation_5__class_decl_dict); - tmp_kwargs_name_9 = tmp_class_creation_5__class_decl_dict; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 133; - tmp_assign_source_75 = 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_75 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 133; - - goto try_except_handler_16; - } - assert(tmp_class_creation_5__prepared == NULL); - tmp_class_creation_5__prepared = tmp_assign_source_75; - } - { - nuitka_bool tmp_condition_result_29; - PyObject *tmp_operand_name_5; - PyObject *tmp_expression_name_30; - CHECK_OBJECT(tmp_class_creation_5__prepared); - tmp_expression_name_30 = tmp_class_creation_5__prepared; - tmp_result = HAS_ATTR_BOOL(tmp_expression_name_30, mod_consts[126]); - 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 = 133; - - goto try_except_handler_16; - } - 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_19; - 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[127]; - CHECK_OBJECT(tmp_class_creation_5__metaclass); - tmp_getattr_target_5 = tmp_class_creation_5__metaclass; - tmp_getattr_attr_5 = mod_consts[128]; - tmp_getattr_default_5 = mod_consts[129]; - tmp_tuple_element_19 = BUILTIN_GETATTR(tmp_getattr_target_5, tmp_getattr_attr_5, tmp_getattr_default_5); - if (tmp_tuple_element_19 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 133; - - goto try_except_handler_16; - } - tmp_right_name_5 = PyTuple_New(2); - { - PyObject *tmp_expression_name_31; - PyObject *tmp_type_arg_10; - PyTuple_SET_ITEM(tmp_right_name_5, 0, tmp_tuple_element_19); - CHECK_OBJECT(tmp_class_creation_5__prepared); - tmp_type_arg_10 = tmp_class_creation_5__prepared; - tmp_expression_name_31 = BUILTIN_TYPE1(tmp_type_arg_10); - assert(!(tmp_expression_name_31 == NULL)); - tmp_tuple_element_19 = LOOKUP_ATTRIBUTE(tmp_expression_name_31, mod_consts[128]); - Py_DECREF(tmp_expression_name_31); - if (tmp_tuple_element_19 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 133; - - goto tuple_build_exception_5; - } - PyTuple_SET_ITEM(tmp_right_name_5, 1, tmp_tuple_element_19); - } - goto tuple_build_noexception_5; - // Exception handling pass through code for tuple_build: - tuple_build_exception_5:; - Py_DECREF(tmp_right_name_5); - goto try_except_handler_16; - // Finished with no exception for tuple_build: - tuple_build_noexception_5:; - 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 = 133; - - goto try_except_handler_16; - } - exception_type = tmp_raise_type_5; - Py_INCREF(tmp_raise_type_5); - exception_value = tmp_raise_value_5; - exception_lineno = 133; - RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); - - goto try_except_handler_16; - } - branch_no_19:; - goto branch_end_18; - branch_no_18:; - { - PyObject *tmp_assign_source_76; - tmp_assign_source_76 = PyDict_New(); - assert(tmp_class_creation_5__prepared == NULL); - tmp_class_creation_5__prepared = tmp_assign_source_76; - } - branch_end_18:; - { - PyObject *tmp_assign_source_77; - PyObject *tmp_called_name_10; - PyObject *tmp_called_instance_1; - PyObject *tmp_args_element_name_1; - tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[344]); - - if (unlikely(tmp_called_instance_1 == NULL)) { - tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[344]); - } - - if (tmp_called_instance_1 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 132; - - goto try_except_handler_16; - } - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 132; - tmp_called_name_10 = CALL_METHOD_WITH_ARGS1( - tmp_called_instance_1, - mod_consts[384], - &PyTuple_GET_ITEM(mod_consts[385], 0) - ); - - if (tmp_called_name_10 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 132; - - goto try_except_handler_16; - } - { - PyObject *tmp_set_locals_5; - CHECK_OBJECT(tmp_class_creation_5__prepared); - tmp_set_locals_5 = tmp_class_creation_5__prepared; - locals_models$medomni_bp$$$class__5_MedOmni_133 = tmp_set_locals_5; - Py_INCREF(tmp_set_locals_5); - } - // Tried code: - // Tried code: - tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[128]); - - if (unlikely(tmp_dictset_value == NULL)) { - tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[128]); - } - - assert(!(tmp_dictset_value == NULL)); - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__5_MedOmni_133, mod_consts[130], tmp_dictset_value); - if (tmp_res != 0) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 133; - - goto try_except_handler_18; - } - tmp_dictset_value = mod_consts[383]; - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__5_MedOmni_133, mod_consts[132], tmp_dictset_value); - if (tmp_res != 0) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 133; - - goto try_except_handler_18; - } - if (isFrameUnusable(cache_frame_9f24eb05d199684a8b5a54133678fb42_6)) { - Py_XDECREF(cache_frame_9f24eb05d199684a8b5a54133678fb42_6); - -#if _DEBUG_REFCOUNTS - if (cache_frame_9f24eb05d199684a8b5a54133678fb42_6 == NULL) { - count_active_frame_cache_instances += 1; - } else { - count_released_frame_cache_instances += 1; - } - count_allocated_frame_cache_instances += 1; -#endif - cache_frame_9f24eb05d199684a8b5a54133678fb42_6 = MAKE_FUNCTION_FRAME(codeobj_9f24eb05d199684a8b5a54133678fb42, module_models$medomni_bp, sizeof(void *)); -#if _DEBUG_REFCOUNTS - } else { - count_hit_frame_cache_instances += 1; -#endif - } - assert(cache_frame_9f24eb05d199684a8b5a54133678fb42_6->m_type_description == NULL); - frame_9f24eb05d199684a8b5a54133678fb42_6 = cache_frame_9f24eb05d199684a8b5a54133678fb42_6; - - // Push the new frame as the currently active one. - pushFrameStack(frame_9f24eb05d199684a8b5a54133678fb42_6); - - // Mark the frame object as in use, ref count 1 will be up for reuse. - assert(Py_REFCNT(frame_9f24eb05d199684a8b5a54133678fb42_6) == 2); // Frame stack - - // Framed code: - tmp_dictset_value = PyDict_Copy(mod_consts[386]); - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__5_MedOmni_133, mod_consts[387], 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 = 134; - type_description_2 = "c"; - goto frame_exception_exit_6; - } - { - PyObject *tmp_defaults_1; - struct Nuitka_CellObject *tmp_closure_5[1]; - tmp_defaults_1 = mod_consts[388]; - Py_INCREF(tmp_defaults_1); - - tmp_closure_5[0] = outline_4_var___class__; - Py_INCREF(tmp_closure_5[0]); - - tmp_dictset_value = MAKE_FUNCTION_models$medomni_bp$$$function__12___init__(tmp_defaults_1, tmp_closure_5); - - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__5_MedOmni_133, mod_consts[31], 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 = 138; - type_description_2 = "c"; - goto frame_exception_exit_6; - } - } - - - tmp_dictset_value = MAKE_FUNCTION_models$medomni_bp$$$function__13_vit_to_cpu(); - - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__5_MedOmni_133, 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 = 276; - type_description_2 = "c"; - goto frame_exception_exit_6; - } - - - tmp_dictset_value = MAKE_FUNCTION_models$medomni_bp$$$function__14_encode_img(); - - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__5_MedOmni_133, mod_consts[231], 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 = 282; - type_description_2 = "c"; - goto frame_exception_exit_6; - } - - - tmp_dictset_value = MAKE_FUNCTION_models$medomni_bp$$$function__15_prompt_concat(); - - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__5_MedOmni_133, mod_consts[264], 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 = 315; - type_description_2 = "c"; - goto frame_exception_exit_6; - } - { - PyObject *tmp_defaults_2; - tmp_defaults_2 = mod_consts[393]; - Py_INCREF(tmp_defaults_2); - - - tmp_dictset_value = MAKE_FUNCTION_models$medomni_bp$$$function__16_prompt_wrap(tmp_defaults_2); - - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__5_MedOmni_133, mod_consts[248], 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 = 325; - type_description_2 = "c"; - goto frame_exception_exit_6; - } - } - - - tmp_dictset_value = MAKE_FUNCTION_models$medomni_bp$$$function__17_forward(); - - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__5_MedOmni_133, mod_consts[2], 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 = 345; - type_description_2 = "c"; - goto frame_exception_exit_6; - } - { - nuitka_bool tmp_condition_result_30; - PyObject *tmp_called_name_11; - PyObject *tmp_args_element_name_2; - PyObject *tmp_defaults_3; - PyObject *tmp_classmethod_arg_1; - PyObject *tmp_defaults_4; - tmp_res = MAPPING_HAS_ITEM(locals_models$medomni_bp$$$class__5_MedOmni_133, mod_consts[396]); - - if (tmp_res == -1) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 486; - type_description_2 = "c"; - goto frame_exception_exit_6; - } - tmp_condition_result_30 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; - if (tmp_condition_result_30 == NUITKA_BOOL_TRUE) { - goto condexpr_true_11; - } else { - goto condexpr_false_11; - } - condexpr_true_11:; - tmp_called_name_11 = PyObject_GetItem(locals_models$medomni_bp$$$class__5_MedOmni_133, mod_consts[396]); - - if (unlikely(tmp_called_name_11 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) { - - FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[396]); - NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); - CHAIN_EXCEPTION(exception_value); - - exception_lineno = 486; - type_description_2 = "c"; - goto frame_exception_exit_6; - } - - if (tmp_called_name_11 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 486; - type_description_2 = "c"; - goto frame_exception_exit_6; - } - tmp_defaults_3 = mod_consts[397]; - Py_INCREF(tmp_defaults_3); - - - tmp_args_element_name_2 = MAKE_FUNCTION_models$medomni_bp$$$function__18_from_config(tmp_defaults_3); - - frame_9f24eb05d199684a8b5a54133678fb42_6->m_frame.f_lineno = 486; - tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_11, tmp_args_element_name_2); - Py_DECREF(tmp_called_name_11); - Py_DECREF(tmp_args_element_name_2); - if (tmp_dictset_value == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 486; - type_description_2 = "c"; - goto frame_exception_exit_6; - } - goto condexpr_end_11; - condexpr_false_11:; - tmp_defaults_4 = mod_consts[397]; - Py_INCREF(tmp_defaults_4); - - - tmp_classmethod_arg_1 = MAKE_FUNCTION_models$medomni_bp$$$function__18_from_config(tmp_defaults_4); - - tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_1); - Py_DECREF(tmp_classmethod_arg_1); - assert(!(tmp_dictset_value == NULL)); - condexpr_end_11:; - tmp_res = PyObject_SetItem(locals_models$medomni_bp$$$class__5_MedOmni_133, mod_consts[398], 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 = 487; - type_description_2 = "c"; - goto frame_exception_exit_6; - } - } - -#if 0 - RESTORE_FRAME_EXCEPTION(frame_9f24eb05d199684a8b5a54133678fb42_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_9f24eb05d199684a8b5a54133678fb42_6); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_9f24eb05d199684a8b5a54133678fb42_6, exception_lineno); - } else if (exception_tb->tb_frame != &frame_9f24eb05d199684a8b5a54133678fb42_6->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_9f24eb05d199684a8b5a54133678fb42_6, exception_lineno); - } - - // Attaches locals to frame if any. - Nuitka_Frame_AttachLocals( - frame_9f24eb05d199684a8b5a54133678fb42_6, - type_description_2, - outline_4_var___class__ - ); - - - // Release cached frame if used for exception. - if (frame_9f24eb05d199684a8b5a54133678fb42_6 == cache_frame_9f24eb05d199684a8b5a54133678fb42_6) { -#if _DEBUG_REFCOUNTS - count_active_frame_cache_instances -= 1; - count_released_frame_cache_instances += 1; -#endif - - Py_DECREF(cache_frame_9f24eb05d199684a8b5a54133678fb42_6); - cache_frame_9f24eb05d199684a8b5a54133678fb42_6 = NULL; - } - - assertFrameObject(frame_9f24eb05d199684a8b5a54133678fb42_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_18; - skip_nested_handling_5:; - { - nuitka_bool tmp_condition_result_31; - 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_31 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_5, tmp_compexpr_right_5); - if (tmp_condition_result_31 == NUITKA_BOOL_EXCEPTION) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 133; - - goto try_except_handler_18; - } - if (tmp_condition_result_31 == NUITKA_BOOL_TRUE) { - goto branch_yes_20; - } else { - goto branch_no_20; - } - assert(tmp_condition_result_31 != 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$medomni_bp$$$class__5_MedOmni_133, mod_consts[134], tmp_dictset_value); - if (tmp_res != 0) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 133; - - goto try_except_handler_18; - } - branch_no_20:; - { - PyObject *tmp_assign_source_78; - PyObject *tmp_called_name_12; - PyObject *tmp_args_name_10; - PyObject *tmp_tuple_element_20; - PyObject *tmp_kwargs_name_10; - CHECK_OBJECT(tmp_class_creation_5__metaclass); - tmp_called_name_12 = tmp_class_creation_5__metaclass; - tmp_tuple_element_20 = mod_consts[383]; - tmp_args_name_10 = PyTuple_New(3); - PyTuple_SET_ITEM0(tmp_args_name_10, 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_10, 1, tmp_tuple_element_20); - tmp_tuple_element_20 = locals_models$medomni_bp$$$class__5_MedOmni_133; - PyTuple_SET_ITEM0(tmp_args_name_10, 2, tmp_tuple_element_20); - CHECK_OBJECT(tmp_class_creation_5__class_decl_dict); - tmp_kwargs_name_10 = tmp_class_creation_5__class_decl_dict; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 133; - tmp_assign_source_78 = CALL_FUNCTION(tmp_called_name_12, tmp_args_name_10, tmp_kwargs_name_10); - Py_DECREF(tmp_args_name_10); - if (tmp_assign_source_78 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 133; - - goto try_except_handler_18; - } - { - PyObject *old = Nuitka_Cell_GET(outline_4_var___class__); - PyCell_SET(outline_4_var___class__, tmp_assign_source_78); - Py_XDECREF(old); - } - - } - CHECK_OBJECT(Nuitka_Cell_GET(outline_4_var___class__)); - tmp_args_element_name_1 = Nuitka_Cell_GET(outline_4_var___class__); - Py_INCREF(tmp_args_element_name_1); - goto try_return_handler_18; - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_18:; - Py_DECREF(locals_models$medomni_bp$$$class__5_MedOmni_133); - locals_models$medomni_bp$$$class__5_MedOmni_133 = NULL; - goto try_return_handler_17; - // Exception handler code: - try_except_handler_18:; - 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; - - Py_DECREF(locals_models$medomni_bp$$$class__5_MedOmni_133); - locals_models$medomni_bp$$$class__5_MedOmni_133 = 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 try_except_handler_17; - // End of try: - NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); - return NULL; - // Return handler code: - try_return_handler_17:; - 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_17:; - 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; - - CHECK_OBJECT(outline_4_var___class__); - Py_DECREF(outline_4_var___class__); - outline_4_var___class__ = 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 outline_exception_5; - // End of try: - NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); - return NULL; - outline_exception_5:; - exception_lineno = 133; - goto try_except_handler_16; - outline_result_5:; - frame_63b85d45078d5c768ad6f82e6838a770->m_frame.f_lineno = 132; - tmp_assign_source_77 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_10, tmp_args_element_name_1); - Py_DECREF(tmp_called_name_10); - Py_DECREF(tmp_args_element_name_1); - if (tmp_assign_source_77 == NULL) { - assert(ERROR_OCCURRED()); - - FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); - - - exception_lineno = 132; - - goto try_except_handler_16; - } - UPDATE_STRING_DICT1(moduledict_models$medomni_bp, (Nuitka_StringObject *)mod_consts[383], tmp_assign_source_77); - } - goto try_end_8; - // Exception handler code: - try_except_handler_16:; - 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_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_18; - exception_value = exception_keeper_value_18; - exception_tb = exception_keeper_tb_18; - exception_lineno = exception_keeper_lineno_18; - - goto frame_exception_exit_1; - // End of try: - try_end_8:; - - // Restore frame exception if necessary. -#if 0 - RESTORE_FRAME_EXCEPTION(frame_63b85d45078d5c768ad6f82e6838a770); -#endif - popFrameStack(); - - assertFrameObject(frame_63b85d45078d5c768ad6f82e6838a770); - - goto frame_no_exception_6; - - frame_exception_exit_1:; -#if 0 - RESTORE_FRAME_EXCEPTION(frame_63b85d45078d5c768ad6f82e6838a770); -#endif - - if (exception_tb == NULL) { - exception_tb = MAKE_TRACEBACK(frame_63b85d45078d5c768ad6f82e6838a770, exception_lineno); - } else if (exception_tb->tb_frame != &frame_63b85d45078d5c768ad6f82e6838a770->m_frame) { - exception_tb = ADD_TRACEBACK(exception_tb, frame_63b85d45078d5c768ad6f82e6838a770, exception_lineno); - } - - // Put the previous frame back on top. - popFrameStack(); - - // Return the error. - goto module_exception_exit; - - frame_no_exception_6:; - 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; - - return module_models$medomni_bp; - module_exception_exit: - RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); - return NULL; -} -