program(1.0) [buildInfo = dict, tensor>({{"coremlc-component-MIL", "3520.4.1"}, {"coremlc-version", "3520.5.1"}})] { func main(tensor decoder_mems, tensor encoder_embeddings, tensor encoder_mask, tensor input_ids, tensor start_pos) [FlexibleShapeInformation = tuple, dict, tensor>>, tuple, dict, list, ?>>>>((("DefaultShapes", {{"decoder_mems", [5, 1, 1, 1024]}}), ("RangeDims", {{"decoder_mems", [[5, 5], [1, 1], [1, 512], [1024, 1024]]}})))] { tensor var_40 = const()[name = tensor("op_40"), val = tensor([[0]])]; tensor position_ids = add(x = var_40, y = start_pos)[name = tensor("position_ids")]; tensor var_46_batch_dims_0 = const()[name = tensor("op_46_batch_dims_0"), val = tensor(0)]; tensor var_46_validate_indices_0 = const()[name = tensor("op_46_validate_indices_0"), val = tensor(false)]; tensor embedding_token_embedding_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("embedding_token_embedding_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(64))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(5379392))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(5374080)))]; tensor input_ids_to_int16_dtype_0 = const()[name = tensor("input_ids_to_int16_dtype_0"), val = tensor("int16")]; tensor cast_70_dtype_0 = const()[name = tensor("cast_70_dtype_0"), val = tensor("int32")]; tensor greater_equal_0_y_0 = const()[name = tensor("greater_equal_0_y_0"), val = tensor(0)]; tensor input_ids_to_int16 = cast(dtype = input_ids_to_int16_dtype_0, x = input_ids)[name = tensor("cast_9")]; tensor cast_70 = cast(dtype = cast_70_dtype_0, x = input_ids_to_int16)[name = tensor("cast_8")]; tensor greater_equal_0 = greater_equal(x = cast_70, y = greater_equal_0_y_0)[name = tensor("greater_equal_0")]; tensor slice_by_index_0 = const()[name = tensor("slice_by_index_0"), val = tensor(5248)]; tensor add_0 = add(x = cast_70, y = slice_by_index_0)[name = tensor("add_0")]; tensor select_0 = select(a = cast_70, b = add_0, cond = greater_equal_0)[name = tensor("select_0")]; tensor select_0_to_int16_dtype_0 = const()[name = tensor("select_0_to_int16_dtype_0"), val = tensor("int16")]; tensor cast_0_dtype_0 = const()[name = tensor("cast_0_dtype_0"), val = tensor("int32")]; tensor greater_equal_0_y_0_1 = const()[name = tensor("greater_equal_0_y_0_1"), val = tensor(0)]; tensor select_0_to_int16 = cast(dtype = select_0_to_int16_dtype_0, x = select_0)[name = tensor("cast_7")]; tensor cast_0 = cast(dtype = cast_0_dtype_0, x = select_0_to_int16)[name = tensor("cast_6")]; tensor greater_equal_0_1 = greater_equal(x = cast_0, y = greater_equal_0_y_0_1)[name = tensor("greater_equal_0_1")]; tensor slice_by_index_0_1 = const()[name = tensor("slice_by_index_0_1"), val = tensor(5248)]; tensor add_0_1 = add(x = cast_0, y = slice_by_index_0_1)[name = tensor("add_0_1")]; tensor select_0_1 = select(a = cast_0, b = add_0_1, cond = greater_equal_0_1)[name = tensor("select_0_1")]; tensor op_46_cast_fp16_cast_uint16_cast_uint16_axis_0 = const()[name = tensor("op_46_cast_fp16_cast_uint16_cast_uint16_axis_0"), val = tensor(0)]; tensor op_46_cast_fp16_cast_uint16_cast_uint16 = gather(axis = op_46_cast_fp16_cast_uint16_cast_uint16_axis_0, batch_dims = var_46_batch_dims_0, indices = select_0_1, validate_indices = var_46_validate_indices_0, x = embedding_token_embedding_weight_to_fp16_quantized)[name = tensor("op_46_cast_fp16_cast_uint16_cast_uint16")]; tensor var_50_axis_0 = const()[name = tensor("op_50_axis_0"), val = tensor(0)]; tensor var_50_batch_dims_0 = const()[name = tensor("op_50_batch_dims_0"), val = tensor(0)]; tensor var_50_validate_indices_0 = const()[name = tensor("op_50_validate_indices_0"), val = tensor(false)]; tensor embedding_position_embedding_pos_enc_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("embedding_position_embedding_pos_enc_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(5389952))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6439680))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor position_ids_to_uint16_dtype_0 = const()[name = tensor("position_ids_to_uint16_dtype_0"), val = tensor("uint16")]; tensor position_ids_to_uint16 = cast(dtype = position_ids_to_uint16_dtype_0, x = position_ids)[name = tensor("cast_5")]; tensor var_50_cast_fp16_cast_uint16 = gather(axis = var_50_axis_0, batch_dims = var_50_batch_dims_0, indices = position_ids_to_uint16, validate_indices = var_50_validate_indices_0, x = embedding_position_embedding_pos_enc_to_fp16_quantized)[name = tensor("op_50_cast_fp16_cast_uint16")]; tensor input_1_cast_fp16 = add(x = op_46_cast_fp16_cast_uint16_cast_uint16, y = var_50_cast_fp16_cast_uint16)[name = tensor("input_1_cast_fp16")]; tensor states_1_axes_0 = const()[name = tensor("states_1_axes_0"), val = tensor([-1])]; tensor embedding_layer_norm_weight_to_fp16 = const()[name = tensor("embedding_layer_norm_weight_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6441792)))]; tensor embedding_layer_norm_bias_to_fp16 = const()[name = tensor("embedding_layer_norm_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6443904)))]; tensor var_54_to_fp16 = const()[name = tensor("op_54_to_fp16"), val = tensor(0x1.5p-17)]; tensor states_1_cast_fp16 = layer_norm(axes = states_1_axes_0, beta = embedding_layer_norm_bias_to_fp16, epsilon = var_54_to_fp16, gamma = embedding_layer_norm_weight_to_fp16, x = input_1_cast_fp16)[name = tensor("states_1_cast_fp16")]; tensor var_115_dtype_0 = const()[name = tensor("op_115_dtype_0"), val = tensor("bool")]; tensor attn_mask_axes_0 = const()[name = tensor("attn_mask_axes_0"), val = tensor([1])]; tensor var_115 = cast(dtype = var_115_dtype_0, x = encoder_mask)[name = tensor("cast_4")]; tensor attn_mask = expand_dims(axes = attn_mask_axes_0, x = var_115)[name = tensor("attn_mask")]; tensor var_123_promoted_to_fp16 = const()[name = tensor("op_123_promoted_to_fp16"), val = tensor(0x1p+0)]; tensor var_122_to_fp16_dtype_0 = const()[name = tensor("op_122_to_fp16_dtype_0"), val = tensor("fp16")]; tensor attn_mask_to_fp16 = cast(dtype = var_122_to_fp16_dtype_0, x = attn_mask)[name = tensor("cast_3")]; tensor var_125_cast_fp16 = sub(x = var_123_promoted_to_fp16, y = attn_mask_to_fp16)[name = tensor("op_125_cast_fp16")]; tensor var_126_to_fp16 = const()[name = tensor("op_126_to_fp16"), val = tensor(-0x1.388p+13)]; tensor attention_mask_3_cast_fp16 = mul(x = var_125_cast_fp16, y = var_126_to_fp16)[name = tensor("attention_mask_3_cast_fp16")]; tensor attention_mask_9_axes_0 = const()[name = tensor("attention_mask_9_axes_0"), val = tensor([1])]; tensor attention_mask_9_cast_fp16 = expand_dims(axes = attention_mask_9_axes_0, x = attention_mask_3_cast_fp16)[name = tensor("attention_mask_9_cast_fp16")]; tensor prior_1_begin_0 = const()[name = tensor("prior_1_begin_0"), val = tensor([0, 0, 0, 0])]; tensor prior_1_end_0 = const()[name = tensor("prior_1_end_0"), val = tensor([1, 1, 0, 1024])]; tensor prior_1_end_mask_0 = const()[name = tensor("prior_1_end_mask_0"), val = tensor([false, true, true, true])]; tensor prior_1_squeeze_mask_0 = const()[name = tensor("prior_1_squeeze_mask_0"), val = tensor([true, false, false, false])]; tensor decoder_mems_to_fp16_dtype_0 = const()[name = tensor("decoder_mems_to_fp16_dtype_0"), val = tensor("fp16")]; tensor decoder_mems_to_fp16 = cast(dtype = decoder_mems_to_fp16_dtype_0, x = decoder_mems)[name = tensor("cast_2")]; tensor prior_1_cast_fp16 = slice_by_index(begin = prior_1_begin_0, end = prior_1_end_0, end_mask = prior_1_end_mask_0, squeeze_mask = prior_1_squeeze_mask_0, x = decoder_mems_to_fp16)[name = tensor("prior_1_cast_fp16")]; tensor var_141_interleave_0 = const()[name = tensor("op_141_interleave_0"), val = tensor(false)]; tensor const_69 = const()[name = tensor("const_69"), val = tensor(1)]; tensor var_141_cast_fp16 = concat(axis = const_69, interleave = var_141_interleave_0, values = (prior_1_cast_fp16, states_1_cast_fp16))[name = tensor("op_141_cast_fp16")]; tensor var_151 = const()[name = tensor("op_151"), val = tensor(-1)]; tensor input_5_axes_0 = const()[name = tensor("input_5_axes_0"), val = tensor([-1])]; tensor decoder_layers_0_layer_norm_1_weight_to_fp16 = const()[name = tensor("decoder_layers_0_layer_norm_1_weight_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6446016)))]; tensor decoder_layers_0_layer_norm_1_bias_to_fp16 = const()[name = tensor("decoder_layers_0_layer_norm_1_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6448128)))]; tensor var_158_to_fp16 = const()[name = tensor("op_158_to_fp16"), val = tensor(0x1.5p-17)]; tensor input_5_cast_fp16 = layer_norm(axes = input_5_axes_0, beta = decoder_layers_0_layer_norm_1_bias_to_fp16, epsilon = var_158_to_fp16, gamma = decoder_layers_0_layer_norm_1_weight_to_fp16, x = states_1_cast_fp16)[name = tensor("input_5_cast_fp16")]; tensor input_7_axes_0 = const()[name = tensor("input_7_axes_0"), val = tensor([-1])]; tensor input_7_cast_fp16 = layer_norm(axes = input_7_axes_0, beta = decoder_layers_0_layer_norm_1_bias_to_fp16, epsilon = var_158_to_fp16, gamma = decoder_layers_0_layer_norm_1_weight_to_fp16, x = var_141_cast_fp16)[name = tensor("input_7_cast_fp16")]; tensor decoder_layers_0_first_sub_layer_query_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_0_first_sub_layer_query_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6450240))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(7498880))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_0_first_sub_layer_query_net_bias_to_fp16 = const()[name = tensor("decoder_layers_0_first_sub_layer_query_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(7500992)))]; tensor linear_0_cast_fp16 = linear(bias = decoder_layers_0_first_sub_layer_query_net_bias_to_fp16, weight = decoder_layers_0_first_sub_layer_query_net_weight_to_fp16_quantized, x = input_5_cast_fp16)[name = tensor("linear_0_cast_fp16")]; tensor decoder_layers_0_first_sub_layer_key_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_0_first_sub_layer_key_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(7503104))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(8551744))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_0_first_sub_layer_key_net_bias_to_fp16 = const()[name = tensor("decoder_layers_0_first_sub_layer_key_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(8553856)))]; tensor linear_1_cast_fp16 = linear(bias = decoder_layers_0_first_sub_layer_key_net_bias_to_fp16, weight = decoder_layers_0_first_sub_layer_key_net_weight_to_fp16_quantized, x = input_7_cast_fp16)[name = tensor("linear_1_cast_fp16")]; tensor decoder_layers_0_first_sub_layer_value_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_0_first_sub_layer_value_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(8555968))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(9604608))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_0_first_sub_layer_value_net_bias_to_fp16 = const()[name = tensor("decoder_layers_0_first_sub_layer_value_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(9606720)))]; tensor linear_2_cast_fp16 = linear(bias = decoder_layers_0_first_sub_layer_value_net_bias_to_fp16, weight = decoder_layers_0_first_sub_layer_value_net_weight_to_fp16_quantized, x = input_7_cast_fp16)[name = tensor("linear_2_cast_fp16")]; tensor var_189 = const()[name = tensor("op_189"), val = tensor([1, 1, 8, 128])]; tensor x_3_cast_fp16 = reshape(shape = var_189, x = linear_0_cast_fp16)[name = tensor("x_3_cast_fp16")]; tensor _inversed_query_1_y_0_to_fp16 = const()[name = tensor("_inversed_query_1_y_0_to_fp16"), val = tensor(0x1.308p-2)]; tensor _inversed_query_1_cast_fp16 = mul(x = x_3_cast_fp16, y = _inversed_query_1_y_0_to_fp16)[name = tensor("_inversed_query_1_cast_fp16")]; tensor concat_0x = const()[name = tensor("concat_0x"), val = tensor([1, -1, 8, 128])]; tensor x_7_cast_fp16 = reshape(shape = concat_0x, x = linear_1_cast_fp16)[name = tensor("x_7_cast_fp16")]; tensor _inversed_key_1_y_0_to_fp16 = const()[name = tensor("_inversed_key_1_y_0_to_fp16"), val = tensor(0x1.308p-2)]; tensor _inversed_key_1_cast_fp16 = mul(x = x_7_cast_fp16, y = _inversed_key_1_y_0_to_fp16)[name = tensor("_inversed_key_1_cast_fp16")]; tensor concat_1x = const()[name = tensor("concat_1x"), val = tensor([1, -1, 8, 128])]; tensor x_11_cast_fp16 = reshape(shape = concat_1x, x = linear_2_cast_fp16)[name = tensor("x_11_cast_fp16")]; tensor var_207 = const()[name = tensor("op_207"), val = tensor([0, 2, -3, -1])]; tensor attention_scores_1_transpose_x_1 = const()[name = tensor("attention_scores_1_transpose_x_1"), val = tensor(false)]; tensor attention_scores_1_transpose_y_1 = const()[name = tensor("attention_scores_1_transpose_y_1"), val = tensor(true)]; tensor transpose_32_perm_0 = const()[name = tensor("transpose_32_perm_0"), val = tensor([0, 2, -3, -1])]; tensor transpose_33_perm_0 = const()[name = tensor("transpose_33_perm_0"), val = tensor([0, 2, -3, -1])]; tensor transpose_33 = transpose(perm = transpose_33_perm_0, x = _inversed_key_1_cast_fp16)[name = tensor("transpose_78")]; tensor transpose_32 = transpose(perm = transpose_32_perm_0, x = _inversed_query_1_cast_fp16)[name = tensor("transpose_79")]; tensor attention_scores_1_cast_fp16 = matmul(transpose_x = attention_scores_1_transpose_x_1, transpose_y = attention_scores_1_transpose_y_1, x = transpose_32, y = transpose_33)[name = tensor("attention_scores_1_cast_fp16")]; tensor input_9_cast_fp16 = softmax(axis = var_151, x = attention_scores_1_cast_fp16)[name = tensor("input_9_cast_fp16")]; tensor context_1_transpose_x_0 = const()[name = tensor("context_1_transpose_x_0"), val = tensor(false)]; tensor context_1_transpose_y_0 = const()[name = tensor("context_1_transpose_y_0"), val = tensor(false)]; tensor value_1_cast_fp16 = transpose(perm = var_207, x = x_11_cast_fp16)[name = tensor("transpose_77")]; tensor context_1_cast_fp16 = matmul(transpose_x = context_1_transpose_x_0, transpose_y = context_1_transpose_y_0, x = input_9_cast_fp16, y = value_1_cast_fp16)[name = tensor("context_1_cast_fp16")]; tensor var_221 = const()[name = tensor("op_221"), val = tensor([0, 2, 1, 3])]; tensor var_226 = const()[name = tensor("op_226"), val = tensor([1, 1, 1024])]; tensor var_222_cast_fp16 = transpose(perm = var_221, x = context_1_cast_fp16)[name = tensor("transpose_76")]; tensor input_11_cast_fp16 = reshape(shape = var_226, x = var_222_cast_fp16)[name = tensor("input_11_cast_fp16")]; tensor decoder_layers_0_first_sub_layer_out_projection_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_0_first_sub_layer_out_projection_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(9608832))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(10657472))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_0_first_sub_layer_out_projection_bias_to_fp16 = const()[name = tensor("decoder_layers_0_first_sub_layer_out_projection_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(10659584)))]; tensor linear_3_cast_fp16 = linear(bias = decoder_layers_0_first_sub_layer_out_projection_bias_to_fp16, weight = decoder_layers_0_first_sub_layer_out_projection_weight_to_fp16_quantized, x = input_11_cast_fp16)[name = tensor("linear_3_cast_fp16")]; tensor input_15_cast_fp16 = add(x = linear_3_cast_fp16, y = states_1_cast_fp16)[name = tensor("input_15_cast_fp16")]; tensor input_17_axes_0 = const()[name = tensor("input_17_axes_0"), val = tensor([-1])]; tensor decoder_layers_0_layer_norm_2_weight_to_fp16 = const()[name = tensor("decoder_layers_0_layer_norm_2_weight_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(10661696)))]; tensor decoder_layers_0_layer_norm_2_bias_to_fp16 = const()[name = tensor("decoder_layers_0_layer_norm_2_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(10663808)))]; tensor input_17_cast_fp16 = layer_norm(axes = input_17_axes_0, beta = decoder_layers_0_layer_norm_2_bias_to_fp16, epsilon = var_158_to_fp16, gamma = decoder_layers_0_layer_norm_2_weight_to_fp16, x = input_15_cast_fp16)[name = tensor("input_17_cast_fp16")]; tensor decoder_layers_0_second_sub_layer_query_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_0_second_sub_layer_query_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(10665920))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(11714560))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_0_second_sub_layer_query_net_bias_to_fp16 = const()[name = tensor("decoder_layers_0_second_sub_layer_query_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(11716672)))]; tensor linear_4_cast_fp16 = linear(bias = decoder_layers_0_second_sub_layer_query_net_bias_to_fp16, weight = decoder_layers_0_second_sub_layer_query_net_weight_to_fp16_quantized, x = input_17_cast_fp16)[name = tensor("linear_4_cast_fp16")]; tensor encoder_embeddings_to_fp16_dtype_0 = const()[name = tensor("encoder_embeddings_to_fp16_dtype_0"), val = tensor("fp16")]; tensor decoder_layers_0_second_sub_layer_key_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_0_second_sub_layer_key_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(11718784))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(12767424))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_0_second_sub_layer_key_net_bias_to_fp16 = const()[name = tensor("decoder_layers_0_second_sub_layer_key_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(12769536)))]; tensor encoder_embeddings_to_fp16 = cast(dtype = encoder_embeddings_to_fp16_dtype_0, x = encoder_embeddings)[name = tensor("cast_1")]; tensor linear_5_cast_fp16 = linear(bias = decoder_layers_0_second_sub_layer_key_net_bias_to_fp16, weight = decoder_layers_0_second_sub_layer_key_net_weight_to_fp16_quantized, x = encoder_embeddings_to_fp16)[name = tensor("linear_5_cast_fp16")]; tensor decoder_layers_0_second_sub_layer_value_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_0_second_sub_layer_value_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(12771648))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(13820288))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_0_second_sub_layer_value_net_bias_to_fp16 = const()[name = tensor("decoder_layers_0_second_sub_layer_value_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(13822400)))]; tensor linear_6_cast_fp16 = linear(bias = decoder_layers_0_second_sub_layer_value_net_bias_to_fp16, weight = decoder_layers_0_second_sub_layer_value_net_weight_to_fp16_quantized, x = encoder_embeddings_to_fp16)[name = tensor("linear_6_cast_fp16")]; tensor var_255 = const()[name = tensor("op_255"), val = tensor([1, 1, 8, 128])]; tensor x_15_cast_fp16 = reshape(shape = var_255, x = linear_4_cast_fp16)[name = tensor("x_15_cast_fp16")]; tensor _inversed_query_3_y_0_to_fp16 = const()[name = tensor("_inversed_query_3_y_0_to_fp16"), val = tensor(0x1.308p-2)]; tensor _inversed_query_3_cast_fp16 = mul(x = x_15_cast_fp16, y = _inversed_query_3_y_0_to_fp16)[name = tensor("_inversed_query_3_cast_fp16")]; tensor var_263 = const()[name = tensor("op_263"), val = tensor([1, 125, 8, 128])]; tensor x_19_cast_fp16 = reshape(shape = var_263, x = linear_5_cast_fp16)[name = tensor("x_19_cast_fp16")]; tensor _inversed_key_3_y_0_to_fp16 = const()[name = tensor("_inversed_key_3_y_0_to_fp16"), val = tensor(0x1.308p-2)]; tensor _inversed_key_3_cast_fp16 = mul(x = x_19_cast_fp16, y = _inversed_key_3_y_0_to_fp16)[name = tensor("_inversed_key_3_cast_fp16")]; tensor var_271 = const()[name = tensor("op_271"), val = tensor([1, 125, 8, 128])]; tensor x_23_cast_fp16 = reshape(shape = var_271, x = linear_6_cast_fp16)[name = tensor("x_23_cast_fp16")]; tensor var_273 = const()[name = tensor("op_273"), val = tensor([0, 2, -3, -1])]; tensor attention_scores_5_transpose_x_1 = const()[name = tensor("attention_scores_5_transpose_x_1"), val = tensor(false)]; tensor attention_scores_5_transpose_y_1 = const()[name = tensor("attention_scores_5_transpose_y_1"), val = tensor(true)]; tensor transpose_34_perm_0 = const()[name = tensor("transpose_34_perm_0"), val = tensor([0, 2, -3, -1])]; tensor transpose_35_perm_0 = const()[name = tensor("transpose_35_perm_0"), val = tensor([0, 2, -3, -1])]; tensor transpose_35 = transpose(perm = transpose_35_perm_0, x = _inversed_key_3_cast_fp16)[name = tensor("transpose_74")]; tensor transpose_34 = transpose(perm = transpose_34_perm_0, x = _inversed_query_3_cast_fp16)[name = tensor("transpose_75")]; tensor attention_scores_5_cast_fp16 = matmul(transpose_x = attention_scores_5_transpose_x_1, transpose_y = attention_scores_5_transpose_y_1, x = transpose_34, y = transpose_35)[name = tensor("attention_scores_5_cast_fp16")]; tensor attention_scores_7_cast_fp16 = add(x = attention_scores_5_cast_fp16, y = attention_mask_9_cast_fp16)[name = tensor("attention_scores_7_cast_fp16")]; tensor input_19_cast_fp16 = softmax(axis = var_151, x = attention_scores_7_cast_fp16)[name = tensor("input_19_cast_fp16")]; tensor context_5_transpose_x_0 = const()[name = tensor("context_5_transpose_x_0"), val = tensor(false)]; tensor context_5_transpose_y_0 = const()[name = tensor("context_5_transpose_y_0"), val = tensor(false)]; tensor value_3_cast_fp16 = transpose(perm = var_273, x = x_23_cast_fp16)[name = tensor("transpose_73")]; tensor context_5_cast_fp16 = matmul(transpose_x = context_5_transpose_x_0, transpose_y = context_5_transpose_y_0, x = input_19_cast_fp16, y = value_3_cast_fp16)[name = tensor("context_5_cast_fp16")]; tensor var_287 = const()[name = tensor("op_287"), val = tensor([0, 2, 1, 3])]; tensor var_292 = const()[name = tensor("op_292"), val = tensor([1, 1, 1024])]; tensor var_288_cast_fp16 = transpose(perm = var_287, x = context_5_cast_fp16)[name = tensor("transpose_72")]; tensor input_21_cast_fp16 = reshape(shape = var_292, x = var_288_cast_fp16)[name = tensor("input_21_cast_fp16")]; tensor decoder_layers_0_second_sub_layer_out_projection_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_0_second_sub_layer_out_projection_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(13824512))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(14873152))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_0_second_sub_layer_out_projection_bias_to_fp16 = const()[name = tensor("decoder_layers_0_second_sub_layer_out_projection_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(14875264)))]; tensor linear_7_cast_fp16 = linear(bias = decoder_layers_0_second_sub_layer_out_projection_bias_to_fp16, weight = decoder_layers_0_second_sub_layer_out_projection_weight_to_fp16_quantized, x = input_21_cast_fp16)[name = tensor("linear_7_cast_fp16")]; tensor input_25_cast_fp16 = add(x = linear_7_cast_fp16, y = input_15_cast_fp16)[name = tensor("input_25_cast_fp16")]; tensor input_27_axes_0 = const()[name = tensor("input_27_axes_0"), val = tensor([-1])]; tensor decoder_layers_0_layer_norm_3_weight_to_fp16 = const()[name = tensor("decoder_layers_0_layer_norm_3_weight_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(14877376)))]; tensor decoder_layers_0_layer_norm_3_bias_to_fp16 = const()[name = tensor("decoder_layers_0_layer_norm_3_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(14879488)))]; tensor input_27_cast_fp16 = layer_norm(axes = input_27_axes_0, beta = decoder_layers_0_layer_norm_3_bias_to_fp16, epsilon = var_158_to_fp16, gamma = decoder_layers_0_layer_norm_3_weight_to_fp16, x = input_25_cast_fp16)[name = tensor("input_27_cast_fp16")]; tensor decoder_layers_0_third_sub_layer_dense_in_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_0_third_sub_layer_dense_in_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(14881600))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(19080128))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(19075968)))]; tensor decoder_layers_0_third_sub_layer_dense_in_bias_to_fp16 = const()[name = tensor("decoder_layers_0_third_sub_layer_dense_in_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(19088384)))]; tensor linear_8_cast_fp16 = linear(bias = decoder_layers_0_third_sub_layer_dense_in_bias_to_fp16, weight = decoder_layers_0_third_sub_layer_dense_in_weight_to_fp16_quantized, x = input_27_cast_fp16)[name = tensor("linear_8_cast_fp16")]; tensor input_29_cast_fp16 = relu(x = linear_8_cast_fp16)[name = tensor("input_29_cast_fp16")]; tensor decoder_layers_0_third_sub_layer_dense_out_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_0_third_sub_layer_dense_out_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(19096640))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(23291008))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_0_third_sub_layer_dense_out_bias_to_fp16 = const()[name = tensor("decoder_layers_0_third_sub_layer_dense_out_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(23293120)))]; tensor linear_9_cast_fp16 = linear(bias = decoder_layers_0_third_sub_layer_dense_out_bias_to_fp16, weight = decoder_layers_0_third_sub_layer_dense_out_weight_to_fp16_quantized, x = input_29_cast_fp16)[name = tensor("linear_9_cast_fp16")]; tensor states_3_cast_fp16 = add(x = linear_9_cast_fp16, y = input_25_cast_fp16)[name = tensor("states_3_cast_fp16")]; tensor prior_3_begin_0 = const()[name = tensor("prior_3_begin_0"), val = tensor([1, 0, 0, 0])]; tensor prior_3_end_0 = const()[name = tensor("prior_3_end_0"), val = tensor([2, 1, 0, 1024])]; tensor prior_3_end_mask_0 = const()[name = tensor("prior_3_end_mask_0"), val = tensor([false, true, true, true])]; tensor prior_3_squeeze_mask_0 = const()[name = tensor("prior_3_squeeze_mask_0"), val = tensor([true, false, false, false])]; tensor prior_3_cast_fp16 = slice_by_index(begin = prior_3_begin_0, end = prior_3_end_0, end_mask = prior_3_end_mask_0, squeeze_mask = prior_3_squeeze_mask_0, x = decoder_mems_to_fp16)[name = tensor("prior_3_cast_fp16")]; tensor var_332_interleave_0 = const()[name = tensor("op_332_interleave_0"), val = tensor(false)]; tensor const_70 = const()[name = tensor("const_70"), val = tensor(1)]; tensor var_332_cast_fp16 = concat(axis = const_70, interleave = var_332_interleave_0, values = (prior_3_cast_fp16, states_3_cast_fp16))[name = tensor("op_332_cast_fp16")]; tensor var_342 = const()[name = tensor("op_342"), val = tensor(-1)]; tensor input_35_axes_0 = const()[name = tensor("input_35_axes_0"), val = tensor([-1])]; tensor decoder_layers_1_layer_norm_1_weight_to_fp16 = const()[name = tensor("decoder_layers_1_layer_norm_1_weight_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(23295232)))]; tensor decoder_layers_1_layer_norm_1_bias_to_fp16 = const()[name = tensor("decoder_layers_1_layer_norm_1_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(23297344)))]; tensor var_349_to_fp16 = const()[name = tensor("op_349_to_fp16"), val = tensor(0x1.5p-17)]; tensor input_35_cast_fp16 = layer_norm(axes = input_35_axes_0, beta = decoder_layers_1_layer_norm_1_bias_to_fp16, epsilon = var_349_to_fp16, gamma = decoder_layers_1_layer_norm_1_weight_to_fp16, x = states_3_cast_fp16)[name = tensor("input_35_cast_fp16")]; tensor input_37_axes_0 = const()[name = tensor("input_37_axes_0"), val = tensor([-1])]; tensor input_37_cast_fp16 = layer_norm(axes = input_37_axes_0, beta = decoder_layers_1_layer_norm_1_bias_to_fp16, epsilon = var_349_to_fp16, gamma = decoder_layers_1_layer_norm_1_weight_to_fp16, x = var_332_cast_fp16)[name = tensor("input_37_cast_fp16")]; tensor decoder_layers_1_first_sub_layer_query_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_1_first_sub_layer_query_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(23299456))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(24348096))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_1_first_sub_layer_query_net_bias_to_fp16 = const()[name = tensor("decoder_layers_1_first_sub_layer_query_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(24350208)))]; tensor linear_10_cast_fp16 = linear(bias = decoder_layers_1_first_sub_layer_query_net_bias_to_fp16, weight = decoder_layers_1_first_sub_layer_query_net_weight_to_fp16_quantized, x = input_35_cast_fp16)[name = tensor("linear_10_cast_fp16")]; tensor decoder_layers_1_first_sub_layer_key_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_1_first_sub_layer_key_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(24352320))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(25400960))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_1_first_sub_layer_key_net_bias_to_fp16 = const()[name = tensor("decoder_layers_1_first_sub_layer_key_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(25403072)))]; tensor linear_11_cast_fp16 = linear(bias = decoder_layers_1_first_sub_layer_key_net_bias_to_fp16, weight = decoder_layers_1_first_sub_layer_key_net_weight_to_fp16_quantized, x = input_37_cast_fp16)[name = tensor("linear_11_cast_fp16")]; tensor decoder_layers_1_first_sub_layer_value_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_1_first_sub_layer_value_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(25405184))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(26453824))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_1_first_sub_layer_value_net_bias_to_fp16 = const()[name = tensor("decoder_layers_1_first_sub_layer_value_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(26455936)))]; tensor linear_12_cast_fp16 = linear(bias = decoder_layers_1_first_sub_layer_value_net_bias_to_fp16, weight = decoder_layers_1_first_sub_layer_value_net_weight_to_fp16_quantized, x = input_37_cast_fp16)[name = tensor("linear_12_cast_fp16")]; tensor var_380 = const()[name = tensor("op_380"), val = tensor([1, 1, 8, 128])]; tensor x_27_cast_fp16 = reshape(shape = var_380, x = linear_10_cast_fp16)[name = tensor("x_27_cast_fp16")]; tensor _inversed_query_5_y_0_to_fp16 = const()[name = tensor("_inversed_query_5_y_0_to_fp16"), val = tensor(0x1.308p-2)]; tensor _inversed_query_5_cast_fp16 = mul(x = x_27_cast_fp16, y = _inversed_query_5_y_0_to_fp16)[name = tensor("_inversed_query_5_cast_fp16")]; tensor concat_2x = const()[name = tensor("concat_2x"), val = tensor([1, -1, 8, 128])]; tensor x_31_cast_fp16 = reshape(shape = concat_2x, x = linear_11_cast_fp16)[name = tensor("x_31_cast_fp16")]; tensor _inversed_key_5_y_0_to_fp16 = const()[name = tensor("_inversed_key_5_y_0_to_fp16"), val = tensor(0x1.308p-2)]; tensor _inversed_key_5_cast_fp16 = mul(x = x_31_cast_fp16, y = _inversed_key_5_y_0_to_fp16)[name = tensor("_inversed_key_5_cast_fp16")]; tensor concat_3x = const()[name = tensor("concat_3x"), val = tensor([1, -1, 8, 128])]; tensor x_35_cast_fp16 = reshape(shape = concat_3x, x = linear_12_cast_fp16)[name = tensor("x_35_cast_fp16")]; tensor var_398 = const()[name = tensor("op_398"), val = tensor([0, 2, -3, -1])]; tensor attention_scores_9_transpose_x_1 = const()[name = tensor("attention_scores_9_transpose_x_1"), val = tensor(false)]; tensor attention_scores_9_transpose_y_1 = const()[name = tensor("attention_scores_9_transpose_y_1"), val = tensor(true)]; tensor transpose_36_perm_0 = const()[name = tensor("transpose_36_perm_0"), val = tensor([0, 2, -3, -1])]; tensor transpose_37_perm_0 = const()[name = tensor("transpose_37_perm_0"), val = tensor([0, 2, -3, -1])]; tensor transpose_37 = transpose(perm = transpose_37_perm_0, x = _inversed_key_5_cast_fp16)[name = tensor("transpose_70")]; tensor transpose_36 = transpose(perm = transpose_36_perm_0, x = _inversed_query_5_cast_fp16)[name = tensor("transpose_71")]; tensor attention_scores_9_cast_fp16 = matmul(transpose_x = attention_scores_9_transpose_x_1, transpose_y = attention_scores_9_transpose_y_1, x = transpose_36, y = transpose_37)[name = tensor("attention_scores_9_cast_fp16")]; tensor input_39_cast_fp16 = softmax(axis = var_342, x = attention_scores_9_cast_fp16)[name = tensor("input_39_cast_fp16")]; tensor context_9_transpose_x_0 = const()[name = tensor("context_9_transpose_x_0"), val = tensor(false)]; tensor context_9_transpose_y_0 = const()[name = tensor("context_9_transpose_y_0"), val = tensor(false)]; tensor value_5_cast_fp16 = transpose(perm = var_398, x = x_35_cast_fp16)[name = tensor("transpose_69")]; tensor context_9_cast_fp16 = matmul(transpose_x = context_9_transpose_x_0, transpose_y = context_9_transpose_y_0, x = input_39_cast_fp16, y = value_5_cast_fp16)[name = tensor("context_9_cast_fp16")]; tensor var_412 = const()[name = tensor("op_412"), val = tensor([0, 2, 1, 3])]; tensor var_417 = const()[name = tensor("op_417"), val = tensor([1, 1, 1024])]; tensor var_413_cast_fp16 = transpose(perm = var_412, x = context_9_cast_fp16)[name = tensor("transpose_68")]; tensor input_41_cast_fp16 = reshape(shape = var_417, x = var_413_cast_fp16)[name = tensor("input_41_cast_fp16")]; tensor decoder_layers_1_first_sub_layer_out_projection_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_1_first_sub_layer_out_projection_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(26458048))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(27506688))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_1_first_sub_layer_out_projection_bias_to_fp16 = const()[name = tensor("decoder_layers_1_first_sub_layer_out_projection_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(27508800)))]; tensor linear_13_cast_fp16 = linear(bias = decoder_layers_1_first_sub_layer_out_projection_bias_to_fp16, weight = decoder_layers_1_first_sub_layer_out_projection_weight_to_fp16_quantized, x = input_41_cast_fp16)[name = tensor("linear_13_cast_fp16")]; tensor input_45_cast_fp16 = add(x = linear_13_cast_fp16, y = states_3_cast_fp16)[name = tensor("input_45_cast_fp16")]; tensor input_47_axes_0 = const()[name = tensor("input_47_axes_0"), val = tensor([-1])]; tensor decoder_layers_1_layer_norm_2_weight_to_fp16 = const()[name = tensor("decoder_layers_1_layer_norm_2_weight_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(27510912)))]; tensor decoder_layers_1_layer_norm_2_bias_to_fp16 = const()[name = tensor("decoder_layers_1_layer_norm_2_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(27513024)))]; tensor input_47_cast_fp16 = layer_norm(axes = input_47_axes_0, beta = decoder_layers_1_layer_norm_2_bias_to_fp16, epsilon = var_349_to_fp16, gamma = decoder_layers_1_layer_norm_2_weight_to_fp16, x = input_45_cast_fp16)[name = tensor("input_47_cast_fp16")]; tensor decoder_layers_1_second_sub_layer_query_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_1_second_sub_layer_query_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(27515136))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(28563776))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_1_second_sub_layer_query_net_bias_to_fp16 = const()[name = tensor("decoder_layers_1_second_sub_layer_query_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(28565888)))]; tensor linear_14_cast_fp16 = linear(bias = decoder_layers_1_second_sub_layer_query_net_bias_to_fp16, weight = decoder_layers_1_second_sub_layer_query_net_weight_to_fp16_quantized, x = input_47_cast_fp16)[name = tensor("linear_14_cast_fp16")]; tensor decoder_layers_1_second_sub_layer_key_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_1_second_sub_layer_key_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(28568000))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(29616640))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_1_second_sub_layer_key_net_bias_to_fp16 = const()[name = tensor("decoder_layers_1_second_sub_layer_key_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(29618752)))]; tensor linear_15_cast_fp16 = linear(bias = decoder_layers_1_second_sub_layer_key_net_bias_to_fp16, weight = decoder_layers_1_second_sub_layer_key_net_weight_to_fp16_quantized, x = encoder_embeddings_to_fp16)[name = tensor("linear_15_cast_fp16")]; tensor decoder_layers_1_second_sub_layer_value_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_1_second_sub_layer_value_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(29620864))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(30669504))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_1_second_sub_layer_value_net_bias_to_fp16 = const()[name = tensor("decoder_layers_1_second_sub_layer_value_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(30671616)))]; tensor linear_16_cast_fp16 = linear(bias = decoder_layers_1_second_sub_layer_value_net_bias_to_fp16, weight = decoder_layers_1_second_sub_layer_value_net_weight_to_fp16_quantized, x = encoder_embeddings_to_fp16)[name = tensor("linear_16_cast_fp16")]; tensor var_446 = const()[name = tensor("op_446"), val = tensor([1, 1, 8, 128])]; tensor x_39_cast_fp16 = reshape(shape = var_446, x = linear_14_cast_fp16)[name = tensor("x_39_cast_fp16")]; tensor _inversed_query_7_y_0_to_fp16 = const()[name = tensor("_inversed_query_7_y_0_to_fp16"), val = tensor(0x1.308p-2)]; tensor _inversed_query_7_cast_fp16 = mul(x = x_39_cast_fp16, y = _inversed_query_7_y_0_to_fp16)[name = tensor("_inversed_query_7_cast_fp16")]; tensor var_454 = const()[name = tensor("op_454"), val = tensor([1, 125, 8, 128])]; tensor x_43_cast_fp16 = reshape(shape = var_454, x = linear_15_cast_fp16)[name = tensor("x_43_cast_fp16")]; tensor _inversed_key_7_y_0_to_fp16 = const()[name = tensor("_inversed_key_7_y_0_to_fp16"), val = tensor(0x1.308p-2)]; tensor _inversed_key_7_cast_fp16 = mul(x = x_43_cast_fp16, y = _inversed_key_7_y_0_to_fp16)[name = tensor("_inversed_key_7_cast_fp16")]; tensor var_462 = const()[name = tensor("op_462"), val = tensor([1, 125, 8, 128])]; tensor x_47_cast_fp16 = reshape(shape = var_462, x = linear_16_cast_fp16)[name = tensor("x_47_cast_fp16")]; tensor var_464 = const()[name = tensor("op_464"), val = tensor([0, 2, -3, -1])]; tensor attention_scores_13_transpose_x_1 = const()[name = tensor("attention_scores_13_transpose_x_1"), val = tensor(false)]; tensor attention_scores_13_transpose_y_1 = const()[name = tensor("attention_scores_13_transpose_y_1"), val = tensor(true)]; tensor transpose_38_perm_0 = const()[name = tensor("transpose_38_perm_0"), val = tensor([0, 2, -3, -1])]; tensor transpose_39_perm_0 = const()[name = tensor("transpose_39_perm_0"), val = tensor([0, 2, -3, -1])]; tensor transpose_39 = transpose(perm = transpose_39_perm_0, x = _inversed_key_7_cast_fp16)[name = tensor("transpose_66")]; tensor transpose_38 = transpose(perm = transpose_38_perm_0, x = _inversed_query_7_cast_fp16)[name = tensor("transpose_67")]; tensor attention_scores_13_cast_fp16 = matmul(transpose_x = attention_scores_13_transpose_x_1, transpose_y = attention_scores_13_transpose_y_1, x = transpose_38, y = transpose_39)[name = tensor("attention_scores_13_cast_fp16")]; tensor attention_scores_15_cast_fp16 = add(x = attention_scores_13_cast_fp16, y = attention_mask_9_cast_fp16)[name = tensor("attention_scores_15_cast_fp16")]; tensor input_49_cast_fp16 = softmax(axis = var_342, x = attention_scores_15_cast_fp16)[name = tensor("input_49_cast_fp16")]; tensor context_13_transpose_x_0 = const()[name = tensor("context_13_transpose_x_0"), val = tensor(false)]; tensor context_13_transpose_y_0 = const()[name = tensor("context_13_transpose_y_0"), val = tensor(false)]; tensor value_7_cast_fp16 = transpose(perm = var_464, x = x_47_cast_fp16)[name = tensor("transpose_65")]; tensor context_13_cast_fp16 = matmul(transpose_x = context_13_transpose_x_0, transpose_y = context_13_transpose_y_0, x = input_49_cast_fp16, y = value_7_cast_fp16)[name = tensor("context_13_cast_fp16")]; tensor var_478 = const()[name = tensor("op_478"), val = tensor([0, 2, 1, 3])]; tensor var_483 = const()[name = tensor("op_483"), val = tensor([1, 1, 1024])]; tensor var_479_cast_fp16 = transpose(perm = var_478, x = context_13_cast_fp16)[name = tensor("transpose_64")]; tensor input_51_cast_fp16 = reshape(shape = var_483, x = var_479_cast_fp16)[name = tensor("input_51_cast_fp16")]; tensor decoder_layers_1_second_sub_layer_out_projection_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_1_second_sub_layer_out_projection_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(30673728))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(31722368))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_1_second_sub_layer_out_projection_bias_to_fp16 = const()[name = tensor("decoder_layers_1_second_sub_layer_out_projection_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(31724480)))]; tensor linear_17_cast_fp16 = linear(bias = decoder_layers_1_second_sub_layer_out_projection_bias_to_fp16, weight = decoder_layers_1_second_sub_layer_out_projection_weight_to_fp16_quantized, x = input_51_cast_fp16)[name = tensor("linear_17_cast_fp16")]; tensor input_55_cast_fp16 = add(x = linear_17_cast_fp16, y = input_45_cast_fp16)[name = tensor("input_55_cast_fp16")]; tensor input_57_axes_0 = const()[name = tensor("input_57_axes_0"), val = tensor([-1])]; tensor decoder_layers_1_layer_norm_3_weight_to_fp16 = const()[name = tensor("decoder_layers_1_layer_norm_3_weight_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(31726592)))]; tensor decoder_layers_1_layer_norm_3_bias_to_fp16 = const()[name = tensor("decoder_layers_1_layer_norm_3_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(31728704)))]; tensor input_57_cast_fp16 = layer_norm(axes = input_57_axes_0, beta = decoder_layers_1_layer_norm_3_bias_to_fp16, epsilon = var_349_to_fp16, gamma = decoder_layers_1_layer_norm_3_weight_to_fp16, x = input_55_cast_fp16)[name = tensor("input_57_cast_fp16")]; tensor decoder_layers_1_third_sub_layer_dense_in_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_1_third_sub_layer_dense_in_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(31730816))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(35925184))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(19075968)))]; tensor decoder_layers_1_third_sub_layer_dense_in_bias_to_fp16 = const()[name = tensor("decoder_layers_1_third_sub_layer_dense_in_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(35933440)))]; tensor linear_18_cast_fp16 = linear(bias = decoder_layers_1_third_sub_layer_dense_in_bias_to_fp16, weight = decoder_layers_1_third_sub_layer_dense_in_weight_to_fp16_quantized, x = input_57_cast_fp16)[name = tensor("linear_18_cast_fp16")]; tensor input_59_cast_fp16 = relu(x = linear_18_cast_fp16)[name = tensor("input_59_cast_fp16")]; tensor decoder_layers_1_third_sub_layer_dense_out_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_1_third_sub_layer_dense_out_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(35941696))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(40136064))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_1_third_sub_layer_dense_out_bias_to_fp16 = const()[name = tensor("decoder_layers_1_third_sub_layer_dense_out_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(40138176)))]; tensor linear_19_cast_fp16 = linear(bias = decoder_layers_1_third_sub_layer_dense_out_bias_to_fp16, weight = decoder_layers_1_third_sub_layer_dense_out_weight_to_fp16_quantized, x = input_59_cast_fp16)[name = tensor("linear_19_cast_fp16")]; tensor states_5_cast_fp16 = add(x = linear_19_cast_fp16, y = input_55_cast_fp16)[name = tensor("states_5_cast_fp16")]; tensor prior_5_begin_0 = const()[name = tensor("prior_5_begin_0"), val = tensor([2, 0, 0, 0])]; tensor prior_5_end_0 = const()[name = tensor("prior_5_end_0"), val = tensor([3, 1, 0, 1024])]; tensor prior_5_end_mask_0 = const()[name = tensor("prior_5_end_mask_0"), val = tensor([false, true, true, true])]; tensor prior_5_squeeze_mask_0 = const()[name = tensor("prior_5_squeeze_mask_0"), val = tensor([true, false, false, false])]; tensor prior_5_cast_fp16 = slice_by_index(begin = prior_5_begin_0, end = prior_5_end_0, end_mask = prior_5_end_mask_0, squeeze_mask = prior_5_squeeze_mask_0, x = decoder_mems_to_fp16)[name = tensor("prior_5_cast_fp16")]; tensor var_523_interleave_0 = const()[name = tensor("op_523_interleave_0"), val = tensor(false)]; tensor const_71 = const()[name = tensor("const_71"), val = tensor(1)]; tensor var_523_cast_fp16 = concat(axis = const_71, interleave = var_523_interleave_0, values = (prior_5_cast_fp16, states_5_cast_fp16))[name = tensor("op_523_cast_fp16")]; tensor var_533 = const()[name = tensor("op_533"), val = tensor(-1)]; tensor input_65_axes_0 = const()[name = tensor("input_65_axes_0"), val = tensor([-1])]; tensor decoder_layers_2_layer_norm_1_weight_to_fp16 = const()[name = tensor("decoder_layers_2_layer_norm_1_weight_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(40140288)))]; tensor decoder_layers_2_layer_norm_1_bias_to_fp16 = const()[name = tensor("decoder_layers_2_layer_norm_1_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(40142400)))]; tensor var_540_to_fp16 = const()[name = tensor("op_540_to_fp16"), val = tensor(0x1.5p-17)]; tensor input_65_cast_fp16 = layer_norm(axes = input_65_axes_0, beta = decoder_layers_2_layer_norm_1_bias_to_fp16, epsilon = var_540_to_fp16, gamma = decoder_layers_2_layer_norm_1_weight_to_fp16, x = states_5_cast_fp16)[name = tensor("input_65_cast_fp16")]; tensor input_67_axes_0 = const()[name = tensor("input_67_axes_0"), val = tensor([-1])]; tensor input_67_cast_fp16 = layer_norm(axes = input_67_axes_0, beta = decoder_layers_2_layer_norm_1_bias_to_fp16, epsilon = var_540_to_fp16, gamma = decoder_layers_2_layer_norm_1_weight_to_fp16, x = var_523_cast_fp16)[name = tensor("input_67_cast_fp16")]; tensor decoder_layers_2_first_sub_layer_query_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_2_first_sub_layer_query_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(40144512))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(41193152))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_2_first_sub_layer_query_net_bias_to_fp16 = const()[name = tensor("decoder_layers_2_first_sub_layer_query_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(41195264)))]; tensor linear_20_cast_fp16 = linear(bias = decoder_layers_2_first_sub_layer_query_net_bias_to_fp16, weight = decoder_layers_2_first_sub_layer_query_net_weight_to_fp16_quantized, x = input_65_cast_fp16)[name = tensor("linear_20_cast_fp16")]; tensor decoder_layers_2_first_sub_layer_key_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_2_first_sub_layer_key_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(41197376))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(42246016))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_2_first_sub_layer_key_net_bias_to_fp16 = const()[name = tensor("decoder_layers_2_first_sub_layer_key_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(42248128)))]; tensor linear_21_cast_fp16 = linear(bias = decoder_layers_2_first_sub_layer_key_net_bias_to_fp16, weight = decoder_layers_2_first_sub_layer_key_net_weight_to_fp16_quantized, x = input_67_cast_fp16)[name = tensor("linear_21_cast_fp16")]; tensor decoder_layers_2_first_sub_layer_value_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_2_first_sub_layer_value_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(42250240))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(43298880))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_2_first_sub_layer_value_net_bias_to_fp16 = const()[name = tensor("decoder_layers_2_first_sub_layer_value_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(43300992)))]; tensor linear_22_cast_fp16 = linear(bias = decoder_layers_2_first_sub_layer_value_net_bias_to_fp16, weight = decoder_layers_2_first_sub_layer_value_net_weight_to_fp16_quantized, x = input_67_cast_fp16)[name = tensor("linear_22_cast_fp16")]; tensor var_571 = const()[name = tensor("op_571"), val = tensor([1, 1, 8, 128])]; tensor x_51_cast_fp16 = reshape(shape = var_571, x = linear_20_cast_fp16)[name = tensor("x_51_cast_fp16")]; tensor _inversed_query_9_y_0_to_fp16 = const()[name = tensor("_inversed_query_9_y_0_to_fp16"), val = tensor(0x1.308p-2)]; tensor _inversed_query_9_cast_fp16 = mul(x = x_51_cast_fp16, y = _inversed_query_9_y_0_to_fp16)[name = tensor("_inversed_query_9_cast_fp16")]; tensor concat_4x = const()[name = tensor("concat_4x"), val = tensor([1, -1, 8, 128])]; tensor x_55_cast_fp16 = reshape(shape = concat_4x, x = linear_21_cast_fp16)[name = tensor("x_55_cast_fp16")]; tensor _inversed_key_9_y_0_to_fp16 = const()[name = tensor("_inversed_key_9_y_0_to_fp16"), val = tensor(0x1.308p-2)]; tensor _inversed_key_9_cast_fp16 = mul(x = x_55_cast_fp16, y = _inversed_key_9_y_0_to_fp16)[name = tensor("_inversed_key_9_cast_fp16")]; tensor concat_5x = const()[name = tensor("concat_5x"), val = tensor([1, -1, 8, 128])]; tensor x_59_cast_fp16 = reshape(shape = concat_5x, x = linear_22_cast_fp16)[name = tensor("x_59_cast_fp16")]; tensor var_589 = const()[name = tensor("op_589"), val = tensor([0, 2, -3, -1])]; tensor attention_scores_17_transpose_x_1 = const()[name = tensor("attention_scores_17_transpose_x_1"), val = tensor(false)]; tensor attention_scores_17_transpose_y_1 = const()[name = tensor("attention_scores_17_transpose_y_1"), val = tensor(true)]; tensor transpose_40_perm_0 = const()[name = tensor("transpose_40_perm_0"), val = tensor([0, 2, -3, -1])]; tensor transpose_41_perm_0 = const()[name = tensor("transpose_41_perm_0"), val = tensor([0, 2, -3, -1])]; tensor transpose_41 = transpose(perm = transpose_41_perm_0, x = _inversed_key_9_cast_fp16)[name = tensor("transpose_62")]; tensor transpose_40 = transpose(perm = transpose_40_perm_0, x = _inversed_query_9_cast_fp16)[name = tensor("transpose_63")]; tensor attention_scores_17_cast_fp16 = matmul(transpose_x = attention_scores_17_transpose_x_1, transpose_y = attention_scores_17_transpose_y_1, x = transpose_40, y = transpose_41)[name = tensor("attention_scores_17_cast_fp16")]; tensor input_69_cast_fp16 = softmax(axis = var_533, x = attention_scores_17_cast_fp16)[name = tensor("input_69_cast_fp16")]; tensor context_17_transpose_x_0 = const()[name = tensor("context_17_transpose_x_0"), val = tensor(false)]; tensor context_17_transpose_y_0 = const()[name = tensor("context_17_transpose_y_0"), val = tensor(false)]; tensor value_9_cast_fp16 = transpose(perm = var_589, x = x_59_cast_fp16)[name = tensor("transpose_61")]; tensor context_17_cast_fp16 = matmul(transpose_x = context_17_transpose_x_0, transpose_y = context_17_transpose_y_0, x = input_69_cast_fp16, y = value_9_cast_fp16)[name = tensor("context_17_cast_fp16")]; tensor var_603 = const()[name = tensor("op_603"), val = tensor([0, 2, 1, 3])]; tensor var_608 = const()[name = tensor("op_608"), val = tensor([1, 1, 1024])]; tensor var_604_cast_fp16 = transpose(perm = var_603, x = context_17_cast_fp16)[name = tensor("transpose_60")]; tensor input_71_cast_fp16 = reshape(shape = var_608, x = var_604_cast_fp16)[name = tensor("input_71_cast_fp16")]; tensor decoder_layers_2_first_sub_layer_out_projection_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_2_first_sub_layer_out_projection_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(43303104))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(44351744))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_2_first_sub_layer_out_projection_bias_to_fp16 = const()[name = tensor("decoder_layers_2_first_sub_layer_out_projection_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(44353856)))]; tensor linear_23_cast_fp16 = linear(bias = decoder_layers_2_first_sub_layer_out_projection_bias_to_fp16, weight = decoder_layers_2_first_sub_layer_out_projection_weight_to_fp16_quantized, x = input_71_cast_fp16)[name = tensor("linear_23_cast_fp16")]; tensor input_75_cast_fp16 = add(x = linear_23_cast_fp16, y = states_5_cast_fp16)[name = tensor("input_75_cast_fp16")]; tensor input_77_axes_0 = const()[name = tensor("input_77_axes_0"), val = tensor([-1])]; tensor decoder_layers_2_layer_norm_2_weight_to_fp16 = const()[name = tensor("decoder_layers_2_layer_norm_2_weight_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(44355968)))]; tensor decoder_layers_2_layer_norm_2_bias_to_fp16 = const()[name = tensor("decoder_layers_2_layer_norm_2_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(44358080)))]; tensor input_77_cast_fp16 = layer_norm(axes = input_77_axes_0, beta = decoder_layers_2_layer_norm_2_bias_to_fp16, epsilon = var_540_to_fp16, gamma = decoder_layers_2_layer_norm_2_weight_to_fp16, x = input_75_cast_fp16)[name = tensor("input_77_cast_fp16")]; tensor decoder_layers_2_second_sub_layer_query_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_2_second_sub_layer_query_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(44360192))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(45408832))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_2_second_sub_layer_query_net_bias_to_fp16 = const()[name = tensor("decoder_layers_2_second_sub_layer_query_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(45410944)))]; tensor linear_24_cast_fp16 = linear(bias = decoder_layers_2_second_sub_layer_query_net_bias_to_fp16, weight = decoder_layers_2_second_sub_layer_query_net_weight_to_fp16_quantized, x = input_77_cast_fp16)[name = tensor("linear_24_cast_fp16")]; tensor decoder_layers_2_second_sub_layer_key_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_2_second_sub_layer_key_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(45413056))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(46461696))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_2_second_sub_layer_key_net_bias_to_fp16 = const()[name = tensor("decoder_layers_2_second_sub_layer_key_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(46463808)))]; tensor linear_25_cast_fp16 = linear(bias = decoder_layers_2_second_sub_layer_key_net_bias_to_fp16, weight = decoder_layers_2_second_sub_layer_key_net_weight_to_fp16_quantized, x = encoder_embeddings_to_fp16)[name = tensor("linear_25_cast_fp16")]; tensor decoder_layers_2_second_sub_layer_value_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_2_second_sub_layer_value_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(46465920))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(47514560))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_2_second_sub_layer_value_net_bias_to_fp16 = const()[name = tensor("decoder_layers_2_second_sub_layer_value_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(47516672)))]; tensor linear_26_cast_fp16 = linear(bias = decoder_layers_2_second_sub_layer_value_net_bias_to_fp16, weight = decoder_layers_2_second_sub_layer_value_net_weight_to_fp16_quantized, x = encoder_embeddings_to_fp16)[name = tensor("linear_26_cast_fp16")]; tensor var_637 = const()[name = tensor("op_637"), val = tensor([1, 1, 8, 128])]; tensor x_63_cast_fp16 = reshape(shape = var_637, x = linear_24_cast_fp16)[name = tensor("x_63_cast_fp16")]; tensor _inversed_query_11_y_0_to_fp16 = const()[name = tensor("_inversed_query_11_y_0_to_fp16"), val = tensor(0x1.308p-2)]; tensor _inversed_query_11_cast_fp16 = mul(x = x_63_cast_fp16, y = _inversed_query_11_y_0_to_fp16)[name = tensor("_inversed_query_11_cast_fp16")]; tensor var_645 = const()[name = tensor("op_645"), val = tensor([1, 125, 8, 128])]; tensor x_67_cast_fp16 = reshape(shape = var_645, x = linear_25_cast_fp16)[name = tensor("x_67_cast_fp16")]; tensor _inversed_key_11_y_0_to_fp16 = const()[name = tensor("_inversed_key_11_y_0_to_fp16"), val = tensor(0x1.308p-2)]; tensor _inversed_key_11_cast_fp16 = mul(x = x_67_cast_fp16, y = _inversed_key_11_y_0_to_fp16)[name = tensor("_inversed_key_11_cast_fp16")]; tensor var_653 = const()[name = tensor("op_653"), val = tensor([1, 125, 8, 128])]; tensor x_71_cast_fp16 = reshape(shape = var_653, x = linear_26_cast_fp16)[name = tensor("x_71_cast_fp16")]; tensor var_655 = const()[name = tensor("op_655"), val = tensor([0, 2, -3, -1])]; tensor attention_scores_21_transpose_x_1 = const()[name = tensor("attention_scores_21_transpose_x_1"), val = tensor(false)]; tensor attention_scores_21_transpose_y_1 = const()[name = tensor("attention_scores_21_transpose_y_1"), val = tensor(true)]; tensor transpose_42_perm_0 = const()[name = tensor("transpose_42_perm_0"), val = tensor([0, 2, -3, -1])]; tensor transpose_43_perm_0 = const()[name = tensor("transpose_43_perm_0"), val = tensor([0, 2, -3, -1])]; tensor transpose_43 = transpose(perm = transpose_43_perm_0, x = _inversed_key_11_cast_fp16)[name = tensor("transpose_58")]; tensor transpose_42 = transpose(perm = transpose_42_perm_0, x = _inversed_query_11_cast_fp16)[name = tensor("transpose_59")]; tensor attention_scores_21_cast_fp16 = matmul(transpose_x = attention_scores_21_transpose_x_1, transpose_y = attention_scores_21_transpose_y_1, x = transpose_42, y = transpose_43)[name = tensor("attention_scores_21_cast_fp16")]; tensor attention_scores_23_cast_fp16 = add(x = attention_scores_21_cast_fp16, y = attention_mask_9_cast_fp16)[name = tensor("attention_scores_23_cast_fp16")]; tensor input_79_cast_fp16 = softmax(axis = var_533, x = attention_scores_23_cast_fp16)[name = tensor("input_79_cast_fp16")]; tensor context_21_transpose_x_0 = const()[name = tensor("context_21_transpose_x_0"), val = tensor(false)]; tensor context_21_transpose_y_0 = const()[name = tensor("context_21_transpose_y_0"), val = tensor(false)]; tensor value_11_cast_fp16 = transpose(perm = var_655, x = x_71_cast_fp16)[name = tensor("transpose_57")]; tensor context_21_cast_fp16 = matmul(transpose_x = context_21_transpose_x_0, transpose_y = context_21_transpose_y_0, x = input_79_cast_fp16, y = value_11_cast_fp16)[name = tensor("context_21_cast_fp16")]; tensor var_669 = const()[name = tensor("op_669"), val = tensor([0, 2, 1, 3])]; tensor var_674 = const()[name = tensor("op_674"), val = tensor([1, 1, 1024])]; tensor var_670_cast_fp16 = transpose(perm = var_669, x = context_21_cast_fp16)[name = tensor("transpose_56")]; tensor input_81_cast_fp16 = reshape(shape = var_674, x = var_670_cast_fp16)[name = tensor("input_81_cast_fp16")]; tensor decoder_layers_2_second_sub_layer_out_projection_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_2_second_sub_layer_out_projection_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(47518784))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(48567424))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_2_second_sub_layer_out_projection_bias_to_fp16 = const()[name = tensor("decoder_layers_2_second_sub_layer_out_projection_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(48569536)))]; tensor linear_27_cast_fp16 = linear(bias = decoder_layers_2_second_sub_layer_out_projection_bias_to_fp16, weight = decoder_layers_2_second_sub_layer_out_projection_weight_to_fp16_quantized, x = input_81_cast_fp16)[name = tensor("linear_27_cast_fp16")]; tensor input_85_cast_fp16 = add(x = linear_27_cast_fp16, y = input_75_cast_fp16)[name = tensor("input_85_cast_fp16")]; tensor input_87_axes_0 = const()[name = tensor("input_87_axes_0"), val = tensor([-1])]; tensor decoder_layers_2_layer_norm_3_weight_to_fp16 = const()[name = tensor("decoder_layers_2_layer_norm_3_weight_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(48571648)))]; tensor decoder_layers_2_layer_norm_3_bias_to_fp16 = const()[name = tensor("decoder_layers_2_layer_norm_3_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(48573760)))]; tensor input_87_cast_fp16 = layer_norm(axes = input_87_axes_0, beta = decoder_layers_2_layer_norm_3_bias_to_fp16, epsilon = var_540_to_fp16, gamma = decoder_layers_2_layer_norm_3_weight_to_fp16, x = input_85_cast_fp16)[name = tensor("input_87_cast_fp16")]; tensor decoder_layers_2_third_sub_layer_dense_in_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_2_third_sub_layer_dense_in_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(48575872))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(52770240))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(19075968)))]; tensor decoder_layers_2_third_sub_layer_dense_in_bias_to_fp16 = const()[name = tensor("decoder_layers_2_third_sub_layer_dense_in_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(52778496)))]; tensor linear_28_cast_fp16 = linear(bias = decoder_layers_2_third_sub_layer_dense_in_bias_to_fp16, weight = decoder_layers_2_third_sub_layer_dense_in_weight_to_fp16_quantized, x = input_87_cast_fp16)[name = tensor("linear_28_cast_fp16")]; tensor input_89_cast_fp16 = relu(x = linear_28_cast_fp16)[name = tensor("input_89_cast_fp16")]; tensor decoder_layers_2_third_sub_layer_dense_out_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_2_third_sub_layer_dense_out_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(52786752))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(56981120))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_2_third_sub_layer_dense_out_bias_to_fp16 = const()[name = tensor("decoder_layers_2_third_sub_layer_dense_out_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(56983232)))]; tensor linear_29_cast_fp16 = linear(bias = decoder_layers_2_third_sub_layer_dense_out_bias_to_fp16, weight = decoder_layers_2_third_sub_layer_dense_out_weight_to_fp16_quantized, x = input_89_cast_fp16)[name = tensor("linear_29_cast_fp16")]; tensor states_7_cast_fp16 = add(x = linear_29_cast_fp16, y = input_85_cast_fp16)[name = tensor("states_7_cast_fp16")]; tensor prior_7_begin_0 = const()[name = tensor("prior_7_begin_0"), val = tensor([3, 0, 0, 0])]; tensor prior_7_end_0 = const()[name = tensor("prior_7_end_0"), val = tensor([4, 1, 0, 1024])]; tensor prior_7_end_mask_0 = const()[name = tensor("prior_7_end_mask_0"), val = tensor([false, true, true, true])]; tensor prior_7_squeeze_mask_0 = const()[name = tensor("prior_7_squeeze_mask_0"), val = tensor([true, false, false, false])]; tensor prior_7_cast_fp16 = slice_by_index(begin = prior_7_begin_0, end = prior_7_end_0, end_mask = prior_7_end_mask_0, squeeze_mask = prior_7_squeeze_mask_0, x = decoder_mems_to_fp16)[name = tensor("prior_7_cast_fp16")]; tensor var_714_interleave_0 = const()[name = tensor("op_714_interleave_0"), val = tensor(false)]; tensor const_72 = const()[name = tensor("const_72"), val = tensor(1)]; tensor var_714_cast_fp16 = concat(axis = const_72, interleave = var_714_interleave_0, values = (prior_7_cast_fp16, states_7_cast_fp16))[name = tensor("op_714_cast_fp16")]; tensor var_724 = const()[name = tensor("op_724"), val = tensor(-1)]; tensor input_95_axes_0 = const()[name = tensor("input_95_axes_0"), val = tensor([-1])]; tensor decoder_layers_3_layer_norm_1_weight_to_fp16 = const()[name = tensor("decoder_layers_3_layer_norm_1_weight_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(56985344)))]; tensor decoder_layers_3_layer_norm_1_bias_to_fp16 = const()[name = tensor("decoder_layers_3_layer_norm_1_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(56987456)))]; tensor var_731_to_fp16 = const()[name = tensor("op_731_to_fp16"), val = tensor(0x1.5p-17)]; tensor input_95_cast_fp16 = layer_norm(axes = input_95_axes_0, beta = decoder_layers_3_layer_norm_1_bias_to_fp16, epsilon = var_731_to_fp16, gamma = decoder_layers_3_layer_norm_1_weight_to_fp16, x = states_7_cast_fp16)[name = tensor("input_95_cast_fp16")]; tensor input_97_axes_0 = const()[name = tensor("input_97_axes_0"), val = tensor([-1])]; tensor input_97_cast_fp16 = layer_norm(axes = input_97_axes_0, beta = decoder_layers_3_layer_norm_1_bias_to_fp16, epsilon = var_731_to_fp16, gamma = decoder_layers_3_layer_norm_1_weight_to_fp16, x = var_714_cast_fp16)[name = tensor("input_97_cast_fp16")]; tensor decoder_layers_3_first_sub_layer_query_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_3_first_sub_layer_query_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(56989568))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(58038208))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_3_first_sub_layer_query_net_bias_to_fp16 = const()[name = tensor("decoder_layers_3_first_sub_layer_query_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(58040320)))]; tensor linear_30_cast_fp16 = linear(bias = decoder_layers_3_first_sub_layer_query_net_bias_to_fp16, weight = decoder_layers_3_first_sub_layer_query_net_weight_to_fp16_quantized, x = input_95_cast_fp16)[name = tensor("linear_30_cast_fp16")]; tensor decoder_layers_3_first_sub_layer_key_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_3_first_sub_layer_key_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(58042432))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(59091072))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_3_first_sub_layer_key_net_bias_to_fp16 = const()[name = tensor("decoder_layers_3_first_sub_layer_key_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(59093184)))]; tensor linear_31_cast_fp16 = linear(bias = decoder_layers_3_first_sub_layer_key_net_bias_to_fp16, weight = decoder_layers_3_first_sub_layer_key_net_weight_to_fp16_quantized, x = input_97_cast_fp16)[name = tensor("linear_31_cast_fp16")]; tensor decoder_layers_3_first_sub_layer_value_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_3_first_sub_layer_value_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(59095296))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(60143936))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_3_first_sub_layer_value_net_bias_to_fp16 = const()[name = tensor("decoder_layers_3_first_sub_layer_value_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(60146048)))]; tensor linear_32_cast_fp16 = linear(bias = decoder_layers_3_first_sub_layer_value_net_bias_to_fp16, weight = decoder_layers_3_first_sub_layer_value_net_weight_to_fp16_quantized, x = input_97_cast_fp16)[name = tensor("linear_32_cast_fp16")]; tensor var_762 = const()[name = tensor("op_762"), val = tensor([1, 1, 8, 128])]; tensor x_75_cast_fp16 = reshape(shape = var_762, x = linear_30_cast_fp16)[name = tensor("x_75_cast_fp16")]; tensor _inversed_query_13_y_0_to_fp16 = const()[name = tensor("_inversed_query_13_y_0_to_fp16"), val = tensor(0x1.308p-2)]; tensor _inversed_query_13_cast_fp16 = mul(x = x_75_cast_fp16, y = _inversed_query_13_y_0_to_fp16)[name = tensor("_inversed_query_13_cast_fp16")]; tensor concat_6x = const()[name = tensor("concat_6x"), val = tensor([1, -1, 8, 128])]; tensor x_79_cast_fp16 = reshape(shape = concat_6x, x = linear_31_cast_fp16)[name = tensor("x_79_cast_fp16")]; tensor _inversed_key_13_y_0_to_fp16 = const()[name = tensor("_inversed_key_13_y_0_to_fp16"), val = tensor(0x1.308p-2)]; tensor _inversed_key_13_cast_fp16 = mul(x = x_79_cast_fp16, y = _inversed_key_13_y_0_to_fp16)[name = tensor("_inversed_key_13_cast_fp16")]; tensor concat_7x = const()[name = tensor("concat_7x"), val = tensor([1, -1, 8, 128])]; tensor x_83_cast_fp16 = reshape(shape = concat_7x, x = linear_32_cast_fp16)[name = tensor("x_83_cast_fp16")]; tensor var_780 = const()[name = tensor("op_780"), val = tensor([0, 2, -3, -1])]; tensor attention_scores_25_transpose_x_1 = const()[name = tensor("attention_scores_25_transpose_x_1"), val = tensor(false)]; tensor attention_scores_25_transpose_y_1 = const()[name = tensor("attention_scores_25_transpose_y_1"), val = tensor(true)]; tensor transpose_44_perm_0 = const()[name = tensor("transpose_44_perm_0"), val = tensor([0, 2, -3, -1])]; tensor transpose_45_perm_0 = const()[name = tensor("transpose_45_perm_0"), val = tensor([0, 2, -3, -1])]; tensor transpose_45 = transpose(perm = transpose_45_perm_0, x = _inversed_key_13_cast_fp16)[name = tensor("transpose_54")]; tensor transpose_44 = transpose(perm = transpose_44_perm_0, x = _inversed_query_13_cast_fp16)[name = tensor("transpose_55")]; tensor attention_scores_25_cast_fp16 = matmul(transpose_x = attention_scores_25_transpose_x_1, transpose_y = attention_scores_25_transpose_y_1, x = transpose_44, y = transpose_45)[name = tensor("attention_scores_25_cast_fp16")]; tensor input_99_cast_fp16 = softmax(axis = var_724, x = attention_scores_25_cast_fp16)[name = tensor("input_99_cast_fp16")]; tensor context_25_transpose_x_0 = const()[name = tensor("context_25_transpose_x_0"), val = tensor(false)]; tensor context_25_transpose_y_0 = const()[name = tensor("context_25_transpose_y_0"), val = tensor(false)]; tensor value_13_cast_fp16 = transpose(perm = var_780, x = x_83_cast_fp16)[name = tensor("transpose_53")]; tensor context_25_cast_fp16 = matmul(transpose_x = context_25_transpose_x_0, transpose_y = context_25_transpose_y_0, x = input_99_cast_fp16, y = value_13_cast_fp16)[name = tensor("context_25_cast_fp16")]; tensor var_794 = const()[name = tensor("op_794"), val = tensor([0, 2, 1, 3])]; tensor var_799 = const()[name = tensor("op_799"), val = tensor([1, 1, 1024])]; tensor var_795_cast_fp16 = transpose(perm = var_794, x = context_25_cast_fp16)[name = tensor("transpose_52")]; tensor input_101_cast_fp16 = reshape(shape = var_799, x = var_795_cast_fp16)[name = tensor("input_101_cast_fp16")]; tensor decoder_layers_3_first_sub_layer_out_projection_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_3_first_sub_layer_out_projection_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(60148160))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(61196800))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_3_first_sub_layer_out_projection_bias_to_fp16 = const()[name = tensor("decoder_layers_3_first_sub_layer_out_projection_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(61198912)))]; tensor linear_33_cast_fp16 = linear(bias = decoder_layers_3_first_sub_layer_out_projection_bias_to_fp16, weight = decoder_layers_3_first_sub_layer_out_projection_weight_to_fp16_quantized, x = input_101_cast_fp16)[name = tensor("linear_33_cast_fp16")]; tensor input_105_cast_fp16 = add(x = linear_33_cast_fp16, y = states_7_cast_fp16)[name = tensor("input_105_cast_fp16")]; tensor input_107_axes_0 = const()[name = tensor("input_107_axes_0"), val = tensor([-1])]; tensor decoder_layers_3_layer_norm_2_weight_to_fp16 = const()[name = tensor("decoder_layers_3_layer_norm_2_weight_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(61201024)))]; tensor decoder_layers_3_layer_norm_2_bias_to_fp16 = const()[name = tensor("decoder_layers_3_layer_norm_2_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(61203136)))]; tensor input_107_cast_fp16 = layer_norm(axes = input_107_axes_0, beta = decoder_layers_3_layer_norm_2_bias_to_fp16, epsilon = var_731_to_fp16, gamma = decoder_layers_3_layer_norm_2_weight_to_fp16, x = input_105_cast_fp16)[name = tensor("input_107_cast_fp16")]; tensor decoder_layers_3_second_sub_layer_query_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_3_second_sub_layer_query_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(61205248))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(62253888))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_3_second_sub_layer_query_net_bias_to_fp16 = const()[name = tensor("decoder_layers_3_second_sub_layer_query_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(62256000)))]; tensor linear_34_cast_fp16 = linear(bias = decoder_layers_3_second_sub_layer_query_net_bias_to_fp16, weight = decoder_layers_3_second_sub_layer_query_net_weight_to_fp16_quantized, x = input_107_cast_fp16)[name = tensor("linear_34_cast_fp16")]; tensor decoder_layers_3_second_sub_layer_key_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_3_second_sub_layer_key_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(62258112))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(63306752))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_3_second_sub_layer_key_net_bias_to_fp16 = const()[name = tensor("decoder_layers_3_second_sub_layer_key_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(63308864)))]; tensor linear_35_cast_fp16 = linear(bias = decoder_layers_3_second_sub_layer_key_net_bias_to_fp16, weight = decoder_layers_3_second_sub_layer_key_net_weight_to_fp16_quantized, x = encoder_embeddings_to_fp16)[name = tensor("linear_35_cast_fp16")]; tensor decoder_layers_3_second_sub_layer_value_net_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_3_second_sub_layer_value_net_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(63310976))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(64359616))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_3_second_sub_layer_value_net_bias_to_fp16 = const()[name = tensor("decoder_layers_3_second_sub_layer_value_net_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(64361728)))]; tensor linear_36_cast_fp16 = linear(bias = decoder_layers_3_second_sub_layer_value_net_bias_to_fp16, weight = decoder_layers_3_second_sub_layer_value_net_weight_to_fp16_quantized, x = encoder_embeddings_to_fp16)[name = tensor("linear_36_cast_fp16")]; tensor var_825 = const()[name = tensor("op_825"), val = tensor([1, 1, 8, 128])]; tensor x_87_cast_fp16 = reshape(shape = var_825, x = linear_34_cast_fp16)[name = tensor("x_87_cast_fp16")]; tensor _inversed_query_y_0_to_fp16 = const()[name = tensor("_inversed_query_y_0_to_fp16"), val = tensor(0x1.308p-2)]; tensor _inversed_query_cast_fp16 = mul(x = x_87_cast_fp16, y = _inversed_query_y_0_to_fp16)[name = tensor("_inversed_query_cast_fp16")]; tensor var_833 = const()[name = tensor("op_833"), val = tensor([1, 125, 8, 128])]; tensor x_91_cast_fp16 = reshape(shape = var_833, x = linear_35_cast_fp16)[name = tensor("x_91_cast_fp16")]; tensor _inversed_key_y_0_to_fp16 = const()[name = tensor("_inversed_key_y_0_to_fp16"), val = tensor(0x1.308p-2)]; tensor _inversed_key_cast_fp16 = mul(x = x_91_cast_fp16, y = _inversed_key_y_0_to_fp16)[name = tensor("_inversed_key_cast_fp16")]; tensor var_841 = const()[name = tensor("op_841"), val = tensor([1, 125, 8, 128])]; tensor x_cast_fp16 = reshape(shape = var_841, x = linear_36_cast_fp16)[name = tensor("x_cast_fp16")]; tensor var_843 = const()[name = tensor("op_843"), val = tensor([0, 2, -3, -1])]; tensor attention_scores_29_transpose_x_1 = const()[name = tensor("attention_scores_29_transpose_x_1"), val = tensor(false)]; tensor attention_scores_29_transpose_y_1 = const()[name = tensor("attention_scores_29_transpose_y_1"), val = tensor(true)]; tensor transpose_46_perm_0 = const()[name = tensor("transpose_46_perm_0"), val = tensor([0, 2, -3, -1])]; tensor transpose_47_perm_0 = const()[name = tensor("transpose_47_perm_0"), val = tensor([0, 2, -3, -1])]; tensor transpose_47 = transpose(perm = transpose_47_perm_0, x = _inversed_key_cast_fp16)[name = tensor("transpose_50")]; tensor transpose_46 = transpose(perm = transpose_46_perm_0, x = _inversed_query_cast_fp16)[name = tensor("transpose_51")]; tensor attention_scores_29_cast_fp16 = matmul(transpose_x = attention_scores_29_transpose_x_1, transpose_y = attention_scores_29_transpose_y_1, x = transpose_46, y = transpose_47)[name = tensor("attention_scores_29_cast_fp16")]; tensor attention_scores_cast_fp16 = add(x = attention_scores_29_cast_fp16, y = attention_mask_9_cast_fp16)[name = tensor("attention_scores_cast_fp16")]; tensor input_109_cast_fp16 = softmax(axis = var_724, x = attention_scores_cast_fp16)[name = tensor("input_109_cast_fp16")]; tensor context_29_transpose_x_0 = const()[name = tensor("context_29_transpose_x_0"), val = tensor(false)]; tensor context_29_transpose_y_0 = const()[name = tensor("context_29_transpose_y_0"), val = tensor(false)]; tensor value_cast_fp16 = transpose(perm = var_843, x = x_cast_fp16)[name = tensor("transpose_49")]; tensor context_29_cast_fp16 = matmul(transpose_x = context_29_transpose_x_0, transpose_y = context_29_transpose_y_0, x = input_109_cast_fp16, y = value_cast_fp16)[name = tensor("context_29_cast_fp16")]; tensor var_857 = const()[name = tensor("op_857"), val = tensor([0, 2, 1, 3])]; tensor var_862 = const()[name = tensor("op_862"), val = tensor([1, 1, 1024])]; tensor var_858_cast_fp16 = transpose(perm = var_857, x = context_29_cast_fp16)[name = tensor("transpose_48")]; tensor input_111_cast_fp16 = reshape(shape = var_862, x = var_858_cast_fp16)[name = tensor("input_111_cast_fp16")]; tensor decoder_layers_3_second_sub_layer_out_projection_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_3_second_sub_layer_out_projection_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(64363840))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(65412480))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_3_second_sub_layer_out_projection_bias_to_fp16 = const()[name = tensor("decoder_layers_3_second_sub_layer_out_projection_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(65414592)))]; tensor linear_37_cast_fp16 = linear(bias = decoder_layers_3_second_sub_layer_out_projection_bias_to_fp16, weight = decoder_layers_3_second_sub_layer_out_projection_weight_to_fp16_quantized, x = input_111_cast_fp16)[name = tensor("linear_37_cast_fp16")]; tensor input_115_cast_fp16 = add(x = linear_37_cast_fp16, y = input_105_cast_fp16)[name = tensor("input_115_cast_fp16")]; tensor input_117_axes_0 = const()[name = tensor("input_117_axes_0"), val = tensor([-1])]; tensor decoder_layers_3_layer_norm_3_weight_to_fp16 = const()[name = tensor("decoder_layers_3_layer_norm_3_weight_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(65416704)))]; tensor decoder_layers_3_layer_norm_3_bias_to_fp16 = const()[name = tensor("decoder_layers_3_layer_norm_3_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(65418816)))]; tensor input_117_cast_fp16 = layer_norm(axes = input_117_axes_0, beta = decoder_layers_3_layer_norm_3_bias_to_fp16, epsilon = var_731_to_fp16, gamma = decoder_layers_3_layer_norm_3_weight_to_fp16, x = input_115_cast_fp16)[name = tensor("input_117_cast_fp16")]; tensor decoder_layers_3_third_sub_layer_dense_in_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_3_third_sub_layer_dense_in_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(65420928))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(69615296))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(19075968)))]; tensor decoder_layers_3_third_sub_layer_dense_in_bias_to_fp16 = const()[name = tensor("decoder_layers_3_third_sub_layer_dense_in_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(69623552)))]; tensor linear_38_cast_fp16 = linear(bias = decoder_layers_3_third_sub_layer_dense_in_bias_to_fp16, weight = decoder_layers_3_third_sub_layer_dense_in_weight_to_fp16_quantized, x = input_117_cast_fp16)[name = tensor("linear_38_cast_fp16")]; tensor input_119_cast_fp16 = relu(x = linear_38_cast_fp16)[name = tensor("input_119_cast_fp16")]; tensor decoder_layers_3_third_sub_layer_dense_out_weight_to_fp16_quantized = constexpr_affine_dequantize()[axis = tensor(0), name = tensor("decoder_layers_3_third_sub_layer_dense_out_weight_to_fp16_quantized"), quantized_data = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(69631808))), scale = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(73826176))), zero_point = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(6438592)))]; tensor decoder_layers_3_third_sub_layer_dense_out_bias_to_fp16 = const()[name = tensor("decoder_layers_3_third_sub_layer_dense_out_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(73828288)))]; tensor linear_39_cast_fp16 = linear(bias = decoder_layers_3_third_sub_layer_dense_out_bias_to_fp16, weight = decoder_layers_3_third_sub_layer_dense_out_weight_to_fp16_quantized, x = input_119_cast_fp16)[name = tensor("linear_39_cast_fp16")]; tensor states_9_cast_fp16 = add(x = linear_39_cast_fp16, y = input_115_cast_fp16)[name = tensor("states_9_cast_fp16")]; tensor prior_begin_0 = const()[name = tensor("prior_begin_0"), val = tensor([4, 0, 0, 0])]; tensor prior_end_0 = const()[name = tensor("prior_end_0"), val = tensor([5, 1, 0, 1024])]; tensor prior_end_mask_0 = const()[name = tensor("prior_end_mask_0"), val = tensor([false, true, true, true])]; tensor prior_squeeze_mask_0 = const()[name = tensor("prior_squeeze_mask_0"), val = tensor([true, false, false, false])]; tensor prior_cast_fp16 = slice_by_index(begin = prior_begin_0, end = prior_end_0, end_mask = prior_end_mask_0, squeeze_mask = prior_squeeze_mask_0, x = decoder_mems_to_fp16)[name = tensor("prior_cast_fp16")]; tensor var_895_interleave_0 = const()[name = tensor("op_895_interleave_0"), val = tensor(false)]; tensor const_73 = const()[name = tensor("const_73"), val = tensor(1)]; tensor var_895_cast_fp16 = concat(axis = const_73, interleave = var_895_interleave_0, values = (prior_cast_fp16, states_9_cast_fp16))[name = tensor("op_895_cast_fp16")]; tensor states_axes_0 = const()[name = tensor("states_axes_0"), val = tensor([-1])]; tensor decoder_final_layer_norm_weight_to_fp16 = const()[name = tensor("decoder_final_layer_norm_weight_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(73830400)))]; tensor decoder_final_layer_norm_bias_to_fp16 = const()[name = tensor("decoder_final_layer_norm_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(73832512)))]; tensor var_900_to_fp16 = const()[name = tensor("op_900_to_fp16"), val = tensor(0x1.5p-17)]; tensor states_cast_fp16 = layer_norm(axes = states_axes_0, beta = decoder_final_layer_norm_bias_to_fp16, epsilon = var_900_to_fp16, gamma = decoder_final_layer_norm_weight_to_fp16, x = states_9_cast_fp16)[name = tensor("states_cast_fp16")]; tensor var_916 = const()[name = tensor("op_916"), val = tensor(-1)]; tensor head_mlp_layer0_bias_to_fp16 = const()[name = tensor("head_mlp_layer0_bias_to_fp16"), val = tensor(BLOBFILE(path = tensor("@model_path/weights/weight.bin"), offset = tensor(73834624)))]; tensor linear_40_cast_fp16 = linear(bias = head_mlp_layer0_bias_to_fp16, weight = embedding_token_embedding_weight_to_fp16_quantized, x = states_cast_fp16)[name = tensor("linear_40_cast_fp16")]; tensor var_925_softmax_cast_fp16 = softmax(axis = var_916, x = linear_40_cast_fp16)[name = tensor("op_925_softmax_cast_fp16")]; tensor var_925_epsilon_0 = const()[name = tensor("op_925_epsilon_0"), val = tensor(0x1p-149)]; tensor logits = log(epsilon = var_925_epsilon_0, x = var_925_softmax_cast_fp16)[name = tensor("op_925_cast_fp16")]; tensor var_928_axis_0 = const()[name = tensor("op_928_axis_0"), val = tensor(0)]; tensor decoder_hidden_states = stack(axis = var_928_axis_0, values = (var_141_cast_fp16, var_332_cast_fp16, var_523_cast_fp16, var_714_cast_fp16, var_895_cast_fp16))[name = tensor("op_928_cast_fp16")]; } -> (logits, decoder_hidden_states); }