/* Generated code for Python module 'models.unet3d.model' * 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$unet3d$model" 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$unet3d$model; PyDictObject *moduledict_models$unet3d$model; /* The declarations of module constants used, if any. */ static PyObject *mod_consts[93]; 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.unet3d.model")); 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$unet3d$model(void) { // The module may not have been used at all, then ignore this. if (constants_created == false) return; checkConstantsBlob(&mod_consts[0], "models.unet3d.model"); } #endif // The module code objects. static PyCodeObject *codeobj_538bf138f16ddd30bd4432efc7d5498a; static PyCodeObject *codeobj_b5da0c44f22792dfa8a94b4b1fe8119b; static PyCodeObject *codeobj_438d3b3c3982ede956dae212fa0b4596; static PyCodeObject *codeobj_66dcfe6c36e3c070fdf25ab6c2a0819a; static PyCodeObject *codeobj_c371277ecadaa6cb8a18001c7c4d4b3e; static PyCodeObject *codeobj_f44960d4216ed8d0e937c723e3b8d8d4; static PyCodeObject *codeobj_51da46b11dde7fe87fa78ae11e571319; static PyCodeObject *codeobj_9de03121238718fe61005599f38a044f; static PyCodeObject *codeobj_3116fec32f6a5f4e31d5d3e585bd3333; static PyCodeObject *codeobj_9b298f490523c36773ed9783dc1c23cf; static PyCodeObject *codeobj_7934fa0ecb71b0b58d81131b301d2c27; static PyCodeObject *codeobj_95451eaf439dd4fb0254dd53bb5f4c7d; static PyCodeObject *codeobj_e9e7131d00b24773e6e44e82c425f784; static void createModuleCodeObjects(void) { module_filename_obj = MAKE_RELATIVE_PATH(mod_consts[86]); CHECK_OBJECT(module_filename_obj); codeobj_538bf138f16ddd30bd4432efc7d5498a = MAKE_CODEOBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[87], NULL, NULL, 0, 0, 0); codeobj_b5da0c44f22792dfa8a94b4b1fe8119b = MAKE_CODEOBJECT(module_filename_obj, 9, CO_NOFREE, mod_consts[0], mod_consts[88], NULL, 0, 0, 0); codeobj_438d3b3c3982ede956dae212fa0b4596 = MAKE_CODEOBJECT(module_filename_obj, 128, CO_NOFREE, mod_consts[40], mod_consts[88], NULL, 0, 0, 0); codeobj_66dcfe6c36e3c070fdf25ab6c2a0819a = MAKE_CODEOBJECT(module_filename_obj, 151, CO_NOFREE, mod_consts[42], mod_consts[88], NULL, 0, 0, 0); codeobj_c371277ecadaa6cb8a18001c7c4d4b3e = MAKE_CODEOBJECT(module_filename_obj, 176, CO_NOFREE, mod_consts[44], mod_consts[88], NULL, 0, 0, 0); codeobj_f44960d4216ed8d0e937c723e3b8d8d4 = MAKE_CODEOBJECT(module_filename_obj, 104, CO_NOFREE, mod_consts[29], mod_consts[88], NULL, 0, 0, 0); codeobj_51da46b11dde7fe87fa78ae11e571319 = MAKE_CODEOBJECT(module_filename_obj, 39, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[1], mod_consts[89], NULL, 14, 0, 0); codeobj_9de03121238718fe61005599f38a044f = MAKE_CODEOBJECT(module_filename_obj, 113, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[1], mod_consts[90], NULL, 10, 0, 0); codeobj_3116fec32f6a5f4e31d5d3e585bd3333 = MAKE_CODEOBJECT(module_filename_obj, 136, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[1], mod_consts[90], NULL, 10, 0, 0); codeobj_9b298f490523c36773ed9783dc1c23cf = MAKE_CODEOBJECT(module_filename_obj, 161, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[1], mod_consts[90], NULL, 10, 0, 0); codeobj_7934fa0ecb71b0b58d81131b301d2c27 = MAKE_CODEOBJECT(module_filename_obj, 182, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[1], mod_consts[90], NULL, 10, 0, 0); codeobj_95451eaf439dd4fb0254dd53bb5f4c7d = MAKE_CODEOBJECT(module_filename_obj, 76, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[72], mod_consts[91], NULL, 2, 0, 0); codeobj_e9e7131d00b24773e6e44e82c425f784 = MAKE_CODEOBJECT(module_filename_obj, 197, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[85], mod_consts[92], NULL, 1, 0, 0); } // The module function declarations. NUITKA_CROSS_MODULE PyObject *impl_models$$$function__1__mro_entries_conversion(PyObject **python_pars); NUITKA_CROSS_MODULE PyObject *impl_models$$$function__8_complex_call_helper_star_dict(PyObject **python_pars); static PyObject *MAKE_FUNCTION_models$unet3d$model$$$function__1___init__(PyObject *defaults); static PyObject *MAKE_FUNCTION_models$unet3d$model$$$function__2_forward(); static PyObject *MAKE_FUNCTION_models$unet3d$model$$$function__3___init__(PyObject *defaults); static PyObject *MAKE_FUNCTION_models$unet3d$model$$$function__4___init__(PyObject *defaults); static PyObject *MAKE_FUNCTION_models$unet3d$model$$$function__5___init__(PyObject *defaults); static PyObject *MAKE_FUNCTION_models$unet3d$model$$$function__6___init__(PyObject *defaults); static PyObject *MAKE_FUNCTION_models$unet3d$model$$$function__7_get_model(); // The module function definitions. static PyObject *impl_models$unet3d$model$$$function__1___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_in_channels = python_pars[1]; PyObject *par_out_channels = python_pars[2]; PyObject *par_final_sigmoid = python_pars[3]; PyObject *par_basic_module = python_pars[4]; PyObject *par_f_maps = python_pars[5]; PyObject *par_layer_order = python_pars[6]; PyObject *par_num_groups = python_pars[7]; PyObject *par_num_levels = python_pars[8]; PyObject *par_is_segmentation = python_pars[9]; PyObject *par_conv_kernel_size = python_pars[10]; PyObject *par_pool_kernel_size = python_pars[11]; PyObject *par_conv_padding = python_pars[12]; PyObject *par_is3d = python_pars[13]; struct Nuitka_FrameObject *frame_51da46b11dde7fe87fa78ae11e571319; 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; int tmp_res; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_51da46b11dde7fe87fa78ae11e571319 = 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_51da46b11dde7fe87fa78ae11e571319)) { Py_XDECREF(cache_frame_51da46b11dde7fe87fa78ae11e571319); #if _DEBUG_REFCOUNTS if (cache_frame_51da46b11dde7fe87fa78ae11e571319 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_51da46b11dde7fe87fa78ae11e571319 = MAKE_FUNCTION_FRAME(codeobj_51da46b11dde7fe87fa78ae11e571319, module_models$unet3d$model, 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_51da46b11dde7fe87fa78ae11e571319->m_type_description == NULL); frame_51da46b11dde7fe87fa78ae11e571319 = cache_frame_51da46b11dde7fe87fa78ae11e571319; // Push the new frame as the currently active one. pushFrameStack(frame_51da46b11dde7fe87fa78ae11e571319); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_51da46b11dde7fe87fa78ae11e571319) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_call_result_1; tmp_type_arg_name_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[0]); if (unlikely(tmp_type_arg_name_1 == NULL)) { tmp_type_arg_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]); } if (tmp_type_arg_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 42; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER2(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 42; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } frame_51da46b11dde7fe87fa78ae11e571319->m_frame.f_lineno = 42; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[1]); 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 = 42; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { nuitka_bool tmp_condition_result_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; CHECK_OBJECT(par_f_maps); tmp_isinstance_inst_1 = par_f_maps; tmp_isinstance_cls_1 = (PyObject *)&PyLong_Type; tmp_res = Nuitka_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 44; type_description_1 = "ooooooooooooooN"; 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_assign_source_1; PyObject *tmp_called_name_1; 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; tmp_called_name_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[2]); if (unlikely(tmp_called_name_1 == NULL)) { tmp_called_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[2]); } if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 45; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } CHECK_OBJECT(par_f_maps); tmp_tuple_element_1 = par_f_maps; tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_args_name_1, 0, tmp_tuple_element_1); tmp_dict_key_1 = mod_consts[3]; CHECK_OBJECT(par_num_levels); tmp_dict_value_1 = par_num_levels; 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_51da46b11dde7fe87fa78ae11e571319->m_frame.f_lineno = 45; tmp_assign_source_1 = CALL_FUNCTION(tmp_called_name_1, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 45; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } { PyObject *old = par_f_maps; assert(old != NULL); par_f_maps = tmp_assign_source_1; Py_DECREF(old); } } branch_no_1:; { nuitka_bool tmp_condition_result_2; PyObject *tmp_operand_name_1; int tmp_or_left_truth_1; PyObject *tmp_or_left_value_1; PyObject *tmp_or_right_value_1; PyObject *tmp_isinstance_inst_2; PyObject *tmp_isinstance_cls_2; PyObject *tmp_isinstance_inst_3; PyObject *tmp_isinstance_cls_3; CHECK_OBJECT(par_f_maps); tmp_isinstance_inst_2 = par_f_maps; tmp_isinstance_cls_2 = (PyObject *)&PyList_Type; tmp_res = Nuitka_IsInstance(tmp_isinstance_inst_2, tmp_isinstance_cls_2); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 47; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } tmp_or_left_value_1 = (tmp_res != 0) ? Py_True : Py_False; tmp_or_left_truth_1 = CHECK_IF_TRUE(tmp_or_left_value_1); if (tmp_or_left_truth_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 47; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } if (tmp_or_left_truth_1 == 1) { goto or_left_1; } else { goto or_right_1; } or_right_1:; CHECK_OBJECT(par_f_maps); tmp_isinstance_inst_3 = par_f_maps; tmp_isinstance_cls_3 = (PyObject *)&PyTuple_Type; tmp_res = Nuitka_IsInstance(tmp_isinstance_inst_3, tmp_isinstance_cls_3); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 47; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } tmp_or_right_value_1 = (tmp_res != 0) ? Py_True : Py_False; tmp_operand_name_1 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_operand_name_1 = tmp_or_left_value_1; or_end_1:; 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 = 47; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } 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_raise_type_1; tmp_raise_type_1 = PyExc_AssertionError; exception_type = tmp_raise_type_1; Py_INCREF(tmp_raise_type_1); exception_lineno = 47; RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb); type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } branch_no_2:; { bool tmp_condition_result_3; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; PyObject *tmp_tmp_condition_result_3_object_1; CHECK_OBJECT(par_f_maps); tmp_len_arg_1 = par_f_maps; tmp_compexpr_left_1 = BUILTIN_LEN(tmp_len_arg_1); if (tmp_compexpr_left_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 48; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = mod_consts[4]; tmp_tmp_condition_result_3_object_1 = RICH_COMPARE_LE_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_1, tmp_compexpr_right_1); Py_DECREF(tmp_compexpr_left_1); assert(!(tmp_tmp_condition_result_3_object_1 == NULL)); tmp_condition_result_3 = CHECK_IF_TRUE(tmp_tmp_condition_result_3_object_1) == 1; Py_DECREF(tmp_tmp_condition_result_3_object_1); if (tmp_condition_result_3 != false) { goto branch_yes_3; } else { goto branch_no_3; } } branch_yes_3:; { PyObject *tmp_raise_type_2; PyObject *tmp_raise_value_1; tmp_raise_type_2 = PyExc_AssertionError; tmp_raise_value_1 = mod_consts[5]; exception_type = tmp_raise_type_2; Py_INCREF(tmp_raise_type_2); exception_value = tmp_raise_value_1; Py_INCREF(tmp_raise_value_1); exception_lineno = 48; RAISE_EXCEPTION_WITH_VALUE(&exception_type, &exception_value, &exception_tb); type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } branch_no_3:; { bool tmp_condition_result_4; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; tmp_compexpr_left_2 = mod_consts[6]; CHECK_OBJECT(par_layer_order); tmp_compexpr_right_2 = par_layer_order; 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 = 49; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } tmp_condition_result_4 = (tmp_res == 1) ? true : false; if (tmp_condition_result_4 != false) { goto branch_yes_4; } else { goto branch_no_4; } } branch_yes_4:; { bool tmp_condition_result_5; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; CHECK_OBJECT(par_num_groups); tmp_compexpr_left_3 = par_num_groups; tmp_compexpr_right_3 = Py_None; tmp_condition_result_5 = (tmp_compexpr_left_3 == tmp_compexpr_right_3) ? true : false; if (tmp_condition_result_5 != false) { goto branch_yes_5; } else { goto branch_no_5; } } branch_yes_5:; { PyObject *tmp_raise_type_3; PyObject *tmp_raise_value_2; tmp_raise_type_3 = PyExc_AssertionError; tmp_raise_value_2 = mod_consts[7]; exception_type = tmp_raise_type_3; Py_INCREF(tmp_raise_type_3); exception_value = tmp_raise_value_2; Py_INCREF(tmp_raise_value_2); exception_lineno = 50; RAISE_EXCEPTION_WITH_VALUE(&exception_type, &exception_value, &exception_tb); type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } branch_no_5:; branch_no_4:; { PyObject *tmp_assattr_name_1; PyObject *tmp_called_name_2; PyObject *tmp_args_element_name_1; 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_args_element_name_6; PyObject *tmp_args_element_name_7; PyObject *tmp_args_element_name_8; PyObject *tmp_args_element_name_9; PyObject *tmp_assattr_target_1; tmp_called_name_2 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[8]); if (unlikely(tmp_called_name_2 == NULL)) { tmp_called_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[8]); } if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 53; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } CHECK_OBJECT(par_in_channels); tmp_args_element_name_1 = par_in_channels; if (par_f_maps == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[9]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 53; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_f_maps; CHECK_OBJECT(par_basic_module); tmp_args_element_name_3 = par_basic_module; CHECK_OBJECT(par_conv_kernel_size); tmp_args_element_name_4 = par_conv_kernel_size; CHECK_OBJECT(par_conv_padding); tmp_args_element_name_5 = par_conv_padding; CHECK_OBJECT(par_layer_order); tmp_args_element_name_6 = par_layer_order; CHECK_OBJECT(par_num_groups); tmp_args_element_name_7 = par_num_groups; CHECK_OBJECT(par_pool_kernel_size); tmp_args_element_name_8 = par_pool_kernel_size; CHECK_OBJECT(par_is3d); tmp_args_element_name_9 = par_is3d; frame_51da46b11dde7fe87fa78ae11e571319->m_frame.f_lineno = 53; { PyObject *call_args[] = {tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3, tmp_args_element_name_4, tmp_args_element_name_5, tmp_args_element_name_6, tmp_args_element_name_7, tmp_args_element_name_8, tmp_args_element_name_9}; tmp_assattr_name_1 = CALL_FUNCTION_WITH_ARGS9(tmp_called_name_2, call_args); } if (tmp_assattr_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 53; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[10], 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 = 53; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_called_name_3; PyObject *tmp_args_element_name_10; PyObject *tmp_args_element_name_11; PyObject *tmp_args_element_name_12; PyObject *tmp_args_element_name_13; PyObject *tmp_args_element_name_14; PyObject *tmp_args_element_name_15; PyObject *tmp_args_element_name_16; PyObject *tmp_assattr_target_2; tmp_called_name_3 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[11]); if (unlikely(tmp_called_name_3 == NULL)) { tmp_called_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[11]); } if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } if (par_f_maps == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[9]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 57; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } tmp_args_element_name_10 = par_f_maps; CHECK_OBJECT(par_basic_module); tmp_args_element_name_11 = par_basic_module; CHECK_OBJECT(par_conv_kernel_size); tmp_args_element_name_12 = par_conv_kernel_size; CHECK_OBJECT(par_conv_padding); tmp_args_element_name_13 = par_conv_padding; CHECK_OBJECT(par_layer_order); tmp_args_element_name_14 = par_layer_order; CHECK_OBJECT(par_num_groups); tmp_args_element_name_15 = par_num_groups; CHECK_OBJECT(par_is3d); tmp_args_element_name_16 = par_is3d; frame_51da46b11dde7fe87fa78ae11e571319->m_frame.f_lineno = 57; { PyObject *call_args[] = {tmp_args_element_name_10, tmp_args_element_name_11, tmp_args_element_name_12, tmp_args_element_name_13, tmp_args_element_name_14, tmp_args_element_name_15, tmp_args_element_name_16}; tmp_assattr_name_2 = CALL_FUNCTION_WITH_ARGS7(tmp_called_name_3, call_args); } if (tmp_assattr_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; type_description_1 = "ooooooooooooooN"; 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[12], 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 = 57; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_6; int tmp_truth_name_1; CHECK_OBJECT(par_is3d); tmp_truth_name_1 = CHECK_IF_TRUE(par_is3d); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 61; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } tmp_condition_result_6 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) { goto branch_yes_6; } else { goto branch_no_6; } } branch_yes_6:; { PyObject *tmp_assattr_name_3; PyObject *tmp_called_name_4; PyObject *tmp_expression_name_1; PyObject *tmp_args_element_name_17; PyObject *tmp_expression_name_2; PyObject *tmp_subscript_name_1; PyObject *tmp_args_element_name_18; PyObject *tmp_args_element_name_19; PyObject *tmp_assattr_target_3; tmp_expression_name_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[13]); if (unlikely(tmp_expression_name_1 == NULL)) { tmp_expression_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[13]); } if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 62; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[14]); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 62; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } if (par_f_maps == NULL) { Py_DECREF(tmp_called_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[9]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 62; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } tmp_expression_name_2 = par_f_maps; tmp_subscript_name_1 = mod_consts[15]; tmp_args_element_name_17 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_2, tmp_subscript_name_1, 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_4); exception_lineno = 62; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } CHECK_OBJECT(par_out_channels); tmp_args_element_name_18 = par_out_channels; tmp_args_element_name_19 = mod_consts[4]; frame_51da46b11dde7fe87fa78ae11e571319->m_frame.f_lineno = 62; { PyObject *call_args[] = {tmp_args_element_name_17, tmp_args_element_name_18, tmp_args_element_name_19}; tmp_assattr_name_3 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_4, call_args); } Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_element_name_17); if (tmp_assattr_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 62; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[16], 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 = 62; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } } goto branch_end_6; branch_no_6:; { PyObject *tmp_assattr_name_4; PyObject *tmp_called_name_5; PyObject *tmp_expression_name_3; PyObject *tmp_args_element_name_20; PyObject *tmp_expression_name_4; PyObject *tmp_subscript_name_2; PyObject *tmp_args_element_name_21; PyObject *tmp_args_element_name_22; PyObject *tmp_assattr_target_4; tmp_expression_name_3 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[13]); if (unlikely(tmp_expression_name_3 == NULL)) { tmp_expression_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[13]); } if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 64; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[17]); if (tmp_called_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 64; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } if (par_f_maps == NULL) { Py_DECREF(tmp_called_name_5); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[9]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 64; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } tmp_expression_name_4 = par_f_maps; tmp_subscript_name_2 = mod_consts[15]; tmp_args_element_name_20 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_4, tmp_subscript_name_2, 0); if (tmp_args_element_name_20 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); exception_lineno = 64; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } CHECK_OBJECT(par_out_channels); tmp_args_element_name_21 = par_out_channels; tmp_args_element_name_22 = mod_consts[4]; frame_51da46b11dde7fe87fa78ae11e571319->m_frame.f_lineno = 64; { PyObject *call_args[] = {tmp_args_element_name_20, tmp_args_element_name_21, tmp_args_element_name_22}; tmp_assattr_name_4 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_5, call_args); } Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_element_name_20); if (tmp_assattr_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 64; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[16], 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 = 64; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } } branch_end_6:; { nuitka_bool tmp_condition_result_7; int tmp_truth_name_2; CHECK_OBJECT(par_is_segmentation); tmp_truth_name_2 = CHECK_IF_TRUE(par_is_segmentation); if (tmp_truth_name_2 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 66; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } tmp_condition_result_7 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) { goto branch_yes_7; } else { goto branch_no_7; } } branch_yes_7:; { nuitka_bool tmp_condition_result_8; int tmp_truth_name_3; CHECK_OBJECT(par_final_sigmoid); tmp_truth_name_3 = CHECK_IF_TRUE(par_final_sigmoid); if (tmp_truth_name_3 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 68; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } tmp_condition_result_8 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) { goto branch_yes_8; } else { goto branch_no_8; } } branch_yes_8:; { PyObject *tmp_assattr_name_5; PyObject *tmp_called_instance_2; PyObject *tmp_assattr_target_5; tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[13]); if (unlikely(tmp_called_instance_2 == NULL)) { tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[13]); } if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 69; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } frame_51da46b11dde7fe87fa78ae11e571319->m_frame.f_lineno = 69; tmp_assattr_name_5 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[18]); if (tmp_assattr_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 69; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_5 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[19], 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 = 69; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } } goto branch_end_8; branch_no_8:; { PyObject *tmp_assattr_name_6; PyObject *tmp_called_name_6; PyObject *tmp_expression_name_5; PyObject *tmp_kwargs_name_2; PyObject *tmp_assattr_target_6; tmp_expression_name_5 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[13]); if (unlikely(tmp_expression_name_5 == NULL)) { tmp_expression_name_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[13]); } if (tmp_expression_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 71; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } tmp_called_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[20]); if (tmp_called_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 71; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } tmp_kwargs_name_2 = PyDict_Copy(mod_consts[21]); frame_51da46b11dde7fe87fa78ae11e571319->m_frame.f_lineno = 71; tmp_assattr_name_6 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_6, tmp_kwargs_name_2); Py_DECREF(tmp_called_name_6); Py_DECREF(tmp_kwargs_name_2); if (tmp_assattr_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 71; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_assattr_target_6 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[19], 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 = 71; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } } branch_end_8:; goto branch_end_7; branch_no_7:; { PyObject *tmp_assattr_name_7; PyObject *tmp_assattr_target_7; tmp_assattr_name_7 = Py_None; CHECK_OBJECT(par_self); tmp_assattr_target_7 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[19], tmp_assattr_name_7); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 74; type_description_1 = "ooooooooooooooN"; goto frame_exception_exit_1; } } branch_end_7:; #if 0 RESTORE_FRAME_EXCEPTION(frame_51da46b11dde7fe87fa78ae11e571319); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_51da46b11dde7fe87fa78ae11e571319); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_51da46b11dde7fe87fa78ae11e571319, exception_lineno); } else if (exception_tb->tb_frame != &frame_51da46b11dde7fe87fa78ae11e571319->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_51da46b11dde7fe87fa78ae11e571319, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_51da46b11dde7fe87fa78ae11e571319, type_description_1, par_self, par_in_channels, par_out_channels, par_final_sigmoid, par_basic_module, par_f_maps, par_layer_order, par_num_groups, par_num_levels, par_is_segmentation, par_conv_kernel_size, par_pool_kernel_size, par_conv_padding, par_is3d, NULL ); // Release cached frame if used for exception. if (frame_51da46b11dde7fe87fa78ae11e571319 == cache_frame_51da46b11dde7fe87fa78ae11e571319) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_51da46b11dde7fe87fa78ae11e571319); cache_frame_51da46b11dde7fe87fa78ae11e571319 = NULL; } assertFrameObject(frame_51da46b11dde7fe87fa78ae11e571319); // 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_in_channels); Py_DECREF(par_in_channels); par_in_channels = NULL; Py_XDECREF(par_out_channels); par_out_channels = NULL; CHECK_OBJECT(par_final_sigmoid); Py_DECREF(par_final_sigmoid); par_final_sigmoid = NULL; CHECK_OBJECT(par_basic_module); Py_DECREF(par_basic_module); par_basic_module = NULL; Py_XDECREF(par_f_maps); par_f_maps = NULL; CHECK_OBJECT(par_layer_order); Py_DECREF(par_layer_order); par_layer_order = NULL; CHECK_OBJECT(par_num_groups); Py_DECREF(par_num_groups); par_num_groups = NULL; CHECK_OBJECT(par_num_levels); Py_DECREF(par_num_levels); par_num_levels = NULL; CHECK_OBJECT(par_is_segmentation); Py_DECREF(par_is_segmentation); par_is_segmentation = NULL; CHECK_OBJECT(par_conv_kernel_size); Py_DECREF(par_conv_kernel_size); par_conv_kernel_size = NULL; CHECK_OBJECT(par_pool_kernel_size); Py_DECREF(par_pool_kernel_size); par_pool_kernel_size = NULL; CHECK_OBJECT(par_conv_padding); Py_DECREF(par_conv_padding); par_conv_padding = NULL; CHECK_OBJECT(par_is3d); Py_DECREF(par_is3d); par_is3d = 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_in_channels); Py_DECREF(par_in_channels); par_in_channels = NULL; Py_XDECREF(par_out_channels); par_out_channels = NULL; CHECK_OBJECT(par_final_sigmoid); Py_DECREF(par_final_sigmoid); par_final_sigmoid = NULL; CHECK_OBJECT(par_basic_module); Py_DECREF(par_basic_module); par_basic_module = NULL; Py_XDECREF(par_f_maps); par_f_maps = NULL; CHECK_OBJECT(par_layer_order); Py_DECREF(par_layer_order); par_layer_order = NULL; CHECK_OBJECT(par_num_groups); Py_DECREF(par_num_groups); par_num_groups = NULL; CHECK_OBJECT(par_num_levels); Py_DECREF(par_num_levels); par_num_levels = NULL; CHECK_OBJECT(par_is_segmentation); Py_DECREF(par_is_segmentation); par_is_segmentation = NULL; CHECK_OBJECT(par_conv_kernel_size); Py_DECREF(par_conv_kernel_size); par_conv_kernel_size = NULL; CHECK_OBJECT(par_pool_kernel_size); Py_DECREF(par_pool_kernel_size); par_pool_kernel_size = NULL; CHECK_OBJECT(par_conv_padding); Py_DECREF(par_conv_padding); par_conv_padding = NULL; CHECK_OBJECT(par_is3d); Py_DECREF(par_is3d); par_is3d = 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$unet3d$model$$$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_encoders_features = NULL; PyObject *var_encoder = NULL; PyObject *var_decoder = NULL; PyObject *var_encoder_features = 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_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_95451eaf439dd4fb0254dd53bb5f4c7d; 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 *tmp_iterator_attempt; 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; int tmp_res; static struct Nuitka_FrameObject *cache_frame_95451eaf439dd4fb0254dd53bb5f4c7d = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; // Actual function body. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = PyList_New(0); assert(var_encoders_features == NULL); var_encoders_features = tmp_assign_source_1; } // Tried code: if (isFrameUnusable(cache_frame_95451eaf439dd4fb0254dd53bb5f4c7d)) { Py_XDECREF(cache_frame_95451eaf439dd4fb0254dd53bb5f4c7d); #if _DEBUG_REFCOUNTS if (cache_frame_95451eaf439dd4fb0254dd53bb5f4c7d == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_95451eaf439dd4fb0254dd53bb5f4c7d = MAKE_FUNCTION_FRAME(codeobj_95451eaf439dd4fb0254dd53bb5f4c7d, module_models$unet3d$model, 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_95451eaf439dd4fb0254dd53bb5f4c7d->m_type_description == NULL); frame_95451eaf439dd4fb0254dd53bb5f4c7d = cache_frame_95451eaf439dd4fb0254dd53bb5f4c7d; // Push the new frame as the currently active one. pushFrameStack(frame_95451eaf439dd4fb0254dd53bb5f4c7d); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_95451eaf439dd4fb0254dd53bb5f4c7d) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; PyObject *tmp_expression_name_1; CHECK_OBJECT(par_self); tmp_expression_name_1 = par_self; tmp_iter_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[10]); if (tmp_iter_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 79; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 79; type_description_1 = "oooooo"; goto frame_exception_exit_1; } assert(tmp_for_loop_1__for_iterator == NULL); tmp_for_loop_1__for_iterator = tmp_assign_source_2; } // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_3; CHECK_OBJECT(tmp_for_loop_1__for_iterator); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_3 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooo"; exception_lineno = 79; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_3; Py_XDECREF(old); } } { PyObject *tmp_assign_source_4; CHECK_OBJECT(tmp_for_loop_1__iter_value); tmp_assign_source_4 = tmp_for_loop_1__iter_value; { PyObject *old = var_encoder; var_encoder = tmp_assign_source_4; Py_INCREF(var_encoder); Py_XDECREF(old); } } { PyObject *tmp_assign_source_5; PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT(var_encoder); tmp_called_name_1 = var_encoder; if (par_x == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[22]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 80; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_args_element_name_1 = par_x; frame_95451eaf439dd4fb0254dd53bb5f4c7d->m_frame.f_lineno = 80; tmp_assign_source_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_1); if (tmp_assign_source_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 80; type_description_1 = "oooooo"; goto try_except_handler_2; } { PyObject *old = par_x; par_x = tmp_assign_source_5; Py_XDECREF(old); } } { PyObject *tmp_called_instance_1; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; if (var_encoders_features == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[23]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 82; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_called_instance_1 = var_encoders_features; tmp_args_element_name_2 = mod_consts[15]; CHECK_OBJECT(par_x); tmp_args_element_name_3 = par_x; frame_95451eaf439dd4fb0254dd53bb5f4c7d->m_frame.f_lineno = 82; { PyObject *call_args[] = {tmp_args_element_name_2, tmp_args_element_name_3}; tmp_call_result_1 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, mod_consts[24], call_args ); } if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 82; type_description_1 = "oooooo"; goto try_except_handler_2; } Py_DECREF(tmp_call_result_1); } if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 79; type_description_1 = "oooooo"; 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_6; PyObject *tmp_expression_name_2; PyObject *tmp_subscript_name_1; if (var_encoders_features == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[23]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 86; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_expression_name_2 = var_encoders_features; tmp_subscript_name_1 = mod_consts[25]; tmp_assign_source_6 = LOOKUP_SUBSCRIPT(tmp_expression_name_2, tmp_subscript_name_1); if (tmp_assign_source_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 86; type_description_1 = "oooooo"; goto frame_exception_exit_1; } { PyObject *old = var_encoders_features; var_encoders_features = tmp_assign_source_6; Py_XDECREF(old); } } { PyObject *tmp_assign_source_7; PyObject *tmp_iter_arg_2; PyObject *tmp_called_name_2; PyObject *tmp_args_element_name_4; PyObject *tmp_expression_name_3; PyObject *tmp_args_element_name_5; tmp_called_name_2 = (PyObject *)&PyZip_Type; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[26]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 89; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_expression_name_3 = par_self; tmp_args_element_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[12]); if (tmp_args_element_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 89; type_description_1 = "oooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_encoders_features); tmp_args_element_name_5 = var_encoders_features; frame_95451eaf439dd4fb0254dd53bb5f4c7d->m_frame.f_lineno = 89; { PyObject *call_args[] = {tmp_args_element_name_4, tmp_args_element_name_5}; tmp_iter_arg_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_2, call_args); } Py_DECREF(tmp_args_element_name_4); if (tmp_iter_arg_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 89; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_assign_source_7 = MAKE_ITERATOR(tmp_iter_arg_2); Py_DECREF(tmp_iter_arg_2); if (tmp_assign_source_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 89; type_description_1 = "oooooo"; goto frame_exception_exit_1; } assert(tmp_for_loop_2__for_iterator == NULL); tmp_for_loop_2__for_iterator = tmp_assign_source_7; } // 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 = "oooooo"; exception_lineno = 89; 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); } } // Tried code: { PyObject *tmp_assign_source_9; PyObject *tmp_iter_arg_3; CHECK_OBJECT(tmp_for_loop_2__iter_value); tmp_iter_arg_3 = tmp_for_loop_2__iter_value; tmp_assign_source_9 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_3); if (tmp_assign_source_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 89; type_description_1 = "oooooo"; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__source_iter; tmp_tuple_unpack_1__source_iter = tmp_assign_source_9; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_10; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_10 = UNPACK_NEXT(tmp_unpack_1, 0, 2); if (tmp_assign_source_10 == 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 = "oooooo"; exception_lineno = 89; goto try_except_handler_5; } { PyObject *old = tmp_tuple_unpack_1__element_1; tmp_tuple_unpack_1__element_1 = tmp_assign_source_10; Py_XDECREF(old); } } { PyObject *tmp_assign_source_11; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_11 = UNPACK_NEXT(tmp_unpack_2, 1, 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 = "oooooo"; exception_lineno = 89; goto try_except_handler_5; } { PyObject *old = tmp_tuple_unpack_1__element_2; tmp_tuple_unpack_1__element_2 = tmp_assign_source_11; 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 = "oooooo"; exception_lineno = 89; goto try_except_handler_5; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[27]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "oooooo"; exception_lineno = 89; goto try_except_handler_5; } } goto try_end_2; // Exception handler code: try_except_handler_5:; 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__source_iter); tmp_tuple_unpack_1__source_iter = 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_4; // End of try: try_end_2:; goto try_end_3; // Exception handler code: try_except_handler_4:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_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_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_3; // End of try: try_end_3:; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_12; CHECK_OBJECT(tmp_tuple_unpack_1__element_1); tmp_assign_source_12 = tmp_tuple_unpack_1__element_1; { PyObject *old = var_decoder; var_decoder = tmp_assign_source_12; Py_INCREF(var_decoder); Py_XDECREF(old); } } Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_13; CHECK_OBJECT(tmp_tuple_unpack_1__element_2); tmp_assign_source_13 = tmp_tuple_unpack_1__element_2; { PyObject *old = var_encoder_features; var_encoder_features = tmp_assign_source_13; Py_INCREF(var_encoder_features); 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_assign_source_14; PyObject *tmp_called_name_3; PyObject *tmp_args_element_name_6; PyObject *tmp_args_element_name_7; CHECK_OBJECT(var_decoder); tmp_called_name_3 = var_decoder; CHECK_OBJECT(var_encoder_features); tmp_args_element_name_6 = var_encoder_features; if (par_x == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[22]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 92; type_description_1 = "oooooo"; goto try_except_handler_3; } tmp_args_element_name_7 = par_x; frame_95451eaf439dd4fb0254dd53bb5f4c7d->m_frame.f_lineno = 92; { PyObject *call_args[] = {tmp_args_element_name_6, tmp_args_element_name_7}; tmp_assign_source_14 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_3, call_args); } if (tmp_assign_source_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 92; type_description_1 = "oooooo"; goto try_except_handler_3; } { PyObject *old = par_x; par_x = tmp_assign_source_14; Py_XDECREF(old); } } if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 89; type_description_1 = "oooooo"; goto try_except_handler_3; } goto loop_start_2; loop_end_2:; goto try_end_4; // Exception handler code: try_except_handler_3:; 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_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_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; // End of try: try_end_4:; Py_XDECREF(tmp_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_assign_source_15; PyObject *tmp_called_name_4; PyObject *tmp_expression_name_4; PyObject *tmp_args_element_name_8; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[26]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 94; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_expression_name_4 = par_self; tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[16]); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 94; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if (par_x == NULL) { Py_DECREF(tmp_called_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[22]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 94; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_8 = par_x; frame_95451eaf439dd4fb0254dd53bb5f4c7d->m_frame.f_lineno = 94; tmp_assign_source_15 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_4, tmp_args_element_name_8); Py_DECREF(tmp_called_name_4); if (tmp_assign_source_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 94; type_description_1 = "oooooo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_15; Py_XDECREF(old); } } { nuitka_bool tmp_condition_result_1; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_operand_name_1; PyObject *tmp_expression_name_5; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_name_6; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[26]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 98; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_expression_name_5 = par_self; tmp_operand_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[28]); if (tmp_operand_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 98; 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 = 98; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if (tmp_and_left_truth_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 98; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if (tmp_and_left_truth_1 == 1) { goto and_right_1; } else { goto and_left_1; } and_right_1:; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[26]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 98; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_expression_name_6 = par_self; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[19]); if (tmp_compexpr_left_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 98; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = Py_None; tmp_and_right_value_1 = (tmp_compexpr_left_1 != tmp_compexpr_right_1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF(tmp_compexpr_left_1); tmp_condition_result_1 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_1 = tmp_and_left_value_1; and_end_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_16; PyObject *tmp_called_instance_2; PyObject *tmp_args_element_name_9; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[26]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 99; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = par_self; CHECK_OBJECT(par_x); tmp_args_element_name_9 = par_x; frame_95451eaf439dd4fb0254dd53bb5f4c7d->m_frame.f_lineno = 99; tmp_assign_source_16 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[19], tmp_args_element_name_9); if (tmp_assign_source_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 99; type_description_1 = "oooooo"; goto frame_exception_exit_1; } { PyObject *old = par_x; par_x = tmp_assign_source_16; Py_XDECREF(old); } } branch_no_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_95451eaf439dd4fb0254dd53bb5f4c7d); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_95451eaf439dd4fb0254dd53bb5f4c7d); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_95451eaf439dd4fb0254dd53bb5f4c7d, exception_lineno); } else if (exception_tb->tb_frame != &frame_95451eaf439dd4fb0254dd53bb5f4c7d->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_95451eaf439dd4fb0254dd53bb5f4c7d, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_95451eaf439dd4fb0254dd53bb5f4c7d, type_description_1, par_self, par_x, var_encoders_features, var_encoder, var_decoder, var_encoder_features ); // Release cached frame if used for exception. if (frame_95451eaf439dd4fb0254dd53bb5f4c7d == cache_frame_95451eaf439dd4fb0254dd53bb5f4c7d) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_95451eaf439dd4fb0254dd53bb5f4c7d); cache_frame_95451eaf439dd4fb0254dd53bb5f4c7d = NULL; } assertFrameObject(frame_95451eaf439dd4fb0254dd53bb5f4c7d); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; CHECK_OBJECT(par_x); tmp_return_value = par_x; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; CHECK_OBJECT(par_x); Py_DECREF(par_x); par_x = NULL; CHECK_OBJECT(var_encoders_features); Py_DECREF(var_encoders_features); var_encoders_features = NULL; Py_XDECREF(var_encoder); var_encoder = NULL; Py_XDECREF(var_decoder); var_decoder = NULL; Py_XDECREF(var_encoder_features); var_encoder_features = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_x); par_x = NULL; Py_XDECREF(var_encoders_features); var_encoders_features = NULL; Py_XDECREF(var_encoder); var_encoder = NULL; Py_XDECREF(var_decoder); var_decoder = NULL; Py_XDECREF(var_encoder_features); var_encoder_features = NULL; // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$model$$$function__3___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_in_channels = python_pars[1]; PyObject *par_out_channels = python_pars[2]; PyObject *par_final_sigmoid = python_pars[3]; PyObject *par_f_maps = python_pars[4]; PyObject *par_layer_order = python_pars[5]; PyObject *par_num_groups = python_pars[6]; PyObject *par_num_levels = python_pars[7]; PyObject *par_is_segmentation = python_pars[8]; PyObject *par_conv_padding = python_pars[9]; PyObject *par_kwargs = python_pars[10]; struct Nuitka_FrameObject *frame_9de03121238718fe61005599f38a044f; 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; int tmp_res; static struct Nuitka_FrameObject *cache_frame_9de03121238718fe61005599f38a044f = 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_9de03121238718fe61005599f38a044f)) { Py_XDECREF(cache_frame_9de03121238718fe61005599f38a044f); #if _DEBUG_REFCOUNTS if (cache_frame_9de03121238718fe61005599f38a044f == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_9de03121238718fe61005599f38a044f = MAKE_FUNCTION_FRAME(codeobj_9de03121238718fe61005599f38a044f, module_models$unet3d$model, 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_9de03121238718fe61005599f38a044f->m_type_description == NULL); frame_9de03121238718fe61005599f38a044f = cache_frame_9de03121238718fe61005599f38a044f; // Push the new frame as the currently active one. pushFrameStack(frame_9de03121238718fe61005599f38a044f); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_9de03121238718fe61005599f38a044f) == 2); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_call_result_1; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; tmp_type_arg_name_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[29]); if (unlikely(tmp_type_arg_name_1 == NULL)) { tmp_type_arg_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[29]); } if (tmp_type_arg_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 115; type_description_1 = "oooooooooooN"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_expression_name_1 = BUILTIN_SUPER2(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 115; type_description_1 = "oooooooooooN"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[1]); 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 = 115; type_description_1 = "oooooooooooN"; goto frame_exception_exit_1; } tmp_dict_key_1 = mod_consts[30]; CHECK_OBJECT(par_in_channels); tmp_dict_value_1 = par_in_channels; tmp_kwargs_name_1 = _PyDict_NewPresized( 11 ); 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[31]; CHECK_OBJECT(par_out_channels); tmp_dict_value_1 = par_out_channels; 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[32]; CHECK_OBJECT(par_final_sigmoid); tmp_dict_value_1 = par_final_sigmoid; 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[33]; tmp_dict_value_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_dict_value_1 == NULL)) { tmp_dict_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_dict_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 118; type_description_1 = "oooooooooooN"; goto dict_build_exception_1; } 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[9]; CHECK_OBJECT(par_f_maps); tmp_dict_value_1 = par_f_maps; 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[35]; CHECK_OBJECT(par_layer_order); tmp_dict_value_1 = par_layer_order; 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[36]; CHECK_OBJECT(par_num_groups); tmp_dict_value_1 = par_num_groups; 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[3]; CHECK_OBJECT(par_num_levels); tmp_dict_value_1 = par_num_levels; 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[37]; CHECK_OBJECT(par_is_segmentation); tmp_dict_value_1 = par_is_segmentation; 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[38]; CHECK_OBJECT(par_conv_padding); tmp_dict_value_1 = par_conv_padding; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[39]; tmp_dict_value_1 = Py_True; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); goto dict_build_noexception_1; // Exception handling pass through code for dict_build: dict_build_exception_1:; Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_kwargs_name_1); goto frame_exception_exit_1; // Finished with no exception for dict_build: dict_build_noexception_1:; frame_9de03121238718fe61005599f38a044f->m_frame.f_lineno = 115; tmp_call_result_1 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 115; type_description_1 = "oooooooooooN"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } #if 0 RESTORE_FRAME_EXCEPTION(frame_9de03121238718fe61005599f38a044f); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_9de03121238718fe61005599f38a044f); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_9de03121238718fe61005599f38a044f, exception_lineno); } else if (exception_tb->tb_frame != &frame_9de03121238718fe61005599f38a044f->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_9de03121238718fe61005599f38a044f, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_9de03121238718fe61005599f38a044f, type_description_1, par_self, par_in_channels, par_out_channels, par_final_sigmoid, par_f_maps, par_layer_order, par_num_groups, par_num_levels, par_is_segmentation, par_conv_padding, par_kwargs, NULL ); // Release cached frame if used for exception. if (frame_9de03121238718fe61005599f38a044f == cache_frame_9de03121238718fe61005599f38a044f) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_9de03121238718fe61005599f38a044f); cache_frame_9de03121238718fe61005599f38a044f = NULL; } assertFrameObject(frame_9de03121238718fe61005599f38a044f); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_in_channels); par_in_channels = NULL; Py_XDECREF(par_out_channels); par_out_channels = NULL; Py_XDECREF(par_final_sigmoid); par_final_sigmoid = NULL; Py_XDECREF(par_f_maps); par_f_maps = NULL; Py_XDECREF(par_layer_order); par_layer_order = NULL; Py_XDECREF(par_num_groups); par_num_groups = NULL; Py_XDECREF(par_num_levels); par_num_levels = NULL; Py_XDECREF(par_is_segmentation); par_is_segmentation = NULL; Py_XDECREF(par_conv_padding); par_conv_padding = NULL; CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); par_kwargs = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_in_channels); par_in_channels = NULL; Py_XDECREF(par_out_channels); par_out_channels = NULL; Py_XDECREF(par_final_sigmoid); par_final_sigmoid = NULL; Py_XDECREF(par_f_maps); par_f_maps = NULL; Py_XDECREF(par_layer_order); par_layer_order = NULL; Py_XDECREF(par_num_groups); par_num_groups = NULL; Py_XDECREF(par_num_levels); par_num_levels = NULL; Py_XDECREF(par_is_segmentation); par_is_segmentation = NULL; Py_XDECREF(par_conv_padding); par_conv_padding = NULL; CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); par_kwargs = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$model$$$function__4___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_in_channels = python_pars[1]; PyObject *par_out_channels = python_pars[2]; PyObject *par_final_sigmoid = python_pars[3]; PyObject *par_f_maps = python_pars[4]; PyObject *par_layer_order = python_pars[5]; PyObject *par_num_groups = python_pars[6]; PyObject *par_num_levels = python_pars[7]; PyObject *par_is_segmentation = python_pars[8]; PyObject *par_conv_padding = python_pars[9]; PyObject *par_kwargs = python_pars[10]; struct Nuitka_FrameObject *frame_3116fec32f6a5f4e31d5d3e585bd3333; 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; int tmp_res; static struct Nuitka_FrameObject *cache_frame_3116fec32f6a5f4e31d5d3e585bd3333 = 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_3116fec32f6a5f4e31d5d3e585bd3333)) { Py_XDECREF(cache_frame_3116fec32f6a5f4e31d5d3e585bd3333); #if _DEBUG_REFCOUNTS if (cache_frame_3116fec32f6a5f4e31d5d3e585bd3333 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_3116fec32f6a5f4e31d5d3e585bd3333 = MAKE_FUNCTION_FRAME(codeobj_3116fec32f6a5f4e31d5d3e585bd3333, module_models$unet3d$model, 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_3116fec32f6a5f4e31d5d3e585bd3333->m_type_description == NULL); frame_3116fec32f6a5f4e31d5d3e585bd3333 = cache_frame_3116fec32f6a5f4e31d5d3e585bd3333; // Push the new frame as the currently active one. pushFrameStack(frame_3116fec32f6a5f4e31d5d3e585bd3333); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_3116fec32f6a5f4e31d5d3e585bd3333) == 2); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_call_result_1; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; tmp_type_arg_name_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[40]); if (unlikely(tmp_type_arg_name_1 == NULL)) { tmp_type_arg_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[40]); } if (tmp_type_arg_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 138; type_description_1 = "oooooooooooN"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_expression_name_1 = BUILTIN_SUPER2(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 138; type_description_1 = "oooooooooooN"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[1]); 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 = 138; type_description_1 = "oooooooooooN"; goto frame_exception_exit_1; } tmp_dict_key_1 = mod_consts[30]; CHECK_OBJECT(par_in_channels); tmp_dict_value_1 = par_in_channels; tmp_kwargs_name_1 = _PyDict_NewPresized( 11 ); 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[31]; CHECK_OBJECT(par_out_channels); tmp_dict_value_1 = par_out_channels; 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[32]; CHECK_OBJECT(par_final_sigmoid); tmp_dict_value_1 = par_final_sigmoid; 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[33]; tmp_dict_value_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[41]); if (unlikely(tmp_dict_value_1 == NULL)) { tmp_dict_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[41]); } if (tmp_dict_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 141; type_description_1 = "oooooooooooN"; goto dict_build_exception_1; } 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[9]; CHECK_OBJECT(par_f_maps); tmp_dict_value_1 = par_f_maps; 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[35]; CHECK_OBJECT(par_layer_order); tmp_dict_value_1 = par_layer_order; 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[36]; CHECK_OBJECT(par_num_groups); tmp_dict_value_1 = par_num_groups; 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[3]; CHECK_OBJECT(par_num_levels); tmp_dict_value_1 = par_num_levels; 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[37]; CHECK_OBJECT(par_is_segmentation); tmp_dict_value_1 = par_is_segmentation; 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[38]; CHECK_OBJECT(par_conv_padding); tmp_dict_value_1 = par_conv_padding; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[39]; tmp_dict_value_1 = Py_True; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); goto dict_build_noexception_1; // Exception handling pass through code for dict_build: dict_build_exception_1:; Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_kwargs_name_1); goto frame_exception_exit_1; // Finished with no exception for dict_build: dict_build_noexception_1:; frame_3116fec32f6a5f4e31d5d3e585bd3333->m_frame.f_lineno = 138; tmp_call_result_1 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 138; type_description_1 = "oooooooooooN"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } #if 0 RESTORE_FRAME_EXCEPTION(frame_3116fec32f6a5f4e31d5d3e585bd3333); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_3116fec32f6a5f4e31d5d3e585bd3333); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_3116fec32f6a5f4e31d5d3e585bd3333, exception_lineno); } else if (exception_tb->tb_frame != &frame_3116fec32f6a5f4e31d5d3e585bd3333->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_3116fec32f6a5f4e31d5d3e585bd3333, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_3116fec32f6a5f4e31d5d3e585bd3333, type_description_1, par_self, par_in_channels, par_out_channels, par_final_sigmoid, par_f_maps, par_layer_order, par_num_groups, par_num_levels, par_is_segmentation, par_conv_padding, par_kwargs, NULL ); // Release cached frame if used for exception. if (frame_3116fec32f6a5f4e31d5d3e585bd3333 == cache_frame_3116fec32f6a5f4e31d5d3e585bd3333) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_3116fec32f6a5f4e31d5d3e585bd3333); cache_frame_3116fec32f6a5f4e31d5d3e585bd3333 = NULL; } assertFrameObject(frame_3116fec32f6a5f4e31d5d3e585bd3333); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_in_channels); par_in_channels = NULL; Py_XDECREF(par_out_channels); par_out_channels = NULL; Py_XDECREF(par_final_sigmoid); par_final_sigmoid = NULL; Py_XDECREF(par_f_maps); par_f_maps = NULL; Py_XDECREF(par_layer_order); par_layer_order = NULL; Py_XDECREF(par_num_groups); par_num_groups = NULL; Py_XDECREF(par_num_levels); par_num_levels = NULL; Py_XDECREF(par_is_segmentation); par_is_segmentation = NULL; Py_XDECREF(par_conv_padding); par_conv_padding = NULL; CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); par_kwargs = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_in_channels); par_in_channels = NULL; Py_XDECREF(par_out_channels); par_out_channels = NULL; Py_XDECREF(par_final_sigmoid); par_final_sigmoid = NULL; Py_XDECREF(par_f_maps); par_f_maps = NULL; Py_XDECREF(par_layer_order); par_layer_order = NULL; Py_XDECREF(par_num_groups); par_num_groups = NULL; Py_XDECREF(par_num_levels); par_num_levels = NULL; Py_XDECREF(par_is_segmentation); par_is_segmentation = NULL; Py_XDECREF(par_conv_padding); par_conv_padding = NULL; CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); par_kwargs = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$model$$$function__5___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_in_channels = python_pars[1]; PyObject *par_out_channels = python_pars[2]; PyObject *par_final_sigmoid = python_pars[3]; PyObject *par_f_maps = python_pars[4]; PyObject *par_layer_order = python_pars[5]; PyObject *par_num_groups = python_pars[6]; PyObject *par_num_levels = python_pars[7]; PyObject *par_is_segmentation = python_pars[8]; PyObject *par_conv_padding = python_pars[9]; PyObject *par_kwargs = python_pars[10]; struct Nuitka_FrameObject *frame_9b298f490523c36773ed9783dc1c23cf; 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; int tmp_res; static struct Nuitka_FrameObject *cache_frame_9b298f490523c36773ed9783dc1c23cf = 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_9b298f490523c36773ed9783dc1c23cf)) { Py_XDECREF(cache_frame_9b298f490523c36773ed9783dc1c23cf); #if _DEBUG_REFCOUNTS if (cache_frame_9b298f490523c36773ed9783dc1c23cf == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_9b298f490523c36773ed9783dc1c23cf = MAKE_FUNCTION_FRAME(codeobj_9b298f490523c36773ed9783dc1c23cf, module_models$unet3d$model, 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_9b298f490523c36773ed9783dc1c23cf->m_type_description == NULL); frame_9b298f490523c36773ed9783dc1c23cf = cache_frame_9b298f490523c36773ed9783dc1c23cf; // Push the new frame as the currently active one. pushFrameStack(frame_9b298f490523c36773ed9783dc1c23cf); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_9b298f490523c36773ed9783dc1c23cf) == 2); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_call_result_1; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; tmp_type_arg_name_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[42]); if (unlikely(tmp_type_arg_name_1 == NULL)) { tmp_type_arg_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[42]); } if (tmp_type_arg_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 163; type_description_1 = "oooooooooooN"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_expression_name_1 = BUILTIN_SUPER2(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 163; type_description_1 = "oooooooooooN"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[1]); 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 = 163; type_description_1 = "oooooooooooN"; goto frame_exception_exit_1; } tmp_dict_key_1 = mod_consts[30]; CHECK_OBJECT(par_in_channels); tmp_dict_value_1 = par_in_channels; tmp_kwargs_name_1 = _PyDict_NewPresized( 11 ); 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[31]; CHECK_OBJECT(par_out_channels); tmp_dict_value_1 = par_out_channels; 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[32]; CHECK_OBJECT(par_final_sigmoid); tmp_dict_value_1 = par_final_sigmoid; 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[33]; tmp_dict_value_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[43]); if (unlikely(tmp_dict_value_1 == NULL)) { tmp_dict_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[43]); } if (tmp_dict_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 166; type_description_1 = "oooooooooooN"; goto dict_build_exception_1; } 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[9]; CHECK_OBJECT(par_f_maps); tmp_dict_value_1 = par_f_maps; 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[35]; CHECK_OBJECT(par_layer_order); tmp_dict_value_1 = par_layer_order; 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[36]; CHECK_OBJECT(par_num_groups); tmp_dict_value_1 = par_num_groups; 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[3]; CHECK_OBJECT(par_num_levels); tmp_dict_value_1 = par_num_levels; 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[37]; CHECK_OBJECT(par_is_segmentation); tmp_dict_value_1 = par_is_segmentation; 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[38]; CHECK_OBJECT(par_conv_padding); tmp_dict_value_1 = par_conv_padding; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[39]; tmp_dict_value_1 = Py_True; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); goto dict_build_noexception_1; // Exception handling pass through code for dict_build: dict_build_exception_1:; Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_kwargs_name_1); goto frame_exception_exit_1; // Finished with no exception for dict_build: dict_build_noexception_1:; frame_9b298f490523c36773ed9783dc1c23cf->m_frame.f_lineno = 163; tmp_call_result_1 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 163; type_description_1 = "oooooooooooN"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } #if 0 RESTORE_FRAME_EXCEPTION(frame_9b298f490523c36773ed9783dc1c23cf); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_9b298f490523c36773ed9783dc1c23cf); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_9b298f490523c36773ed9783dc1c23cf, exception_lineno); } else if (exception_tb->tb_frame != &frame_9b298f490523c36773ed9783dc1c23cf->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_9b298f490523c36773ed9783dc1c23cf, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_9b298f490523c36773ed9783dc1c23cf, type_description_1, par_self, par_in_channels, par_out_channels, par_final_sigmoid, par_f_maps, par_layer_order, par_num_groups, par_num_levels, par_is_segmentation, par_conv_padding, par_kwargs, NULL ); // Release cached frame if used for exception. if (frame_9b298f490523c36773ed9783dc1c23cf == cache_frame_9b298f490523c36773ed9783dc1c23cf) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_9b298f490523c36773ed9783dc1c23cf); cache_frame_9b298f490523c36773ed9783dc1c23cf = NULL; } assertFrameObject(frame_9b298f490523c36773ed9783dc1c23cf); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_in_channels); par_in_channels = NULL; Py_XDECREF(par_out_channels); par_out_channels = NULL; Py_XDECREF(par_final_sigmoid); par_final_sigmoid = NULL; Py_XDECREF(par_f_maps); par_f_maps = NULL; Py_XDECREF(par_layer_order); par_layer_order = NULL; Py_XDECREF(par_num_groups); par_num_groups = NULL; Py_XDECREF(par_num_levels); par_num_levels = NULL; Py_XDECREF(par_is_segmentation); par_is_segmentation = NULL; Py_XDECREF(par_conv_padding); par_conv_padding = NULL; CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); par_kwargs = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_in_channels); par_in_channels = NULL; Py_XDECREF(par_out_channels); par_out_channels = NULL; Py_XDECREF(par_final_sigmoid); par_final_sigmoid = NULL; Py_XDECREF(par_f_maps); par_f_maps = NULL; Py_XDECREF(par_layer_order); par_layer_order = NULL; Py_XDECREF(par_num_groups); par_num_groups = NULL; Py_XDECREF(par_num_levels); par_num_levels = NULL; Py_XDECREF(par_is_segmentation); par_is_segmentation = NULL; Py_XDECREF(par_conv_padding); par_conv_padding = NULL; CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); par_kwargs = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$model$$$function__6___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_in_channels = python_pars[1]; PyObject *par_out_channels = python_pars[2]; PyObject *par_final_sigmoid = python_pars[3]; PyObject *par_f_maps = python_pars[4]; PyObject *par_layer_order = python_pars[5]; PyObject *par_num_groups = python_pars[6]; PyObject *par_num_levels = python_pars[7]; PyObject *par_is_segmentation = python_pars[8]; PyObject *par_conv_padding = python_pars[9]; PyObject *par_kwargs = python_pars[10]; struct Nuitka_FrameObject *frame_7934fa0ecb71b0b58d81131b301d2c27; 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; int tmp_res; static struct Nuitka_FrameObject *cache_frame_7934fa0ecb71b0b58d81131b301d2c27 = 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_7934fa0ecb71b0b58d81131b301d2c27)) { Py_XDECREF(cache_frame_7934fa0ecb71b0b58d81131b301d2c27); #if _DEBUG_REFCOUNTS if (cache_frame_7934fa0ecb71b0b58d81131b301d2c27 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_7934fa0ecb71b0b58d81131b301d2c27 = MAKE_FUNCTION_FRAME(codeobj_7934fa0ecb71b0b58d81131b301d2c27, module_models$unet3d$model, 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_7934fa0ecb71b0b58d81131b301d2c27->m_type_description == NULL); frame_7934fa0ecb71b0b58d81131b301d2c27 = cache_frame_7934fa0ecb71b0b58d81131b301d2c27; // Push the new frame as the currently active one. pushFrameStack(frame_7934fa0ecb71b0b58d81131b301d2c27); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_7934fa0ecb71b0b58d81131b301d2c27) == 2); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_call_result_1; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; tmp_type_arg_name_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[44]); if (unlikely(tmp_type_arg_name_1 == NULL)) { tmp_type_arg_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[44]); } if (tmp_type_arg_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 184; type_description_1 = "oooooooooooN"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_expression_name_1 = BUILTIN_SUPER2(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 184; type_description_1 = "oooooooooooN"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[1]); 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 = 184; type_description_1 = "oooooooooooN"; goto frame_exception_exit_1; } tmp_dict_key_1 = mod_consts[30]; CHECK_OBJECT(par_in_channels); tmp_dict_value_1 = par_in_channels; tmp_kwargs_name_1 = _PyDict_NewPresized( 11 ); 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[31]; CHECK_OBJECT(par_out_channels); tmp_dict_value_1 = par_out_channels; 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[32]; CHECK_OBJECT(par_final_sigmoid); tmp_dict_value_1 = par_final_sigmoid; 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[33]; tmp_dict_value_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_dict_value_1 == NULL)) { tmp_dict_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_dict_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 187; type_description_1 = "oooooooooooN"; goto dict_build_exception_1; } 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[9]; CHECK_OBJECT(par_f_maps); tmp_dict_value_1 = par_f_maps; 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[35]; CHECK_OBJECT(par_layer_order); tmp_dict_value_1 = par_layer_order; 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[36]; CHECK_OBJECT(par_num_groups); tmp_dict_value_1 = par_num_groups; 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[3]; CHECK_OBJECT(par_num_levels); tmp_dict_value_1 = par_num_levels; 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[37]; CHECK_OBJECT(par_is_segmentation); tmp_dict_value_1 = par_is_segmentation; 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[38]; CHECK_OBJECT(par_conv_padding); tmp_dict_value_1 = par_conv_padding; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[39]; tmp_dict_value_1 = Py_False; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); goto dict_build_noexception_1; // Exception handling pass through code for dict_build: dict_build_exception_1:; Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_kwargs_name_1); goto frame_exception_exit_1; // Finished with no exception for dict_build: dict_build_noexception_1:; frame_7934fa0ecb71b0b58d81131b301d2c27->m_frame.f_lineno = 184; tmp_call_result_1 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 184; type_description_1 = "oooooooooooN"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } #if 0 RESTORE_FRAME_EXCEPTION(frame_7934fa0ecb71b0b58d81131b301d2c27); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_7934fa0ecb71b0b58d81131b301d2c27); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_7934fa0ecb71b0b58d81131b301d2c27, exception_lineno); } else if (exception_tb->tb_frame != &frame_7934fa0ecb71b0b58d81131b301d2c27->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_7934fa0ecb71b0b58d81131b301d2c27, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_7934fa0ecb71b0b58d81131b301d2c27, type_description_1, par_self, par_in_channels, par_out_channels, par_final_sigmoid, par_f_maps, par_layer_order, par_num_groups, par_num_levels, par_is_segmentation, par_conv_padding, par_kwargs, NULL ); // Release cached frame if used for exception. if (frame_7934fa0ecb71b0b58d81131b301d2c27 == cache_frame_7934fa0ecb71b0b58d81131b301d2c27) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_7934fa0ecb71b0b58d81131b301d2c27); cache_frame_7934fa0ecb71b0b58d81131b301d2c27 = NULL; } assertFrameObject(frame_7934fa0ecb71b0b58d81131b301d2c27); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_in_channels); par_in_channels = NULL; Py_XDECREF(par_out_channels); par_out_channels = NULL; Py_XDECREF(par_final_sigmoid); par_final_sigmoid = NULL; Py_XDECREF(par_f_maps); par_f_maps = NULL; Py_XDECREF(par_layer_order); par_layer_order = NULL; Py_XDECREF(par_num_groups); par_num_groups = NULL; Py_XDECREF(par_num_levels); par_num_levels = NULL; Py_XDECREF(par_is_segmentation); par_is_segmentation = NULL; Py_XDECREF(par_conv_padding); par_conv_padding = NULL; CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); par_kwargs = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_in_channels); par_in_channels = NULL; Py_XDECREF(par_out_channels); par_out_channels = NULL; Py_XDECREF(par_final_sigmoid); par_final_sigmoid = NULL; Py_XDECREF(par_f_maps); par_f_maps = NULL; Py_XDECREF(par_layer_order); par_layer_order = NULL; Py_XDECREF(par_num_groups); par_num_groups = NULL; Py_XDECREF(par_num_levels); par_num_levels = NULL; Py_XDECREF(par_is_segmentation); par_is_segmentation = NULL; Py_XDECREF(par_conv_padding); par_conv_padding = NULL; CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); par_kwargs = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$model$$$function__7_get_model(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_config = python_pars[0]; PyObject *var_model_class = NULL; struct Nuitka_FrameObject *frame_e9e7131d00b24773e6e44e82c425f784; 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_e9e7131d00b24773e6e44e82c425f784 = 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_e9e7131d00b24773e6e44e82c425f784)) { Py_XDECREF(cache_frame_e9e7131d00b24773e6e44e82c425f784); #if _DEBUG_REFCOUNTS if (cache_frame_e9e7131d00b24773e6e44e82c425f784 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_e9e7131d00b24773e6e44e82c425f784 = MAKE_FUNCTION_FRAME(codeobj_e9e7131d00b24773e6e44e82c425f784, module_models$unet3d$model, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_e9e7131d00b24773e6e44e82c425f784->m_type_description == NULL); frame_e9e7131d00b24773e6e44e82c425f784 = cache_frame_e9e7131d00b24773e6e44e82c425f784; // Push the new frame as the currently active one. pushFrameStack(frame_e9e7131d00b24773e6e44e82c425f784); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_e9e7131d00b24773e6e44e82c425f784) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_expression_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_kwargs_name_1; tmp_called_name_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[45]); if (unlikely(tmp_called_name_1 == NULL)) { tmp_called_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[45]); } if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 198; type_description_1 = "oo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_model_config); tmp_expression_name_1 = par_model_config; tmp_subscript_name_1 = mod_consts[46]; tmp_tuple_element_1 = LOOKUP_SUBSCRIPT(tmp_expression_name_1, tmp_subscript_name_1); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 198; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_1, 0, tmp_tuple_element_1); tmp_kwargs_name_1 = DEEP_COPY(mod_consts[47]); frame_e9e7131d00b24773e6e44e82c425f784->m_frame.f_lineno = 198; tmp_assign_source_1 = CALL_FUNCTION(tmp_called_name_1, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 198; type_description_1 = "oo"; goto frame_exception_exit_1; } assert(var_model_class == NULL); var_model_class = tmp_assign_source_1; } { PyObject *tmp_dircall_arg1_1; PyObject *tmp_dircall_arg2_1; CHECK_OBJECT(var_model_class); tmp_dircall_arg1_1 = var_model_class; CHECK_OBJECT(par_model_config); tmp_dircall_arg2_1 = par_model_config; Py_INCREF(tmp_dircall_arg1_1); Py_INCREF(tmp_dircall_arg2_1); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1}; tmp_return_value = impl_models$$$function__8_complex_call_helper_star_dict(dir_call_args); } if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 201; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_e9e7131d00b24773e6e44e82c425f784); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_e9e7131d00b24773e6e44e82c425f784); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_e9e7131d00b24773e6e44e82c425f784); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_e9e7131d00b24773e6e44e82c425f784, exception_lineno); } else if (exception_tb->tb_frame != &frame_e9e7131d00b24773e6e44e82c425f784->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_e9e7131d00b24773e6e44e82c425f784, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_e9e7131d00b24773e6e44e82c425f784, type_description_1, par_model_config, var_model_class ); // Release cached frame if used for exception. if (frame_e9e7131d00b24773e6e44e82c425f784 == cache_frame_e9e7131d00b24773e6e44e82c425f784) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_e9e7131d00b24773e6e44e82c425f784); cache_frame_e9e7131d00b24773e6e44e82c425f784 = NULL; } assertFrameObject(frame_e9e7131d00b24773e6e44e82c425f784); // 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_model_config); Py_DECREF(par_model_config); par_model_config = NULL; CHECK_OBJECT(var_model_class); Py_DECREF(var_model_class); var_model_class = 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_model_config); Py_DECREF(par_model_config); par_model_config = NULL; Py_XDECREF(var_model_class); var_model_class = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *MAKE_FUNCTION_models$unet3d$model$$$function__1___init__(PyObject *defaults) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$model$$$function__1___init__, mod_consts[1], #if PYTHON_VERSION >= 0x300 mod_consts[71], #endif codeobj_51da46b11dde7fe87fa78ae11e571319, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$model, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$model$$$function__2_forward() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$model$$$function__2_forward, mod_consts[72], #if PYTHON_VERSION >= 0x300 mod_consts[73], #endif codeobj_95451eaf439dd4fb0254dd53bb5f4c7d, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$model, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$model$$$function__3___init__(PyObject *defaults) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$model$$$function__3___init__, mod_consts[1], #if PYTHON_VERSION >= 0x300 mod_consts[77], #endif codeobj_9de03121238718fe61005599f38a044f, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$model, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$model$$$function__4___init__(PyObject *defaults) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$model$$$function__4___init__, mod_consts[1], #if PYTHON_VERSION >= 0x300 mod_consts[80], #endif codeobj_3116fec32f6a5f4e31d5d3e585bd3333, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$model, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$model$$$function__5___init__(PyObject *defaults) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$model$$$function__5___init__, mod_consts[1], #if PYTHON_VERSION >= 0x300 mod_consts[82], #endif codeobj_9b298f490523c36773ed9783dc1c23cf, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$model, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$model$$$function__6___init__(PyObject *defaults) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$model$$$function__6___init__, mod_consts[1], #if PYTHON_VERSION >= 0x300 mod_consts[84], #endif codeobj_7934fa0ecb71b0b58d81131b301d2c27, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$model, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$model$$$function__7_get_model() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$model$$$function__7_get_model, mod_consts[85], #if PYTHON_VERSION >= 0x300 NULL, #endif codeobj_e9e7131d00b24773e6e44e82c425f784, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$model, 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$unet3d$model[] = { impl_models$unet3d$model$$$function__1___init__, impl_models$unet3d$model$$$function__2_forward, impl_models$unet3d$model$$$function__3___init__, impl_models$unet3d$model$$$function__4___init__, impl_models$unet3d$model$$$function__5___init__, impl_models$unet3d$model$$$function__6___init__, impl_models$unet3d$model$$$function__7_get_model, 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$unet3d$model; 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$unet3d$model) || 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$unet3d$model[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$unet3d$model, 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$unet3d$model(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *module_entry) { module_models$unet3d$model = 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.unet3d.model: 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.unet3d.model: Calling createModuleConstants().\n"); #endif createModuleConstants(); /* The code objects used by this module are created now. */ #ifdef _NUITKA_TRACE PRINT_STRING("models.unet3d.model: Calling createModuleCodeObjects().\n"); #endif createModuleCodeObjects(); // PRINT_STRING("in initmodels$unet3d$model\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$unet3d$model = MODULE_DICT(module_models$unet3d$model); #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$unet3d$model, (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$unet3d$model, (Nuitka_StringObject *)const_str_plain___package__, const_str_empty ); #elif 0 PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)const_str_plain___name__); UPDATE_STRING_DICT0( moduledict_models$unet3d$model, (Nuitka_StringObject *)const_str_plain___package__, module_name ); #else #if PYTHON_VERSION < 0x300 PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (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$unet3d$model, (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$unet3d$model, (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$unet3d$model, (Nuitka_StringObject *)const_str_plain___package__, PyUnicode_Substring(module_name, 0, dot_index) ); } #endif #endif } CHECK_OBJECT(module_models$unet3d$model); // 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$unet3d$model, (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$unet3d$model, (Nuitka_StringObject *)const_str_plain___builtins__, value); } #if PYTHON_VERSION >= 0x300 UPDATE_STRING_DICT0(moduledict_models$unet3d$model, (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$unet3d$model, (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$unet3d$model); 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$unet3d$model, (Nuitka_StringObject *)const_str_plain___spec__, spec_value); } #endif #endif // Temp variables if any PyObject *outline_0_var___class__ = NULL; PyObject *outline_1_var___class__ = NULL; PyObject *outline_2_var___class__ = NULL; PyObject *outline_3_var___class__ = NULL; PyObject *outline_4_var___class__ = NULL; 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; struct Nuitka_FrameObject *frame_538bf138f16ddd30bd4432efc7d5498a; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; bool tmp_result; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; int tmp_res; PyObject *tmp_dictdel_dict; PyObject *tmp_dictdel_key; PyObject *locals_models$unet3d$model$$$class__1_AbstractUNet_9 = NULL; PyObject *tmp_dictset_value; struct Nuitka_FrameObject *frame_b5da0c44f22792dfa8a94b4b1fe8119b_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; static struct Nuitka_FrameObject *cache_frame_b5da0c44f22792dfa8a94b4b1fe8119b_2 = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; PyObject *locals_models$unet3d$model$$$class__2_UNet3D_104 = NULL; struct Nuitka_FrameObject *frame_f44960d4216ed8d0e937c723e3b8d8d4_3; NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL; static struct Nuitka_FrameObject *cache_frame_f44960d4216ed8d0e937c723e3b8d8d4_3 = NULL; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; PyObject *locals_models$unet3d$model$$$class__3_ResidualUNet3D_128 = NULL; struct Nuitka_FrameObject *frame_438d3b3c3982ede956dae212fa0b4596_4; NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL; static struct Nuitka_FrameObject *cache_frame_438d3b3c3982ede956dae212fa0b4596_4 = NULL; PyObject *exception_keeper_type_9; PyObject *exception_keeper_value_9; PyTracebackObject *exception_keeper_tb_9; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9; PyObject *exception_keeper_type_10; PyObject *exception_keeper_value_10; PyTracebackObject *exception_keeper_tb_10; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10; PyObject *exception_keeper_type_11; PyObject *exception_keeper_value_11; PyTracebackObject *exception_keeper_tb_11; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11; PyObject *locals_models$unet3d$model$$$class__4_ResidualUNetSE3D_151 = NULL; struct Nuitka_FrameObject *frame_66dcfe6c36e3c070fdf25ab6c2a0819a_5; NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL; static struct Nuitka_FrameObject *cache_frame_66dcfe6c36e3c070fdf25ab6c2a0819a_5 = NULL; PyObject *exception_keeper_type_12; PyObject *exception_keeper_value_12; PyTracebackObject *exception_keeper_tb_12; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12; PyObject *exception_keeper_type_13; PyObject *exception_keeper_value_13; PyTracebackObject *exception_keeper_tb_13; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13; PyObject *exception_keeper_type_14; PyObject *exception_keeper_value_14; PyTracebackObject *exception_keeper_tb_14; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14; PyObject *locals_models$unet3d$model$$$class__5_UNet2D_176 = NULL; struct Nuitka_FrameObject *frame_c371277ecadaa6cb8a18001c7c4d4b3e_6; NUITKA_MAY_BE_UNUSED char const *type_description_6 = NULL; static struct Nuitka_FrameObject *cache_frame_c371277ecadaa6cb8a18001c7c4d4b3e_6 = NULL; PyObject *exception_keeper_type_15; PyObject *exception_keeper_value_15; PyTracebackObject *exception_keeper_tb_15; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15; PyObject *exception_keeper_type_16; PyObject *exception_keeper_value_16; PyTracebackObject *exception_keeper_tb_16; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16; PyObject *exception_keeper_type_17; PyObject *exception_keeper_value_17; PyTracebackObject *exception_keeper_tb_17; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_17; // Module code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; UPDATE_STRING_DICT0(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[48], tmp_assign_source_1); } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = module_filename_obj; UPDATE_STRING_DICT0(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[49], tmp_assign_source_2); } // Frame without reuse. frame_538bf138f16ddd30bd4432efc7d5498a = MAKE_MODULE_FRAME(codeobj_538bf138f16ddd30bd4432efc7d5498a, module_models$unet3d$model); // Push the new frame as the currently active one, and we should be exclusively // owning it. pushFrameStack(frame_538bf138f16ddd30bd4432efc7d5498a); assert(Py_REFCNT(frame_538bf138f16ddd30bd4432efc7d5498a) == 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$unet3d$model, (Nuitka_StringObject *)mod_consts[50]); if (unlikely(tmp_assattr_target_1 == NULL)) { tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[50]); } assert(!(tmp_assattr_target_1 == NULL)); tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[51], 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$unet3d$model, (Nuitka_StringObject *)mod_consts[50]); if (unlikely(tmp_assattr_target_2 == NULL)) { tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[50]); } assert(!(tmp_assattr_target_2 == NULL)); tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[52], 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$unet3d$model, (Nuitka_StringObject *)mod_consts[53], tmp_assign_source_3); } { PyObject *tmp_assign_source_4; PyObject *tmp_import_name_from_1; 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[54]; tmp_globals_arg_name_1 = (PyObject *)moduledict_models$unet3d$model; tmp_locals_arg_name_1 = Py_None; tmp_fromlist_name_1 = Py_None; tmp_level_name_1 = mod_consts[15]; frame_538bf138f16ddd30bd4432efc7d5498a->m_frame.f_lineno = 1; tmp_import_name_from_1 = 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_import_name_from_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_1)) { tmp_assign_source_4 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_1, (PyObject *)moduledict_models$unet3d$model, mod_consts[13], mod_consts[15] ); } else { tmp_assign_source_4 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[13]); } Py_DECREF(tmp_import_name_from_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$unet3d$model, (Nuitka_StringObject *)mod_consts[13], 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[55]; tmp_globals_arg_name_2 = (PyObject *)moduledict_models$unet3d$model; tmp_locals_arg_name_2 = Py_None; tmp_fromlist_name_2 = mod_consts[56]; tmp_level_name_2 = mod_consts[15]; frame_538bf138f16ddd30bd4432efc7d5498a->m_frame.f_lineno = 3; 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 = 3; goto frame_exception_exit_1; } assert(tmp_import_from_1__module == NULL); tmp_import_from_1__module = tmp_assign_source_5; } // Tried code: { PyObject *tmp_assign_source_6; PyObject *tmp_import_name_from_2; CHECK_OBJECT(tmp_import_from_1__module); tmp_import_name_from_2 = tmp_import_from_1__module; if (PyModule_Check(tmp_import_name_from_2)) { tmp_assign_source_6 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_2, (PyObject *)moduledict_models$unet3d$model, mod_consts[34], mod_consts[15] ); } else { tmp_assign_source_6 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[34]); } if (tmp_assign_source_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 3; goto try_except_handler_1; } UPDATE_STRING_DICT1(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[34], tmp_assign_source_6); } { PyObject *tmp_assign_source_7; PyObject *tmp_import_name_from_3; CHECK_OBJECT(tmp_import_from_1__module); tmp_import_name_from_3 = tmp_import_from_1__module; if (PyModule_Check(tmp_import_name_from_3)) { tmp_assign_source_7 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_3, (PyObject *)moduledict_models$unet3d$model, mod_consts[41], mod_consts[15] ); } else { tmp_assign_source_7 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[41]); } if (tmp_assign_source_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 3; goto try_except_handler_1; } UPDATE_STRING_DICT1(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[41], tmp_assign_source_7); } { PyObject *tmp_assign_source_8; PyObject *tmp_import_name_from_4; CHECK_OBJECT(tmp_import_from_1__module); tmp_import_name_from_4 = tmp_import_from_1__module; if (PyModule_Check(tmp_import_name_from_4)) { tmp_assign_source_8 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_4, (PyObject *)moduledict_models$unet3d$model, mod_consts[43], mod_consts[15] ); } else { tmp_assign_source_8 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[43]); } if (tmp_assign_source_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 3; goto try_except_handler_1; } UPDATE_STRING_DICT1(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[43], tmp_assign_source_8); } { PyObject *tmp_assign_source_9; 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_9 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_5, (PyObject *)moduledict_models$unet3d$model, mod_consts[11], mod_consts[15] ); } else { tmp_assign_source_9 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[11]); } if (tmp_assign_source_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 3; goto try_except_handler_1; } UPDATE_STRING_DICT1(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[11], tmp_assign_source_9); } { PyObject *tmp_assign_source_10; 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_10 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_6, (PyObject *)moduledict_models$unet3d$model, mod_consts[8], mod_consts[15] ); } else { tmp_assign_source_10 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[8]); } if (tmp_assign_source_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 3; goto try_except_handler_1; } UPDATE_STRING_DICT1(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[8], tmp_assign_source_10); } 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_11; 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[57]; tmp_globals_arg_name_3 = (PyObject *)moduledict_models$unet3d$model; tmp_locals_arg_name_3 = Py_None; tmp_fromlist_name_3 = mod_consts[58]; tmp_level_name_3 = mod_consts[15]; frame_538bf138f16ddd30bd4432efc7d5498a->m_frame.f_lineno = 5; tmp_assign_source_11 = 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_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 5; goto frame_exception_exit_1; } assert(tmp_import_from_2__module == NULL); tmp_import_from_2__module = tmp_assign_source_11; } // Tried code: { PyObject *tmp_assign_source_12; PyObject *tmp_import_name_from_7; CHECK_OBJECT(tmp_import_from_2__module); tmp_import_name_from_7 = tmp_import_from_2__module; if (PyModule_Check(tmp_import_name_from_7)) { tmp_assign_source_12 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_7, (PyObject *)moduledict_models$unet3d$model, mod_consts[45], mod_consts[15] ); } else { tmp_assign_source_12 = IMPORT_NAME(tmp_import_name_from_7, mod_consts[45]); } if (tmp_assign_source_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 5; goto try_except_handler_2; } UPDATE_STRING_DICT1(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[45], tmp_assign_source_12); } { PyObject *tmp_assign_source_13; PyObject *tmp_import_name_from_8; CHECK_OBJECT(tmp_import_from_2__module); tmp_import_name_from_8 = tmp_import_from_2__module; if (PyModule_Check(tmp_import_name_from_8)) { tmp_assign_source_13 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_8, (PyObject *)moduledict_models$unet3d$model, mod_consts[2], mod_consts[15] ); } else { tmp_assign_source_13 = IMPORT_NAME(tmp_import_name_from_8, mod_consts[2]); } if (tmp_assign_source_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 5; goto try_except_handler_2; } UPDATE_STRING_DICT1(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[2], tmp_assign_source_13); } 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_14; 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[59]; tmp_globals_arg_name_4 = (PyObject *)moduledict_models$unet3d$model; tmp_locals_arg_name_4 = Py_None; tmp_fromlist_name_4 = Py_None; tmp_level_name_4 = mod_consts[15]; frame_538bf138f16ddd30bd4432efc7d5498a->m_frame.f_lineno = 6; tmp_assign_source_14 = 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_assign_source_14 == 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$unet3d$model, (Nuitka_StringObject *)mod_consts[59], tmp_assign_source_14); } // Tried code: { PyObject *tmp_assign_source_15; PyObject *tmp_tuple_element_1; PyObject *tmp_expression_name_1; tmp_expression_name_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[13]); if (unlikely(tmp_expression_name_1 == NULL)) { tmp_expression_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[13]); } if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 9; goto try_except_handler_3; } tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[60]); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 9; goto try_except_handler_3; } tmp_assign_source_15 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_assign_source_15, 0, tmp_tuple_element_1); assert(tmp_class_creation_1__bases_orig == NULL); tmp_class_creation_1__bases_orig = tmp_assign_source_15; } { PyObject *tmp_assign_source_16; 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_16 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 9; goto try_except_handler_3; } assert(tmp_class_creation_1__bases == NULL); tmp_class_creation_1__bases = tmp_assign_source_16; } { PyObject *tmp_assign_source_17; tmp_assign_source_17 = PyDict_New(); assert(tmp_class_creation_1__class_decl_dict == NULL); tmp_class_creation_1__class_decl_dict = tmp_assign_source_17; } { PyObject *tmp_assign_source_18; 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[61]; 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[61]; 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 = 9; goto try_except_handler_3; } goto condexpr_end_1; condexpr_false_1:; CHECK_OBJECT(tmp_class_creation_1__bases); tmp_truth_name_1 = CHECK_IF_TRUE(tmp_class_creation_1__bases); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 9; goto try_except_handler_3; } tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) { goto condexpr_true_2; } else { goto condexpr_false_2; } condexpr_true_2:; CHECK_OBJECT(tmp_class_creation_1__bases); tmp_expression_name_2 = tmp_class_creation_1__bases; tmp_subscript_name_1 = mod_consts[15]; 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 = 9; goto try_except_handler_3; } tmp_metaclass_name_1 = BUILTIN_TYPE1(tmp_type_arg_1); Py_DECREF(tmp_type_arg_1); if (tmp_metaclass_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 9; goto try_except_handler_3; } goto condexpr_end_2; condexpr_false_2:; tmp_metaclass_name_1 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_1); condexpr_end_2:; condexpr_end_1:; CHECK_OBJECT(tmp_class_creation_1__bases); tmp_bases_name_1 = tmp_class_creation_1__bases; tmp_assign_source_18 = SELECT_METACLASS(tmp_metaclass_name_1, tmp_bases_name_1); Py_DECREF(tmp_metaclass_name_1); if (tmp_assign_source_18 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 9; goto try_except_handler_3; } assert(tmp_class_creation_1__metaclass == NULL); tmp_class_creation_1__metaclass = tmp_assign_source_18; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_key_name_3; PyObject *tmp_dict_arg_name_3; tmp_key_name_3 = mod_consts[61]; 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[61]; 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 = 9; goto try_except_handler_3; } branch_no_1:; { nuitka_bool tmp_condition_result_4; PyObject *tmp_expression_name_3; CHECK_OBJECT(tmp_class_creation_1__metaclass); tmp_expression_name_3 = tmp_class_creation_1__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_3, mod_consts[62]); 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_19; 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[62]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 9; goto try_except_handler_3; } tmp_tuple_element_2 = mod_consts[0]; 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_538bf138f16ddd30bd4432efc7d5498a->m_frame.f_lineno = 9; tmp_assign_source_19 = 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_19 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 9; goto try_except_handler_3; } assert(tmp_class_creation_1__prepared == NULL); tmp_class_creation_1__prepared = tmp_assign_source_19; } { 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[63]); 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 = 9; goto try_except_handler_3; } tmp_condition_result_5 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) { goto branch_yes_3; } else { goto branch_no_3; } } branch_yes_3:; { PyObject *tmp_raise_type_1; PyObject *tmp_raise_value_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_tuple_element_3; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; PyObject *tmp_getattr_default_1; tmp_raise_type_1 = PyExc_TypeError; tmp_left_name_1 = mod_consts[64]; CHECK_OBJECT(tmp_class_creation_1__metaclass); tmp_getattr_target_1 = tmp_class_creation_1__metaclass; tmp_getattr_attr_1 = mod_consts[65]; tmp_getattr_default_1 = mod_consts[66]; 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 = 9; goto try_except_handler_3; } tmp_right_name_1 = PyTuple_New(2); { PyObject *tmp_expression_name_6; PyObject *tmp_type_arg_2; PyTuple_SET_ITEM(tmp_right_name_1, 0, tmp_tuple_element_3); CHECK_OBJECT(tmp_class_creation_1__prepared); tmp_type_arg_2 = tmp_class_creation_1__prepared; tmp_expression_name_6 = BUILTIN_TYPE1(tmp_type_arg_2); assert(!(tmp_expression_name_6 == NULL)); tmp_tuple_element_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[65]); 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 = 9; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_right_name_1, 1, tmp_tuple_element_3); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_right_name_1); goto try_except_handler_3; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_raise_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_1, tmp_right_name_1); Py_DECREF(tmp_right_name_1); if (tmp_raise_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 9; goto try_except_handler_3; } exception_type = tmp_raise_type_1; Py_INCREF(tmp_raise_type_1); exception_value = tmp_raise_value_1; exception_lineno = 9; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_3; } branch_no_3:; goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_20; tmp_assign_source_20 = PyDict_New(); assert(tmp_class_creation_1__prepared == NULL); tmp_class_creation_1__prepared = tmp_assign_source_20; } branch_end_2:; { PyObject *tmp_assign_source_21; { PyObject *tmp_set_locals_1; CHECK_OBJECT(tmp_class_creation_1__prepared); tmp_set_locals_1 = tmp_class_creation_1__prepared; locals_models$unet3d$model$$$class__1_AbstractUNet_9 = tmp_set_locals_1; Py_INCREF(tmp_set_locals_1); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[65]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[65]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__1_AbstractUNet_9, mod_consts[67], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 9; goto try_except_handler_5; } tmp_dictset_value = mod_consts[68]; tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__1_AbstractUNet_9, mod_consts[48], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 9; goto try_except_handler_5; } tmp_dictset_value = mod_consts[0]; tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__1_AbstractUNet_9, mod_consts[69], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 9; goto try_except_handler_5; } if (isFrameUnusable(cache_frame_b5da0c44f22792dfa8a94b4b1fe8119b_2)) { Py_XDECREF(cache_frame_b5da0c44f22792dfa8a94b4b1fe8119b_2); #if _DEBUG_REFCOUNTS if (cache_frame_b5da0c44f22792dfa8a94b4b1fe8119b_2 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_b5da0c44f22792dfa8a94b4b1fe8119b_2 = MAKE_FUNCTION_FRAME(codeobj_b5da0c44f22792dfa8a94b4b1fe8119b, module_models$unet3d$model, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_b5da0c44f22792dfa8a94b4b1fe8119b_2->m_type_description == NULL); frame_b5da0c44f22792dfa8a94b4b1fe8119b_2 = cache_frame_b5da0c44f22792dfa8a94b4b1fe8119b_2; // Push the new frame as the currently active one. pushFrameStack(frame_b5da0c44f22792dfa8a94b4b1fe8119b_2); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_b5da0c44f22792dfa8a94b4b1fe8119b_2) == 2); // Frame stack // Framed code: { PyObject *tmp_defaults_1; tmp_defaults_1 = mod_consts[70]; Py_INCREF(tmp_defaults_1); tmp_dictset_value = MAKE_FUNCTION_models$unet3d$model$$$function__1___init__(tmp_defaults_1); tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__1_AbstractUNet_9, mod_consts[1], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 39; type_description_2 = "o"; goto frame_exception_exit_2; } } tmp_dictset_value = MAKE_FUNCTION_models$unet3d$model$$$function__2_forward(); tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__1_AbstractUNet_9, mod_consts[72], 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 = 76; type_description_2 = "o"; goto frame_exception_exit_2; } #if 0 RESTORE_FRAME_EXCEPTION(frame_b5da0c44f22792dfa8a94b4b1fe8119b_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_b5da0c44f22792dfa8a94b4b1fe8119b_2); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_b5da0c44f22792dfa8a94b4b1fe8119b_2, exception_lineno); } else if (exception_tb->tb_frame != &frame_b5da0c44f22792dfa8a94b4b1fe8119b_2->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_b5da0c44f22792dfa8a94b4b1fe8119b_2, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_b5da0c44f22792dfa8a94b4b1fe8119b_2, type_description_2, outline_0_var___class__ ); // Release cached frame if used for exception. if (frame_b5da0c44f22792dfa8a94b4b1fe8119b_2 == cache_frame_b5da0c44f22792dfa8a94b4b1fe8119b_2) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_b5da0c44f22792dfa8a94b4b1fe8119b_2); cache_frame_b5da0c44f22792dfa8a94b4b1fe8119b_2 = NULL; } assertFrameObject(frame_b5da0c44f22792dfa8a94b4b1fe8119b_2); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_1; frame_no_exception_1:; goto skip_nested_handling_1; nested_frame_exit_1:; goto try_except_handler_5; skip_nested_handling_1:; { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT(tmp_class_creation_1__bases); tmp_compexpr_left_1 = tmp_class_creation_1__bases; CHECK_OBJECT(tmp_class_creation_1__bases_orig); tmp_compexpr_right_1 = tmp_class_creation_1__bases_orig; tmp_condition_result_6 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_1, tmp_compexpr_right_1); if (tmp_condition_result_6 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 9; goto try_except_handler_5; } if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) { goto branch_yes_4; } else { goto branch_no_4; } assert(tmp_condition_result_6 != NUITKA_BOOL_UNASSIGNED); } branch_yes_4:; CHECK_OBJECT(tmp_class_creation_1__bases_orig); tmp_dictset_value = tmp_class_creation_1__bases_orig; tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__1_AbstractUNet_9, mod_consts[74], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 9; goto try_except_handler_5; } branch_no_4:; { PyObject *tmp_assign_source_22; 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[0]; 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$unet3d$model$$$class__1_AbstractUNet_9; 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_538bf138f16ddd30bd4432efc7d5498a->m_frame.f_lineno = 9; tmp_assign_source_22 = CALL_FUNCTION(tmp_called_name_2, tmp_args_name_2, tmp_kwargs_name_2); Py_DECREF(tmp_args_name_2); if (tmp_assign_source_22 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 9; goto try_except_handler_5; } assert(outline_0_var___class__ == NULL); outline_0_var___class__ = tmp_assign_source_22; } CHECK_OBJECT(outline_0_var___class__); tmp_assign_source_21 = outline_0_var___class__; Py_INCREF(tmp_assign_source_21); goto try_return_handler_5; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_5:; Py_DECREF(locals_models$unet3d$model$$$class__1_AbstractUNet_9); locals_models$unet3d$model$$$class__1_AbstractUNet_9 = NULL; goto try_return_handler_4; // Exception handler code: try_except_handler_5:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$unet3d$model$$$class__1_AbstractUNet_9); locals_models$unet3d$model$$$class__1_AbstractUNet_9 = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_4; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_4:; CHECK_OBJECT(outline_0_var___class__); Py_DECREF(outline_0_var___class__); outline_0_var___class__ = NULL; goto outline_result_1; // Exception handler code: try_except_handler_4:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto outline_exception_1; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_1:; exception_lineno = 9; goto try_except_handler_3; outline_result_1:; UPDATE_STRING_DICT1(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[0], tmp_assign_source_21); } goto try_end_3; // Exception handler code: try_except_handler_3:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_1__bases_orig); tmp_class_creation_1__bases_orig = NULL; Py_XDECREF(tmp_class_creation_1__bases); tmp_class_creation_1__bases = NULL; Py_XDECREF(tmp_class_creation_1__class_decl_dict); tmp_class_creation_1__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_1__metaclass); tmp_class_creation_1__metaclass = NULL; Py_XDECREF(tmp_class_creation_1__prepared); tmp_class_creation_1__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto frame_exception_exit_1; // End of try: try_end_3:; CHECK_OBJECT(tmp_class_creation_1__bases_orig); Py_DECREF(tmp_class_creation_1__bases_orig); tmp_class_creation_1__bases_orig = NULL; Py_XDECREF(tmp_class_creation_1__bases); tmp_class_creation_1__bases = NULL; Py_XDECREF(tmp_class_creation_1__class_decl_dict); tmp_class_creation_1__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_1__metaclass); tmp_class_creation_1__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_1__prepared); Py_DECREF(tmp_class_creation_1__prepared); tmp_class_creation_1__prepared = NULL; // Tried code: { PyObject *tmp_assign_source_23; PyObject *tmp_tuple_element_5; tmp_tuple_element_5 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[0]); if (unlikely(tmp_tuple_element_5 == NULL)) { tmp_tuple_element_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]); } if (tmp_tuple_element_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; goto try_except_handler_6; } tmp_assign_source_23 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_assign_source_23, 0, tmp_tuple_element_5); assert(tmp_class_creation_2__bases_orig == NULL); tmp_class_creation_2__bases_orig = tmp_assign_source_23; } { PyObject *tmp_assign_source_24; 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_24 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_24 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; goto try_except_handler_6; } assert(tmp_class_creation_2__bases == NULL); tmp_class_creation_2__bases = tmp_assign_source_24; } { PyObject *tmp_assign_source_25; tmp_assign_source_25 = PyDict_New(); assert(tmp_class_creation_2__class_decl_dict == NULL); tmp_class_creation_2__class_decl_dict = tmp_assign_source_25; } { PyObject *tmp_assign_source_26; 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_7; PyObject *tmp_subscript_name_2; PyObject *tmp_bases_name_2; tmp_key_name_4 = mod_consts[61]; 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[61]; 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 = 104; goto try_except_handler_6; } goto condexpr_end_3; condexpr_false_3:; CHECK_OBJECT(tmp_class_creation_2__bases); tmp_truth_name_2 = CHECK_IF_TRUE(tmp_class_creation_2__bases); if (tmp_truth_name_2 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; goto try_except_handler_6; } tmp_condition_result_8 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) { goto condexpr_true_4; } else { goto condexpr_false_4; } condexpr_true_4:; CHECK_OBJECT(tmp_class_creation_2__bases); tmp_expression_name_7 = tmp_class_creation_2__bases; tmp_subscript_name_2 = mod_consts[15]; tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_7, 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 = 104; goto try_except_handler_6; } tmp_metaclass_name_2 = BUILTIN_TYPE1(tmp_type_arg_3); Py_DECREF(tmp_type_arg_3); if (tmp_metaclass_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; goto try_except_handler_6; } goto condexpr_end_4; condexpr_false_4:; tmp_metaclass_name_2 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_2); condexpr_end_4:; condexpr_end_3:; CHECK_OBJECT(tmp_class_creation_2__bases); tmp_bases_name_2 = tmp_class_creation_2__bases; tmp_assign_source_26 = SELECT_METACLASS(tmp_metaclass_name_2, tmp_bases_name_2); Py_DECREF(tmp_metaclass_name_2); if (tmp_assign_source_26 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; goto try_except_handler_6; } assert(tmp_class_creation_2__metaclass == NULL); tmp_class_creation_2__metaclass = tmp_assign_source_26; } { nuitka_bool tmp_condition_result_9; PyObject *tmp_key_name_6; PyObject *tmp_dict_arg_name_6; tmp_key_name_6 = mod_consts[61]; 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[61]; 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 = 104; goto try_except_handler_6; } branch_no_5:; { nuitka_bool tmp_condition_result_10; PyObject *tmp_expression_name_8; CHECK_OBJECT(tmp_class_creation_2__metaclass); tmp_expression_name_8 = tmp_class_creation_2__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_8, mod_consts[62]); 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_27; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_9; 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_9 = tmp_class_creation_2__metaclass; tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[62]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; goto try_except_handler_6; } tmp_tuple_element_6 = mod_consts[29]; 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_538bf138f16ddd30bd4432efc7d5498a->m_frame.f_lineno = 104; tmp_assign_source_27 = 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_27 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; goto try_except_handler_6; } assert(tmp_class_creation_2__prepared == NULL); tmp_class_creation_2__prepared = tmp_assign_source_27; } { nuitka_bool tmp_condition_result_11; PyObject *tmp_operand_name_2; PyObject *tmp_expression_name_10; CHECK_OBJECT(tmp_class_creation_2__prepared); tmp_expression_name_10 = tmp_class_creation_2__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_10, mod_consts[63]); 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 = 104; goto try_except_handler_6; } tmp_condition_result_11 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_11 == NUITKA_BOOL_TRUE) { goto branch_yes_7; } else { goto branch_no_7; } } branch_yes_7:; { PyObject *tmp_raise_type_2; PyObject *tmp_raise_value_2; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_tuple_element_7; PyObject *tmp_getattr_target_2; PyObject *tmp_getattr_attr_2; PyObject *tmp_getattr_default_2; tmp_raise_type_2 = PyExc_TypeError; tmp_left_name_2 = mod_consts[64]; CHECK_OBJECT(tmp_class_creation_2__metaclass); tmp_getattr_target_2 = tmp_class_creation_2__metaclass; tmp_getattr_attr_2 = mod_consts[65]; tmp_getattr_default_2 = mod_consts[66]; 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 = 104; goto try_except_handler_6; } tmp_right_name_2 = PyTuple_New(2); { PyObject *tmp_expression_name_11; 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_11 = BUILTIN_TYPE1(tmp_type_arg_4); assert(!(tmp_expression_name_11 == NULL)); tmp_tuple_element_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_11, mod_consts[65]); Py_DECREF(tmp_expression_name_11); if (tmp_tuple_element_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; goto tuple_build_exception_2; } PyTuple_SET_ITEM(tmp_right_name_2, 1, tmp_tuple_element_7); } goto tuple_build_noexception_2; // Exception handling pass through code for tuple_build: tuple_build_exception_2:; Py_DECREF(tmp_right_name_2); goto try_except_handler_6; // Finished with no exception for tuple_build: tuple_build_noexception_2:; tmp_raise_value_2 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_2, tmp_right_name_2); Py_DECREF(tmp_right_name_2); if (tmp_raise_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; goto try_except_handler_6; } exception_type = tmp_raise_type_2; Py_INCREF(tmp_raise_type_2); exception_value = tmp_raise_value_2; exception_lineno = 104; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_6; } branch_no_7:; goto branch_end_6; branch_no_6:; { PyObject *tmp_assign_source_28; tmp_assign_source_28 = PyDict_New(); assert(tmp_class_creation_2__prepared == NULL); tmp_class_creation_2__prepared = tmp_assign_source_28; } branch_end_6:; { PyObject *tmp_assign_source_29; { PyObject *tmp_set_locals_2; CHECK_OBJECT(tmp_class_creation_2__prepared); tmp_set_locals_2 = tmp_class_creation_2__prepared; locals_models$unet3d$model$$$class__2_UNet3D_104 = tmp_set_locals_2; Py_INCREF(tmp_set_locals_2); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[65]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[65]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__2_UNet3D_104, mod_consts[67], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; goto try_except_handler_8; } tmp_dictset_value = mod_consts[75]; tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__2_UNet3D_104, mod_consts[48], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; goto try_except_handler_8; } tmp_dictset_value = mod_consts[29]; tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__2_UNet3D_104, mod_consts[69], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; goto try_except_handler_8; } if (isFrameUnusable(cache_frame_f44960d4216ed8d0e937c723e3b8d8d4_3)) { Py_XDECREF(cache_frame_f44960d4216ed8d0e937c723e3b8d8d4_3); #if _DEBUG_REFCOUNTS if (cache_frame_f44960d4216ed8d0e937c723e3b8d8d4_3 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_f44960d4216ed8d0e937c723e3b8d8d4_3 = MAKE_FUNCTION_FRAME(codeobj_f44960d4216ed8d0e937c723e3b8d8d4, module_models$unet3d$model, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_f44960d4216ed8d0e937c723e3b8d8d4_3->m_type_description == NULL); frame_f44960d4216ed8d0e937c723e3b8d8d4_3 = cache_frame_f44960d4216ed8d0e937c723e3b8d8d4_3; // Push the new frame as the currently active one. pushFrameStack(frame_f44960d4216ed8d0e937c723e3b8d8d4_3); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_f44960d4216ed8d0e937c723e3b8d8d4_3) == 2); // Frame stack // Framed code: { PyObject *tmp_defaults_2; tmp_defaults_2 = mod_consts[76]; Py_INCREF(tmp_defaults_2); tmp_dictset_value = MAKE_FUNCTION_models$unet3d$model$$$function__3___init__(tmp_defaults_2); tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__2_UNet3D_104, mod_consts[1], 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 = 113; type_description_2 = "o"; goto frame_exception_exit_3; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_f44960d4216ed8d0e937c723e3b8d8d4_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_f44960d4216ed8d0e937c723e3b8d8d4_3); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_f44960d4216ed8d0e937c723e3b8d8d4_3, exception_lineno); } else if (exception_tb->tb_frame != &frame_f44960d4216ed8d0e937c723e3b8d8d4_3->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_f44960d4216ed8d0e937c723e3b8d8d4_3, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_f44960d4216ed8d0e937c723e3b8d8d4_3, type_description_2, outline_1_var___class__ ); // Release cached frame if used for exception. if (frame_f44960d4216ed8d0e937c723e3b8d8d4_3 == cache_frame_f44960d4216ed8d0e937c723e3b8d8d4_3) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_f44960d4216ed8d0e937c723e3b8d8d4_3); cache_frame_f44960d4216ed8d0e937c723e3b8d8d4_3 = NULL; } assertFrameObject(frame_f44960d4216ed8d0e937c723e3b8d8d4_3); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_2; frame_no_exception_2:; goto skip_nested_handling_2; nested_frame_exit_2:; goto try_except_handler_8; skip_nested_handling_2:; { nuitka_bool tmp_condition_result_12; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT(tmp_class_creation_2__bases); tmp_compexpr_left_2 = tmp_class_creation_2__bases; CHECK_OBJECT(tmp_class_creation_2__bases_orig); tmp_compexpr_right_2 = tmp_class_creation_2__bases_orig; tmp_condition_result_12 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_2, tmp_compexpr_right_2); if (tmp_condition_result_12 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; goto try_except_handler_8; } if (tmp_condition_result_12 == NUITKA_BOOL_TRUE) { goto branch_yes_8; } else { goto branch_no_8; } assert(tmp_condition_result_12 != NUITKA_BOOL_UNASSIGNED); } branch_yes_8:; CHECK_OBJECT(tmp_class_creation_2__bases_orig); tmp_dictset_value = tmp_class_creation_2__bases_orig; tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__2_UNet3D_104, mod_consts[74], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; goto try_except_handler_8; } branch_no_8:; { PyObject *tmp_assign_source_30; 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[29]; 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$unet3d$model$$$class__2_UNet3D_104; 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_538bf138f16ddd30bd4432efc7d5498a->m_frame.f_lineno = 104; tmp_assign_source_30 = CALL_FUNCTION(tmp_called_name_4, tmp_args_name_4, tmp_kwargs_name_4); Py_DECREF(tmp_args_name_4); if (tmp_assign_source_30 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; goto try_except_handler_8; } assert(outline_1_var___class__ == NULL); outline_1_var___class__ = tmp_assign_source_30; } CHECK_OBJECT(outline_1_var___class__); tmp_assign_source_29 = outline_1_var___class__; Py_INCREF(tmp_assign_source_29); goto try_return_handler_8; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_8:; Py_DECREF(locals_models$unet3d$model$$$class__2_UNet3D_104); locals_models$unet3d$model$$$class__2_UNet3D_104 = NULL; goto try_return_handler_7; // Exception handler code: try_except_handler_8:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$unet3d$model$$$class__2_UNet3D_104); locals_models$unet3d$model$$$class__2_UNet3D_104 = NULL; // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto try_except_handler_7; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_7:; CHECK_OBJECT(outline_1_var___class__); Py_DECREF(outline_1_var___class__); outline_1_var___class__ = NULL; goto outline_result_2; // Exception handler code: try_except_handler_7:; exception_keeper_type_7 = exception_type; exception_keeper_value_7 = exception_value; exception_keeper_tb_7 = exception_tb; exception_keeper_lineno_7 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Re-raise. exception_type = exception_keeper_type_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto outline_exception_2; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_2:; exception_lineno = 104; goto try_except_handler_6; outline_result_2:; UPDATE_STRING_DICT1(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[29], tmp_assign_source_29); } goto try_end_4; // Exception handler code: try_except_handler_6:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_2__bases_orig); tmp_class_creation_2__bases_orig = NULL; Py_XDECREF(tmp_class_creation_2__bases); tmp_class_creation_2__bases = NULL; Py_XDECREF(tmp_class_creation_2__class_decl_dict); tmp_class_creation_2__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_2__metaclass); tmp_class_creation_2__metaclass = NULL; Py_XDECREF(tmp_class_creation_2__prepared); tmp_class_creation_2__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto frame_exception_exit_1; // End of try: try_end_4:; CHECK_OBJECT(tmp_class_creation_2__bases_orig); Py_DECREF(tmp_class_creation_2__bases_orig); tmp_class_creation_2__bases_orig = NULL; Py_XDECREF(tmp_class_creation_2__bases); tmp_class_creation_2__bases = NULL; Py_XDECREF(tmp_class_creation_2__class_decl_dict); tmp_class_creation_2__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_2__metaclass); tmp_class_creation_2__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_2__prepared); Py_DECREF(tmp_class_creation_2__prepared); tmp_class_creation_2__prepared = NULL; // Tried code: { PyObject *tmp_assign_source_31; PyObject *tmp_tuple_element_9; tmp_tuple_element_9 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[0]); if (unlikely(tmp_tuple_element_9 == NULL)) { tmp_tuple_element_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]); } if (tmp_tuple_element_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; goto try_except_handler_9; } tmp_assign_source_31 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_assign_source_31, 0, tmp_tuple_element_9); assert(tmp_class_creation_3__bases_orig == NULL); tmp_class_creation_3__bases_orig = tmp_assign_source_31; } { PyObject *tmp_assign_source_32; 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_32 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_32 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; goto try_except_handler_9; } assert(tmp_class_creation_3__bases == NULL); tmp_class_creation_3__bases = tmp_assign_source_32; } { PyObject *tmp_assign_source_33; tmp_assign_source_33 = PyDict_New(); assert(tmp_class_creation_3__class_decl_dict == NULL); tmp_class_creation_3__class_decl_dict = tmp_assign_source_33; } { PyObject *tmp_assign_source_34; 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_12; PyObject *tmp_subscript_name_3; PyObject *tmp_bases_name_3; tmp_key_name_7 = mod_consts[61]; 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[61]; 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 = 128; goto try_except_handler_9; } goto condexpr_end_5; condexpr_false_5:; CHECK_OBJECT(tmp_class_creation_3__bases); tmp_truth_name_3 = CHECK_IF_TRUE(tmp_class_creation_3__bases); if (tmp_truth_name_3 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; goto try_except_handler_9; } tmp_condition_result_14 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_14 == NUITKA_BOOL_TRUE) { goto condexpr_true_6; } else { goto condexpr_false_6; } condexpr_true_6:; CHECK_OBJECT(tmp_class_creation_3__bases); tmp_expression_name_12 = tmp_class_creation_3__bases; tmp_subscript_name_3 = mod_consts[15]; tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_12, 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 = 128; goto try_except_handler_9; } tmp_metaclass_name_3 = BUILTIN_TYPE1(tmp_type_arg_5); Py_DECREF(tmp_type_arg_5); if (tmp_metaclass_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; goto try_except_handler_9; } goto condexpr_end_6; condexpr_false_6:; tmp_metaclass_name_3 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_3); condexpr_end_6:; condexpr_end_5:; CHECK_OBJECT(tmp_class_creation_3__bases); tmp_bases_name_3 = tmp_class_creation_3__bases; tmp_assign_source_34 = SELECT_METACLASS(tmp_metaclass_name_3, tmp_bases_name_3); Py_DECREF(tmp_metaclass_name_3); if (tmp_assign_source_34 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; goto try_except_handler_9; } assert(tmp_class_creation_3__metaclass == NULL); tmp_class_creation_3__metaclass = tmp_assign_source_34; } { nuitka_bool tmp_condition_result_15; PyObject *tmp_key_name_9; PyObject *tmp_dict_arg_name_9; tmp_key_name_9 = mod_consts[61]; 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[61]; 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 = 128; goto try_except_handler_9; } branch_no_9:; { nuitka_bool tmp_condition_result_16; PyObject *tmp_expression_name_13; CHECK_OBJECT(tmp_class_creation_3__metaclass); tmp_expression_name_13 = tmp_class_creation_3__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_13, mod_consts[62]); 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_35; PyObject *tmp_called_name_5; PyObject *tmp_expression_name_14; 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_14 = tmp_class_creation_3__metaclass; tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_14, mod_consts[62]); if (tmp_called_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; goto try_except_handler_9; } tmp_tuple_element_10 = mod_consts[40]; 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_538bf138f16ddd30bd4432efc7d5498a->m_frame.f_lineno = 128; tmp_assign_source_35 = 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_35 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; goto try_except_handler_9; } assert(tmp_class_creation_3__prepared == NULL); tmp_class_creation_3__prepared = tmp_assign_source_35; } { nuitka_bool tmp_condition_result_17; PyObject *tmp_operand_name_3; PyObject *tmp_expression_name_15; CHECK_OBJECT(tmp_class_creation_3__prepared); tmp_expression_name_15 = tmp_class_creation_3__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_15, mod_consts[63]); 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 = 128; goto try_except_handler_9; } tmp_condition_result_17 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_17 == NUITKA_BOOL_TRUE) { goto branch_yes_11; } else { goto branch_no_11; } } branch_yes_11:; { PyObject *tmp_raise_type_3; PyObject *tmp_raise_value_3; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_tuple_element_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[64]; CHECK_OBJECT(tmp_class_creation_3__metaclass); tmp_getattr_target_3 = tmp_class_creation_3__metaclass; tmp_getattr_attr_3 = mod_consts[65]; tmp_getattr_default_3 = mod_consts[66]; 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 = 128; goto try_except_handler_9; } tmp_right_name_3 = PyTuple_New(2); { PyObject *tmp_expression_name_16; 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_16 = BUILTIN_TYPE1(tmp_type_arg_6); assert(!(tmp_expression_name_16 == NULL)); tmp_tuple_element_11 = LOOKUP_ATTRIBUTE(tmp_expression_name_16, mod_consts[65]); Py_DECREF(tmp_expression_name_16); if (tmp_tuple_element_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; 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_9; // 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 = 128; goto try_except_handler_9; } exception_type = tmp_raise_type_3; Py_INCREF(tmp_raise_type_3); exception_value = tmp_raise_value_3; exception_lineno = 128; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_9; } branch_no_11:; goto branch_end_10; branch_no_10:; { PyObject *tmp_assign_source_36; tmp_assign_source_36 = PyDict_New(); assert(tmp_class_creation_3__prepared == NULL); tmp_class_creation_3__prepared = tmp_assign_source_36; } branch_end_10:; { PyObject *tmp_assign_source_37; { PyObject *tmp_set_locals_3; CHECK_OBJECT(tmp_class_creation_3__prepared); tmp_set_locals_3 = tmp_class_creation_3__prepared; locals_models$unet3d$model$$$class__3_ResidualUNet3D_128 = tmp_set_locals_3; Py_INCREF(tmp_set_locals_3); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[65]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[65]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__3_ResidualUNet3D_128, mod_consts[67], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; goto try_except_handler_11; } tmp_dictset_value = mod_consts[78]; tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__3_ResidualUNet3D_128, mod_consts[48], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; goto try_except_handler_11; } tmp_dictset_value = mod_consts[40]; tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__3_ResidualUNet3D_128, mod_consts[69], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; goto try_except_handler_11; } if (isFrameUnusable(cache_frame_438d3b3c3982ede956dae212fa0b4596_4)) { Py_XDECREF(cache_frame_438d3b3c3982ede956dae212fa0b4596_4); #if _DEBUG_REFCOUNTS if (cache_frame_438d3b3c3982ede956dae212fa0b4596_4 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_438d3b3c3982ede956dae212fa0b4596_4 = MAKE_FUNCTION_FRAME(codeobj_438d3b3c3982ede956dae212fa0b4596, module_models$unet3d$model, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_438d3b3c3982ede956dae212fa0b4596_4->m_type_description == NULL); frame_438d3b3c3982ede956dae212fa0b4596_4 = cache_frame_438d3b3c3982ede956dae212fa0b4596_4; // Push the new frame as the currently active one. pushFrameStack(frame_438d3b3c3982ede956dae212fa0b4596_4); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_438d3b3c3982ede956dae212fa0b4596_4) == 2); // Frame stack // Framed code: { PyObject *tmp_defaults_3; tmp_defaults_3 = mod_consts[79]; Py_INCREF(tmp_defaults_3); tmp_dictset_value = MAKE_FUNCTION_models$unet3d$model$$$function__4___init__(tmp_defaults_3); tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__3_ResidualUNet3D_128, mod_consts[1], 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 = 136; type_description_2 = "o"; goto frame_exception_exit_4; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_438d3b3c3982ede956dae212fa0b4596_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_438d3b3c3982ede956dae212fa0b4596_4); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_438d3b3c3982ede956dae212fa0b4596_4, exception_lineno); } else if (exception_tb->tb_frame != &frame_438d3b3c3982ede956dae212fa0b4596_4->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_438d3b3c3982ede956dae212fa0b4596_4, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_438d3b3c3982ede956dae212fa0b4596_4, type_description_2, outline_2_var___class__ ); // Release cached frame if used for exception. if (frame_438d3b3c3982ede956dae212fa0b4596_4 == cache_frame_438d3b3c3982ede956dae212fa0b4596_4) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_438d3b3c3982ede956dae212fa0b4596_4); cache_frame_438d3b3c3982ede956dae212fa0b4596_4 = NULL; } assertFrameObject(frame_438d3b3c3982ede956dae212fa0b4596_4); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_3; frame_no_exception_3:; goto skip_nested_handling_3; nested_frame_exit_3:; goto try_except_handler_11; skip_nested_handling_3:; { nuitka_bool tmp_condition_result_18; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; CHECK_OBJECT(tmp_class_creation_3__bases); tmp_compexpr_left_3 = tmp_class_creation_3__bases; CHECK_OBJECT(tmp_class_creation_3__bases_orig); tmp_compexpr_right_3 = tmp_class_creation_3__bases_orig; tmp_condition_result_18 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_3, tmp_compexpr_right_3); if (tmp_condition_result_18 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; goto try_except_handler_11; } if (tmp_condition_result_18 == NUITKA_BOOL_TRUE) { goto branch_yes_12; } else { goto branch_no_12; } assert(tmp_condition_result_18 != NUITKA_BOOL_UNASSIGNED); } branch_yes_12:; CHECK_OBJECT(tmp_class_creation_3__bases_orig); tmp_dictset_value = tmp_class_creation_3__bases_orig; tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__3_ResidualUNet3D_128, mod_consts[74], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; goto try_except_handler_11; } branch_no_12:; { PyObject *tmp_assign_source_38; 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[40]; 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$unet3d$model$$$class__3_ResidualUNet3D_128; 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_538bf138f16ddd30bd4432efc7d5498a->m_frame.f_lineno = 128; tmp_assign_source_38 = CALL_FUNCTION(tmp_called_name_6, tmp_args_name_6, tmp_kwargs_name_6); Py_DECREF(tmp_args_name_6); if (tmp_assign_source_38 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; goto try_except_handler_11; } assert(outline_2_var___class__ == NULL); outline_2_var___class__ = tmp_assign_source_38; } CHECK_OBJECT(outline_2_var___class__); tmp_assign_source_37 = outline_2_var___class__; Py_INCREF(tmp_assign_source_37); goto try_return_handler_11; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_11:; Py_DECREF(locals_models$unet3d$model$$$class__3_ResidualUNet3D_128); locals_models$unet3d$model$$$class__3_ResidualUNet3D_128 = NULL; goto try_return_handler_10; // Exception handler code: try_except_handler_11:; exception_keeper_type_9 = exception_type; exception_keeper_value_9 = exception_value; exception_keeper_tb_9 = exception_tb; exception_keeper_lineno_9 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$unet3d$model$$$class__3_ResidualUNet3D_128); locals_models$unet3d$model$$$class__3_ResidualUNet3D_128 = NULL; // Re-raise. exception_type = exception_keeper_type_9; exception_value = exception_keeper_value_9; exception_tb = exception_keeper_tb_9; exception_lineno = exception_keeper_lineno_9; goto try_except_handler_10; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_10:; CHECK_OBJECT(outline_2_var___class__); Py_DECREF(outline_2_var___class__); outline_2_var___class__ = NULL; goto outline_result_3; // Exception handler code: try_except_handler_10:; exception_keeper_type_10 = exception_type; exception_keeper_value_10 = exception_value; exception_keeper_tb_10 = exception_tb; exception_keeper_lineno_10 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Re-raise. exception_type = exception_keeper_type_10; exception_value = exception_keeper_value_10; exception_tb = exception_keeper_tb_10; exception_lineno = exception_keeper_lineno_10; goto outline_exception_3; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_3:; exception_lineno = 128; goto try_except_handler_9; outline_result_3:; UPDATE_STRING_DICT1(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[40], tmp_assign_source_37); } goto try_end_5; // Exception handler code: try_except_handler_9:; exception_keeper_type_11 = exception_type; exception_keeper_value_11 = exception_value; exception_keeper_tb_11 = exception_tb; exception_keeper_lineno_11 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_3__bases_orig); tmp_class_creation_3__bases_orig = NULL; Py_XDECREF(tmp_class_creation_3__bases); tmp_class_creation_3__bases = NULL; Py_XDECREF(tmp_class_creation_3__class_decl_dict); tmp_class_creation_3__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_3__metaclass); tmp_class_creation_3__metaclass = NULL; Py_XDECREF(tmp_class_creation_3__prepared); tmp_class_creation_3__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_11; exception_value = exception_keeper_value_11; exception_tb = exception_keeper_tb_11; exception_lineno = exception_keeper_lineno_11; goto frame_exception_exit_1; // End of try: try_end_5:; CHECK_OBJECT(tmp_class_creation_3__bases_orig); Py_DECREF(tmp_class_creation_3__bases_orig); tmp_class_creation_3__bases_orig = NULL; Py_XDECREF(tmp_class_creation_3__bases); tmp_class_creation_3__bases = NULL; Py_XDECREF(tmp_class_creation_3__class_decl_dict); tmp_class_creation_3__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_3__metaclass); tmp_class_creation_3__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_3__prepared); Py_DECREF(tmp_class_creation_3__prepared); tmp_class_creation_3__prepared = NULL; // Tried code: { PyObject *tmp_assign_source_39; PyObject *tmp_tuple_element_13; tmp_tuple_element_13 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[0]); if (unlikely(tmp_tuple_element_13 == NULL)) { tmp_tuple_element_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]); } if (tmp_tuple_element_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 151; goto try_except_handler_12; } tmp_assign_source_39 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_assign_source_39, 0, tmp_tuple_element_13); assert(tmp_class_creation_4__bases_orig == NULL); tmp_class_creation_4__bases_orig = tmp_assign_source_39; } { PyObject *tmp_assign_source_40; 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_40 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_40 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 151; goto try_except_handler_12; } assert(tmp_class_creation_4__bases == NULL); tmp_class_creation_4__bases = tmp_assign_source_40; } { PyObject *tmp_assign_source_41; tmp_assign_source_41 = PyDict_New(); assert(tmp_class_creation_4__class_decl_dict == NULL); tmp_class_creation_4__class_decl_dict = tmp_assign_source_41; } { PyObject *tmp_assign_source_42; 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_17; PyObject *tmp_subscript_name_4; PyObject *tmp_bases_name_4; tmp_key_name_10 = mod_consts[61]; 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[61]; 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 = 151; goto try_except_handler_12; } goto condexpr_end_7; condexpr_false_7:; CHECK_OBJECT(tmp_class_creation_4__bases); tmp_truth_name_4 = CHECK_IF_TRUE(tmp_class_creation_4__bases); if (tmp_truth_name_4 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 151; goto try_except_handler_12; } tmp_condition_result_20 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_20 == NUITKA_BOOL_TRUE) { goto condexpr_true_8; } else { goto condexpr_false_8; } condexpr_true_8:; CHECK_OBJECT(tmp_class_creation_4__bases); tmp_expression_name_17 = tmp_class_creation_4__bases; tmp_subscript_name_4 = mod_consts[15]; tmp_type_arg_7 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_17, 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 = 151; goto try_except_handler_12; } tmp_metaclass_name_4 = BUILTIN_TYPE1(tmp_type_arg_7); Py_DECREF(tmp_type_arg_7); if (tmp_metaclass_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 151; goto try_except_handler_12; } goto condexpr_end_8; condexpr_false_8:; tmp_metaclass_name_4 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_4); condexpr_end_8:; condexpr_end_7:; CHECK_OBJECT(tmp_class_creation_4__bases); tmp_bases_name_4 = tmp_class_creation_4__bases; tmp_assign_source_42 = SELECT_METACLASS(tmp_metaclass_name_4, tmp_bases_name_4); Py_DECREF(tmp_metaclass_name_4); if (tmp_assign_source_42 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 151; goto try_except_handler_12; } assert(tmp_class_creation_4__metaclass == NULL); tmp_class_creation_4__metaclass = tmp_assign_source_42; } { nuitka_bool tmp_condition_result_21; PyObject *tmp_key_name_12; PyObject *tmp_dict_arg_name_12; tmp_key_name_12 = mod_consts[61]; 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[61]; 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 = 151; goto try_except_handler_12; } branch_no_13:; { nuitka_bool tmp_condition_result_22; PyObject *tmp_expression_name_18; CHECK_OBJECT(tmp_class_creation_4__metaclass); tmp_expression_name_18 = tmp_class_creation_4__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_18, mod_consts[62]); 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_43; PyObject *tmp_called_name_7; PyObject *tmp_expression_name_19; 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_19 = tmp_class_creation_4__metaclass; tmp_called_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_19, mod_consts[62]); if (tmp_called_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 151; goto try_except_handler_12; } tmp_tuple_element_14 = mod_consts[42]; 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_538bf138f16ddd30bd4432efc7d5498a->m_frame.f_lineno = 151; tmp_assign_source_43 = 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_43 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 151; goto try_except_handler_12; } assert(tmp_class_creation_4__prepared == NULL); tmp_class_creation_4__prepared = tmp_assign_source_43; } { nuitka_bool tmp_condition_result_23; PyObject *tmp_operand_name_4; PyObject *tmp_expression_name_20; CHECK_OBJECT(tmp_class_creation_4__prepared); tmp_expression_name_20 = tmp_class_creation_4__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_20, mod_consts[63]); 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 = 151; goto try_except_handler_12; } tmp_condition_result_23 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_23 == NUITKA_BOOL_TRUE) { goto branch_yes_15; } else { goto branch_no_15; } } branch_yes_15:; { PyObject *tmp_raise_type_4; PyObject *tmp_raise_value_4; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; PyObject *tmp_tuple_element_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[64]; CHECK_OBJECT(tmp_class_creation_4__metaclass); tmp_getattr_target_4 = tmp_class_creation_4__metaclass; tmp_getattr_attr_4 = mod_consts[65]; tmp_getattr_default_4 = mod_consts[66]; 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 = 151; goto try_except_handler_12; } tmp_right_name_4 = PyTuple_New(2); { PyObject *tmp_expression_name_21; 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_21 = BUILTIN_TYPE1(tmp_type_arg_8); assert(!(tmp_expression_name_21 == NULL)); tmp_tuple_element_15 = LOOKUP_ATTRIBUTE(tmp_expression_name_21, mod_consts[65]); Py_DECREF(tmp_expression_name_21); if (tmp_tuple_element_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 151; 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_12; // 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 = 151; goto try_except_handler_12; } exception_type = tmp_raise_type_4; Py_INCREF(tmp_raise_type_4); exception_value = tmp_raise_value_4; exception_lineno = 151; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_12; } branch_no_15:; goto branch_end_14; branch_no_14:; { PyObject *tmp_assign_source_44; tmp_assign_source_44 = PyDict_New(); assert(tmp_class_creation_4__prepared == NULL); tmp_class_creation_4__prepared = tmp_assign_source_44; } branch_end_14:; { PyObject *tmp_assign_source_45; { PyObject *tmp_set_locals_4; CHECK_OBJECT(tmp_class_creation_4__prepared); tmp_set_locals_4 = tmp_class_creation_4__prepared; locals_models$unet3d$model$$$class__4_ResidualUNetSE3D_151 = tmp_set_locals_4; Py_INCREF(tmp_set_locals_4); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[65]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[65]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__4_ResidualUNetSE3D_151, mod_consts[67], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 151; goto try_except_handler_14; } tmp_dictset_value = mod_consts[81]; tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__4_ResidualUNetSE3D_151, mod_consts[48], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 151; goto try_except_handler_14; } tmp_dictset_value = mod_consts[42]; tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__4_ResidualUNetSE3D_151, mod_consts[69], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 151; goto try_except_handler_14; } if (isFrameUnusable(cache_frame_66dcfe6c36e3c070fdf25ab6c2a0819a_5)) { Py_XDECREF(cache_frame_66dcfe6c36e3c070fdf25ab6c2a0819a_5); #if _DEBUG_REFCOUNTS if (cache_frame_66dcfe6c36e3c070fdf25ab6c2a0819a_5 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_66dcfe6c36e3c070fdf25ab6c2a0819a_5 = MAKE_FUNCTION_FRAME(codeobj_66dcfe6c36e3c070fdf25ab6c2a0819a, module_models$unet3d$model, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_66dcfe6c36e3c070fdf25ab6c2a0819a_5->m_type_description == NULL); frame_66dcfe6c36e3c070fdf25ab6c2a0819a_5 = cache_frame_66dcfe6c36e3c070fdf25ab6c2a0819a_5; // Push the new frame as the currently active one. pushFrameStack(frame_66dcfe6c36e3c070fdf25ab6c2a0819a_5); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_66dcfe6c36e3c070fdf25ab6c2a0819a_5) == 2); // Frame stack // Framed code: { PyObject *tmp_defaults_4; tmp_defaults_4 = mod_consts[79]; Py_INCREF(tmp_defaults_4); tmp_dictset_value = MAKE_FUNCTION_models$unet3d$model$$$function__5___init__(tmp_defaults_4); tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__4_ResidualUNetSE3D_151, mod_consts[1], 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 = 161; type_description_2 = "o"; goto frame_exception_exit_5; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_66dcfe6c36e3c070fdf25ab6c2a0819a_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_66dcfe6c36e3c070fdf25ab6c2a0819a_5); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_66dcfe6c36e3c070fdf25ab6c2a0819a_5, exception_lineno); } else if (exception_tb->tb_frame != &frame_66dcfe6c36e3c070fdf25ab6c2a0819a_5->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_66dcfe6c36e3c070fdf25ab6c2a0819a_5, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_66dcfe6c36e3c070fdf25ab6c2a0819a_5, type_description_2, outline_3_var___class__ ); // Release cached frame if used for exception. if (frame_66dcfe6c36e3c070fdf25ab6c2a0819a_5 == cache_frame_66dcfe6c36e3c070fdf25ab6c2a0819a_5) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_66dcfe6c36e3c070fdf25ab6c2a0819a_5); cache_frame_66dcfe6c36e3c070fdf25ab6c2a0819a_5 = NULL; } assertFrameObject(frame_66dcfe6c36e3c070fdf25ab6c2a0819a_5); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_4; frame_no_exception_4:; goto skip_nested_handling_4; nested_frame_exit_4:; goto try_except_handler_14; skip_nested_handling_4:; { nuitka_bool tmp_condition_result_24; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; CHECK_OBJECT(tmp_class_creation_4__bases); tmp_compexpr_left_4 = tmp_class_creation_4__bases; CHECK_OBJECT(tmp_class_creation_4__bases_orig); tmp_compexpr_right_4 = tmp_class_creation_4__bases_orig; tmp_condition_result_24 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_4, tmp_compexpr_right_4); if (tmp_condition_result_24 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 151; goto try_except_handler_14; } if (tmp_condition_result_24 == NUITKA_BOOL_TRUE) { goto branch_yes_16; } else { goto branch_no_16; } assert(tmp_condition_result_24 != NUITKA_BOOL_UNASSIGNED); } branch_yes_16:; CHECK_OBJECT(tmp_class_creation_4__bases_orig); tmp_dictset_value = tmp_class_creation_4__bases_orig; tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__4_ResidualUNetSE3D_151, mod_consts[74], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 151; goto try_except_handler_14; } branch_no_16:; { PyObject *tmp_assign_source_46; 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[42]; 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$unet3d$model$$$class__4_ResidualUNetSE3D_151; 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_538bf138f16ddd30bd4432efc7d5498a->m_frame.f_lineno = 151; tmp_assign_source_46 = CALL_FUNCTION(tmp_called_name_8, tmp_args_name_8, tmp_kwargs_name_8); Py_DECREF(tmp_args_name_8); if (tmp_assign_source_46 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 151; goto try_except_handler_14; } assert(outline_3_var___class__ == NULL); outline_3_var___class__ = tmp_assign_source_46; } CHECK_OBJECT(outline_3_var___class__); tmp_assign_source_45 = outline_3_var___class__; Py_INCREF(tmp_assign_source_45); goto try_return_handler_14; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_14:; Py_DECREF(locals_models$unet3d$model$$$class__4_ResidualUNetSE3D_151); locals_models$unet3d$model$$$class__4_ResidualUNetSE3D_151 = NULL; goto try_return_handler_13; // Exception handler code: try_except_handler_14:; exception_keeper_type_12 = exception_type; exception_keeper_value_12 = exception_value; exception_keeper_tb_12 = exception_tb; exception_keeper_lineno_12 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$unet3d$model$$$class__4_ResidualUNetSE3D_151); locals_models$unet3d$model$$$class__4_ResidualUNetSE3D_151 = NULL; // Re-raise. exception_type = exception_keeper_type_12; exception_value = exception_keeper_value_12; exception_tb = exception_keeper_tb_12; exception_lineno = exception_keeper_lineno_12; goto try_except_handler_13; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_13:; CHECK_OBJECT(outline_3_var___class__); Py_DECREF(outline_3_var___class__); outline_3_var___class__ = NULL; goto outline_result_4; // Exception handler code: try_except_handler_13:; exception_keeper_type_13 = exception_type; exception_keeper_value_13 = exception_value; exception_keeper_tb_13 = exception_tb; exception_keeper_lineno_13 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Re-raise. exception_type = exception_keeper_type_13; exception_value = exception_keeper_value_13; exception_tb = exception_keeper_tb_13; exception_lineno = exception_keeper_lineno_13; goto outline_exception_4; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_4:; exception_lineno = 151; goto try_except_handler_12; outline_result_4:; UPDATE_STRING_DICT1(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[42], tmp_assign_source_45); } goto try_end_6; // Exception handler code: try_except_handler_12:; exception_keeper_type_14 = exception_type; exception_keeper_value_14 = exception_value; exception_keeper_tb_14 = exception_tb; exception_keeper_lineno_14 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_4__bases_orig); tmp_class_creation_4__bases_orig = NULL; Py_XDECREF(tmp_class_creation_4__bases); tmp_class_creation_4__bases = NULL; Py_XDECREF(tmp_class_creation_4__class_decl_dict); tmp_class_creation_4__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_4__metaclass); tmp_class_creation_4__metaclass = NULL; Py_XDECREF(tmp_class_creation_4__prepared); tmp_class_creation_4__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_14; exception_value = exception_keeper_value_14; exception_tb = exception_keeper_tb_14; exception_lineno = exception_keeper_lineno_14; goto frame_exception_exit_1; // End of try: try_end_6:; CHECK_OBJECT(tmp_class_creation_4__bases_orig); Py_DECREF(tmp_class_creation_4__bases_orig); tmp_class_creation_4__bases_orig = NULL; Py_XDECREF(tmp_class_creation_4__bases); tmp_class_creation_4__bases = NULL; Py_XDECREF(tmp_class_creation_4__class_decl_dict); tmp_class_creation_4__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_4__metaclass); tmp_class_creation_4__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_4__prepared); Py_DECREF(tmp_class_creation_4__prepared); tmp_class_creation_4__prepared = NULL; // Tried code: { PyObject *tmp_assign_source_47; PyObject *tmp_tuple_element_17; tmp_tuple_element_17 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[0]); if (unlikely(tmp_tuple_element_17 == NULL)) { tmp_tuple_element_17 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]); } if (tmp_tuple_element_17 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 176; goto try_except_handler_15; } tmp_assign_source_47 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_assign_source_47, 0, tmp_tuple_element_17); assert(tmp_class_creation_5__bases_orig == NULL); tmp_class_creation_5__bases_orig = tmp_assign_source_47; } { PyObject *tmp_assign_source_48; 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_48 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_48 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 176; goto try_except_handler_15; } assert(tmp_class_creation_5__bases == NULL); tmp_class_creation_5__bases = tmp_assign_source_48; } { PyObject *tmp_assign_source_49; tmp_assign_source_49 = PyDict_New(); assert(tmp_class_creation_5__class_decl_dict == NULL); tmp_class_creation_5__class_decl_dict = tmp_assign_source_49; } { PyObject *tmp_assign_source_50; 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_22; PyObject *tmp_subscript_name_5; PyObject *tmp_bases_name_5; tmp_key_name_13 = mod_consts[61]; 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[61]; 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 = 176; goto try_except_handler_15; } goto condexpr_end_9; condexpr_false_9:; CHECK_OBJECT(tmp_class_creation_5__bases); tmp_truth_name_5 = CHECK_IF_TRUE(tmp_class_creation_5__bases); if (tmp_truth_name_5 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 176; goto try_except_handler_15; } tmp_condition_result_26 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_26 == NUITKA_BOOL_TRUE) { goto condexpr_true_10; } else { goto condexpr_false_10; } condexpr_true_10:; CHECK_OBJECT(tmp_class_creation_5__bases); tmp_expression_name_22 = tmp_class_creation_5__bases; tmp_subscript_name_5 = mod_consts[15]; tmp_type_arg_9 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_22, 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 = 176; goto try_except_handler_15; } tmp_metaclass_name_5 = BUILTIN_TYPE1(tmp_type_arg_9); Py_DECREF(tmp_type_arg_9); if (tmp_metaclass_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 176; goto try_except_handler_15; } goto condexpr_end_10; condexpr_false_10:; tmp_metaclass_name_5 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_5); condexpr_end_10:; condexpr_end_9:; CHECK_OBJECT(tmp_class_creation_5__bases); tmp_bases_name_5 = tmp_class_creation_5__bases; tmp_assign_source_50 = SELECT_METACLASS(tmp_metaclass_name_5, tmp_bases_name_5); Py_DECREF(tmp_metaclass_name_5); if (tmp_assign_source_50 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 176; goto try_except_handler_15; } assert(tmp_class_creation_5__metaclass == NULL); tmp_class_creation_5__metaclass = tmp_assign_source_50; } { nuitka_bool tmp_condition_result_27; PyObject *tmp_key_name_15; PyObject *tmp_dict_arg_name_15; tmp_key_name_15 = mod_consts[61]; 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[61]; 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 = 176; goto try_except_handler_15; } branch_no_17:; { nuitka_bool tmp_condition_result_28; PyObject *tmp_expression_name_23; CHECK_OBJECT(tmp_class_creation_5__metaclass); tmp_expression_name_23 = tmp_class_creation_5__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_23, mod_consts[62]); 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_51; PyObject *tmp_called_name_9; PyObject *tmp_expression_name_24; 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_24 = tmp_class_creation_5__metaclass; tmp_called_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_24, mod_consts[62]); if (tmp_called_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 176; goto try_except_handler_15; } tmp_tuple_element_18 = mod_consts[44]; 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_538bf138f16ddd30bd4432efc7d5498a->m_frame.f_lineno = 176; tmp_assign_source_51 = 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_51 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 176; goto try_except_handler_15; } assert(tmp_class_creation_5__prepared == NULL); tmp_class_creation_5__prepared = tmp_assign_source_51; } { nuitka_bool tmp_condition_result_29; PyObject *tmp_operand_name_5; PyObject *tmp_expression_name_25; CHECK_OBJECT(tmp_class_creation_5__prepared); tmp_expression_name_25 = tmp_class_creation_5__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_25, mod_consts[63]); 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 = 176; goto try_except_handler_15; } tmp_condition_result_29 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_29 == NUITKA_BOOL_TRUE) { goto branch_yes_19; } else { goto branch_no_19; } } branch_yes_19:; { PyObject *tmp_raise_type_5; PyObject *tmp_raise_value_5; PyObject *tmp_left_name_5; PyObject *tmp_right_name_5; PyObject *tmp_tuple_element_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[64]; CHECK_OBJECT(tmp_class_creation_5__metaclass); tmp_getattr_target_5 = tmp_class_creation_5__metaclass; tmp_getattr_attr_5 = mod_consts[65]; tmp_getattr_default_5 = mod_consts[66]; 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 = 176; goto try_except_handler_15; } tmp_right_name_5 = PyTuple_New(2); { PyObject *tmp_expression_name_26; 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_26 = BUILTIN_TYPE1(tmp_type_arg_10); assert(!(tmp_expression_name_26 == NULL)); tmp_tuple_element_19 = LOOKUP_ATTRIBUTE(tmp_expression_name_26, mod_consts[65]); Py_DECREF(tmp_expression_name_26); if (tmp_tuple_element_19 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 176; 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_15; // 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 = 176; goto try_except_handler_15; } exception_type = tmp_raise_type_5; Py_INCREF(tmp_raise_type_5); exception_value = tmp_raise_value_5; exception_lineno = 176; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_15; } branch_no_19:; goto branch_end_18; branch_no_18:; { PyObject *tmp_assign_source_52; tmp_assign_source_52 = PyDict_New(); assert(tmp_class_creation_5__prepared == NULL); tmp_class_creation_5__prepared = tmp_assign_source_52; } branch_end_18:; { PyObject *tmp_assign_source_53; { PyObject *tmp_set_locals_5; CHECK_OBJECT(tmp_class_creation_5__prepared); tmp_set_locals_5 = tmp_class_creation_5__prepared; locals_models$unet3d$model$$$class__5_UNet2D_176 = tmp_set_locals_5; Py_INCREF(tmp_set_locals_5); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[65]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[65]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__5_UNet2D_176, mod_consts[67], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 176; goto try_except_handler_17; } tmp_dictset_value = mod_consts[83]; tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__5_UNet2D_176, mod_consts[48], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 176; goto try_except_handler_17; } tmp_dictset_value = mod_consts[44]; tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__5_UNet2D_176, mod_consts[69], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 176; goto try_except_handler_17; } if (isFrameUnusable(cache_frame_c371277ecadaa6cb8a18001c7c4d4b3e_6)) { Py_XDECREF(cache_frame_c371277ecadaa6cb8a18001c7c4d4b3e_6); #if _DEBUG_REFCOUNTS if (cache_frame_c371277ecadaa6cb8a18001c7c4d4b3e_6 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_c371277ecadaa6cb8a18001c7c4d4b3e_6 = MAKE_FUNCTION_FRAME(codeobj_c371277ecadaa6cb8a18001c7c4d4b3e, module_models$unet3d$model, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_c371277ecadaa6cb8a18001c7c4d4b3e_6->m_type_description == NULL); frame_c371277ecadaa6cb8a18001c7c4d4b3e_6 = cache_frame_c371277ecadaa6cb8a18001c7c4d4b3e_6; // Push the new frame as the currently active one. pushFrameStack(frame_c371277ecadaa6cb8a18001c7c4d4b3e_6); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_c371277ecadaa6cb8a18001c7c4d4b3e_6) == 2); // Frame stack // Framed code: { PyObject *tmp_defaults_5; tmp_defaults_5 = mod_consts[76]; Py_INCREF(tmp_defaults_5); tmp_dictset_value = MAKE_FUNCTION_models$unet3d$model$$$function__6___init__(tmp_defaults_5); tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__5_UNet2D_176, mod_consts[1], 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 = 182; type_description_2 = "o"; goto frame_exception_exit_6; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_c371277ecadaa6cb8a18001c7c4d4b3e_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_c371277ecadaa6cb8a18001c7c4d4b3e_6); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_c371277ecadaa6cb8a18001c7c4d4b3e_6, exception_lineno); } else if (exception_tb->tb_frame != &frame_c371277ecadaa6cb8a18001c7c4d4b3e_6->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_c371277ecadaa6cb8a18001c7c4d4b3e_6, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_c371277ecadaa6cb8a18001c7c4d4b3e_6, type_description_2, outline_4_var___class__ ); // Release cached frame if used for exception. if (frame_c371277ecadaa6cb8a18001c7c4d4b3e_6 == cache_frame_c371277ecadaa6cb8a18001c7c4d4b3e_6) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_c371277ecadaa6cb8a18001c7c4d4b3e_6); cache_frame_c371277ecadaa6cb8a18001c7c4d4b3e_6 = NULL; } assertFrameObject(frame_c371277ecadaa6cb8a18001c7c4d4b3e_6); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_5; frame_no_exception_5:; goto skip_nested_handling_5; nested_frame_exit_5:; goto try_except_handler_17; skip_nested_handling_5:; { nuitka_bool tmp_condition_result_30; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; CHECK_OBJECT(tmp_class_creation_5__bases); tmp_compexpr_left_5 = tmp_class_creation_5__bases; CHECK_OBJECT(tmp_class_creation_5__bases_orig); tmp_compexpr_right_5 = tmp_class_creation_5__bases_orig; tmp_condition_result_30 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_5, tmp_compexpr_right_5); if (tmp_condition_result_30 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 176; goto try_except_handler_17; } if (tmp_condition_result_30 == NUITKA_BOOL_TRUE) { goto branch_yes_20; } else { goto branch_no_20; } assert(tmp_condition_result_30 != NUITKA_BOOL_UNASSIGNED); } branch_yes_20:; CHECK_OBJECT(tmp_class_creation_5__bases_orig); tmp_dictset_value = tmp_class_creation_5__bases_orig; tmp_res = PyObject_SetItem(locals_models$unet3d$model$$$class__5_UNet2D_176, mod_consts[74], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 176; goto try_except_handler_17; } branch_no_20:; { PyObject *tmp_assign_source_54; PyObject *tmp_called_name_10; 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_10 = tmp_class_creation_5__metaclass; tmp_tuple_element_20 = mod_consts[44]; 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$unet3d$model$$$class__5_UNet2D_176; 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_538bf138f16ddd30bd4432efc7d5498a->m_frame.f_lineno = 176; tmp_assign_source_54 = CALL_FUNCTION(tmp_called_name_10, tmp_args_name_10, tmp_kwargs_name_10); Py_DECREF(tmp_args_name_10); if (tmp_assign_source_54 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 176; goto try_except_handler_17; } assert(outline_4_var___class__ == NULL); outline_4_var___class__ = tmp_assign_source_54; } CHECK_OBJECT(outline_4_var___class__); tmp_assign_source_53 = outline_4_var___class__; Py_INCREF(tmp_assign_source_53); goto try_return_handler_17; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_17:; Py_DECREF(locals_models$unet3d$model$$$class__5_UNet2D_176); locals_models$unet3d$model$$$class__5_UNet2D_176 = NULL; goto try_return_handler_16; // Exception handler code: try_except_handler_17:; exception_keeper_type_15 = exception_type; exception_keeper_value_15 = exception_value; exception_keeper_tb_15 = exception_tb; exception_keeper_lineno_15 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$unet3d$model$$$class__5_UNet2D_176); locals_models$unet3d$model$$$class__5_UNet2D_176 = NULL; // Re-raise. exception_type = exception_keeper_type_15; exception_value = exception_keeper_value_15; exception_tb = exception_keeper_tb_15; exception_lineno = exception_keeper_lineno_15; goto try_except_handler_16; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_16:; CHECK_OBJECT(outline_4_var___class__); Py_DECREF(outline_4_var___class__); outline_4_var___class__ = NULL; goto outline_result_5; // Exception handler code: try_except_handler_16:; exception_keeper_type_16 = exception_type; exception_keeper_value_16 = exception_value; exception_keeper_tb_16 = exception_tb; exception_keeper_lineno_16 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Re-raise. exception_type = exception_keeper_type_16; exception_value = exception_keeper_value_16; exception_tb = exception_keeper_tb_16; exception_lineno = exception_keeper_lineno_16; goto outline_exception_5; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_5:; exception_lineno = 176; goto try_except_handler_15; outline_result_5:; UPDATE_STRING_DICT1(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[44], tmp_assign_source_53); } goto try_end_7; // Exception handler code: try_except_handler_15:; exception_keeper_type_17 = exception_type; exception_keeper_value_17 = exception_value; exception_keeper_tb_17 = exception_tb; exception_keeper_lineno_17 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_5__bases_orig); tmp_class_creation_5__bases_orig = NULL; Py_XDECREF(tmp_class_creation_5__bases); tmp_class_creation_5__bases = NULL; Py_XDECREF(tmp_class_creation_5__class_decl_dict); tmp_class_creation_5__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_5__metaclass); tmp_class_creation_5__metaclass = NULL; Py_XDECREF(tmp_class_creation_5__prepared); tmp_class_creation_5__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_17; exception_value = exception_keeper_value_17; exception_tb = exception_keeper_tb_17; exception_lineno = exception_keeper_lineno_17; goto frame_exception_exit_1; // End of try: try_end_7:; // Restore frame exception if necessary. #if 0 RESTORE_FRAME_EXCEPTION(frame_538bf138f16ddd30bd4432efc7d5498a); #endif popFrameStack(); assertFrameObject(frame_538bf138f16ddd30bd4432efc7d5498a); goto frame_no_exception_6; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_538bf138f16ddd30bd4432efc7d5498a); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_538bf138f16ddd30bd4432efc7d5498a, exception_lineno); } else if (exception_tb->tb_frame != &frame_538bf138f16ddd30bd4432efc7d5498a->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_538bf138f16ddd30bd4432efc7d5498a, 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; { PyObject *tmp_assign_source_55; tmp_assign_source_55 = MAKE_FUNCTION_models$unet3d$model$$$function__7_get_model(); UPDATE_STRING_DICT1(moduledict_models$unet3d$model, (Nuitka_StringObject *)mod_consts[85], tmp_assign_source_55); } return module_models$unet3d$model; module_exception_exit: RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; }