program(1.0) [buildInfo = dict, tensor>({{"coremlc-component-MIL", "3520.4.1"}, {"coremlc-version", "3520.5.1"}, {"coremltools-component-torch", "2.5.0"}, {"coremltools-source-dialect", "TorchScript"}, {"coremltools-version", "8.3.0"}})] { func main(tensor waveform) { tensor wav_norm_bias = const()[name = tensor("wav_norm_bias"), val = tensor([0x1.73505ep-5])]; tensor wav_norm_weight = const()[name = tensor("wav_norm_weight"), val = tensor([0x1.43f862p-7])]; tensor conv0_weight = const()[name = tensor("conv0_weight"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(64)))]; tensor norm0_bias = const()[name = tensor("norm0_bias"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(80448)))]; tensor norm0_weight = const()[name = tensor("norm0_weight"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(80832)))]; tensor conv1_bias = const()[name = tensor("conv1_bias"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(81216)))]; tensor conv1_weight = const()[name = tensor("conv1_weight"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(81536)))]; tensor norm1_bias = const()[name = tensor("norm1_bias"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(177600)))]; tensor norm1_weight = const()[name = tensor("norm1_weight"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(177920)))]; tensor conv2_bias = const()[name = tensor("conv2_bias"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(178240)))]; tensor conv2_weight = const()[name = tensor("conv2_weight"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(178560)))]; tensor norm2_bias = const()[name = tensor("norm2_bias"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(250624)))]; tensor norm2_weight = const()[name = tensor("norm2_weight"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(250944)))]; tensor linear0_bias = const()[name = tensor("linear0_bias"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(251264)))]; tensor linear0_weight = const()[name = tensor("linear0_weight"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(251840)))]; tensor linear1_bias = const()[name = tensor("linear1_bias"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(382976)))]; tensor linear1_weight = const()[name = tensor("linear1_weight"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(383552)))]; tensor classifier_bias = const()[name = tensor("classifier_bias"), val = tensor([-0x1.00e888p+0, 0x1.67cb52p-2, 0x1.3d87fp-1, 0x1.c8aa8p-2, -0x1.445f5ep-2, -0x1.591274p-1, -0x1.8fb70ep-2])]; tensor classifier_weight = const()[name = tensor("classifier_weight"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(449152)))]; tensor var_13 = const()[name = tensor("op_13"), val = tensor(0x1.4f8b58p-17)]; tensor input_1 = instance_norm(beta = wav_norm_bias, epsilon = var_13, gamma = wav_norm_weight, x = waveform)[name = tensor("input_1")]; tensor var_31_pad_type_0 = const()[name = tensor("op_31_pad_type_0"), val = tensor("valid")]; tensor var_31_strides_0 = const()[name = tensor("op_31_strides_0"), val = tensor([10])]; tensor var_31_pad_0 = const()[name = tensor("op_31_pad_0"), val = tensor([0, 0])]; tensor var_31_dilations_0 = const()[name = tensor("op_31_dilations_0"), val = tensor([1])]; tensor var_31_groups_0 = const()[name = tensor("op_31_groups_0"), val = tensor(1)]; tensor var_31 = conv(dilations = var_31_dilations_0, groups = var_31_groups_0, pad = var_31_pad_0, pad_type = var_31_pad_type_0, strides = var_31_strides_0, weight = conv0_weight, x = input_1)[name = tensor("op_31")]; tensor input_3 = abs(x = var_31)[name = tensor("input_3")]; tensor var_34 = const()[name = tensor("op_34"), val = tensor([3])]; tensor var_36 = const()[name = tensor("op_36"), val = tensor([3])]; tensor input_5_pad_type_0 = const()[name = tensor("input_5_pad_type_0"), val = tensor("custom")]; tensor input_5_pad_0 = const()[name = tensor("input_5_pad_0"), val = tensor([0, 0])]; tensor input_5_ceil_mode_0 = const()[name = tensor("input_5_ceil_mode_0"), val = tensor(false)]; tensor input_5 = max_pool(ceil_mode = input_5_ceil_mode_0, kernel_sizes = var_34, pad = input_5_pad_0, pad_type = input_5_pad_type_0, strides = var_36, x = input_3)[name = tensor("input_5")]; tensor var_43 = const()[name = tensor("op_43"), val = tensor(0x1.4f8b58p-17)]; tensor input_7 = instance_norm(beta = norm0_bias, epsilon = var_43, gamma = norm0_weight, x = input_5)[name = tensor("input_7")]; tensor var_50 = const()[name = tensor("op_50"), val = tensor(0x1.47ae14p-7)]; tensor input_9 = leaky_relu(alpha = var_50, x = input_7)[name = tensor("input_9")]; tensor input_11_pad_type_0 = const()[name = tensor("input_11_pad_type_0"), val = tensor("valid")]; tensor input_11_strides_0 = const()[name = tensor("input_11_strides_0"), val = tensor([1])]; tensor input_11_pad_0 = const()[name = tensor("input_11_pad_0"), val = tensor([0, 0])]; tensor input_11_dilations_0 = const()[name = tensor("input_11_dilations_0"), val = tensor([1])]; tensor input_11_groups_0 = const()[name = tensor("input_11_groups_0"), val = tensor(1)]; tensor input_11 = conv(bias = conv1_bias, dilations = input_11_dilations_0, groups = input_11_groups_0, pad = input_11_pad_0, pad_type = input_11_pad_type_0, strides = input_11_strides_0, weight = conv1_weight, x = input_9)[name = tensor("input_11")]; tensor var_64 = const()[name = tensor("op_64"), val = tensor([3])]; tensor var_66 = const()[name = tensor("op_66"), val = tensor([3])]; tensor input_13_pad_type_0 = const()[name = tensor("input_13_pad_type_0"), val = tensor("custom")]; tensor input_13_pad_0 = const()[name = tensor("input_13_pad_0"), val = tensor([0, 0])]; tensor input_13_ceil_mode_0 = const()[name = tensor("input_13_ceil_mode_0"), val = tensor(false)]; tensor input_13 = max_pool(ceil_mode = input_13_ceil_mode_0, kernel_sizes = var_64, pad = input_13_pad_0, pad_type = input_13_pad_type_0, strides = var_66, x = input_11)[name = tensor("input_13")]; tensor var_73 = const()[name = tensor("op_73"), val = tensor(0x1.4f8b58p-17)]; tensor input_15 = instance_norm(beta = norm1_bias, epsilon = var_73, gamma = norm1_weight, x = input_13)[name = tensor("input_15")]; tensor var_80 = const()[name = tensor("op_80"), val = tensor(0x1.47ae14p-7)]; tensor input_17 = leaky_relu(alpha = var_80, x = input_15)[name = tensor("input_17")]; tensor input_19_pad_type_0 = const()[name = tensor("input_19_pad_type_0"), val = tensor("valid")]; tensor input_19_strides_0 = const()[name = tensor("input_19_strides_0"), val = tensor([1])]; tensor input_19_pad_0 = const()[name = tensor("input_19_pad_0"), val = tensor([0, 0])]; tensor input_19_dilations_0 = const()[name = tensor("input_19_dilations_0"), val = tensor([1])]; tensor input_19_groups_0 = const()[name = tensor("input_19_groups_0"), val = tensor(1)]; tensor input_19 = conv(bias = conv2_bias, dilations = input_19_dilations_0, groups = input_19_groups_0, pad = input_19_pad_0, pad_type = input_19_pad_type_0, strides = input_19_strides_0, weight = conv2_weight, x = input_17)[name = tensor("input_19")]; tensor var_94 = const()[name = tensor("op_94"), val = tensor([3])]; tensor var_96 = const()[name = tensor("op_96"), val = tensor([3])]; tensor input_21_pad_type_0 = const()[name = tensor("input_21_pad_type_0"), val = tensor("custom")]; tensor input_21_pad_0 = const()[name = tensor("input_21_pad_0"), val = tensor([0, 0])]; tensor input_21_ceil_mode_0 = const()[name = tensor("input_21_ceil_mode_0"), val = tensor(false)]; tensor input_21 = max_pool(ceil_mode = input_21_ceil_mode_0, kernel_sizes = var_94, pad = input_21_pad_0, pad_type = input_21_pad_type_0, strides = var_96, x = input_19)[name = tensor("input_21")]; tensor var_103 = const()[name = tensor("op_103"), val = tensor(0x1.4f8b58p-17)]; tensor input_23 = instance_norm(beta = norm2_bias, epsilon = var_103, gamma = norm2_weight, x = input_21)[name = tensor("input_23")]; tensor var_110 = const()[name = tensor("op_110"), val = tensor(0x1.47ae14p-7)]; tensor x = leaky_relu(alpha = var_110, x = input_23)[name = tensor("x")]; tensor transpose_0_perm_0 = const()[name = tensor("transpose_0_perm_0"), val = tensor([2, 0, 1])]; tensor add_0 = const()[name = tensor("add_0"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(452800)))]; tensor add_1 = const()[name = tensor("add_1"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(454912)))]; tensor concat_4 = const()[name = tensor("concat_4"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(457024)))]; tensor concat_5 = const()[name = tensor("concat_5"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(579968)))]; tensor concat_6 = const()[name = tensor("concat_6"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(842176)))]; tensor concat_7 = const()[name = tensor("concat_7"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(965120)))]; tensor input_27_lstm_layer_0_lstm_h0_reshaped = const()[name = tensor("input_27_lstm_layer_0_lstm_h0_reshaped"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(1227328)))]; tensor input_27_lstm_layer_0_direction_0 = const()[name = tensor("input_27_lstm_layer_0_direction_0"), val = tensor("bidirectional")]; tensor input_27_lstm_layer_0_output_sequence_0 = const()[name = tensor("input_27_lstm_layer_0_output_sequence_0"), val = tensor(true)]; tensor input_27_lstm_layer_0_recurrent_activation_0 = const()[name = tensor("input_27_lstm_layer_0_recurrent_activation_0"), val = tensor("sigmoid")]; tensor input_27_lstm_layer_0_cell_activation_0 = const()[name = tensor("input_27_lstm_layer_0_cell_activation_0"), val = tensor("tanh")]; tensor input_27_lstm_layer_0_activation_0 = const()[name = tensor("input_27_lstm_layer_0_activation_0"), val = tensor("tanh")]; tensor transpose_0 = transpose(perm = transpose_0_perm_0, x = x)[name = tensor("transpose_2")]; tensor input_27_lstm_layer_0_0, tensor input_27_lstm_layer_0_1, tensor input_27_lstm_layer_0_2 = lstm(activation = input_27_lstm_layer_0_activation_0, bias = add_0, bias_back = add_1, cell_activation = input_27_lstm_layer_0_cell_activation_0, direction = input_27_lstm_layer_0_direction_0, initial_c = input_27_lstm_layer_0_lstm_h0_reshaped, initial_h = input_27_lstm_layer_0_lstm_h0_reshaped, output_sequence = input_27_lstm_layer_0_output_sequence_0, recurrent_activation = input_27_lstm_layer_0_recurrent_activation_0, weight_hh = concat_5, weight_hh_back = concat_7, weight_ih = concat_4, weight_ih_back = concat_6, x = transpose_0)[name = tensor("input_27_lstm_layer_0")]; tensor add_2 = const()[name = tensor("add_2"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(1228416)))]; tensor add_3 = const()[name = tensor("add_3"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(1230528)))]; tensor concat_14 = const()[name = tensor("concat_14"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(1232640)))]; tensor concat_15 = const()[name = tensor("concat_15"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(1756992)))]; tensor concat_16 = const()[name = tensor("concat_16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(2019200)))]; tensor concat_17 = const()[name = tensor("concat_17"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(2543552)))]; tensor input_27_lstm_layer_1_direction_0 = const()[name = tensor("input_27_lstm_layer_1_direction_0"), val = tensor("bidirectional")]; tensor input_27_lstm_layer_1_output_sequence_0 = const()[name = tensor("input_27_lstm_layer_1_output_sequence_0"), val = tensor(true)]; tensor input_27_lstm_layer_1_recurrent_activation_0 = const()[name = tensor("input_27_lstm_layer_1_recurrent_activation_0"), val = tensor("sigmoid")]; tensor input_27_lstm_layer_1_cell_activation_0 = const()[name = tensor("input_27_lstm_layer_1_cell_activation_0"), val = tensor("tanh")]; tensor input_27_lstm_layer_1_activation_0 = const()[name = tensor("input_27_lstm_layer_1_activation_0"), val = tensor("tanh")]; tensor input_27_lstm_layer_1_0, tensor input_27_lstm_layer_1_1, tensor input_27_lstm_layer_1_2 = lstm(activation = input_27_lstm_layer_1_activation_0, bias = add_2, bias_back = add_3, cell_activation = input_27_lstm_layer_1_cell_activation_0, direction = input_27_lstm_layer_1_direction_0, initial_c = input_27_lstm_layer_0_lstm_h0_reshaped, initial_h = input_27_lstm_layer_0_lstm_h0_reshaped, output_sequence = input_27_lstm_layer_1_output_sequence_0, recurrent_activation = input_27_lstm_layer_1_recurrent_activation_0, weight_hh = concat_15, weight_hh_back = concat_17, weight_ih = concat_14, weight_ih_back = concat_16, x = input_27_lstm_layer_0_0)[name = tensor("input_27_lstm_layer_1")]; tensor add_4 = const()[name = tensor("add_4"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(2805760)))]; tensor add_5 = const()[name = tensor("add_5"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(2807872)))]; tensor concat_24 = const()[name = tensor("concat_24"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(2809984)))]; tensor concat_25 = const()[name = tensor("concat_25"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(3334336)))]; tensor concat_26 = const()[name = tensor("concat_26"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(3596544)))]; tensor concat_27 = const()[name = tensor("concat_27"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(4120896)))]; tensor input_27_lstm_layer_2_direction_0 = const()[name = tensor("input_27_lstm_layer_2_direction_0"), val = tensor("bidirectional")]; tensor input_27_lstm_layer_2_output_sequence_0 = const()[name = tensor("input_27_lstm_layer_2_output_sequence_0"), val = tensor(true)]; tensor input_27_lstm_layer_2_recurrent_activation_0 = const()[name = tensor("input_27_lstm_layer_2_recurrent_activation_0"), val = tensor("sigmoid")]; tensor input_27_lstm_layer_2_cell_activation_0 = const()[name = tensor("input_27_lstm_layer_2_cell_activation_0"), val = tensor("tanh")]; tensor input_27_lstm_layer_2_activation_0 = const()[name = tensor("input_27_lstm_layer_2_activation_0"), val = tensor("tanh")]; tensor input_27_lstm_layer_2_0, tensor input_27_lstm_layer_2_1, tensor input_27_lstm_layer_2_2 = lstm(activation = input_27_lstm_layer_2_activation_0, bias = add_4, bias_back = add_5, cell_activation = input_27_lstm_layer_2_cell_activation_0, direction = input_27_lstm_layer_2_direction_0, initial_c = input_27_lstm_layer_0_lstm_h0_reshaped, initial_h = input_27_lstm_layer_0_lstm_h0_reshaped, output_sequence = input_27_lstm_layer_2_output_sequence_0, recurrent_activation = input_27_lstm_layer_2_recurrent_activation_0, weight_hh = concat_25, weight_hh_back = concat_27, weight_ih = concat_24, weight_ih_back = concat_26, x = input_27_lstm_layer_1_0)[name = tensor("input_27_lstm_layer_2")]; tensor add_6 = const()[name = tensor("add_6"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(4383104)))]; tensor add_7 = const()[name = tensor("add_7"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(4385216)))]; tensor concat_34 = const()[name = tensor("concat_34"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(4387328)))]; tensor concat_35 = const()[name = tensor("concat_35"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(4911680)))]; tensor concat_36 = const()[name = tensor("concat_36"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(5173888)))]; tensor concat_37 = const()[name = tensor("concat_37"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(5698240)))]; tensor input_27_batch_first_direction_0 = const()[name = tensor("input_27_batch_first_direction_0"), val = tensor("bidirectional")]; tensor input_27_batch_first_output_sequence_0 = const()[name = tensor("input_27_batch_first_output_sequence_0"), val = tensor(true)]; tensor input_27_batch_first_recurrent_activation_0 = const()[name = tensor("input_27_batch_first_recurrent_activation_0"), val = tensor("sigmoid")]; tensor input_27_batch_first_cell_activation_0 = const()[name = tensor("input_27_batch_first_cell_activation_0"), val = tensor("tanh")]; tensor input_27_batch_first_activation_0 = const()[name = tensor("input_27_batch_first_activation_0"), val = tensor("tanh")]; tensor input_27_batch_first_0, tensor input_27_batch_first_1, tensor input_27_batch_first_2 = lstm(activation = input_27_batch_first_activation_0, bias = add_6, bias_back = add_7, cell_activation = input_27_batch_first_cell_activation_0, direction = input_27_batch_first_direction_0, initial_c = input_27_lstm_layer_0_lstm_h0_reshaped, initial_h = input_27_lstm_layer_0_lstm_h0_reshaped, output_sequence = input_27_batch_first_output_sequence_0, recurrent_activation = input_27_batch_first_recurrent_activation_0, weight_hh = concat_35, weight_hh_back = concat_37, weight_ih = concat_34, weight_ih_back = concat_36, x = input_27_lstm_layer_2_0)[name = tensor("input_27_batch_first")]; tensor input_27_perm_0 = const()[name = tensor("input_27_perm_0"), val = tensor([1, 0, 2])]; tensor input_27 = transpose(perm = input_27_perm_0, x = input_27_batch_first_0)[name = tensor("transpose_1")]; tensor input_29 = linear(bias = linear0_bias, weight = linear0_weight, x = input_27)[name = tensor("linear_0")]; tensor var_170 = const()[name = tensor("op_170"), val = tensor(0x1.47ae14p-7)]; tensor input_31 = leaky_relu(alpha = var_170, x = input_29)[name = tensor("input_31")]; tensor input_33 = linear(bias = linear1_bias, weight = linear1_weight, x = input_31)[name = tensor("linear_1")]; tensor var_175 = const()[name = tensor("op_175"), val = tensor(0x1.47ae14p-7)]; tensor input_35 = leaky_relu(alpha = var_175, x = input_33)[name = tensor("input_35")]; tensor input = linear(bias = classifier_bias, weight = classifier_weight, x = input_35)[name = tensor("linear_2")]; tensor var_180 = const()[name = tensor("op_180"), val = tensor(-1)]; tensor var_182_softmax = softmax(axis = var_180, x = input)[name = tensor("op_182_softmax")]; tensor var_182_epsilon_0 = const()[name = tensor("op_182_epsilon_0"), val = tensor(0x1p-149)]; tensor log_probabilities = log(epsilon = var_182_epsilon_0, x = var_182_softmax)[name = tensor("op_182")]; } -> (log_probabilities); }