diff --git "a/GLiNERRelexBase.mlmodelc/model.mil" "b/GLiNERRelexBase.mlmodelc/model.mil" --- "a/GLiNERRelexBase.mlmodelc/model.mil" +++ "b/GLiNERRelexBase.mlmodelc/model.mil" @@ -1,9 +1,8 @@ program(1.3) -[buildInfo = dict({{"coremlc-component-MIL", "3510.2.1"}, {"coremlc-version", "3500.32.1"}, {"coremltools-component-torch", "2.10.0"}, {"coremltools-source-dialect", "TorchScript"}, {"coremltools-version", "8.3.0"}})] +[buildInfo = dict({{"coremlc-component-MIL", "3520.4.1"}, {"coremlc-version", "3520.5.1"}, {"coremltools-component-torch", "2.10.0"}, {"coremltools-source-dialect", "TorchScript"}, {"coremltools-version", "8.3.0"}})] { func main(tensor attention_mask, tensor input_ids, tensor span_idx, tensor span_mask, tensor text_lengths, tensor words_mask) { tensor word_positions = const()[name = string("word_positions"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(64)))]; - int32 var_32 = const()[name = string("op_32"), val = int32(-1)]; int32 inputs_embeds_axis_0 = const()[name = string("inputs_embeds_axis_0"), val = int32(0)]; int32 inputs_embeds_batch_dims_0 = const()[name = string("inputs_embeds_batch_dims_0"), val = int32(0)]; bool inputs_embeds_validate_indices_0 = const()[name = string("inputs_embeds_validate_indices_0"), val = bool(false)]; @@ -12,101 +11,95 @@ program(1.3) tensor embeddings_1_axes_0 = const()[name = string("embeddings_1_axes_0"), val = tensor([-1])]; tensor deberta_embeddings_LayerNorm_weight_to_fp16 = const()[name = string("deberta_embeddings_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(196615616)))]; tensor deberta_embeddings_LayerNorm_bias_to_fp16 = const()[name = string("deberta_embeddings_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(196617216)))]; - fp16 var_51_to_fp16 = const()[name = string("op_51_to_fp16"), val = fp16(0x1p-23)]; - tensor embeddings_1_cast_fp16 = layer_norm(axes = embeddings_1_axes_0, beta = deberta_embeddings_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_embeddings_LayerNorm_weight_to_fp16, x = inputs_embeds_cast_fp16)[name = string("embeddings_1_cast_fp16")]; + fp16 var_38_to_fp16 = const()[name = string("op_38_to_fp16"), val = fp16(0x1p-23)]; + tensor embeddings_1_cast_fp16 = layer_norm(axes = embeddings_1_axes_0, beta = deberta_embeddings_LayerNorm_bias_to_fp16, epsilon = var_38_to_fp16, gamma = deberta_embeddings_LayerNorm_weight_to_fp16, x = inputs_embeds_cast_fp16)[name = string("embeddings_1_cast_fp16")]; tensor mask_3_axes_0 = const()[name = string("mask_3_axes_0"), val = tensor([2])]; tensor mask_3 = expand_dims(axes = mask_3_axes_0, x = attention_mask)[name = string("mask_3")]; string cast_3_to_fp16_dtype_0 = const()[name = string("cast_3_to_fp16_dtype_0"), val = string("fp16")]; - tensor mask_3_to_fp16 = cast(dtype = cast_3_to_fp16_dtype_0, x = mask_3)[name = string("cast_295")]; + tensor mask_3_to_fp16 = cast(dtype = cast_3_to_fp16_dtype_0, x = mask_3)[name = string("cast_294")]; tensor input_1_cast_fp16 = mul(x = embeddings_1_cast_fp16, y = mask_3_to_fp16)[name = string("input_1_cast_fp16")]; - tensor var_98_axes_0 = const()[name = string("op_98_axes_0"), val = tensor([1])]; - tensor var_98 = expand_dims(axes = var_98_axes_0, x = attention_mask)[name = string("op_98")]; - tensor extended_attention_mask_axes_0 = const()[name = string("extended_attention_mask_axes_0"), val = tensor([2])]; - tensor extended_attention_mask = expand_dims(axes = extended_attention_mask_axes_0, x = var_98)[name = string("extended_attention_mask")]; - tensor var_100_axes_0 = const()[name = string("op_100_axes_0"), val = tensor([-2])]; - string extended_attention_mask_to_uint16_dtype_0 = const()[name = string("extended_attention_mask_to_uint16_dtype_0"), val = string("uint16")]; - tensor extended_attention_mask_to_uint16 = cast(dtype = extended_attention_mask_to_uint16_dtype_0, x = extended_attention_mask)[name = string("cast_294")]; - tensor var_100_cast_int16 = squeeze(axes = var_100_axes_0, x = extended_attention_mask_to_uint16)[name = string("op_100_cast_int16")]; - string var_100_cast_int16_to_int32_dtype_0 = const()[name = string("op_100_cast_int16_to_int32_dtype_0"), val = string("int32")]; - tensor var_101_axes_0 = const()[name = string("op_101_axes_0"), val = tensor([-1])]; - tensor var_100_cast_int16_to_int32 = cast(dtype = var_100_cast_int16_to_int32_dtype_0, x = var_100_cast_int16)[name = string("cast_293")]; - tensor var_101 = expand_dims(axes = var_101_axes_0, x = var_100_cast_int16_to_int32)[name = string("op_101")]; - tensor attention_mask_3 = mul(x = extended_attention_mask, y = var_101)[name = string("attention_mask_3")]; + tensor var_57 = const()[name = string("op_57"), val = tensor([1, 1, 512])]; + tensor var_58 = reshape(shape = var_57, x = attention_mask)[name = string("op_58")]; + tensor attention_mask_3_reps_0 = const()[name = string("attention_mask_3_reps_0"), val = tensor([1, 512, 1])]; + tensor attention_mask_3 = tile(reps = attention_mask_3_reps_0, x = var_58)[name = string("attention_mask_3")]; + int32 var_66 = const()[name = string("op_66"), val = int32(-1)]; + tensor attention_mask_5_axes_0 = const()[name = string("attention_mask_5_axes_0"), val = tensor([1])]; + tensor attention_mask_5 = expand_dims(axes = attention_mask_5_axes_0, x = attention_mask_3)[name = string("attention_mask_5")]; tensor deberta_encoder_layer_0_attention_self_query_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_0_attention_self_query_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(196618816)))]; tensor deberta_encoder_layer_0_attention_self_query_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_0_attention_self_query_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(197798528)))]; tensor linear_0_cast_fp16 = linear(bias = deberta_encoder_layer_0_attention_self_query_proj_bias_to_fp16, weight = deberta_encoder_layer_0_attention_self_query_proj_weight_to_fp16, x = input_1_cast_fp16)[name = string("linear_0_cast_fp16")]; - tensor var_158 = const()[name = string("op_158"), val = tensor([1, 512, 12, -1])]; - tensor x_3_cast_fp16 = reshape(shape = var_158, x = linear_0_cast_fp16)[name = string("x_3_cast_fp16")]; - tensor var_160 = const()[name = string("op_160"), val = tensor([0, 2, 1, 3])]; - tensor var_165 = const()[name = string("op_165"), val = tensor([-1, 512, 64])]; - tensor var_161_cast_fp16 = transpose(perm = var_160, x = x_3_cast_fp16)[name = string("transpose_79")]; - tensor query_layer_3_cast_fp16 = reshape(shape = var_165, x = var_161_cast_fp16)[name = string("query_layer_3_cast_fp16")]; + tensor var_175 = const()[name = string("op_175"), val = tensor([1, 512, 12, -1])]; + tensor x_3_cast_fp16 = reshape(shape = var_175, x = linear_0_cast_fp16)[name = string("x_3_cast_fp16")]; + tensor var_177 = const()[name = string("op_177"), val = tensor([0, 2, 1, 3])]; + tensor var_182 = const()[name = string("op_182"), val = tensor([-1, 512, 64])]; + tensor var_178_cast_fp16 = transpose(perm = var_177, x = x_3_cast_fp16)[name = string("transpose_79")]; + tensor query_layer_3_cast_fp16 = reshape(shape = var_182, x = var_178_cast_fp16)[name = string("query_layer_3_cast_fp16")]; tensor deberta_encoder_layer_0_attention_self_key_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_0_attention_self_key_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(197800128)))]; tensor deberta_encoder_layer_0_attention_self_key_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_0_attention_self_key_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(198979840)))]; tensor linear_1_cast_fp16 = linear(bias = deberta_encoder_layer_0_attention_self_key_proj_bias_to_fp16, weight = deberta_encoder_layer_0_attention_self_key_proj_weight_to_fp16, x = input_1_cast_fp16)[name = string("linear_1_cast_fp16")]; - tensor var_172 = const()[name = string("op_172"), val = tensor([1, 512, 12, -1])]; - tensor x_7_cast_fp16 = reshape(shape = var_172, x = linear_1_cast_fp16)[name = string("x_7_cast_fp16")]; - tensor var_174 = const()[name = string("op_174"), val = tensor([0, 2, 1, 3])]; - tensor var_179 = const()[name = string("op_179"), val = tensor([-1, 512, 64])]; - tensor var_175_cast_fp16 = transpose(perm = var_174, x = x_7_cast_fp16)[name = string("transpose_78")]; - tensor key_layer_1_cast_fp16 = reshape(shape = var_179, x = var_175_cast_fp16)[name = string("key_layer_1_cast_fp16")]; + tensor var_189 = const()[name = string("op_189"), val = tensor([1, 512, 12, -1])]; + tensor x_7_cast_fp16 = reshape(shape = var_189, x = linear_1_cast_fp16)[name = string("x_7_cast_fp16")]; + tensor var_191 = const()[name = string("op_191"), val = tensor([0, 2, 1, 3])]; + tensor var_196 = const()[name = string("op_196"), val = tensor([-1, 512, 64])]; + tensor var_192_cast_fp16 = transpose(perm = var_191, x = x_7_cast_fp16)[name = string("transpose_78")]; + tensor key_layer_1_cast_fp16 = reshape(shape = var_196, x = var_192_cast_fp16)[name = string("key_layer_1_cast_fp16")]; tensor deberta_encoder_layer_0_attention_self_value_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_0_attention_self_value_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(198981440)))]; tensor deberta_encoder_layer_0_attention_self_value_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_0_attention_self_value_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(200161152)))]; tensor linear_2_cast_fp16 = linear(bias = deberta_encoder_layer_0_attention_self_value_proj_bias_to_fp16, weight = deberta_encoder_layer_0_attention_self_value_proj_weight_to_fp16, x = input_1_cast_fp16)[name = string("linear_2_cast_fp16")]; - tensor var_186 = const()[name = string("op_186"), val = tensor([1, 512, 12, -1])]; - tensor x_11_cast_fp16 = reshape(shape = var_186, x = linear_2_cast_fp16)[name = string("x_11_cast_fp16")]; - tensor var_188 = const()[name = string("op_188"), val = tensor([0, 2, 1, 3])]; - tensor var_193 = const()[name = string("op_193"), val = tensor([-1, 512, 64])]; - tensor var_189_cast_fp16 = transpose(perm = var_188, x = x_11_cast_fp16)[name = string("transpose_77")]; - tensor value_layer_1_cast_fp16 = reshape(shape = var_193, x = var_189_cast_fp16)[name = string("value_layer_1_cast_fp16")]; - tensor var_203_perm_0 = const()[name = string("op_203_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_205_y_0_to_fp16 = const()[name = string("_inversed_205_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor var_203_cast_fp16 = transpose(perm = var_203_perm_0, x = key_layer_1_cast_fp16)[name = string("transpose_76")]; - tensor _inversed_205_cast_fp16 = mul(x = var_203_cast_fp16, y = _inversed_205_y_0_to_fp16)[name = string("_inversed_205_cast_fp16")]; + tensor var_203 = const()[name = string("op_203"), val = tensor([1, 512, 12, -1])]; + tensor x_11_cast_fp16 = reshape(shape = var_203, x = linear_2_cast_fp16)[name = string("x_11_cast_fp16")]; + tensor var_205 = const()[name = string("op_205"), val = tensor([0, 2, 1, 3])]; + tensor var_210 = const()[name = string("op_210"), val = tensor([-1, 512, 64])]; + tensor var_206_cast_fp16 = transpose(perm = var_205, x = x_11_cast_fp16)[name = string("transpose_77")]; + tensor value_layer_1_cast_fp16 = reshape(shape = var_210, x = var_206_cast_fp16)[name = string("value_layer_1_cast_fp16")]; + tensor var_220_perm_0 = const()[name = string("op_220_perm_0"), val = tensor([0, -1, -2])]; + tensor _inversed_222_y_0_to_fp16 = const()[name = string("_inversed_222_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor var_220_cast_fp16 = transpose(perm = var_220_perm_0, x = key_layer_1_cast_fp16)[name = string("transpose_76")]; + tensor _inversed_222_cast_fp16 = mul(x = var_220_cast_fp16, y = _inversed_222_y_0_to_fp16)[name = string("_inversed_222_cast_fp16")]; bool attention_scores_1_transpose_x_0 = const()[name = string("attention_scores_1_transpose_x_0"), val = bool(false)]; bool attention_scores_1_transpose_y_0 = const()[name = string("attention_scores_1_transpose_y_0"), val = bool(false)]; - tensor attention_scores_1_cast_fp16 = matmul(transpose_x = attention_scores_1_transpose_x_0, transpose_y = attention_scores_1_transpose_y_0, x = query_layer_3_cast_fp16, y = _inversed_205_cast_fp16)[name = string("attention_scores_1_cast_fp16")]; + tensor attention_scores_1_cast_fp16 = matmul(transpose_x = attention_scores_1_transpose_x_0, transpose_y = attention_scores_1_transpose_y_0, x = query_layer_3_cast_fp16, y = _inversed_222_cast_fp16)[name = string("attention_scores_1_cast_fp16")]; bool c2p_att_1_transpose_x_0 = const()[name = string("c2p_att_1_transpose_x_0"), val = bool(false)]; bool c2p_att_1_transpose_y_0 = const()[name = string("c2p_att_1_transpose_y_0"), val = bool(false)]; - tensor var_261_to_fp16 = const()[name = string("op_261_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(200162752)))]; - tensor c2p_att_1_cast_fp16 = matmul(transpose_x = c2p_att_1_transpose_x_0, transpose_y = c2p_att_1_transpose_y_0, x = query_layer_3_cast_fp16, y = var_261_to_fp16)[name = string("c2p_att_1_cast_fp16")]; + tensor var_278_to_fp16 = const()[name = string("op_278_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(200162752)))]; + tensor c2p_att_1_cast_fp16 = matmul(transpose_x = c2p_att_1_transpose_x_0, transpose_y = c2p_att_1_transpose_y_0, x = query_layer_3_cast_fp16, y = var_278_to_fp16)[name = string("c2p_att_1_cast_fp16")]; bool c2p_att_3_validate_indices_0 = const()[name = string("c2p_att_3_validate_indices_0"), val = bool(false)]; - tensor var_271_to_uint16 = const()[name = string("op_271_to_uint16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(200949248)))]; - tensor c2p_att_3_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_271_to_uint16, validate_indices = c2p_att_3_validate_indices_0, x = c2p_att_1_cast_fp16)[name = string("c2p_att_3_cast_fp16_cast_int16")]; - tensor _inversed_274_y_0_to_fp16 = const()[name = string("_inversed_274_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor _inversed_274_cast_fp16 = mul(x = c2p_att_3_cast_fp16_cast_int16, y = _inversed_274_y_0_to_fp16)[name = string("_inversed_274_cast_fp16")]; + tensor var_288_to_uint16 = const()[name = string("op_288_to_uint16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(200949248)))]; + tensor c2p_att_3_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_288_to_uint16, validate_indices = c2p_att_3_validate_indices_0, x = c2p_att_1_cast_fp16)[name = string("c2p_att_3_cast_fp16_cast_int16")]; + tensor _inversed_291_y_0_to_fp16 = const()[name = string("_inversed_291_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor _inversed_291_cast_fp16 = mul(x = c2p_att_3_cast_fp16_cast_int16, y = _inversed_291_y_0_to_fp16)[name = string("_inversed_291_cast_fp16")]; bool p2c_att_1_transpose_x_0 = const()[name = string("p2c_att_1_transpose_x_0"), val = bool(false)]; bool p2c_att_1_transpose_y_0 = const()[name = string("p2c_att_1_transpose_y_0"), val = bool(false)]; - tensor var_289_to_fp16 = const()[name = string("op_289_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(207240768)))]; - tensor p2c_att_1_cast_fp16 = matmul(transpose_x = p2c_att_1_transpose_x_0, transpose_y = p2c_att_1_transpose_y_0, x = key_layer_1_cast_fp16, y = var_289_to_fp16)[name = string("p2c_att_1_cast_fp16")]; - bool var_297_validate_indices_0 = const()[name = string("op_297_validate_indices_0"), val = bool(false)]; - tensor var_296_to_uint16 = const()[name = string("op_296_to_uint16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(208027264)))]; - tensor var_297_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_296_to_uint16, validate_indices = var_297_validate_indices_0, x = p2c_att_1_cast_fp16)[name = string("op_297_cast_fp16_cast_int16")]; + tensor var_306_to_fp16 = const()[name = string("op_306_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(207240768)))]; + tensor p2c_att_1_cast_fp16 = matmul(transpose_x = p2c_att_1_transpose_x_0, transpose_y = p2c_att_1_transpose_y_0, x = key_layer_1_cast_fp16, y = var_306_to_fp16)[name = string("p2c_att_1_cast_fp16")]; + bool var_314_validate_indices_0 = const()[name = string("op_314_validate_indices_0"), val = bool(false)]; + tensor var_313_to_uint16 = const()[name = string("op_313_to_uint16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(208027264)))]; + tensor var_314_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_313_to_uint16, validate_indices = var_314_validate_indices_0, x = p2c_att_1_cast_fp16)[name = string("op_314_cast_fp16_cast_int16")]; tensor p2c_att_3_perm_0 = const()[name = string("p2c_att_3_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_300_y_0_to_fp16 = const()[name = string("_inversed_300_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor p2c_att_3_cast_fp16 = transpose(perm = p2c_att_3_perm_0, x = var_297_cast_fp16_cast_int16)[name = string("transpose_75")]; - tensor _inversed_300_cast_fp16 = mul(x = p2c_att_3_cast_fp16, y = _inversed_300_y_0_to_fp16)[name = string("_inversed_300_cast_fp16")]; - tensor rel_att_1_cast_fp16 = add(x = _inversed_274_cast_fp16, y = _inversed_300_cast_fp16)[name = string("rel_att_1_cast_fp16")]; + tensor _inversed_317_y_0_to_fp16 = const()[name = string("_inversed_317_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor p2c_att_3_cast_fp16 = transpose(perm = p2c_att_3_perm_0, x = var_314_cast_fp16_cast_int16)[name = string("transpose_75")]; + tensor _inversed_317_cast_fp16 = mul(x = p2c_att_3_cast_fp16, y = _inversed_317_y_0_to_fp16)[name = string("_inversed_317_cast_fp16")]; + tensor rel_att_1_cast_fp16 = add(x = _inversed_291_cast_fp16, y = _inversed_317_cast_fp16)[name = string("rel_att_1_cast_fp16")]; tensor attention_scores_3_cast_fp16 = add(x = attention_scores_1_cast_fp16, y = rel_att_1_cast_fp16)[name = string("attention_scores_3_cast_fp16")]; - tensor var_305 = const()[name = string("op_305"), val = tensor([-1, 12, 512, 512])]; - tensor attention_scores_5_cast_fp16 = reshape(shape = var_305, x = attention_scores_3_cast_fp16)[name = string("attention_scores_5_cast_fp16")]; - string cast_27_dtype_0 = const()[name = string("cast_27_dtype_0"), val = string("bool")]; - tensor cast_27 = cast(dtype = cast_27_dtype_0, x = attention_mask_3)[name = string("cast_292")]; - tensor var_308 = logical_not(x = cast_27)[name = string("op_308")]; - fp16 var_41_to_fp16 = const()[name = string("op_41_to_fp16"), val = fp16(-inf)]; - tensor input_9_cast_fp16 = select(a = var_41_to_fp16, b = attention_scores_5_cast_fp16, cond = var_308)[name = string("input_9_cast_fp16")]; - tensor input_11_cast_fp16 = softmax(axis = var_32, x = input_9_cast_fp16)[name = string("input_11_cast_fp16")]; - tensor var_314 = const()[name = string("op_314"), val = tensor([-1, 512, 512])]; - tensor var_315_cast_fp16 = reshape(shape = var_314, x = input_11_cast_fp16)[name = string("op_315_cast_fp16")]; + tensor var_322 = const()[name = string("op_322"), val = tensor([-1, 12, 512, 512])]; + tensor attention_scores_5_cast_fp16 = reshape(shape = var_322, x = attention_scores_3_cast_fp16)[name = string("attention_scores_5_cast_fp16")]; + string cast_28_dtype_0 = const()[name = string("cast_28_dtype_0"), val = string("bool")]; + tensor cast_28 = cast(dtype = cast_28_dtype_0, x = attention_mask_5)[name = string("cast_293")]; + tensor var_325 = logical_not(x = cast_28)[name = string("op_325")]; + fp16 var_74_to_fp16 = const()[name = string("op_74_to_fp16"), val = fp16(-inf)]; + tensor input_9_cast_fp16 = select(a = var_74_to_fp16, b = attention_scores_5_cast_fp16, cond = var_325)[name = string("input_9_cast_fp16")]; + tensor input_11_cast_fp16 = softmax(axis = var_66, x = input_9_cast_fp16)[name = string("input_11_cast_fp16")]; + tensor var_331 = const()[name = string("op_331"), val = tensor([-1, 512, 512])]; + tensor var_332_cast_fp16 = reshape(shape = var_331, x = input_11_cast_fp16)[name = string("op_332_cast_fp16")]; bool context_layer_1_transpose_x_0 = const()[name = string("context_layer_1_transpose_x_0"), val = bool(false)]; bool context_layer_1_transpose_y_0 = const()[name = string("context_layer_1_transpose_y_0"), val = bool(false)]; - tensor context_layer_1_cast_fp16 = matmul(transpose_x = context_layer_1_transpose_x_0, transpose_y = context_layer_1_transpose_y_0, x = var_315_cast_fp16, y = value_layer_1_cast_fp16)[name = string("context_layer_1_cast_fp16")]; - tensor var_319 = const()[name = string("op_319"), val = tensor([-1, 12, 512, 64])]; - tensor var_320_cast_fp16 = reshape(shape = var_319, x = context_layer_1_cast_fp16)[name = string("op_320_cast_fp16")]; - tensor var_321 = const()[name = string("op_321"), val = tensor([0, 2, 1, 3])]; - tensor var_326 = const()[name = string("op_326"), val = tensor([1, 512, -1])]; - tensor var_322_cast_fp16 = transpose(perm = var_321, x = var_320_cast_fp16)[name = string("transpose_74")]; - tensor input_13_cast_fp16 = reshape(shape = var_326, x = var_322_cast_fp16)[name = string("input_13_cast_fp16")]; + tensor context_layer_1_cast_fp16 = matmul(transpose_x = context_layer_1_transpose_x_0, transpose_y = context_layer_1_transpose_y_0, x = var_332_cast_fp16, y = value_layer_1_cast_fp16)[name = string("context_layer_1_cast_fp16")]; + tensor var_336 = const()[name = string("op_336"), val = tensor([-1, 12, 512, 64])]; + tensor var_337_cast_fp16 = reshape(shape = var_336, x = context_layer_1_cast_fp16)[name = string("op_337_cast_fp16")]; + tensor var_338 = const()[name = string("op_338"), val = tensor([0, 2, 1, 3])]; + tensor var_343 = const()[name = string("op_343"), val = tensor([1, 512, -1])]; + tensor var_339_cast_fp16 = transpose(perm = var_338, x = var_337_cast_fp16)[name = string("transpose_74")]; + tensor input_13_cast_fp16 = reshape(shape = var_343, x = var_339_cast_fp16)[name = string("input_13_cast_fp16")]; tensor deberta_encoder_layer_0_attention_output_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_0_attention_output_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(214318784)))]; tensor deberta_encoder_layer_0_attention_output_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_0_attention_output_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(215498496)))]; tensor linear_5_cast_fp16 = linear(bias = deberta_encoder_layer_0_attention_output_dense_bias_to_fp16, weight = deberta_encoder_layer_0_attention_output_dense_weight_to_fp16, x = input_13_cast_fp16)[name = string("linear_5_cast_fp16")]; @@ -114,7 +107,8 @@ program(1.3) tensor input_19_axes_0 = const()[name = string("input_19_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_0_attention_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_0_attention_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(215500096)))]; tensor deberta_encoder_layer_0_attention_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_0_attention_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(215501696)))]; - tensor input_19_cast_fp16 = layer_norm(axes = input_19_axes_0, beta = deberta_encoder_layer_0_attention_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_0_attention_output_LayerNorm_weight_to_fp16, x = input_17_cast_fp16)[name = string("input_19_cast_fp16")]; + fp16 var_77_to_fp16 = const()[name = string("op_77_to_fp16"), val = fp16(0x1p-23)]; + tensor input_19_cast_fp16 = layer_norm(axes = input_19_axes_0, beta = deberta_encoder_layer_0_attention_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_0_attention_output_LayerNorm_weight_to_fp16, x = input_17_cast_fp16)[name = string("input_19_cast_fp16")]; tensor deberta_encoder_layer_0_intermediate_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_0_intermediate_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(215503296)))]; tensor deberta_encoder_layer_0_intermediate_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_0_intermediate_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(220221952)))]; tensor linear_6_cast_fp16 = linear(bias = deberta_encoder_layer_0_intermediate_dense_bias_to_fp16, weight = deberta_encoder_layer_0_intermediate_dense_weight_to_fp16, x = input_19_cast_fp16)[name = string("linear_6_cast_fp16")]; @@ -127,76 +121,76 @@ program(1.3) tensor input_29_axes_0 = const()[name = string("input_29_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_0_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_0_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(224948416)))]; tensor deberta_encoder_layer_0_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_0_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(224950016)))]; - tensor input_29_cast_fp16 = layer_norm(axes = input_29_axes_0, beta = deberta_encoder_layer_0_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_0_output_LayerNorm_weight_to_fp16, x = input_27_cast_fp16)[name = string("input_29_cast_fp16")]; + tensor input_29_cast_fp16 = layer_norm(axes = input_29_axes_0, beta = deberta_encoder_layer_0_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_0_output_LayerNorm_weight_to_fp16, x = input_27_cast_fp16)[name = string("input_29_cast_fp16")]; tensor deberta_encoder_layer_1_attention_self_query_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_1_attention_self_query_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(224951616)))]; tensor deberta_encoder_layer_1_attention_self_query_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_1_attention_self_query_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(226131328)))]; tensor linear_8_cast_fp16 = linear(bias = deberta_encoder_layer_1_attention_self_query_proj_bias_to_fp16, weight = deberta_encoder_layer_1_attention_self_query_proj_weight_to_fp16, x = input_29_cast_fp16)[name = string("linear_8_cast_fp16")]; - tensor var_377 = const()[name = string("op_377"), val = tensor([1, 512, 12, -1])]; - tensor x_23_cast_fp16 = reshape(shape = var_377, x = linear_8_cast_fp16)[name = string("x_23_cast_fp16")]; - tensor var_379 = const()[name = string("op_379"), val = tensor([0, 2, 1, 3])]; - tensor var_384 = const()[name = string("op_384"), val = tensor([-1, 512, 64])]; - tensor var_380_cast_fp16 = transpose(perm = var_379, x = x_23_cast_fp16)[name = string("transpose_73")]; - tensor query_layer_9_cast_fp16 = reshape(shape = var_384, x = var_380_cast_fp16)[name = string("query_layer_9_cast_fp16")]; + tensor var_394 = const()[name = string("op_394"), val = tensor([1, 512, 12, -1])]; + tensor x_23_cast_fp16 = reshape(shape = var_394, x = linear_8_cast_fp16)[name = string("x_23_cast_fp16")]; + tensor var_396 = const()[name = string("op_396"), val = tensor([0, 2, 1, 3])]; + tensor var_401 = const()[name = string("op_401"), val = tensor([-1, 512, 64])]; + tensor var_397_cast_fp16 = transpose(perm = var_396, x = x_23_cast_fp16)[name = string("transpose_73")]; + tensor query_layer_9_cast_fp16 = reshape(shape = var_401, x = var_397_cast_fp16)[name = string("query_layer_9_cast_fp16")]; tensor deberta_encoder_layer_1_attention_self_key_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_1_attention_self_key_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(226132928)))]; tensor deberta_encoder_layer_1_attention_self_key_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_1_attention_self_key_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(227312640)))]; tensor linear_9_cast_fp16 = linear(bias = deberta_encoder_layer_1_attention_self_key_proj_bias_to_fp16, weight = deberta_encoder_layer_1_attention_self_key_proj_weight_to_fp16, x = input_29_cast_fp16)[name = string("linear_9_cast_fp16")]; - tensor var_391 = const()[name = string("op_391"), val = tensor([1, 512, 12, -1])]; - tensor x_27_cast_fp16 = reshape(shape = var_391, x = linear_9_cast_fp16)[name = string("x_27_cast_fp16")]; - tensor var_393 = const()[name = string("op_393"), val = tensor([0, 2, 1, 3])]; - tensor var_398 = const()[name = string("op_398"), val = tensor([-1, 512, 64])]; - tensor var_394_cast_fp16 = transpose(perm = var_393, x = x_27_cast_fp16)[name = string("transpose_72")]; - tensor key_layer_3_cast_fp16 = reshape(shape = var_398, x = var_394_cast_fp16)[name = string("key_layer_3_cast_fp16")]; + tensor var_408 = const()[name = string("op_408"), val = tensor([1, 512, 12, -1])]; + tensor x_27_cast_fp16 = reshape(shape = var_408, x = linear_9_cast_fp16)[name = string("x_27_cast_fp16")]; + tensor var_410 = const()[name = string("op_410"), val = tensor([0, 2, 1, 3])]; + tensor var_415 = const()[name = string("op_415"), val = tensor([-1, 512, 64])]; + tensor var_411_cast_fp16 = transpose(perm = var_410, x = x_27_cast_fp16)[name = string("transpose_72")]; + tensor key_layer_3_cast_fp16 = reshape(shape = var_415, x = var_411_cast_fp16)[name = string("key_layer_3_cast_fp16")]; tensor deberta_encoder_layer_1_attention_self_value_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_1_attention_self_value_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(227314240)))]; tensor deberta_encoder_layer_1_attention_self_value_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_1_attention_self_value_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(228493952)))]; tensor linear_10_cast_fp16 = linear(bias = deberta_encoder_layer_1_attention_self_value_proj_bias_to_fp16, weight = deberta_encoder_layer_1_attention_self_value_proj_weight_to_fp16, x = input_29_cast_fp16)[name = string("linear_10_cast_fp16")]; - tensor var_405 = const()[name = string("op_405"), val = tensor([1, 512, 12, -1])]; - tensor x_31_cast_fp16 = reshape(shape = var_405, x = linear_10_cast_fp16)[name = string("x_31_cast_fp16")]; - tensor var_407 = const()[name = string("op_407"), val = tensor([0, 2, 1, 3])]; - tensor var_412 = const()[name = string("op_412"), val = tensor([-1, 512, 64])]; - tensor var_408_cast_fp16 = transpose(perm = var_407, x = x_31_cast_fp16)[name = string("transpose_71")]; - tensor value_layer_3_cast_fp16 = reshape(shape = var_412, x = var_408_cast_fp16)[name = string("value_layer_3_cast_fp16")]; - tensor var_422_perm_0 = const()[name = string("op_422_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_424_y_0_to_fp16 = const()[name = string("_inversed_424_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor var_422_cast_fp16 = transpose(perm = var_422_perm_0, x = key_layer_3_cast_fp16)[name = string("transpose_70")]; - tensor _inversed_424_cast_fp16 = mul(x = var_422_cast_fp16, y = _inversed_424_y_0_to_fp16)[name = string("_inversed_424_cast_fp16")]; + tensor var_422 = const()[name = string("op_422"), val = tensor([1, 512, 12, -1])]; + tensor x_31_cast_fp16 = reshape(shape = var_422, x = linear_10_cast_fp16)[name = string("x_31_cast_fp16")]; + tensor var_424 = const()[name = string("op_424"), val = tensor([0, 2, 1, 3])]; + tensor var_429 = const()[name = string("op_429"), val = tensor([-1, 512, 64])]; + tensor var_425_cast_fp16 = transpose(perm = var_424, x = x_31_cast_fp16)[name = string("transpose_71")]; + tensor value_layer_3_cast_fp16 = reshape(shape = var_429, x = var_425_cast_fp16)[name = string("value_layer_3_cast_fp16")]; + tensor var_439_perm_0 = const()[name = string("op_439_perm_0"), val = tensor([0, -1, -2])]; + tensor _inversed_441_y_0_to_fp16 = const()[name = string("_inversed_441_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor var_439_cast_fp16 = transpose(perm = var_439_perm_0, x = key_layer_3_cast_fp16)[name = string("transpose_70")]; + tensor _inversed_441_cast_fp16 = mul(x = var_439_cast_fp16, y = _inversed_441_y_0_to_fp16)[name = string("_inversed_441_cast_fp16")]; bool attention_scores_7_transpose_x_0 = const()[name = string("attention_scores_7_transpose_x_0"), val = bool(false)]; bool attention_scores_7_transpose_y_0 = const()[name = string("attention_scores_7_transpose_y_0"), val = bool(false)]; - tensor attention_scores_7_cast_fp16 = matmul(transpose_x = attention_scores_7_transpose_x_0, transpose_y = attention_scores_7_transpose_y_0, x = query_layer_9_cast_fp16, y = _inversed_424_cast_fp16)[name = string("attention_scores_7_cast_fp16")]; + tensor attention_scores_7_cast_fp16 = matmul(transpose_x = attention_scores_7_transpose_x_0, transpose_y = attention_scores_7_transpose_y_0, x = query_layer_9_cast_fp16, y = _inversed_441_cast_fp16)[name = string("attention_scores_7_cast_fp16")]; bool c2p_att_5_transpose_x_0 = const()[name = string("c2p_att_5_transpose_x_0"), val = bool(false)]; bool c2p_att_5_transpose_y_0 = const()[name = string("c2p_att_5_transpose_y_0"), val = bool(false)]; - tensor var_480_to_fp16 = const()[name = string("op_480_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(228495552)))]; - tensor c2p_att_5_cast_fp16 = matmul(transpose_x = c2p_att_5_transpose_x_0, transpose_y = c2p_att_5_transpose_y_0, x = query_layer_9_cast_fp16, y = var_480_to_fp16)[name = string("c2p_att_5_cast_fp16")]; + tensor var_497_to_fp16 = const()[name = string("op_497_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(228495552)))]; + tensor c2p_att_5_cast_fp16 = matmul(transpose_x = c2p_att_5_transpose_x_0, transpose_y = c2p_att_5_transpose_y_0, x = query_layer_9_cast_fp16, y = var_497_to_fp16)[name = string("c2p_att_5_cast_fp16")]; bool c2p_att_7_validate_indices_0 = const()[name = string("c2p_att_7_validate_indices_0"), val = bool(false)]; - tensor c2p_att_7_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_271_to_uint16, validate_indices = c2p_att_7_validate_indices_0, x = c2p_att_5_cast_fp16)[name = string("c2p_att_7_cast_fp16_cast_int16")]; - tensor _inversed_493_y_0_to_fp16 = const()[name = string("_inversed_493_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor _inversed_493_cast_fp16 = mul(x = c2p_att_7_cast_fp16_cast_int16, y = _inversed_493_y_0_to_fp16)[name = string("_inversed_493_cast_fp16")]; + tensor c2p_att_7_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_288_to_uint16, validate_indices = c2p_att_7_validate_indices_0, x = c2p_att_5_cast_fp16)[name = string("c2p_att_7_cast_fp16_cast_int16")]; + tensor _inversed_510_y_0_to_fp16 = const()[name = string("_inversed_510_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor _inversed_510_cast_fp16 = mul(x = c2p_att_7_cast_fp16_cast_int16, y = _inversed_510_y_0_to_fp16)[name = string("_inversed_510_cast_fp16")]; bool p2c_att_5_transpose_x_0 = const()[name = string("p2c_att_5_transpose_x_0"), val = bool(false)]; bool p2c_att_5_transpose_y_0 = const()[name = string("p2c_att_5_transpose_y_0"), val = bool(false)]; - tensor var_508_to_fp16 = const()[name = string("op_508_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(229282048)))]; - tensor p2c_att_5_cast_fp16 = matmul(transpose_x = p2c_att_5_transpose_x_0, transpose_y = p2c_att_5_transpose_y_0, x = key_layer_3_cast_fp16, y = var_508_to_fp16)[name = string("p2c_att_5_cast_fp16")]; - bool var_516_validate_indices_0 = const()[name = string("op_516_validate_indices_0"), val = bool(false)]; - tensor var_516_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_296_to_uint16, validate_indices = var_516_validate_indices_0, x = p2c_att_5_cast_fp16)[name = string("op_516_cast_fp16_cast_int16")]; + tensor var_525_to_fp16 = const()[name = string("op_525_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(229282048)))]; + tensor p2c_att_5_cast_fp16 = matmul(transpose_x = p2c_att_5_transpose_x_0, transpose_y = p2c_att_5_transpose_y_0, x = key_layer_3_cast_fp16, y = var_525_to_fp16)[name = string("p2c_att_5_cast_fp16")]; + bool var_533_validate_indices_0 = const()[name = string("op_533_validate_indices_0"), val = bool(false)]; + tensor var_533_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_313_to_uint16, validate_indices = var_533_validate_indices_0, x = p2c_att_5_cast_fp16)[name = string("op_533_cast_fp16_cast_int16")]; tensor p2c_att_7_perm_0 = const()[name = string("p2c_att_7_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_519_y_0_to_fp16 = const()[name = string("_inversed_519_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor p2c_att_7_cast_fp16 = transpose(perm = p2c_att_7_perm_0, x = var_516_cast_fp16_cast_int16)[name = string("transpose_69")]; - tensor _inversed_519_cast_fp16 = mul(x = p2c_att_7_cast_fp16, y = _inversed_519_y_0_to_fp16)[name = string("_inversed_519_cast_fp16")]; - tensor rel_att_3_cast_fp16 = add(x = _inversed_493_cast_fp16, y = _inversed_519_cast_fp16)[name = string("rel_att_3_cast_fp16")]; + tensor _inversed_536_y_0_to_fp16 = const()[name = string("_inversed_536_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor p2c_att_7_cast_fp16 = transpose(perm = p2c_att_7_perm_0, x = var_533_cast_fp16_cast_int16)[name = string("transpose_69")]; + tensor _inversed_536_cast_fp16 = mul(x = p2c_att_7_cast_fp16, y = _inversed_536_y_0_to_fp16)[name = string("_inversed_536_cast_fp16")]; + tensor rel_att_3_cast_fp16 = add(x = _inversed_510_cast_fp16, y = _inversed_536_cast_fp16)[name = string("rel_att_3_cast_fp16")]; tensor attention_scores_9_cast_fp16 = add(x = attention_scores_7_cast_fp16, y = rel_att_3_cast_fp16)[name = string("attention_scores_9_cast_fp16")]; - tensor var_524 = const()[name = string("op_524"), val = tensor([-1, 12, 512, 512])]; - tensor attention_scores_11_cast_fp16 = reshape(shape = var_524, x = attention_scores_9_cast_fp16)[name = string("attention_scores_11_cast_fp16")]; - tensor input_33_cast_fp16 = select(a = var_41_to_fp16, b = attention_scores_11_cast_fp16, cond = var_308)[name = string("input_33_cast_fp16")]; - tensor input_35_cast_fp16 = softmax(axis = var_32, x = input_33_cast_fp16)[name = string("input_35_cast_fp16")]; - tensor var_533 = const()[name = string("op_533"), val = tensor([-1, 512, 512])]; - tensor var_534_cast_fp16 = reshape(shape = var_533, x = input_35_cast_fp16)[name = string("op_534_cast_fp16")]; + tensor var_541 = const()[name = string("op_541"), val = tensor([-1, 12, 512, 512])]; + tensor attention_scores_11_cast_fp16 = reshape(shape = var_541, x = attention_scores_9_cast_fp16)[name = string("attention_scores_11_cast_fp16")]; + tensor input_33_cast_fp16 = select(a = var_74_to_fp16, b = attention_scores_11_cast_fp16, cond = var_325)[name = string("input_33_cast_fp16")]; + tensor input_35_cast_fp16 = softmax(axis = var_66, x = input_33_cast_fp16)[name = string("input_35_cast_fp16")]; + tensor var_550 = const()[name = string("op_550"), val = tensor([-1, 512, 512])]; + tensor var_551_cast_fp16 = reshape(shape = var_550, x = input_35_cast_fp16)[name = string("op_551_cast_fp16")]; bool context_layer_5_transpose_x_0 = const()[name = string("context_layer_5_transpose_x_0"), val = bool(false)]; bool context_layer_5_transpose_y_0 = const()[name = string("context_layer_5_transpose_y_0"), val = bool(false)]; - tensor context_layer_5_cast_fp16 = matmul(transpose_x = context_layer_5_transpose_x_0, transpose_y = context_layer_5_transpose_y_0, x = var_534_cast_fp16, y = value_layer_3_cast_fp16)[name = string("context_layer_5_cast_fp16")]; - tensor var_538 = const()[name = string("op_538"), val = tensor([-1, 12, 512, 64])]; - tensor var_539_cast_fp16 = reshape(shape = var_538, x = context_layer_5_cast_fp16)[name = string("op_539_cast_fp16")]; - tensor var_540 = const()[name = string("op_540"), val = tensor([0, 2, 1, 3])]; - tensor var_545 = const()[name = string("op_545"), val = tensor([1, 512, -1])]; - tensor var_541_cast_fp16 = transpose(perm = var_540, x = var_539_cast_fp16)[name = string("transpose_68")]; - tensor input_37_cast_fp16 = reshape(shape = var_545, x = var_541_cast_fp16)[name = string("input_37_cast_fp16")]; + tensor context_layer_5_cast_fp16 = matmul(transpose_x = context_layer_5_transpose_x_0, transpose_y = context_layer_5_transpose_y_0, x = var_551_cast_fp16, y = value_layer_3_cast_fp16)[name = string("context_layer_5_cast_fp16")]; + tensor var_555 = const()[name = string("op_555"), val = tensor([-1, 12, 512, 64])]; + tensor var_556_cast_fp16 = reshape(shape = var_555, x = context_layer_5_cast_fp16)[name = string("op_556_cast_fp16")]; + tensor var_557 = const()[name = string("op_557"), val = tensor([0, 2, 1, 3])]; + tensor var_562 = const()[name = string("op_562"), val = tensor([1, 512, -1])]; + tensor var_558_cast_fp16 = transpose(perm = var_557, x = var_556_cast_fp16)[name = string("transpose_68")]; + tensor input_37_cast_fp16 = reshape(shape = var_562, x = var_558_cast_fp16)[name = string("input_37_cast_fp16")]; tensor deberta_encoder_layer_1_attention_output_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_1_attention_output_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(230068544)))]; tensor deberta_encoder_layer_1_attention_output_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_1_attention_output_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(231248256)))]; tensor linear_13_cast_fp16 = linear(bias = deberta_encoder_layer_1_attention_output_dense_bias_to_fp16, weight = deberta_encoder_layer_1_attention_output_dense_weight_to_fp16, x = input_37_cast_fp16)[name = string("linear_13_cast_fp16")]; @@ -204,7 +198,7 @@ program(1.3) tensor input_43_axes_0 = const()[name = string("input_43_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_1_attention_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_1_attention_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(231249856)))]; tensor deberta_encoder_layer_1_attention_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_1_attention_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(231251456)))]; - tensor input_43_cast_fp16 = layer_norm(axes = input_43_axes_0, beta = deberta_encoder_layer_1_attention_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_1_attention_output_LayerNorm_weight_to_fp16, x = input_41_cast_fp16)[name = string("input_43_cast_fp16")]; + tensor input_43_cast_fp16 = layer_norm(axes = input_43_axes_0, beta = deberta_encoder_layer_1_attention_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_1_attention_output_LayerNorm_weight_to_fp16, x = input_41_cast_fp16)[name = string("input_43_cast_fp16")]; tensor deberta_encoder_layer_1_intermediate_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_1_intermediate_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(231253056)))]; tensor deberta_encoder_layer_1_intermediate_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_1_intermediate_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(235971712)))]; tensor linear_14_cast_fp16 = linear(bias = deberta_encoder_layer_1_intermediate_dense_bias_to_fp16, weight = deberta_encoder_layer_1_intermediate_dense_weight_to_fp16, x = input_43_cast_fp16)[name = string("linear_14_cast_fp16")]; @@ -217,76 +211,76 @@ program(1.3) tensor input_53_axes_0 = const()[name = string("input_53_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_1_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_1_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(240698176)))]; tensor deberta_encoder_layer_1_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_1_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(240699776)))]; - tensor input_53_cast_fp16 = layer_norm(axes = input_53_axes_0, beta = deberta_encoder_layer_1_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_1_output_LayerNorm_weight_to_fp16, x = input_51_cast_fp16)[name = string("input_53_cast_fp16")]; + tensor input_53_cast_fp16 = layer_norm(axes = input_53_axes_0, beta = deberta_encoder_layer_1_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_1_output_LayerNorm_weight_to_fp16, x = input_51_cast_fp16)[name = string("input_53_cast_fp16")]; tensor deberta_encoder_layer_2_attention_self_query_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_2_attention_self_query_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(240701376)))]; tensor deberta_encoder_layer_2_attention_self_query_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_2_attention_self_query_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(241881088)))]; tensor linear_16_cast_fp16 = linear(bias = deberta_encoder_layer_2_attention_self_query_proj_bias_to_fp16, weight = deberta_encoder_layer_2_attention_self_query_proj_weight_to_fp16, x = input_53_cast_fp16)[name = string("linear_16_cast_fp16")]; - tensor var_596 = const()[name = string("op_596"), val = tensor([1, 512, 12, -1])]; - tensor x_43_cast_fp16 = reshape(shape = var_596, x = linear_16_cast_fp16)[name = string("x_43_cast_fp16")]; - tensor var_598 = const()[name = string("op_598"), val = tensor([0, 2, 1, 3])]; - tensor var_603 = const()[name = string("op_603"), val = tensor([-1, 512, 64])]; - tensor var_599_cast_fp16 = transpose(perm = var_598, x = x_43_cast_fp16)[name = string("transpose_67")]; - tensor query_layer_15_cast_fp16 = reshape(shape = var_603, x = var_599_cast_fp16)[name = string("query_layer_15_cast_fp16")]; + tensor var_613 = const()[name = string("op_613"), val = tensor([1, 512, 12, -1])]; + tensor x_43_cast_fp16 = reshape(shape = var_613, x = linear_16_cast_fp16)[name = string("x_43_cast_fp16")]; + tensor var_615 = const()[name = string("op_615"), val = tensor([0, 2, 1, 3])]; + tensor var_620 = const()[name = string("op_620"), val = tensor([-1, 512, 64])]; + tensor var_616_cast_fp16 = transpose(perm = var_615, x = x_43_cast_fp16)[name = string("transpose_67")]; + tensor query_layer_15_cast_fp16 = reshape(shape = var_620, x = var_616_cast_fp16)[name = string("query_layer_15_cast_fp16")]; tensor deberta_encoder_layer_2_attention_self_key_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_2_attention_self_key_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(241882688)))]; tensor deberta_encoder_layer_2_attention_self_key_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_2_attention_self_key_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(243062400)))]; tensor linear_17_cast_fp16 = linear(bias = deberta_encoder_layer_2_attention_self_key_proj_bias_to_fp16, weight = deberta_encoder_layer_2_attention_self_key_proj_weight_to_fp16, x = input_53_cast_fp16)[name = string("linear_17_cast_fp16")]; - tensor var_610 = const()[name = string("op_610"), val = tensor([1, 512, 12, -1])]; - tensor x_47_cast_fp16 = reshape(shape = var_610, x = linear_17_cast_fp16)[name = string("x_47_cast_fp16")]; - tensor var_612 = const()[name = string("op_612"), val = tensor([0, 2, 1, 3])]; - tensor var_617 = const()[name = string("op_617"), val = tensor([-1, 512, 64])]; - tensor var_613_cast_fp16 = transpose(perm = var_612, x = x_47_cast_fp16)[name = string("transpose_66")]; - tensor key_layer_5_cast_fp16 = reshape(shape = var_617, x = var_613_cast_fp16)[name = string("key_layer_5_cast_fp16")]; + tensor var_627 = const()[name = string("op_627"), val = tensor([1, 512, 12, -1])]; + tensor x_47_cast_fp16 = reshape(shape = var_627, x = linear_17_cast_fp16)[name = string("x_47_cast_fp16")]; + tensor var_629 = const()[name = string("op_629"), val = tensor([0, 2, 1, 3])]; + tensor var_634 = const()[name = string("op_634"), val = tensor([-1, 512, 64])]; + tensor var_630_cast_fp16 = transpose(perm = var_629, x = x_47_cast_fp16)[name = string("transpose_66")]; + tensor key_layer_5_cast_fp16 = reshape(shape = var_634, x = var_630_cast_fp16)[name = string("key_layer_5_cast_fp16")]; tensor deberta_encoder_layer_2_attention_self_value_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_2_attention_self_value_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(243064000)))]; tensor deberta_encoder_layer_2_attention_self_value_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_2_attention_self_value_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(244243712)))]; tensor linear_18_cast_fp16 = linear(bias = deberta_encoder_layer_2_attention_self_value_proj_bias_to_fp16, weight = deberta_encoder_layer_2_attention_self_value_proj_weight_to_fp16, x = input_53_cast_fp16)[name = string("linear_18_cast_fp16")]; - tensor var_624 = const()[name = string("op_624"), val = tensor([1, 512, 12, -1])]; - tensor x_51_cast_fp16 = reshape(shape = var_624, x = linear_18_cast_fp16)[name = string("x_51_cast_fp16")]; - tensor var_626 = const()[name = string("op_626"), val = tensor([0, 2, 1, 3])]; - tensor var_631 = const()[name = string("op_631"), val = tensor([-1, 512, 64])]; - tensor var_627_cast_fp16 = transpose(perm = var_626, x = x_51_cast_fp16)[name = string("transpose_65")]; - tensor value_layer_5_cast_fp16 = reshape(shape = var_631, x = var_627_cast_fp16)[name = string("value_layer_5_cast_fp16")]; - tensor var_641_perm_0 = const()[name = string("op_641_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_643_y_0_to_fp16 = const()[name = string("_inversed_643_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor var_641_cast_fp16 = transpose(perm = var_641_perm_0, x = key_layer_5_cast_fp16)[name = string("transpose_64")]; - tensor _inversed_643_cast_fp16 = mul(x = var_641_cast_fp16, y = _inversed_643_y_0_to_fp16)[name = string("_inversed_643_cast_fp16")]; + tensor var_641 = const()[name = string("op_641"), val = tensor([1, 512, 12, -1])]; + tensor x_51_cast_fp16 = reshape(shape = var_641, x = linear_18_cast_fp16)[name = string("x_51_cast_fp16")]; + tensor var_643 = const()[name = string("op_643"), val = tensor([0, 2, 1, 3])]; + tensor var_648 = const()[name = string("op_648"), val = tensor([-1, 512, 64])]; + tensor var_644_cast_fp16 = transpose(perm = var_643, x = x_51_cast_fp16)[name = string("transpose_65")]; + tensor value_layer_5_cast_fp16 = reshape(shape = var_648, x = var_644_cast_fp16)[name = string("value_layer_5_cast_fp16")]; + tensor var_658_perm_0 = const()[name = string("op_658_perm_0"), val = tensor([0, -1, -2])]; + tensor _inversed_660_y_0_to_fp16 = const()[name = string("_inversed_660_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor var_658_cast_fp16 = transpose(perm = var_658_perm_0, x = key_layer_5_cast_fp16)[name = string("transpose_64")]; + tensor _inversed_660_cast_fp16 = mul(x = var_658_cast_fp16, y = _inversed_660_y_0_to_fp16)[name = string("_inversed_660_cast_fp16")]; bool attention_scores_13_transpose_x_0 = const()[name = string("attention_scores_13_transpose_x_0"), val = bool(false)]; bool attention_scores_13_transpose_y_0 = const()[name = string("attention_scores_13_transpose_y_0"), val = bool(false)]; - tensor attention_scores_13_cast_fp16 = matmul(transpose_x = attention_scores_13_transpose_x_0, transpose_y = attention_scores_13_transpose_y_0, x = query_layer_15_cast_fp16, y = _inversed_643_cast_fp16)[name = string("attention_scores_13_cast_fp16")]; + tensor attention_scores_13_cast_fp16 = matmul(transpose_x = attention_scores_13_transpose_x_0, transpose_y = attention_scores_13_transpose_y_0, x = query_layer_15_cast_fp16, y = _inversed_660_cast_fp16)[name = string("attention_scores_13_cast_fp16")]; bool c2p_att_9_transpose_x_0 = const()[name = string("c2p_att_9_transpose_x_0"), val = bool(false)]; bool c2p_att_9_transpose_y_0 = const()[name = string("c2p_att_9_transpose_y_0"), val = bool(false)]; - tensor var_699_to_fp16 = const()[name = string("op_699_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(244245312)))]; - tensor c2p_att_9_cast_fp16 = matmul(transpose_x = c2p_att_9_transpose_x_0, transpose_y = c2p_att_9_transpose_y_0, x = query_layer_15_cast_fp16, y = var_699_to_fp16)[name = string("c2p_att_9_cast_fp16")]; + tensor var_716_to_fp16 = const()[name = string("op_716_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(244245312)))]; + tensor c2p_att_9_cast_fp16 = matmul(transpose_x = c2p_att_9_transpose_x_0, transpose_y = c2p_att_9_transpose_y_0, x = query_layer_15_cast_fp16, y = var_716_to_fp16)[name = string("c2p_att_9_cast_fp16")]; bool c2p_att_11_validate_indices_0 = const()[name = string("c2p_att_11_validate_indices_0"), val = bool(false)]; - tensor c2p_att_11_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_271_to_uint16, validate_indices = c2p_att_11_validate_indices_0, x = c2p_att_9_cast_fp16)[name = string("c2p_att_11_cast_fp16_cast_int16")]; - tensor _inversed_712_y_0_to_fp16 = const()[name = string("_inversed_712_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor _inversed_712_cast_fp16 = mul(x = c2p_att_11_cast_fp16_cast_int16, y = _inversed_712_y_0_to_fp16)[name = string("_inversed_712_cast_fp16")]; + tensor c2p_att_11_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_288_to_uint16, validate_indices = c2p_att_11_validate_indices_0, x = c2p_att_9_cast_fp16)[name = string("c2p_att_11_cast_fp16_cast_int16")]; + tensor _inversed_729_y_0_to_fp16 = const()[name = string("_inversed_729_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor _inversed_729_cast_fp16 = mul(x = c2p_att_11_cast_fp16_cast_int16, y = _inversed_729_y_0_to_fp16)[name = string("_inversed_729_cast_fp16")]; bool p2c_att_9_transpose_x_0 = const()[name = string("p2c_att_9_transpose_x_0"), val = bool(false)]; bool p2c_att_9_transpose_y_0 = const()[name = string("p2c_att_9_transpose_y_0"), val = bool(false)]; - tensor var_727_to_fp16 = const()[name = string("op_727_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(245031808)))]; - tensor p2c_att_9_cast_fp16 = matmul(transpose_x = p2c_att_9_transpose_x_0, transpose_y = p2c_att_9_transpose_y_0, x = key_layer_5_cast_fp16, y = var_727_to_fp16)[name = string("p2c_att_9_cast_fp16")]; - bool var_735_validate_indices_0 = const()[name = string("op_735_validate_indices_0"), val = bool(false)]; - tensor var_735_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_296_to_uint16, validate_indices = var_735_validate_indices_0, x = p2c_att_9_cast_fp16)[name = string("op_735_cast_fp16_cast_int16")]; + tensor var_744_to_fp16 = const()[name = string("op_744_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(245031808)))]; + tensor p2c_att_9_cast_fp16 = matmul(transpose_x = p2c_att_9_transpose_x_0, transpose_y = p2c_att_9_transpose_y_0, x = key_layer_5_cast_fp16, y = var_744_to_fp16)[name = string("p2c_att_9_cast_fp16")]; + bool var_752_validate_indices_0 = const()[name = string("op_752_validate_indices_0"), val = bool(false)]; + tensor var_752_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_313_to_uint16, validate_indices = var_752_validate_indices_0, x = p2c_att_9_cast_fp16)[name = string("op_752_cast_fp16_cast_int16")]; tensor p2c_att_11_perm_0 = const()[name = string("p2c_att_11_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_738_y_0_to_fp16 = const()[name = string("_inversed_738_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor p2c_att_11_cast_fp16 = transpose(perm = p2c_att_11_perm_0, x = var_735_cast_fp16_cast_int16)[name = string("transpose_63")]; - tensor _inversed_738_cast_fp16 = mul(x = p2c_att_11_cast_fp16, y = _inversed_738_y_0_to_fp16)[name = string("_inversed_738_cast_fp16")]; - tensor rel_att_5_cast_fp16 = add(x = _inversed_712_cast_fp16, y = _inversed_738_cast_fp16)[name = string("rel_att_5_cast_fp16")]; + tensor _inversed_755_y_0_to_fp16 = const()[name = string("_inversed_755_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor p2c_att_11_cast_fp16 = transpose(perm = p2c_att_11_perm_0, x = var_752_cast_fp16_cast_int16)[name = string("transpose_63")]; + tensor _inversed_755_cast_fp16 = mul(x = p2c_att_11_cast_fp16, y = _inversed_755_y_0_to_fp16)[name = string("_inversed_755_cast_fp16")]; + tensor rel_att_5_cast_fp16 = add(x = _inversed_729_cast_fp16, y = _inversed_755_cast_fp16)[name = string("rel_att_5_cast_fp16")]; tensor attention_scores_15_cast_fp16 = add(x = attention_scores_13_cast_fp16, y = rel_att_5_cast_fp16)[name = string("attention_scores_15_cast_fp16")]; - tensor var_743 = const()[name = string("op_743"), val = tensor([-1, 12, 512, 512])]; - tensor attention_scores_17_cast_fp16 = reshape(shape = var_743, x = attention_scores_15_cast_fp16)[name = string("attention_scores_17_cast_fp16")]; - tensor input_57_cast_fp16 = select(a = var_41_to_fp16, b = attention_scores_17_cast_fp16, cond = var_308)[name = string("input_57_cast_fp16")]; - tensor input_59_cast_fp16 = softmax(axis = var_32, x = input_57_cast_fp16)[name = string("input_59_cast_fp16")]; - tensor var_752 = const()[name = string("op_752"), val = tensor([-1, 512, 512])]; - tensor var_753_cast_fp16 = reshape(shape = var_752, x = input_59_cast_fp16)[name = string("op_753_cast_fp16")]; + tensor var_760 = const()[name = string("op_760"), val = tensor([-1, 12, 512, 512])]; + tensor attention_scores_17_cast_fp16 = reshape(shape = var_760, x = attention_scores_15_cast_fp16)[name = string("attention_scores_17_cast_fp16")]; + tensor input_57_cast_fp16 = select(a = var_74_to_fp16, b = attention_scores_17_cast_fp16, cond = var_325)[name = string("input_57_cast_fp16")]; + tensor input_59_cast_fp16 = softmax(axis = var_66, x = input_57_cast_fp16)[name = string("input_59_cast_fp16")]; + tensor var_769 = const()[name = string("op_769"), val = tensor([-1, 512, 512])]; + tensor var_770_cast_fp16 = reshape(shape = var_769, x = input_59_cast_fp16)[name = string("op_770_cast_fp16")]; bool context_layer_9_transpose_x_0 = const()[name = string("context_layer_9_transpose_x_0"), val = bool(false)]; bool context_layer_9_transpose_y_0 = const()[name = string("context_layer_9_transpose_y_0"), val = bool(false)]; - tensor context_layer_9_cast_fp16 = matmul(transpose_x = context_layer_9_transpose_x_0, transpose_y = context_layer_9_transpose_y_0, x = var_753_cast_fp16, y = value_layer_5_cast_fp16)[name = string("context_layer_9_cast_fp16")]; - tensor var_757 = const()[name = string("op_757"), val = tensor([-1, 12, 512, 64])]; - tensor var_758_cast_fp16 = reshape(shape = var_757, x = context_layer_9_cast_fp16)[name = string("op_758_cast_fp16")]; - tensor var_759 = const()[name = string("op_759"), val = tensor([0, 2, 1, 3])]; - tensor var_764 = const()[name = string("op_764"), val = tensor([1, 512, -1])]; - tensor var_760_cast_fp16 = transpose(perm = var_759, x = var_758_cast_fp16)[name = string("transpose_62")]; - tensor input_61_cast_fp16 = reshape(shape = var_764, x = var_760_cast_fp16)[name = string("input_61_cast_fp16")]; + tensor context_layer_9_cast_fp16 = matmul(transpose_x = context_layer_9_transpose_x_0, transpose_y = context_layer_9_transpose_y_0, x = var_770_cast_fp16, y = value_layer_5_cast_fp16)[name = string("context_layer_9_cast_fp16")]; + tensor var_774 = const()[name = string("op_774"), val = tensor([-1, 12, 512, 64])]; + tensor var_775_cast_fp16 = reshape(shape = var_774, x = context_layer_9_cast_fp16)[name = string("op_775_cast_fp16")]; + tensor var_776 = const()[name = string("op_776"), val = tensor([0, 2, 1, 3])]; + tensor var_781 = const()[name = string("op_781"), val = tensor([1, 512, -1])]; + tensor var_777_cast_fp16 = transpose(perm = var_776, x = var_775_cast_fp16)[name = string("transpose_62")]; + tensor input_61_cast_fp16 = reshape(shape = var_781, x = var_777_cast_fp16)[name = string("input_61_cast_fp16")]; tensor deberta_encoder_layer_2_attention_output_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_2_attention_output_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(245818304)))]; tensor deberta_encoder_layer_2_attention_output_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_2_attention_output_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(246998016)))]; tensor linear_21_cast_fp16 = linear(bias = deberta_encoder_layer_2_attention_output_dense_bias_to_fp16, weight = deberta_encoder_layer_2_attention_output_dense_weight_to_fp16, x = input_61_cast_fp16)[name = string("linear_21_cast_fp16")]; @@ -294,7 +288,7 @@ program(1.3) tensor input_67_axes_0 = const()[name = string("input_67_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_2_attention_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_2_attention_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(246999616)))]; tensor deberta_encoder_layer_2_attention_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_2_attention_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(247001216)))]; - tensor input_67_cast_fp16 = layer_norm(axes = input_67_axes_0, beta = deberta_encoder_layer_2_attention_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_2_attention_output_LayerNorm_weight_to_fp16, x = input_65_cast_fp16)[name = string("input_67_cast_fp16")]; + tensor input_67_cast_fp16 = layer_norm(axes = input_67_axes_0, beta = deberta_encoder_layer_2_attention_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_2_attention_output_LayerNorm_weight_to_fp16, x = input_65_cast_fp16)[name = string("input_67_cast_fp16")]; tensor deberta_encoder_layer_2_intermediate_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_2_intermediate_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(247002816)))]; tensor deberta_encoder_layer_2_intermediate_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_2_intermediate_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(251721472)))]; tensor linear_22_cast_fp16 = linear(bias = deberta_encoder_layer_2_intermediate_dense_bias_to_fp16, weight = deberta_encoder_layer_2_intermediate_dense_weight_to_fp16, x = input_67_cast_fp16)[name = string("linear_22_cast_fp16")]; @@ -307,76 +301,76 @@ program(1.3) tensor input_77_axes_0 = const()[name = string("input_77_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_2_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_2_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(256447936)))]; tensor deberta_encoder_layer_2_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_2_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(256449536)))]; - tensor input_77_cast_fp16 = layer_norm(axes = input_77_axes_0, beta = deberta_encoder_layer_2_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_2_output_LayerNorm_weight_to_fp16, x = input_75_cast_fp16)[name = string("input_77_cast_fp16")]; + tensor input_77_cast_fp16 = layer_norm(axes = input_77_axes_0, beta = deberta_encoder_layer_2_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_2_output_LayerNorm_weight_to_fp16, x = input_75_cast_fp16)[name = string("input_77_cast_fp16")]; tensor deberta_encoder_layer_3_attention_self_query_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_3_attention_self_query_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(256451136)))]; tensor deberta_encoder_layer_3_attention_self_query_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_3_attention_self_query_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(257630848)))]; tensor linear_24_cast_fp16 = linear(bias = deberta_encoder_layer_3_attention_self_query_proj_bias_to_fp16, weight = deberta_encoder_layer_3_attention_self_query_proj_weight_to_fp16, x = input_77_cast_fp16)[name = string("linear_24_cast_fp16")]; - tensor var_815 = const()[name = string("op_815"), val = tensor([1, 512, 12, -1])]; - tensor x_63_cast_fp16 = reshape(shape = var_815, x = linear_24_cast_fp16)[name = string("x_63_cast_fp16")]; - tensor var_817 = const()[name = string("op_817"), val = tensor([0, 2, 1, 3])]; - tensor var_822 = const()[name = string("op_822"), val = tensor([-1, 512, 64])]; - tensor var_818_cast_fp16 = transpose(perm = var_817, x = x_63_cast_fp16)[name = string("transpose_61")]; - tensor query_layer_21_cast_fp16 = reshape(shape = var_822, x = var_818_cast_fp16)[name = string("query_layer_21_cast_fp16")]; + tensor var_832 = const()[name = string("op_832"), val = tensor([1, 512, 12, -1])]; + tensor x_63_cast_fp16 = reshape(shape = var_832, x = linear_24_cast_fp16)[name = string("x_63_cast_fp16")]; + tensor var_834 = const()[name = string("op_834"), val = tensor([0, 2, 1, 3])]; + tensor var_839 = const()[name = string("op_839"), val = tensor([-1, 512, 64])]; + tensor var_835_cast_fp16 = transpose(perm = var_834, x = x_63_cast_fp16)[name = string("transpose_61")]; + tensor query_layer_21_cast_fp16 = reshape(shape = var_839, x = var_835_cast_fp16)[name = string("query_layer_21_cast_fp16")]; tensor deberta_encoder_layer_3_attention_self_key_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_3_attention_self_key_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(257632448)))]; tensor deberta_encoder_layer_3_attention_self_key_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_3_attention_self_key_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(258812160)))]; tensor linear_25_cast_fp16 = linear(bias = deberta_encoder_layer_3_attention_self_key_proj_bias_to_fp16, weight = deberta_encoder_layer_3_attention_self_key_proj_weight_to_fp16, x = input_77_cast_fp16)[name = string("linear_25_cast_fp16")]; - tensor var_829 = const()[name = string("op_829"), val = tensor([1, 512, 12, -1])]; - tensor x_67_cast_fp16 = reshape(shape = var_829, x = linear_25_cast_fp16)[name = string("x_67_cast_fp16")]; - tensor var_831 = const()[name = string("op_831"), val = tensor([0, 2, 1, 3])]; - tensor var_836 = const()[name = string("op_836"), val = tensor([-1, 512, 64])]; - tensor var_832_cast_fp16 = transpose(perm = var_831, x = x_67_cast_fp16)[name = string("transpose_60")]; - tensor key_layer_7_cast_fp16 = reshape(shape = var_836, x = var_832_cast_fp16)[name = string("key_layer_7_cast_fp16")]; + tensor var_846 = const()[name = string("op_846"), val = tensor([1, 512, 12, -1])]; + tensor x_67_cast_fp16 = reshape(shape = var_846, x = linear_25_cast_fp16)[name = string("x_67_cast_fp16")]; + tensor var_848 = const()[name = string("op_848"), val = tensor([0, 2, 1, 3])]; + tensor var_853 = const()[name = string("op_853"), val = tensor([-1, 512, 64])]; + tensor var_849_cast_fp16 = transpose(perm = var_848, x = x_67_cast_fp16)[name = string("transpose_60")]; + tensor key_layer_7_cast_fp16 = reshape(shape = var_853, x = var_849_cast_fp16)[name = string("key_layer_7_cast_fp16")]; tensor deberta_encoder_layer_3_attention_self_value_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_3_attention_self_value_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(258813760)))]; tensor deberta_encoder_layer_3_attention_self_value_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_3_attention_self_value_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(259993472)))]; tensor linear_26_cast_fp16 = linear(bias = deberta_encoder_layer_3_attention_self_value_proj_bias_to_fp16, weight = deberta_encoder_layer_3_attention_self_value_proj_weight_to_fp16, x = input_77_cast_fp16)[name = string("linear_26_cast_fp16")]; - tensor var_843 = const()[name = string("op_843"), val = tensor([1, 512, 12, -1])]; - tensor x_71_cast_fp16 = reshape(shape = var_843, x = linear_26_cast_fp16)[name = string("x_71_cast_fp16")]; - tensor var_845 = const()[name = string("op_845"), val = tensor([0, 2, 1, 3])]; - tensor var_850 = const()[name = string("op_850"), val = tensor([-1, 512, 64])]; - tensor var_846_cast_fp16 = transpose(perm = var_845, x = x_71_cast_fp16)[name = string("transpose_59")]; - tensor value_layer_7_cast_fp16 = reshape(shape = var_850, x = var_846_cast_fp16)[name = string("value_layer_7_cast_fp16")]; - tensor var_860_perm_0 = const()[name = string("op_860_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_862_y_0_to_fp16 = const()[name = string("_inversed_862_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor var_860_cast_fp16 = transpose(perm = var_860_perm_0, x = key_layer_7_cast_fp16)[name = string("transpose_58")]; - tensor _inversed_862_cast_fp16 = mul(x = var_860_cast_fp16, y = _inversed_862_y_0_to_fp16)[name = string("_inversed_862_cast_fp16")]; + tensor var_860 = const()[name = string("op_860"), val = tensor([1, 512, 12, -1])]; + tensor x_71_cast_fp16 = reshape(shape = var_860, x = linear_26_cast_fp16)[name = string("x_71_cast_fp16")]; + tensor var_862 = const()[name = string("op_862"), val = tensor([0, 2, 1, 3])]; + tensor var_867 = const()[name = string("op_867"), val = tensor([-1, 512, 64])]; + tensor var_863_cast_fp16 = transpose(perm = var_862, x = x_71_cast_fp16)[name = string("transpose_59")]; + tensor value_layer_7_cast_fp16 = reshape(shape = var_867, x = var_863_cast_fp16)[name = string("value_layer_7_cast_fp16")]; + tensor var_877_perm_0 = const()[name = string("op_877_perm_0"), val = tensor([0, -1, -2])]; + tensor _inversed_879_y_0_to_fp16 = const()[name = string("_inversed_879_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor var_877_cast_fp16 = transpose(perm = var_877_perm_0, x = key_layer_7_cast_fp16)[name = string("transpose_58")]; + tensor _inversed_879_cast_fp16 = mul(x = var_877_cast_fp16, y = _inversed_879_y_0_to_fp16)[name = string("_inversed_879_cast_fp16")]; bool attention_scores_19_transpose_x_0 = const()[name = string("attention_scores_19_transpose_x_0"), val = bool(false)]; bool attention_scores_19_transpose_y_0 = const()[name = string("attention_scores_19_transpose_y_0"), val = bool(false)]; - tensor attention_scores_19_cast_fp16 = matmul(transpose_x = attention_scores_19_transpose_x_0, transpose_y = attention_scores_19_transpose_y_0, x = query_layer_21_cast_fp16, y = _inversed_862_cast_fp16)[name = string("attention_scores_19_cast_fp16")]; + tensor attention_scores_19_cast_fp16 = matmul(transpose_x = attention_scores_19_transpose_x_0, transpose_y = attention_scores_19_transpose_y_0, x = query_layer_21_cast_fp16, y = _inversed_879_cast_fp16)[name = string("attention_scores_19_cast_fp16")]; bool c2p_att_13_transpose_x_0 = const()[name = string("c2p_att_13_transpose_x_0"), val = bool(false)]; bool c2p_att_13_transpose_y_0 = const()[name = string("c2p_att_13_transpose_y_0"), val = bool(false)]; - tensor var_918_to_fp16 = const()[name = string("op_918_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(259995072)))]; - tensor c2p_att_13_cast_fp16 = matmul(transpose_x = c2p_att_13_transpose_x_0, transpose_y = c2p_att_13_transpose_y_0, x = query_layer_21_cast_fp16, y = var_918_to_fp16)[name = string("c2p_att_13_cast_fp16")]; + tensor var_935_to_fp16 = const()[name = string("op_935_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(259995072)))]; + tensor c2p_att_13_cast_fp16 = matmul(transpose_x = c2p_att_13_transpose_x_0, transpose_y = c2p_att_13_transpose_y_0, x = query_layer_21_cast_fp16, y = var_935_to_fp16)[name = string("c2p_att_13_cast_fp16")]; bool c2p_att_15_validate_indices_0 = const()[name = string("c2p_att_15_validate_indices_0"), val = bool(false)]; - tensor c2p_att_15_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_271_to_uint16, validate_indices = c2p_att_15_validate_indices_0, x = c2p_att_13_cast_fp16)[name = string("c2p_att_15_cast_fp16_cast_int16")]; - tensor _inversed_931_y_0_to_fp16 = const()[name = string("_inversed_931_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor _inversed_931_cast_fp16 = mul(x = c2p_att_15_cast_fp16_cast_int16, y = _inversed_931_y_0_to_fp16)[name = string("_inversed_931_cast_fp16")]; + tensor c2p_att_15_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_288_to_uint16, validate_indices = c2p_att_15_validate_indices_0, x = c2p_att_13_cast_fp16)[name = string("c2p_att_15_cast_fp16_cast_int16")]; + tensor _inversed_948_y_0_to_fp16 = const()[name = string("_inversed_948_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor _inversed_948_cast_fp16 = mul(x = c2p_att_15_cast_fp16_cast_int16, y = _inversed_948_y_0_to_fp16)[name = string("_inversed_948_cast_fp16")]; bool p2c_att_13_transpose_x_0 = const()[name = string("p2c_att_13_transpose_x_0"), val = bool(false)]; bool p2c_att_13_transpose_y_0 = const()[name = string("p2c_att_13_transpose_y_0"), val = bool(false)]; - tensor var_946_to_fp16 = const()[name = string("op_946_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(260781568)))]; - tensor p2c_att_13_cast_fp16 = matmul(transpose_x = p2c_att_13_transpose_x_0, transpose_y = p2c_att_13_transpose_y_0, x = key_layer_7_cast_fp16, y = var_946_to_fp16)[name = string("p2c_att_13_cast_fp16")]; - bool var_954_validate_indices_0 = const()[name = string("op_954_validate_indices_0"), val = bool(false)]; - tensor var_954_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_296_to_uint16, validate_indices = var_954_validate_indices_0, x = p2c_att_13_cast_fp16)[name = string("op_954_cast_fp16_cast_int16")]; + tensor var_963_to_fp16 = const()[name = string("op_963_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(260781568)))]; + tensor p2c_att_13_cast_fp16 = matmul(transpose_x = p2c_att_13_transpose_x_0, transpose_y = p2c_att_13_transpose_y_0, x = key_layer_7_cast_fp16, y = var_963_to_fp16)[name = string("p2c_att_13_cast_fp16")]; + bool var_971_validate_indices_0 = const()[name = string("op_971_validate_indices_0"), val = bool(false)]; + tensor var_971_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_313_to_uint16, validate_indices = var_971_validate_indices_0, x = p2c_att_13_cast_fp16)[name = string("op_971_cast_fp16_cast_int16")]; tensor p2c_att_15_perm_0 = const()[name = string("p2c_att_15_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_957_y_0_to_fp16 = const()[name = string("_inversed_957_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor p2c_att_15_cast_fp16 = transpose(perm = p2c_att_15_perm_0, x = var_954_cast_fp16_cast_int16)[name = string("transpose_57")]; - tensor _inversed_957_cast_fp16 = mul(x = p2c_att_15_cast_fp16, y = _inversed_957_y_0_to_fp16)[name = string("_inversed_957_cast_fp16")]; - tensor rel_att_7_cast_fp16 = add(x = _inversed_931_cast_fp16, y = _inversed_957_cast_fp16)[name = string("rel_att_7_cast_fp16")]; + tensor _inversed_974_y_0_to_fp16 = const()[name = string("_inversed_974_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor p2c_att_15_cast_fp16 = transpose(perm = p2c_att_15_perm_0, x = var_971_cast_fp16_cast_int16)[name = string("transpose_57")]; + tensor _inversed_974_cast_fp16 = mul(x = p2c_att_15_cast_fp16, y = _inversed_974_y_0_to_fp16)[name = string("_inversed_974_cast_fp16")]; + tensor rel_att_7_cast_fp16 = add(x = _inversed_948_cast_fp16, y = _inversed_974_cast_fp16)[name = string("rel_att_7_cast_fp16")]; tensor attention_scores_21_cast_fp16 = add(x = attention_scores_19_cast_fp16, y = rel_att_7_cast_fp16)[name = string("attention_scores_21_cast_fp16")]; - tensor var_962 = const()[name = string("op_962"), val = tensor([-1, 12, 512, 512])]; - tensor attention_scores_23_cast_fp16 = reshape(shape = var_962, x = attention_scores_21_cast_fp16)[name = string("attention_scores_23_cast_fp16")]; - tensor input_81_cast_fp16 = select(a = var_41_to_fp16, b = attention_scores_23_cast_fp16, cond = var_308)[name = string("input_81_cast_fp16")]; - tensor input_83_cast_fp16 = softmax(axis = var_32, x = input_81_cast_fp16)[name = string("input_83_cast_fp16")]; - tensor var_971 = const()[name = string("op_971"), val = tensor([-1, 512, 512])]; - tensor var_972_cast_fp16 = reshape(shape = var_971, x = input_83_cast_fp16)[name = string("op_972_cast_fp16")]; + tensor var_979 = const()[name = string("op_979"), val = tensor([-1, 12, 512, 512])]; + tensor attention_scores_23_cast_fp16 = reshape(shape = var_979, x = attention_scores_21_cast_fp16)[name = string("attention_scores_23_cast_fp16")]; + tensor input_81_cast_fp16 = select(a = var_74_to_fp16, b = attention_scores_23_cast_fp16, cond = var_325)[name = string("input_81_cast_fp16")]; + tensor input_83_cast_fp16 = softmax(axis = var_66, x = input_81_cast_fp16)[name = string("input_83_cast_fp16")]; + tensor var_988 = const()[name = string("op_988"), val = tensor([-1, 512, 512])]; + tensor var_989_cast_fp16 = reshape(shape = var_988, x = input_83_cast_fp16)[name = string("op_989_cast_fp16")]; bool context_layer_13_transpose_x_0 = const()[name = string("context_layer_13_transpose_x_0"), val = bool(false)]; bool context_layer_13_transpose_y_0 = const()[name = string("context_layer_13_transpose_y_0"), val = bool(false)]; - tensor context_layer_13_cast_fp16 = matmul(transpose_x = context_layer_13_transpose_x_0, transpose_y = context_layer_13_transpose_y_0, x = var_972_cast_fp16, y = value_layer_7_cast_fp16)[name = string("context_layer_13_cast_fp16")]; - tensor var_976 = const()[name = string("op_976"), val = tensor([-1, 12, 512, 64])]; - tensor var_977_cast_fp16 = reshape(shape = var_976, x = context_layer_13_cast_fp16)[name = string("op_977_cast_fp16")]; - tensor var_978 = const()[name = string("op_978"), val = tensor([0, 2, 1, 3])]; - tensor var_983 = const()[name = string("op_983"), val = tensor([1, 512, -1])]; - tensor var_979_cast_fp16 = transpose(perm = var_978, x = var_977_cast_fp16)[name = string("transpose_56")]; - tensor input_85_cast_fp16 = reshape(shape = var_983, x = var_979_cast_fp16)[name = string("input_85_cast_fp16")]; + tensor context_layer_13_cast_fp16 = matmul(transpose_x = context_layer_13_transpose_x_0, transpose_y = context_layer_13_transpose_y_0, x = var_989_cast_fp16, y = value_layer_7_cast_fp16)[name = string("context_layer_13_cast_fp16")]; + tensor var_993 = const()[name = string("op_993"), val = tensor([-1, 12, 512, 64])]; + tensor var_994_cast_fp16 = reshape(shape = var_993, x = context_layer_13_cast_fp16)[name = string("op_994_cast_fp16")]; + tensor var_995 = const()[name = string("op_995"), val = tensor([0, 2, 1, 3])]; + tensor var_1000 = const()[name = string("op_1000"), val = tensor([1, 512, -1])]; + tensor var_996_cast_fp16 = transpose(perm = var_995, x = var_994_cast_fp16)[name = string("transpose_56")]; + tensor input_85_cast_fp16 = reshape(shape = var_1000, x = var_996_cast_fp16)[name = string("input_85_cast_fp16")]; tensor deberta_encoder_layer_3_attention_output_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_3_attention_output_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(261568064)))]; tensor deberta_encoder_layer_3_attention_output_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_3_attention_output_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(262747776)))]; tensor linear_29_cast_fp16 = linear(bias = deberta_encoder_layer_3_attention_output_dense_bias_to_fp16, weight = deberta_encoder_layer_3_attention_output_dense_weight_to_fp16, x = input_85_cast_fp16)[name = string("linear_29_cast_fp16")]; @@ -384,7 +378,7 @@ program(1.3) tensor input_91_axes_0 = const()[name = string("input_91_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_3_attention_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_3_attention_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(262749376)))]; tensor deberta_encoder_layer_3_attention_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_3_attention_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(262750976)))]; - tensor input_91_cast_fp16 = layer_norm(axes = input_91_axes_0, beta = deberta_encoder_layer_3_attention_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_3_attention_output_LayerNorm_weight_to_fp16, x = input_89_cast_fp16)[name = string("input_91_cast_fp16")]; + tensor input_91_cast_fp16 = layer_norm(axes = input_91_axes_0, beta = deberta_encoder_layer_3_attention_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_3_attention_output_LayerNorm_weight_to_fp16, x = input_89_cast_fp16)[name = string("input_91_cast_fp16")]; tensor deberta_encoder_layer_3_intermediate_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_3_intermediate_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(262752576)))]; tensor deberta_encoder_layer_3_intermediate_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_3_intermediate_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(267471232)))]; tensor linear_30_cast_fp16 = linear(bias = deberta_encoder_layer_3_intermediate_dense_bias_to_fp16, weight = deberta_encoder_layer_3_intermediate_dense_weight_to_fp16, x = input_91_cast_fp16)[name = string("linear_30_cast_fp16")]; @@ -397,76 +391,76 @@ program(1.3) tensor input_101_axes_0 = const()[name = string("input_101_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_3_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_3_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(272197696)))]; tensor deberta_encoder_layer_3_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_3_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(272199296)))]; - tensor input_101_cast_fp16 = layer_norm(axes = input_101_axes_0, beta = deberta_encoder_layer_3_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_3_output_LayerNorm_weight_to_fp16, x = input_99_cast_fp16)[name = string("input_101_cast_fp16")]; + tensor input_101_cast_fp16 = layer_norm(axes = input_101_axes_0, beta = deberta_encoder_layer_3_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_3_output_LayerNorm_weight_to_fp16, x = input_99_cast_fp16)[name = string("input_101_cast_fp16")]; tensor deberta_encoder_layer_4_attention_self_query_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_4_attention_self_query_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(272200896)))]; tensor deberta_encoder_layer_4_attention_self_query_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_4_attention_self_query_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(273380608)))]; tensor linear_32_cast_fp16 = linear(bias = deberta_encoder_layer_4_attention_self_query_proj_bias_to_fp16, weight = deberta_encoder_layer_4_attention_self_query_proj_weight_to_fp16, x = input_101_cast_fp16)[name = string("linear_32_cast_fp16")]; - tensor var_1034 = const()[name = string("op_1034"), val = tensor([1, 512, 12, -1])]; - tensor x_83_cast_fp16 = reshape(shape = var_1034, x = linear_32_cast_fp16)[name = string("x_83_cast_fp16")]; - tensor var_1036 = const()[name = string("op_1036"), val = tensor([0, 2, 1, 3])]; - tensor var_1041 = const()[name = string("op_1041"), val = tensor([-1, 512, 64])]; - tensor var_1037_cast_fp16 = transpose(perm = var_1036, x = x_83_cast_fp16)[name = string("transpose_55")]; - tensor query_layer_27_cast_fp16 = reshape(shape = var_1041, x = var_1037_cast_fp16)[name = string("query_layer_27_cast_fp16")]; + tensor var_1051 = const()[name = string("op_1051"), val = tensor([1, 512, 12, -1])]; + tensor x_83_cast_fp16 = reshape(shape = var_1051, x = linear_32_cast_fp16)[name = string("x_83_cast_fp16")]; + tensor var_1053 = const()[name = string("op_1053"), val = tensor([0, 2, 1, 3])]; + tensor var_1058 = const()[name = string("op_1058"), val = tensor([-1, 512, 64])]; + tensor var_1054_cast_fp16 = transpose(perm = var_1053, x = x_83_cast_fp16)[name = string("transpose_55")]; + tensor query_layer_27_cast_fp16 = reshape(shape = var_1058, x = var_1054_cast_fp16)[name = string("query_layer_27_cast_fp16")]; tensor deberta_encoder_layer_4_attention_self_key_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_4_attention_self_key_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(273382208)))]; tensor deberta_encoder_layer_4_attention_self_key_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_4_attention_self_key_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(274561920)))]; tensor linear_33_cast_fp16 = linear(bias = deberta_encoder_layer_4_attention_self_key_proj_bias_to_fp16, weight = deberta_encoder_layer_4_attention_self_key_proj_weight_to_fp16, x = input_101_cast_fp16)[name = string("linear_33_cast_fp16")]; - tensor var_1048 = const()[name = string("op_1048"), val = tensor([1, 512, 12, -1])]; - tensor x_87_cast_fp16 = reshape(shape = var_1048, x = linear_33_cast_fp16)[name = string("x_87_cast_fp16")]; - tensor var_1050 = const()[name = string("op_1050"), val = tensor([0, 2, 1, 3])]; - tensor var_1055 = const()[name = string("op_1055"), val = tensor([-1, 512, 64])]; - tensor var_1051_cast_fp16 = transpose(perm = var_1050, x = x_87_cast_fp16)[name = string("transpose_54")]; - tensor key_layer_9_cast_fp16 = reshape(shape = var_1055, x = var_1051_cast_fp16)[name = string("key_layer_9_cast_fp16")]; + tensor var_1065 = const()[name = string("op_1065"), val = tensor([1, 512, 12, -1])]; + tensor x_87_cast_fp16 = reshape(shape = var_1065, x = linear_33_cast_fp16)[name = string("x_87_cast_fp16")]; + tensor var_1067 = const()[name = string("op_1067"), val = tensor([0, 2, 1, 3])]; + tensor var_1072 = const()[name = string("op_1072"), val = tensor([-1, 512, 64])]; + tensor var_1068_cast_fp16 = transpose(perm = var_1067, x = x_87_cast_fp16)[name = string("transpose_54")]; + tensor key_layer_9_cast_fp16 = reshape(shape = var_1072, x = var_1068_cast_fp16)[name = string("key_layer_9_cast_fp16")]; tensor deberta_encoder_layer_4_attention_self_value_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_4_attention_self_value_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(274563520)))]; tensor deberta_encoder_layer_4_attention_self_value_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_4_attention_self_value_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(275743232)))]; tensor linear_34_cast_fp16 = linear(bias = deberta_encoder_layer_4_attention_self_value_proj_bias_to_fp16, weight = deberta_encoder_layer_4_attention_self_value_proj_weight_to_fp16, x = input_101_cast_fp16)[name = string("linear_34_cast_fp16")]; - tensor var_1062 = const()[name = string("op_1062"), val = tensor([1, 512, 12, -1])]; - tensor x_91_cast_fp16 = reshape(shape = var_1062, x = linear_34_cast_fp16)[name = string("x_91_cast_fp16")]; - tensor var_1064 = const()[name = string("op_1064"), val = tensor([0, 2, 1, 3])]; - tensor var_1069 = const()[name = string("op_1069"), val = tensor([-1, 512, 64])]; - tensor var_1065_cast_fp16 = transpose(perm = var_1064, x = x_91_cast_fp16)[name = string("transpose_53")]; - tensor value_layer_9_cast_fp16 = reshape(shape = var_1069, x = var_1065_cast_fp16)[name = string("value_layer_9_cast_fp16")]; - tensor var_1079_perm_0 = const()[name = string("op_1079_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_1081_y_0_to_fp16 = const()[name = string("_inversed_1081_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor var_1079_cast_fp16 = transpose(perm = var_1079_perm_0, x = key_layer_9_cast_fp16)[name = string("transpose_52")]; - tensor _inversed_1081_cast_fp16 = mul(x = var_1079_cast_fp16, y = _inversed_1081_y_0_to_fp16)[name = string("_inversed_1081_cast_fp16")]; + tensor var_1079 = const()[name = string("op_1079"), val = tensor([1, 512, 12, -1])]; + tensor x_91_cast_fp16 = reshape(shape = var_1079, x = linear_34_cast_fp16)[name = string("x_91_cast_fp16")]; + tensor var_1081 = const()[name = string("op_1081"), val = tensor([0, 2, 1, 3])]; + tensor var_1086 = const()[name = string("op_1086"), val = tensor([-1, 512, 64])]; + tensor var_1082_cast_fp16 = transpose(perm = var_1081, x = x_91_cast_fp16)[name = string("transpose_53")]; + tensor value_layer_9_cast_fp16 = reshape(shape = var_1086, x = var_1082_cast_fp16)[name = string("value_layer_9_cast_fp16")]; + tensor var_1096_perm_0 = const()[name = string("op_1096_perm_0"), val = tensor([0, -1, -2])]; + tensor _inversed_1098_y_0_to_fp16 = const()[name = string("_inversed_1098_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor var_1096_cast_fp16 = transpose(perm = var_1096_perm_0, x = key_layer_9_cast_fp16)[name = string("transpose_52")]; + tensor _inversed_1098_cast_fp16 = mul(x = var_1096_cast_fp16, y = _inversed_1098_y_0_to_fp16)[name = string("_inversed_1098_cast_fp16")]; bool attention_scores_25_transpose_x_0 = const()[name = string("attention_scores_25_transpose_x_0"), val = bool(false)]; bool attention_scores_25_transpose_y_0 = const()[name = string("attention_scores_25_transpose_y_0"), val = bool(false)]; - tensor attention_scores_25_cast_fp16 = matmul(transpose_x = attention_scores_25_transpose_x_0, transpose_y = attention_scores_25_transpose_y_0, x = query_layer_27_cast_fp16, y = _inversed_1081_cast_fp16)[name = string("attention_scores_25_cast_fp16")]; + tensor attention_scores_25_cast_fp16 = matmul(transpose_x = attention_scores_25_transpose_x_0, transpose_y = attention_scores_25_transpose_y_0, x = query_layer_27_cast_fp16, y = _inversed_1098_cast_fp16)[name = string("attention_scores_25_cast_fp16")]; bool c2p_att_17_transpose_x_0 = const()[name = string("c2p_att_17_transpose_x_0"), val = bool(false)]; bool c2p_att_17_transpose_y_0 = const()[name = string("c2p_att_17_transpose_y_0"), val = bool(false)]; - tensor var_1137_to_fp16 = const()[name = string("op_1137_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(275744832)))]; - tensor c2p_att_17_cast_fp16 = matmul(transpose_x = c2p_att_17_transpose_x_0, transpose_y = c2p_att_17_transpose_y_0, x = query_layer_27_cast_fp16, y = var_1137_to_fp16)[name = string("c2p_att_17_cast_fp16")]; + tensor var_1154_to_fp16 = const()[name = string("op_1154_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(275744832)))]; + tensor c2p_att_17_cast_fp16 = matmul(transpose_x = c2p_att_17_transpose_x_0, transpose_y = c2p_att_17_transpose_y_0, x = query_layer_27_cast_fp16, y = var_1154_to_fp16)[name = string("c2p_att_17_cast_fp16")]; bool c2p_att_19_validate_indices_0 = const()[name = string("c2p_att_19_validate_indices_0"), val = bool(false)]; - tensor c2p_att_19_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_271_to_uint16, validate_indices = c2p_att_19_validate_indices_0, x = c2p_att_17_cast_fp16)[name = string("c2p_att_19_cast_fp16_cast_int16")]; - tensor _inversed_1150_y_0_to_fp16 = const()[name = string("_inversed_1150_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor _inversed_1150_cast_fp16 = mul(x = c2p_att_19_cast_fp16_cast_int16, y = _inversed_1150_y_0_to_fp16)[name = string("_inversed_1150_cast_fp16")]; + tensor c2p_att_19_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_288_to_uint16, validate_indices = c2p_att_19_validate_indices_0, x = c2p_att_17_cast_fp16)[name = string("c2p_att_19_cast_fp16_cast_int16")]; + tensor _inversed_1167_y_0_to_fp16 = const()[name = string("_inversed_1167_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor _inversed_1167_cast_fp16 = mul(x = c2p_att_19_cast_fp16_cast_int16, y = _inversed_1167_y_0_to_fp16)[name = string("_inversed_1167_cast_fp16")]; bool p2c_att_17_transpose_x_0 = const()[name = string("p2c_att_17_transpose_x_0"), val = bool(false)]; bool p2c_att_17_transpose_y_0 = const()[name = string("p2c_att_17_transpose_y_0"), val = bool(false)]; - tensor var_1165_to_fp16 = const()[name = string("op_1165_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(276531328)))]; - tensor p2c_att_17_cast_fp16 = matmul(transpose_x = p2c_att_17_transpose_x_0, transpose_y = p2c_att_17_transpose_y_0, x = key_layer_9_cast_fp16, y = var_1165_to_fp16)[name = string("p2c_att_17_cast_fp16")]; - bool var_1173_validate_indices_0 = const()[name = string("op_1173_validate_indices_0"), val = bool(false)]; - tensor var_1173_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_296_to_uint16, validate_indices = var_1173_validate_indices_0, x = p2c_att_17_cast_fp16)[name = string("op_1173_cast_fp16_cast_int16")]; + tensor var_1182_to_fp16 = const()[name = string("op_1182_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(276531328)))]; + tensor p2c_att_17_cast_fp16 = matmul(transpose_x = p2c_att_17_transpose_x_0, transpose_y = p2c_att_17_transpose_y_0, x = key_layer_9_cast_fp16, y = var_1182_to_fp16)[name = string("p2c_att_17_cast_fp16")]; + bool var_1190_validate_indices_0 = const()[name = string("op_1190_validate_indices_0"), val = bool(false)]; + tensor var_1190_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_313_to_uint16, validate_indices = var_1190_validate_indices_0, x = p2c_att_17_cast_fp16)[name = string("op_1190_cast_fp16_cast_int16")]; tensor p2c_att_19_perm_0 = const()[name = string("p2c_att_19_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_1176_y_0_to_fp16 = const()[name = string("_inversed_1176_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor p2c_att_19_cast_fp16 = transpose(perm = p2c_att_19_perm_0, x = var_1173_cast_fp16_cast_int16)[name = string("transpose_51")]; - tensor _inversed_1176_cast_fp16 = mul(x = p2c_att_19_cast_fp16, y = _inversed_1176_y_0_to_fp16)[name = string("_inversed_1176_cast_fp16")]; - tensor rel_att_9_cast_fp16 = add(x = _inversed_1150_cast_fp16, y = _inversed_1176_cast_fp16)[name = string("rel_att_9_cast_fp16")]; + tensor _inversed_1193_y_0_to_fp16 = const()[name = string("_inversed_1193_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor p2c_att_19_cast_fp16 = transpose(perm = p2c_att_19_perm_0, x = var_1190_cast_fp16_cast_int16)[name = string("transpose_51")]; + tensor _inversed_1193_cast_fp16 = mul(x = p2c_att_19_cast_fp16, y = _inversed_1193_y_0_to_fp16)[name = string("_inversed_1193_cast_fp16")]; + tensor rel_att_9_cast_fp16 = add(x = _inversed_1167_cast_fp16, y = _inversed_1193_cast_fp16)[name = string("rel_att_9_cast_fp16")]; tensor attention_scores_27_cast_fp16 = add(x = attention_scores_25_cast_fp16, y = rel_att_9_cast_fp16)[name = string("attention_scores_27_cast_fp16")]; - tensor var_1181 = const()[name = string("op_1181"), val = tensor([-1, 12, 512, 512])]; - tensor attention_scores_29_cast_fp16 = reshape(shape = var_1181, x = attention_scores_27_cast_fp16)[name = string("attention_scores_29_cast_fp16")]; - tensor input_105_cast_fp16 = select(a = var_41_to_fp16, b = attention_scores_29_cast_fp16, cond = var_308)[name = string("input_105_cast_fp16")]; - tensor input_107_cast_fp16 = softmax(axis = var_32, x = input_105_cast_fp16)[name = string("input_107_cast_fp16")]; - tensor var_1190 = const()[name = string("op_1190"), val = tensor([-1, 512, 512])]; - tensor var_1191_cast_fp16 = reshape(shape = var_1190, x = input_107_cast_fp16)[name = string("op_1191_cast_fp16")]; + tensor var_1198 = const()[name = string("op_1198"), val = tensor([-1, 12, 512, 512])]; + tensor attention_scores_29_cast_fp16 = reshape(shape = var_1198, x = attention_scores_27_cast_fp16)[name = string("attention_scores_29_cast_fp16")]; + tensor input_105_cast_fp16 = select(a = var_74_to_fp16, b = attention_scores_29_cast_fp16, cond = var_325)[name = string("input_105_cast_fp16")]; + tensor input_107_cast_fp16 = softmax(axis = var_66, x = input_105_cast_fp16)[name = string("input_107_cast_fp16")]; + tensor var_1207 = const()[name = string("op_1207"), val = tensor([-1, 512, 512])]; + tensor var_1208_cast_fp16 = reshape(shape = var_1207, x = input_107_cast_fp16)[name = string("op_1208_cast_fp16")]; bool context_layer_17_transpose_x_0 = const()[name = string("context_layer_17_transpose_x_0"), val = bool(false)]; bool context_layer_17_transpose_y_0 = const()[name = string("context_layer_17_transpose_y_0"), val = bool(false)]; - tensor context_layer_17_cast_fp16 = matmul(transpose_x = context_layer_17_transpose_x_0, transpose_y = context_layer_17_transpose_y_0, x = var_1191_cast_fp16, y = value_layer_9_cast_fp16)[name = string("context_layer_17_cast_fp16")]; - tensor var_1195 = const()[name = string("op_1195"), val = tensor([-1, 12, 512, 64])]; - tensor var_1196_cast_fp16 = reshape(shape = var_1195, x = context_layer_17_cast_fp16)[name = string("op_1196_cast_fp16")]; - tensor var_1197 = const()[name = string("op_1197"), val = tensor([0, 2, 1, 3])]; - tensor var_1202 = const()[name = string("op_1202"), val = tensor([1, 512, -1])]; - tensor var_1198_cast_fp16 = transpose(perm = var_1197, x = var_1196_cast_fp16)[name = string("transpose_50")]; - tensor input_109_cast_fp16 = reshape(shape = var_1202, x = var_1198_cast_fp16)[name = string("input_109_cast_fp16")]; + tensor context_layer_17_cast_fp16 = matmul(transpose_x = context_layer_17_transpose_x_0, transpose_y = context_layer_17_transpose_y_0, x = var_1208_cast_fp16, y = value_layer_9_cast_fp16)[name = string("context_layer_17_cast_fp16")]; + tensor var_1212 = const()[name = string("op_1212"), val = tensor([-1, 12, 512, 64])]; + tensor var_1213_cast_fp16 = reshape(shape = var_1212, x = context_layer_17_cast_fp16)[name = string("op_1213_cast_fp16")]; + tensor var_1214 = const()[name = string("op_1214"), val = tensor([0, 2, 1, 3])]; + tensor var_1219 = const()[name = string("op_1219"), val = tensor([1, 512, -1])]; + tensor var_1215_cast_fp16 = transpose(perm = var_1214, x = var_1213_cast_fp16)[name = string("transpose_50")]; + tensor input_109_cast_fp16 = reshape(shape = var_1219, x = var_1215_cast_fp16)[name = string("input_109_cast_fp16")]; tensor deberta_encoder_layer_4_attention_output_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_4_attention_output_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(277317824)))]; tensor deberta_encoder_layer_4_attention_output_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_4_attention_output_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(278497536)))]; tensor linear_37_cast_fp16 = linear(bias = deberta_encoder_layer_4_attention_output_dense_bias_to_fp16, weight = deberta_encoder_layer_4_attention_output_dense_weight_to_fp16, x = input_109_cast_fp16)[name = string("linear_37_cast_fp16")]; @@ -474,7 +468,7 @@ program(1.3) tensor input_115_axes_0 = const()[name = string("input_115_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_4_attention_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_4_attention_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(278499136)))]; tensor deberta_encoder_layer_4_attention_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_4_attention_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(278500736)))]; - tensor input_115_cast_fp16 = layer_norm(axes = input_115_axes_0, beta = deberta_encoder_layer_4_attention_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_4_attention_output_LayerNorm_weight_to_fp16, x = input_113_cast_fp16)[name = string("input_115_cast_fp16")]; + tensor input_115_cast_fp16 = layer_norm(axes = input_115_axes_0, beta = deberta_encoder_layer_4_attention_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_4_attention_output_LayerNorm_weight_to_fp16, x = input_113_cast_fp16)[name = string("input_115_cast_fp16")]; tensor deberta_encoder_layer_4_intermediate_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_4_intermediate_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(278502336)))]; tensor deberta_encoder_layer_4_intermediate_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_4_intermediate_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(283220992)))]; tensor linear_38_cast_fp16 = linear(bias = deberta_encoder_layer_4_intermediate_dense_bias_to_fp16, weight = deberta_encoder_layer_4_intermediate_dense_weight_to_fp16, x = input_115_cast_fp16)[name = string("linear_38_cast_fp16")]; @@ -487,76 +481,76 @@ program(1.3) tensor input_125_axes_0 = const()[name = string("input_125_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_4_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_4_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(287947456)))]; tensor deberta_encoder_layer_4_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_4_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(287949056)))]; - tensor input_125_cast_fp16 = layer_norm(axes = input_125_axes_0, beta = deberta_encoder_layer_4_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_4_output_LayerNorm_weight_to_fp16, x = input_123_cast_fp16)[name = string("input_125_cast_fp16")]; + tensor input_125_cast_fp16 = layer_norm(axes = input_125_axes_0, beta = deberta_encoder_layer_4_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_4_output_LayerNorm_weight_to_fp16, x = input_123_cast_fp16)[name = string("input_125_cast_fp16")]; tensor deberta_encoder_layer_5_attention_self_query_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_5_attention_self_query_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(287950656)))]; tensor deberta_encoder_layer_5_attention_self_query_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_5_attention_self_query_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(289130368)))]; tensor linear_40_cast_fp16 = linear(bias = deberta_encoder_layer_5_attention_self_query_proj_bias_to_fp16, weight = deberta_encoder_layer_5_attention_self_query_proj_weight_to_fp16, x = input_125_cast_fp16)[name = string("linear_40_cast_fp16")]; - tensor var_1253 = const()[name = string("op_1253"), val = tensor([1, 512, 12, -1])]; - tensor x_103_cast_fp16 = reshape(shape = var_1253, x = linear_40_cast_fp16)[name = string("x_103_cast_fp16")]; - tensor var_1255 = const()[name = string("op_1255"), val = tensor([0, 2, 1, 3])]; - tensor var_1260 = const()[name = string("op_1260"), val = tensor([-1, 512, 64])]; - tensor var_1256_cast_fp16 = transpose(perm = var_1255, x = x_103_cast_fp16)[name = string("transpose_49")]; - tensor query_layer_33_cast_fp16 = reshape(shape = var_1260, x = var_1256_cast_fp16)[name = string("query_layer_33_cast_fp16")]; + tensor var_1270 = const()[name = string("op_1270"), val = tensor([1, 512, 12, -1])]; + tensor x_103_cast_fp16 = reshape(shape = var_1270, x = linear_40_cast_fp16)[name = string("x_103_cast_fp16")]; + tensor var_1272 = const()[name = string("op_1272"), val = tensor([0, 2, 1, 3])]; + tensor var_1277 = const()[name = string("op_1277"), val = tensor([-1, 512, 64])]; + tensor var_1273_cast_fp16 = transpose(perm = var_1272, x = x_103_cast_fp16)[name = string("transpose_49")]; + tensor query_layer_33_cast_fp16 = reshape(shape = var_1277, x = var_1273_cast_fp16)[name = string("query_layer_33_cast_fp16")]; tensor deberta_encoder_layer_5_attention_self_key_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_5_attention_self_key_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(289131968)))]; tensor deberta_encoder_layer_5_attention_self_key_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_5_attention_self_key_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(290311680)))]; tensor linear_41_cast_fp16 = linear(bias = deberta_encoder_layer_5_attention_self_key_proj_bias_to_fp16, weight = deberta_encoder_layer_5_attention_self_key_proj_weight_to_fp16, x = input_125_cast_fp16)[name = string("linear_41_cast_fp16")]; - tensor var_1267 = const()[name = string("op_1267"), val = tensor([1, 512, 12, -1])]; - tensor x_107_cast_fp16 = reshape(shape = var_1267, x = linear_41_cast_fp16)[name = string("x_107_cast_fp16")]; - tensor var_1269 = const()[name = string("op_1269"), val = tensor([0, 2, 1, 3])]; - tensor var_1274 = const()[name = string("op_1274"), val = tensor([-1, 512, 64])]; - tensor var_1270_cast_fp16 = transpose(perm = var_1269, x = x_107_cast_fp16)[name = string("transpose_48")]; - tensor key_layer_11_cast_fp16 = reshape(shape = var_1274, x = var_1270_cast_fp16)[name = string("key_layer_11_cast_fp16")]; + tensor var_1284 = const()[name = string("op_1284"), val = tensor([1, 512, 12, -1])]; + tensor x_107_cast_fp16 = reshape(shape = var_1284, x = linear_41_cast_fp16)[name = string("x_107_cast_fp16")]; + tensor var_1286 = const()[name = string("op_1286"), val = tensor([0, 2, 1, 3])]; + tensor var_1291 = const()[name = string("op_1291"), val = tensor([-1, 512, 64])]; + tensor var_1287_cast_fp16 = transpose(perm = var_1286, x = x_107_cast_fp16)[name = string("transpose_48")]; + tensor key_layer_11_cast_fp16 = reshape(shape = var_1291, x = var_1287_cast_fp16)[name = string("key_layer_11_cast_fp16")]; tensor deberta_encoder_layer_5_attention_self_value_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_5_attention_self_value_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(290313280)))]; tensor deberta_encoder_layer_5_attention_self_value_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_5_attention_self_value_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(291492992)))]; tensor linear_42_cast_fp16 = linear(bias = deberta_encoder_layer_5_attention_self_value_proj_bias_to_fp16, weight = deberta_encoder_layer_5_attention_self_value_proj_weight_to_fp16, x = input_125_cast_fp16)[name = string("linear_42_cast_fp16")]; - tensor var_1281 = const()[name = string("op_1281"), val = tensor([1, 512, 12, -1])]; - tensor x_111_cast_fp16 = reshape(shape = var_1281, x = linear_42_cast_fp16)[name = string("x_111_cast_fp16")]; - tensor var_1283 = const()[name = string("op_1283"), val = tensor([0, 2, 1, 3])]; - tensor var_1288 = const()[name = string("op_1288"), val = tensor([-1, 512, 64])]; - tensor var_1284_cast_fp16 = transpose(perm = var_1283, x = x_111_cast_fp16)[name = string("transpose_47")]; - tensor value_layer_11_cast_fp16 = reshape(shape = var_1288, x = var_1284_cast_fp16)[name = string("value_layer_11_cast_fp16")]; - tensor var_1298_perm_0 = const()[name = string("op_1298_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_1300_y_0_to_fp16 = const()[name = string("_inversed_1300_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor var_1298_cast_fp16 = transpose(perm = var_1298_perm_0, x = key_layer_11_cast_fp16)[name = string("transpose_46")]; - tensor _inversed_1300_cast_fp16 = mul(x = var_1298_cast_fp16, y = _inversed_1300_y_0_to_fp16)[name = string("_inversed_1300_cast_fp16")]; + tensor var_1298 = const()[name = string("op_1298"), val = tensor([1, 512, 12, -1])]; + tensor x_111_cast_fp16 = reshape(shape = var_1298, x = linear_42_cast_fp16)[name = string("x_111_cast_fp16")]; + tensor var_1300 = const()[name = string("op_1300"), val = tensor([0, 2, 1, 3])]; + tensor var_1305 = const()[name = string("op_1305"), val = tensor([-1, 512, 64])]; + tensor var_1301_cast_fp16 = transpose(perm = var_1300, x = x_111_cast_fp16)[name = string("transpose_47")]; + tensor value_layer_11_cast_fp16 = reshape(shape = var_1305, x = var_1301_cast_fp16)[name = string("value_layer_11_cast_fp16")]; + tensor var_1315_perm_0 = const()[name = string("op_1315_perm_0"), val = tensor([0, -1, -2])]; + tensor _inversed_1317_y_0_to_fp16 = const()[name = string("_inversed_1317_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor var_1315_cast_fp16 = transpose(perm = var_1315_perm_0, x = key_layer_11_cast_fp16)[name = string("transpose_46")]; + tensor _inversed_1317_cast_fp16 = mul(x = var_1315_cast_fp16, y = _inversed_1317_y_0_to_fp16)[name = string("_inversed_1317_cast_fp16")]; bool attention_scores_31_transpose_x_0 = const()[name = string("attention_scores_31_transpose_x_0"), val = bool(false)]; bool attention_scores_31_transpose_y_0 = const()[name = string("attention_scores_31_transpose_y_0"), val = bool(false)]; - tensor attention_scores_31_cast_fp16 = matmul(transpose_x = attention_scores_31_transpose_x_0, transpose_y = attention_scores_31_transpose_y_0, x = query_layer_33_cast_fp16, y = _inversed_1300_cast_fp16)[name = string("attention_scores_31_cast_fp16")]; + tensor attention_scores_31_cast_fp16 = matmul(transpose_x = attention_scores_31_transpose_x_0, transpose_y = attention_scores_31_transpose_y_0, x = query_layer_33_cast_fp16, y = _inversed_1317_cast_fp16)[name = string("attention_scores_31_cast_fp16")]; bool c2p_att_21_transpose_x_0 = const()[name = string("c2p_att_21_transpose_x_0"), val = bool(false)]; bool c2p_att_21_transpose_y_0 = const()[name = string("c2p_att_21_transpose_y_0"), val = bool(false)]; - tensor var_1356_to_fp16 = const()[name = string("op_1356_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(291494592)))]; - tensor c2p_att_21_cast_fp16 = matmul(transpose_x = c2p_att_21_transpose_x_0, transpose_y = c2p_att_21_transpose_y_0, x = query_layer_33_cast_fp16, y = var_1356_to_fp16)[name = string("c2p_att_21_cast_fp16")]; + tensor var_1373_to_fp16 = const()[name = string("op_1373_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(291494592)))]; + tensor c2p_att_21_cast_fp16 = matmul(transpose_x = c2p_att_21_transpose_x_0, transpose_y = c2p_att_21_transpose_y_0, x = query_layer_33_cast_fp16, y = var_1373_to_fp16)[name = string("c2p_att_21_cast_fp16")]; bool c2p_att_23_validate_indices_0 = const()[name = string("c2p_att_23_validate_indices_0"), val = bool(false)]; - tensor c2p_att_23_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_271_to_uint16, validate_indices = c2p_att_23_validate_indices_0, x = c2p_att_21_cast_fp16)[name = string("c2p_att_23_cast_fp16_cast_int16")]; - tensor _inversed_1369_y_0_to_fp16 = const()[name = string("_inversed_1369_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor _inversed_1369_cast_fp16 = mul(x = c2p_att_23_cast_fp16_cast_int16, y = _inversed_1369_y_0_to_fp16)[name = string("_inversed_1369_cast_fp16")]; + tensor c2p_att_23_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_288_to_uint16, validate_indices = c2p_att_23_validate_indices_0, x = c2p_att_21_cast_fp16)[name = string("c2p_att_23_cast_fp16_cast_int16")]; + tensor _inversed_1386_y_0_to_fp16 = const()[name = string("_inversed_1386_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor _inversed_1386_cast_fp16 = mul(x = c2p_att_23_cast_fp16_cast_int16, y = _inversed_1386_y_0_to_fp16)[name = string("_inversed_1386_cast_fp16")]; bool p2c_att_21_transpose_x_0 = const()[name = string("p2c_att_21_transpose_x_0"), val = bool(false)]; bool p2c_att_21_transpose_y_0 = const()[name = string("p2c_att_21_transpose_y_0"), val = bool(false)]; - tensor var_1384_to_fp16 = const()[name = string("op_1384_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(292281088)))]; - tensor p2c_att_21_cast_fp16 = matmul(transpose_x = p2c_att_21_transpose_x_0, transpose_y = p2c_att_21_transpose_y_0, x = key_layer_11_cast_fp16, y = var_1384_to_fp16)[name = string("p2c_att_21_cast_fp16")]; - bool var_1392_validate_indices_0 = const()[name = string("op_1392_validate_indices_0"), val = bool(false)]; - tensor var_1392_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_296_to_uint16, validate_indices = var_1392_validate_indices_0, x = p2c_att_21_cast_fp16)[name = string("op_1392_cast_fp16_cast_int16")]; + tensor var_1401_to_fp16 = const()[name = string("op_1401_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(292281088)))]; + tensor p2c_att_21_cast_fp16 = matmul(transpose_x = p2c_att_21_transpose_x_0, transpose_y = p2c_att_21_transpose_y_0, x = key_layer_11_cast_fp16, y = var_1401_to_fp16)[name = string("p2c_att_21_cast_fp16")]; + bool var_1409_validate_indices_0 = const()[name = string("op_1409_validate_indices_0"), val = bool(false)]; + tensor var_1409_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_313_to_uint16, validate_indices = var_1409_validate_indices_0, x = p2c_att_21_cast_fp16)[name = string("op_1409_cast_fp16_cast_int16")]; tensor p2c_att_23_perm_0 = const()[name = string("p2c_att_23_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_1395_y_0_to_fp16 = const()[name = string("_inversed_1395_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor p2c_att_23_cast_fp16 = transpose(perm = p2c_att_23_perm_0, x = var_1392_cast_fp16_cast_int16)[name = string("transpose_45")]; - tensor _inversed_1395_cast_fp16 = mul(x = p2c_att_23_cast_fp16, y = _inversed_1395_y_0_to_fp16)[name = string("_inversed_1395_cast_fp16")]; - tensor rel_att_11_cast_fp16 = add(x = _inversed_1369_cast_fp16, y = _inversed_1395_cast_fp16)[name = string("rel_att_11_cast_fp16")]; + tensor _inversed_1412_y_0_to_fp16 = const()[name = string("_inversed_1412_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor p2c_att_23_cast_fp16 = transpose(perm = p2c_att_23_perm_0, x = var_1409_cast_fp16_cast_int16)[name = string("transpose_45")]; + tensor _inversed_1412_cast_fp16 = mul(x = p2c_att_23_cast_fp16, y = _inversed_1412_y_0_to_fp16)[name = string("_inversed_1412_cast_fp16")]; + tensor rel_att_11_cast_fp16 = add(x = _inversed_1386_cast_fp16, y = _inversed_1412_cast_fp16)[name = string("rel_att_11_cast_fp16")]; tensor attention_scores_33_cast_fp16 = add(x = attention_scores_31_cast_fp16, y = rel_att_11_cast_fp16)[name = string("attention_scores_33_cast_fp16")]; - tensor var_1400 = const()[name = string("op_1400"), val = tensor([-1, 12, 512, 512])]; - tensor attention_scores_35_cast_fp16 = reshape(shape = var_1400, x = attention_scores_33_cast_fp16)[name = string("attention_scores_35_cast_fp16")]; - tensor input_129_cast_fp16 = select(a = var_41_to_fp16, b = attention_scores_35_cast_fp16, cond = var_308)[name = string("input_129_cast_fp16")]; - tensor input_131_cast_fp16 = softmax(axis = var_32, x = input_129_cast_fp16)[name = string("input_131_cast_fp16")]; - tensor var_1409 = const()[name = string("op_1409"), val = tensor([-1, 512, 512])]; - tensor var_1410_cast_fp16 = reshape(shape = var_1409, x = input_131_cast_fp16)[name = string("op_1410_cast_fp16")]; + tensor var_1417 = const()[name = string("op_1417"), val = tensor([-1, 12, 512, 512])]; + tensor attention_scores_35_cast_fp16 = reshape(shape = var_1417, x = attention_scores_33_cast_fp16)[name = string("attention_scores_35_cast_fp16")]; + tensor input_129_cast_fp16 = select(a = var_74_to_fp16, b = attention_scores_35_cast_fp16, cond = var_325)[name = string("input_129_cast_fp16")]; + tensor input_131_cast_fp16 = softmax(axis = var_66, x = input_129_cast_fp16)[name = string("input_131_cast_fp16")]; + tensor var_1426 = const()[name = string("op_1426"), val = tensor([-1, 512, 512])]; + tensor var_1427_cast_fp16 = reshape(shape = var_1426, x = input_131_cast_fp16)[name = string("op_1427_cast_fp16")]; bool context_layer_21_transpose_x_0 = const()[name = string("context_layer_21_transpose_x_0"), val = bool(false)]; bool context_layer_21_transpose_y_0 = const()[name = string("context_layer_21_transpose_y_0"), val = bool(false)]; - tensor context_layer_21_cast_fp16 = matmul(transpose_x = context_layer_21_transpose_x_0, transpose_y = context_layer_21_transpose_y_0, x = var_1410_cast_fp16, y = value_layer_11_cast_fp16)[name = string("context_layer_21_cast_fp16")]; - tensor var_1414 = const()[name = string("op_1414"), val = tensor([-1, 12, 512, 64])]; - tensor var_1415_cast_fp16 = reshape(shape = var_1414, x = context_layer_21_cast_fp16)[name = string("op_1415_cast_fp16")]; - tensor var_1416 = const()[name = string("op_1416"), val = tensor([0, 2, 1, 3])]; - tensor var_1421 = const()[name = string("op_1421"), val = tensor([1, 512, -1])]; - tensor var_1417_cast_fp16 = transpose(perm = var_1416, x = var_1415_cast_fp16)[name = string("transpose_44")]; - tensor input_133_cast_fp16 = reshape(shape = var_1421, x = var_1417_cast_fp16)[name = string("input_133_cast_fp16")]; + tensor context_layer_21_cast_fp16 = matmul(transpose_x = context_layer_21_transpose_x_0, transpose_y = context_layer_21_transpose_y_0, x = var_1427_cast_fp16, y = value_layer_11_cast_fp16)[name = string("context_layer_21_cast_fp16")]; + tensor var_1431 = const()[name = string("op_1431"), val = tensor([-1, 12, 512, 64])]; + tensor var_1432_cast_fp16 = reshape(shape = var_1431, x = context_layer_21_cast_fp16)[name = string("op_1432_cast_fp16")]; + tensor var_1433 = const()[name = string("op_1433"), val = tensor([0, 2, 1, 3])]; + tensor var_1438 = const()[name = string("op_1438"), val = tensor([1, 512, -1])]; + tensor var_1434_cast_fp16 = transpose(perm = var_1433, x = var_1432_cast_fp16)[name = string("transpose_44")]; + tensor input_133_cast_fp16 = reshape(shape = var_1438, x = var_1434_cast_fp16)[name = string("input_133_cast_fp16")]; tensor deberta_encoder_layer_5_attention_output_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_5_attention_output_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(293067584)))]; tensor deberta_encoder_layer_5_attention_output_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_5_attention_output_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(294247296)))]; tensor linear_45_cast_fp16 = linear(bias = deberta_encoder_layer_5_attention_output_dense_bias_to_fp16, weight = deberta_encoder_layer_5_attention_output_dense_weight_to_fp16, x = input_133_cast_fp16)[name = string("linear_45_cast_fp16")]; @@ -564,7 +558,7 @@ program(1.3) tensor input_139_axes_0 = const()[name = string("input_139_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_5_attention_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_5_attention_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(294248896)))]; tensor deberta_encoder_layer_5_attention_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_5_attention_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(294250496)))]; - tensor input_139_cast_fp16 = layer_norm(axes = input_139_axes_0, beta = deberta_encoder_layer_5_attention_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_5_attention_output_LayerNorm_weight_to_fp16, x = input_137_cast_fp16)[name = string("input_139_cast_fp16")]; + tensor input_139_cast_fp16 = layer_norm(axes = input_139_axes_0, beta = deberta_encoder_layer_5_attention_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_5_attention_output_LayerNorm_weight_to_fp16, x = input_137_cast_fp16)[name = string("input_139_cast_fp16")]; tensor deberta_encoder_layer_5_intermediate_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_5_intermediate_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(294252096)))]; tensor deberta_encoder_layer_5_intermediate_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_5_intermediate_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(298970752)))]; tensor linear_46_cast_fp16 = linear(bias = deberta_encoder_layer_5_intermediate_dense_bias_to_fp16, weight = deberta_encoder_layer_5_intermediate_dense_weight_to_fp16, x = input_139_cast_fp16)[name = string("linear_46_cast_fp16")]; @@ -577,76 +571,76 @@ program(1.3) tensor input_149_axes_0 = const()[name = string("input_149_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_5_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_5_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(303697216)))]; tensor deberta_encoder_layer_5_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_5_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(303698816)))]; - tensor input_149_cast_fp16 = layer_norm(axes = input_149_axes_0, beta = deberta_encoder_layer_5_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_5_output_LayerNorm_weight_to_fp16, x = input_147_cast_fp16)[name = string("input_149_cast_fp16")]; + tensor input_149_cast_fp16 = layer_norm(axes = input_149_axes_0, beta = deberta_encoder_layer_5_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_5_output_LayerNorm_weight_to_fp16, x = input_147_cast_fp16)[name = string("input_149_cast_fp16")]; tensor deberta_encoder_layer_6_attention_self_query_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_6_attention_self_query_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(303700416)))]; tensor deberta_encoder_layer_6_attention_self_query_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_6_attention_self_query_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(304880128)))]; tensor linear_48_cast_fp16 = linear(bias = deberta_encoder_layer_6_attention_self_query_proj_bias_to_fp16, weight = deberta_encoder_layer_6_attention_self_query_proj_weight_to_fp16, x = input_149_cast_fp16)[name = string("linear_48_cast_fp16")]; - tensor var_1472 = const()[name = string("op_1472"), val = tensor([1, 512, 12, -1])]; - tensor x_123_cast_fp16 = reshape(shape = var_1472, x = linear_48_cast_fp16)[name = string("x_123_cast_fp16")]; - tensor var_1474 = const()[name = string("op_1474"), val = tensor([0, 2, 1, 3])]; - tensor var_1479 = const()[name = string("op_1479"), val = tensor([-1, 512, 64])]; - tensor var_1475_cast_fp16 = transpose(perm = var_1474, x = x_123_cast_fp16)[name = string("transpose_43")]; - tensor query_layer_39_cast_fp16 = reshape(shape = var_1479, x = var_1475_cast_fp16)[name = string("query_layer_39_cast_fp16")]; + tensor var_1489 = const()[name = string("op_1489"), val = tensor([1, 512, 12, -1])]; + tensor x_123_cast_fp16 = reshape(shape = var_1489, x = linear_48_cast_fp16)[name = string("x_123_cast_fp16")]; + tensor var_1491 = const()[name = string("op_1491"), val = tensor([0, 2, 1, 3])]; + tensor var_1496 = const()[name = string("op_1496"), val = tensor([-1, 512, 64])]; + tensor var_1492_cast_fp16 = transpose(perm = var_1491, x = x_123_cast_fp16)[name = string("transpose_43")]; + tensor query_layer_39_cast_fp16 = reshape(shape = var_1496, x = var_1492_cast_fp16)[name = string("query_layer_39_cast_fp16")]; tensor deberta_encoder_layer_6_attention_self_key_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_6_attention_self_key_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(304881728)))]; tensor deberta_encoder_layer_6_attention_self_key_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_6_attention_self_key_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(306061440)))]; tensor linear_49_cast_fp16 = linear(bias = deberta_encoder_layer_6_attention_self_key_proj_bias_to_fp16, weight = deberta_encoder_layer_6_attention_self_key_proj_weight_to_fp16, x = input_149_cast_fp16)[name = string("linear_49_cast_fp16")]; - tensor var_1486 = const()[name = string("op_1486"), val = tensor([1, 512, 12, -1])]; - tensor x_127_cast_fp16 = reshape(shape = var_1486, x = linear_49_cast_fp16)[name = string("x_127_cast_fp16")]; - tensor var_1488 = const()[name = string("op_1488"), val = tensor([0, 2, 1, 3])]; - tensor var_1493 = const()[name = string("op_1493"), val = tensor([-1, 512, 64])]; - tensor var_1489_cast_fp16 = transpose(perm = var_1488, x = x_127_cast_fp16)[name = string("transpose_42")]; - tensor key_layer_13_cast_fp16 = reshape(shape = var_1493, x = var_1489_cast_fp16)[name = string("key_layer_13_cast_fp16")]; + tensor var_1503 = const()[name = string("op_1503"), val = tensor([1, 512, 12, -1])]; + tensor x_127_cast_fp16 = reshape(shape = var_1503, x = linear_49_cast_fp16)[name = string("x_127_cast_fp16")]; + tensor var_1505 = const()[name = string("op_1505"), val = tensor([0, 2, 1, 3])]; + tensor var_1510 = const()[name = string("op_1510"), val = tensor([-1, 512, 64])]; + tensor var_1506_cast_fp16 = transpose(perm = var_1505, x = x_127_cast_fp16)[name = string("transpose_42")]; + tensor key_layer_13_cast_fp16 = reshape(shape = var_1510, x = var_1506_cast_fp16)[name = string("key_layer_13_cast_fp16")]; tensor deberta_encoder_layer_6_attention_self_value_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_6_attention_self_value_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(306063040)))]; tensor deberta_encoder_layer_6_attention_self_value_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_6_attention_self_value_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(307242752)))]; tensor linear_50_cast_fp16 = linear(bias = deberta_encoder_layer_6_attention_self_value_proj_bias_to_fp16, weight = deberta_encoder_layer_6_attention_self_value_proj_weight_to_fp16, x = input_149_cast_fp16)[name = string("linear_50_cast_fp16")]; - tensor var_1500 = const()[name = string("op_1500"), val = tensor([1, 512, 12, -1])]; - tensor x_131_cast_fp16 = reshape(shape = var_1500, x = linear_50_cast_fp16)[name = string("x_131_cast_fp16")]; - tensor var_1502 = const()[name = string("op_1502"), val = tensor([0, 2, 1, 3])]; - tensor var_1507 = const()[name = string("op_1507"), val = tensor([-1, 512, 64])]; - tensor var_1503_cast_fp16 = transpose(perm = var_1502, x = x_131_cast_fp16)[name = string("transpose_41")]; - tensor value_layer_13_cast_fp16 = reshape(shape = var_1507, x = var_1503_cast_fp16)[name = string("value_layer_13_cast_fp16")]; - tensor var_1517_perm_0 = const()[name = string("op_1517_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_1519_y_0_to_fp16 = const()[name = string("_inversed_1519_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor var_1517_cast_fp16 = transpose(perm = var_1517_perm_0, x = key_layer_13_cast_fp16)[name = string("transpose_40")]; - tensor _inversed_1519_cast_fp16 = mul(x = var_1517_cast_fp16, y = _inversed_1519_y_0_to_fp16)[name = string("_inversed_1519_cast_fp16")]; + tensor var_1517 = const()[name = string("op_1517"), val = tensor([1, 512, 12, -1])]; + tensor x_131_cast_fp16 = reshape(shape = var_1517, x = linear_50_cast_fp16)[name = string("x_131_cast_fp16")]; + tensor var_1519 = const()[name = string("op_1519"), val = tensor([0, 2, 1, 3])]; + tensor var_1524 = const()[name = string("op_1524"), val = tensor([-1, 512, 64])]; + tensor var_1520_cast_fp16 = transpose(perm = var_1519, x = x_131_cast_fp16)[name = string("transpose_41")]; + tensor value_layer_13_cast_fp16 = reshape(shape = var_1524, x = var_1520_cast_fp16)[name = string("value_layer_13_cast_fp16")]; + tensor var_1534_perm_0 = const()[name = string("op_1534_perm_0"), val = tensor([0, -1, -2])]; + tensor _inversed_1536_y_0_to_fp16 = const()[name = string("_inversed_1536_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor var_1534_cast_fp16 = transpose(perm = var_1534_perm_0, x = key_layer_13_cast_fp16)[name = string("transpose_40")]; + tensor _inversed_1536_cast_fp16 = mul(x = var_1534_cast_fp16, y = _inversed_1536_y_0_to_fp16)[name = string("_inversed_1536_cast_fp16")]; bool attention_scores_37_transpose_x_0 = const()[name = string("attention_scores_37_transpose_x_0"), val = bool(false)]; bool attention_scores_37_transpose_y_0 = const()[name = string("attention_scores_37_transpose_y_0"), val = bool(false)]; - tensor attention_scores_37_cast_fp16 = matmul(transpose_x = attention_scores_37_transpose_x_0, transpose_y = attention_scores_37_transpose_y_0, x = query_layer_39_cast_fp16, y = _inversed_1519_cast_fp16)[name = string("attention_scores_37_cast_fp16")]; + tensor attention_scores_37_cast_fp16 = matmul(transpose_x = attention_scores_37_transpose_x_0, transpose_y = attention_scores_37_transpose_y_0, x = query_layer_39_cast_fp16, y = _inversed_1536_cast_fp16)[name = string("attention_scores_37_cast_fp16")]; bool c2p_att_25_transpose_x_0 = const()[name = string("c2p_att_25_transpose_x_0"), val = bool(false)]; bool c2p_att_25_transpose_y_0 = const()[name = string("c2p_att_25_transpose_y_0"), val = bool(false)]; - tensor var_1575_to_fp16 = const()[name = string("op_1575_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(307244352)))]; - tensor c2p_att_25_cast_fp16 = matmul(transpose_x = c2p_att_25_transpose_x_0, transpose_y = c2p_att_25_transpose_y_0, x = query_layer_39_cast_fp16, y = var_1575_to_fp16)[name = string("c2p_att_25_cast_fp16")]; + tensor var_1592_to_fp16 = const()[name = string("op_1592_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(307244352)))]; + tensor c2p_att_25_cast_fp16 = matmul(transpose_x = c2p_att_25_transpose_x_0, transpose_y = c2p_att_25_transpose_y_0, x = query_layer_39_cast_fp16, y = var_1592_to_fp16)[name = string("c2p_att_25_cast_fp16")]; bool c2p_att_27_validate_indices_0 = const()[name = string("c2p_att_27_validate_indices_0"), val = bool(false)]; - tensor c2p_att_27_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_271_to_uint16, validate_indices = c2p_att_27_validate_indices_0, x = c2p_att_25_cast_fp16)[name = string("c2p_att_27_cast_fp16_cast_int16")]; - tensor _inversed_1588_y_0_to_fp16 = const()[name = string("_inversed_1588_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor _inversed_1588_cast_fp16 = mul(x = c2p_att_27_cast_fp16_cast_int16, y = _inversed_1588_y_0_to_fp16)[name = string("_inversed_1588_cast_fp16")]; + tensor c2p_att_27_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_288_to_uint16, validate_indices = c2p_att_27_validate_indices_0, x = c2p_att_25_cast_fp16)[name = string("c2p_att_27_cast_fp16_cast_int16")]; + tensor _inversed_1605_y_0_to_fp16 = const()[name = string("_inversed_1605_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor _inversed_1605_cast_fp16 = mul(x = c2p_att_27_cast_fp16_cast_int16, y = _inversed_1605_y_0_to_fp16)[name = string("_inversed_1605_cast_fp16")]; bool p2c_att_25_transpose_x_0 = const()[name = string("p2c_att_25_transpose_x_0"), val = bool(false)]; bool p2c_att_25_transpose_y_0 = const()[name = string("p2c_att_25_transpose_y_0"), val = bool(false)]; - tensor var_1603_to_fp16 = const()[name = string("op_1603_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(308030848)))]; - tensor p2c_att_25_cast_fp16 = matmul(transpose_x = p2c_att_25_transpose_x_0, transpose_y = p2c_att_25_transpose_y_0, x = key_layer_13_cast_fp16, y = var_1603_to_fp16)[name = string("p2c_att_25_cast_fp16")]; - bool var_1611_validate_indices_0 = const()[name = string("op_1611_validate_indices_0"), val = bool(false)]; - tensor var_1611_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_296_to_uint16, validate_indices = var_1611_validate_indices_0, x = p2c_att_25_cast_fp16)[name = string("op_1611_cast_fp16_cast_int16")]; + tensor var_1620_to_fp16 = const()[name = string("op_1620_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(308030848)))]; + tensor p2c_att_25_cast_fp16 = matmul(transpose_x = p2c_att_25_transpose_x_0, transpose_y = p2c_att_25_transpose_y_0, x = key_layer_13_cast_fp16, y = var_1620_to_fp16)[name = string("p2c_att_25_cast_fp16")]; + bool var_1628_validate_indices_0 = const()[name = string("op_1628_validate_indices_0"), val = bool(false)]; + tensor var_1628_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_313_to_uint16, validate_indices = var_1628_validate_indices_0, x = p2c_att_25_cast_fp16)[name = string("op_1628_cast_fp16_cast_int16")]; tensor p2c_att_27_perm_0 = const()[name = string("p2c_att_27_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_1614_y_0_to_fp16 = const()[name = string("_inversed_1614_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor p2c_att_27_cast_fp16 = transpose(perm = p2c_att_27_perm_0, x = var_1611_cast_fp16_cast_int16)[name = string("transpose_39")]; - tensor _inversed_1614_cast_fp16 = mul(x = p2c_att_27_cast_fp16, y = _inversed_1614_y_0_to_fp16)[name = string("_inversed_1614_cast_fp16")]; - tensor rel_att_13_cast_fp16 = add(x = _inversed_1588_cast_fp16, y = _inversed_1614_cast_fp16)[name = string("rel_att_13_cast_fp16")]; + tensor _inversed_1631_y_0_to_fp16 = const()[name = string("_inversed_1631_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor p2c_att_27_cast_fp16 = transpose(perm = p2c_att_27_perm_0, x = var_1628_cast_fp16_cast_int16)[name = string("transpose_39")]; + tensor _inversed_1631_cast_fp16 = mul(x = p2c_att_27_cast_fp16, y = _inversed_1631_y_0_to_fp16)[name = string("_inversed_1631_cast_fp16")]; + tensor rel_att_13_cast_fp16 = add(x = _inversed_1605_cast_fp16, y = _inversed_1631_cast_fp16)[name = string("rel_att_13_cast_fp16")]; tensor attention_scores_39_cast_fp16 = add(x = attention_scores_37_cast_fp16, y = rel_att_13_cast_fp16)[name = string("attention_scores_39_cast_fp16")]; - tensor var_1619 = const()[name = string("op_1619"), val = tensor([-1, 12, 512, 512])]; - tensor attention_scores_41_cast_fp16 = reshape(shape = var_1619, x = attention_scores_39_cast_fp16)[name = string("attention_scores_41_cast_fp16")]; - tensor input_153_cast_fp16 = select(a = var_41_to_fp16, b = attention_scores_41_cast_fp16, cond = var_308)[name = string("input_153_cast_fp16")]; - tensor input_155_cast_fp16 = softmax(axis = var_32, x = input_153_cast_fp16)[name = string("input_155_cast_fp16")]; - tensor var_1628 = const()[name = string("op_1628"), val = tensor([-1, 512, 512])]; - tensor var_1629_cast_fp16 = reshape(shape = var_1628, x = input_155_cast_fp16)[name = string("op_1629_cast_fp16")]; + tensor var_1636 = const()[name = string("op_1636"), val = tensor([-1, 12, 512, 512])]; + tensor attention_scores_41_cast_fp16 = reshape(shape = var_1636, x = attention_scores_39_cast_fp16)[name = string("attention_scores_41_cast_fp16")]; + tensor input_153_cast_fp16 = select(a = var_74_to_fp16, b = attention_scores_41_cast_fp16, cond = var_325)[name = string("input_153_cast_fp16")]; + tensor input_155_cast_fp16 = softmax(axis = var_66, x = input_153_cast_fp16)[name = string("input_155_cast_fp16")]; + tensor var_1645 = const()[name = string("op_1645"), val = tensor([-1, 512, 512])]; + tensor var_1646_cast_fp16 = reshape(shape = var_1645, x = input_155_cast_fp16)[name = string("op_1646_cast_fp16")]; bool context_layer_25_transpose_x_0 = const()[name = string("context_layer_25_transpose_x_0"), val = bool(false)]; bool context_layer_25_transpose_y_0 = const()[name = string("context_layer_25_transpose_y_0"), val = bool(false)]; - tensor context_layer_25_cast_fp16 = matmul(transpose_x = context_layer_25_transpose_x_0, transpose_y = context_layer_25_transpose_y_0, x = var_1629_cast_fp16, y = value_layer_13_cast_fp16)[name = string("context_layer_25_cast_fp16")]; - tensor var_1633 = const()[name = string("op_1633"), val = tensor([-1, 12, 512, 64])]; - tensor var_1634_cast_fp16 = reshape(shape = var_1633, x = context_layer_25_cast_fp16)[name = string("op_1634_cast_fp16")]; - tensor var_1635 = const()[name = string("op_1635"), val = tensor([0, 2, 1, 3])]; - tensor var_1640 = const()[name = string("op_1640"), val = tensor([1, 512, -1])]; - tensor var_1636_cast_fp16 = transpose(perm = var_1635, x = var_1634_cast_fp16)[name = string("transpose_38")]; - tensor input_157_cast_fp16 = reshape(shape = var_1640, x = var_1636_cast_fp16)[name = string("input_157_cast_fp16")]; + tensor context_layer_25_cast_fp16 = matmul(transpose_x = context_layer_25_transpose_x_0, transpose_y = context_layer_25_transpose_y_0, x = var_1646_cast_fp16, y = value_layer_13_cast_fp16)[name = string("context_layer_25_cast_fp16")]; + tensor var_1650 = const()[name = string("op_1650"), val = tensor([-1, 12, 512, 64])]; + tensor var_1651_cast_fp16 = reshape(shape = var_1650, x = context_layer_25_cast_fp16)[name = string("op_1651_cast_fp16")]; + tensor var_1652 = const()[name = string("op_1652"), val = tensor([0, 2, 1, 3])]; + tensor var_1657 = const()[name = string("op_1657"), val = tensor([1, 512, -1])]; + tensor var_1653_cast_fp16 = transpose(perm = var_1652, x = var_1651_cast_fp16)[name = string("transpose_38")]; + tensor input_157_cast_fp16 = reshape(shape = var_1657, x = var_1653_cast_fp16)[name = string("input_157_cast_fp16")]; tensor deberta_encoder_layer_6_attention_output_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_6_attention_output_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(308817344)))]; tensor deberta_encoder_layer_6_attention_output_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_6_attention_output_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(309997056)))]; tensor linear_53_cast_fp16 = linear(bias = deberta_encoder_layer_6_attention_output_dense_bias_to_fp16, weight = deberta_encoder_layer_6_attention_output_dense_weight_to_fp16, x = input_157_cast_fp16)[name = string("linear_53_cast_fp16")]; @@ -654,7 +648,7 @@ program(1.3) tensor input_163_axes_0 = const()[name = string("input_163_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_6_attention_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_6_attention_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(309998656)))]; tensor deberta_encoder_layer_6_attention_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_6_attention_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(310000256)))]; - tensor input_163_cast_fp16 = layer_norm(axes = input_163_axes_0, beta = deberta_encoder_layer_6_attention_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_6_attention_output_LayerNorm_weight_to_fp16, x = input_161_cast_fp16)[name = string("input_163_cast_fp16")]; + tensor input_163_cast_fp16 = layer_norm(axes = input_163_axes_0, beta = deberta_encoder_layer_6_attention_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_6_attention_output_LayerNorm_weight_to_fp16, x = input_161_cast_fp16)[name = string("input_163_cast_fp16")]; tensor deberta_encoder_layer_6_intermediate_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_6_intermediate_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(310001856)))]; tensor deberta_encoder_layer_6_intermediate_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_6_intermediate_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(314720512)))]; tensor linear_54_cast_fp16 = linear(bias = deberta_encoder_layer_6_intermediate_dense_bias_to_fp16, weight = deberta_encoder_layer_6_intermediate_dense_weight_to_fp16, x = input_163_cast_fp16)[name = string("linear_54_cast_fp16")]; @@ -667,76 +661,76 @@ program(1.3) tensor input_173_axes_0 = const()[name = string("input_173_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_6_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_6_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(319446976)))]; tensor deberta_encoder_layer_6_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_6_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(319448576)))]; - tensor input_173_cast_fp16 = layer_norm(axes = input_173_axes_0, beta = deberta_encoder_layer_6_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_6_output_LayerNorm_weight_to_fp16, x = input_171_cast_fp16)[name = string("input_173_cast_fp16")]; + tensor input_173_cast_fp16 = layer_norm(axes = input_173_axes_0, beta = deberta_encoder_layer_6_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_6_output_LayerNorm_weight_to_fp16, x = input_171_cast_fp16)[name = string("input_173_cast_fp16")]; tensor deberta_encoder_layer_7_attention_self_query_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_7_attention_self_query_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(319450176)))]; tensor deberta_encoder_layer_7_attention_self_query_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_7_attention_self_query_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(320629888)))]; tensor linear_56_cast_fp16 = linear(bias = deberta_encoder_layer_7_attention_self_query_proj_bias_to_fp16, weight = deberta_encoder_layer_7_attention_self_query_proj_weight_to_fp16, x = input_173_cast_fp16)[name = string("linear_56_cast_fp16")]; - tensor var_1691 = const()[name = string("op_1691"), val = tensor([1, 512, 12, -1])]; - tensor x_143_cast_fp16 = reshape(shape = var_1691, x = linear_56_cast_fp16)[name = string("x_143_cast_fp16")]; - tensor var_1693 = const()[name = string("op_1693"), val = tensor([0, 2, 1, 3])]; - tensor var_1698 = const()[name = string("op_1698"), val = tensor([-1, 512, 64])]; - tensor var_1694_cast_fp16 = transpose(perm = var_1693, x = x_143_cast_fp16)[name = string("transpose_37")]; - tensor query_layer_45_cast_fp16 = reshape(shape = var_1698, x = var_1694_cast_fp16)[name = string("query_layer_45_cast_fp16")]; + tensor var_1708 = const()[name = string("op_1708"), val = tensor([1, 512, 12, -1])]; + tensor x_143_cast_fp16 = reshape(shape = var_1708, x = linear_56_cast_fp16)[name = string("x_143_cast_fp16")]; + tensor var_1710 = const()[name = string("op_1710"), val = tensor([0, 2, 1, 3])]; + tensor var_1715 = const()[name = string("op_1715"), val = tensor([-1, 512, 64])]; + tensor var_1711_cast_fp16 = transpose(perm = var_1710, x = x_143_cast_fp16)[name = string("transpose_37")]; + tensor query_layer_45_cast_fp16 = reshape(shape = var_1715, x = var_1711_cast_fp16)[name = string("query_layer_45_cast_fp16")]; tensor deberta_encoder_layer_7_attention_self_key_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_7_attention_self_key_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(320631488)))]; tensor deberta_encoder_layer_7_attention_self_key_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_7_attention_self_key_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(321811200)))]; tensor linear_57_cast_fp16 = linear(bias = deberta_encoder_layer_7_attention_self_key_proj_bias_to_fp16, weight = deberta_encoder_layer_7_attention_self_key_proj_weight_to_fp16, x = input_173_cast_fp16)[name = string("linear_57_cast_fp16")]; - tensor var_1705 = const()[name = string("op_1705"), val = tensor([1, 512, 12, -1])]; - tensor x_147_cast_fp16 = reshape(shape = var_1705, x = linear_57_cast_fp16)[name = string("x_147_cast_fp16")]; - tensor var_1707 = const()[name = string("op_1707"), val = tensor([0, 2, 1, 3])]; - tensor var_1712 = const()[name = string("op_1712"), val = tensor([-1, 512, 64])]; - tensor var_1708_cast_fp16 = transpose(perm = var_1707, x = x_147_cast_fp16)[name = string("transpose_36")]; - tensor key_layer_15_cast_fp16 = reshape(shape = var_1712, x = var_1708_cast_fp16)[name = string("key_layer_15_cast_fp16")]; + tensor var_1722 = const()[name = string("op_1722"), val = tensor([1, 512, 12, -1])]; + tensor x_147_cast_fp16 = reshape(shape = var_1722, x = linear_57_cast_fp16)[name = string("x_147_cast_fp16")]; + tensor var_1724 = const()[name = string("op_1724"), val = tensor([0, 2, 1, 3])]; + tensor var_1729 = const()[name = string("op_1729"), val = tensor([-1, 512, 64])]; + tensor var_1725_cast_fp16 = transpose(perm = var_1724, x = x_147_cast_fp16)[name = string("transpose_36")]; + tensor key_layer_15_cast_fp16 = reshape(shape = var_1729, x = var_1725_cast_fp16)[name = string("key_layer_15_cast_fp16")]; tensor deberta_encoder_layer_7_attention_self_value_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_7_attention_self_value_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(321812800)))]; tensor deberta_encoder_layer_7_attention_self_value_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_7_attention_self_value_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(322992512)))]; tensor linear_58_cast_fp16 = linear(bias = deberta_encoder_layer_7_attention_self_value_proj_bias_to_fp16, weight = deberta_encoder_layer_7_attention_self_value_proj_weight_to_fp16, x = input_173_cast_fp16)[name = string("linear_58_cast_fp16")]; - tensor var_1719 = const()[name = string("op_1719"), val = tensor([1, 512, 12, -1])]; - tensor x_151_cast_fp16 = reshape(shape = var_1719, x = linear_58_cast_fp16)[name = string("x_151_cast_fp16")]; - tensor var_1721 = const()[name = string("op_1721"), val = tensor([0, 2, 1, 3])]; - tensor var_1726 = const()[name = string("op_1726"), val = tensor([-1, 512, 64])]; - tensor var_1722_cast_fp16 = transpose(perm = var_1721, x = x_151_cast_fp16)[name = string("transpose_35")]; - tensor value_layer_15_cast_fp16 = reshape(shape = var_1726, x = var_1722_cast_fp16)[name = string("value_layer_15_cast_fp16")]; - tensor var_1736_perm_0 = const()[name = string("op_1736_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_1738_y_0_to_fp16 = const()[name = string("_inversed_1738_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor var_1736_cast_fp16 = transpose(perm = var_1736_perm_0, x = key_layer_15_cast_fp16)[name = string("transpose_34")]; - tensor _inversed_1738_cast_fp16 = mul(x = var_1736_cast_fp16, y = _inversed_1738_y_0_to_fp16)[name = string("_inversed_1738_cast_fp16")]; + tensor var_1736 = const()[name = string("op_1736"), val = tensor([1, 512, 12, -1])]; + tensor x_151_cast_fp16 = reshape(shape = var_1736, x = linear_58_cast_fp16)[name = string("x_151_cast_fp16")]; + tensor var_1738 = const()[name = string("op_1738"), val = tensor([0, 2, 1, 3])]; + tensor var_1743 = const()[name = string("op_1743"), val = tensor([-1, 512, 64])]; + tensor var_1739_cast_fp16 = transpose(perm = var_1738, x = x_151_cast_fp16)[name = string("transpose_35")]; + tensor value_layer_15_cast_fp16 = reshape(shape = var_1743, x = var_1739_cast_fp16)[name = string("value_layer_15_cast_fp16")]; + tensor var_1753_perm_0 = const()[name = string("op_1753_perm_0"), val = tensor([0, -1, -2])]; + tensor _inversed_1755_y_0_to_fp16 = const()[name = string("_inversed_1755_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor var_1753_cast_fp16 = transpose(perm = var_1753_perm_0, x = key_layer_15_cast_fp16)[name = string("transpose_34")]; + tensor _inversed_1755_cast_fp16 = mul(x = var_1753_cast_fp16, y = _inversed_1755_y_0_to_fp16)[name = string("_inversed_1755_cast_fp16")]; bool attention_scores_43_transpose_x_0 = const()[name = string("attention_scores_43_transpose_x_0"), val = bool(false)]; bool attention_scores_43_transpose_y_0 = const()[name = string("attention_scores_43_transpose_y_0"), val = bool(false)]; - tensor attention_scores_43_cast_fp16 = matmul(transpose_x = attention_scores_43_transpose_x_0, transpose_y = attention_scores_43_transpose_y_0, x = query_layer_45_cast_fp16, y = _inversed_1738_cast_fp16)[name = string("attention_scores_43_cast_fp16")]; + tensor attention_scores_43_cast_fp16 = matmul(transpose_x = attention_scores_43_transpose_x_0, transpose_y = attention_scores_43_transpose_y_0, x = query_layer_45_cast_fp16, y = _inversed_1755_cast_fp16)[name = string("attention_scores_43_cast_fp16")]; bool c2p_att_29_transpose_x_0 = const()[name = string("c2p_att_29_transpose_x_0"), val = bool(false)]; bool c2p_att_29_transpose_y_0 = const()[name = string("c2p_att_29_transpose_y_0"), val = bool(false)]; - tensor var_1794_to_fp16 = const()[name = string("op_1794_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(322994112)))]; - tensor c2p_att_29_cast_fp16 = matmul(transpose_x = c2p_att_29_transpose_x_0, transpose_y = c2p_att_29_transpose_y_0, x = query_layer_45_cast_fp16, y = var_1794_to_fp16)[name = string("c2p_att_29_cast_fp16")]; + tensor var_1811_to_fp16 = const()[name = string("op_1811_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(322994112)))]; + tensor c2p_att_29_cast_fp16 = matmul(transpose_x = c2p_att_29_transpose_x_0, transpose_y = c2p_att_29_transpose_y_0, x = query_layer_45_cast_fp16, y = var_1811_to_fp16)[name = string("c2p_att_29_cast_fp16")]; bool c2p_att_31_validate_indices_0 = const()[name = string("c2p_att_31_validate_indices_0"), val = bool(false)]; - tensor c2p_att_31_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_271_to_uint16, validate_indices = c2p_att_31_validate_indices_0, x = c2p_att_29_cast_fp16)[name = string("c2p_att_31_cast_fp16_cast_int16")]; - tensor _inversed_1807_y_0_to_fp16 = const()[name = string("_inversed_1807_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor _inversed_1807_cast_fp16 = mul(x = c2p_att_31_cast_fp16_cast_int16, y = _inversed_1807_y_0_to_fp16)[name = string("_inversed_1807_cast_fp16")]; + tensor c2p_att_31_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_288_to_uint16, validate_indices = c2p_att_31_validate_indices_0, x = c2p_att_29_cast_fp16)[name = string("c2p_att_31_cast_fp16_cast_int16")]; + tensor _inversed_1824_y_0_to_fp16 = const()[name = string("_inversed_1824_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor _inversed_1824_cast_fp16 = mul(x = c2p_att_31_cast_fp16_cast_int16, y = _inversed_1824_y_0_to_fp16)[name = string("_inversed_1824_cast_fp16")]; bool p2c_att_29_transpose_x_0 = const()[name = string("p2c_att_29_transpose_x_0"), val = bool(false)]; bool p2c_att_29_transpose_y_0 = const()[name = string("p2c_att_29_transpose_y_0"), val = bool(false)]; - tensor var_1822_to_fp16 = const()[name = string("op_1822_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(323780608)))]; - tensor p2c_att_29_cast_fp16 = matmul(transpose_x = p2c_att_29_transpose_x_0, transpose_y = p2c_att_29_transpose_y_0, x = key_layer_15_cast_fp16, y = var_1822_to_fp16)[name = string("p2c_att_29_cast_fp16")]; - bool var_1830_validate_indices_0 = const()[name = string("op_1830_validate_indices_0"), val = bool(false)]; - tensor var_1830_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_296_to_uint16, validate_indices = var_1830_validate_indices_0, x = p2c_att_29_cast_fp16)[name = string("op_1830_cast_fp16_cast_int16")]; + tensor var_1839_to_fp16 = const()[name = string("op_1839_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(323780608)))]; + tensor p2c_att_29_cast_fp16 = matmul(transpose_x = p2c_att_29_transpose_x_0, transpose_y = p2c_att_29_transpose_y_0, x = key_layer_15_cast_fp16, y = var_1839_to_fp16)[name = string("p2c_att_29_cast_fp16")]; + bool var_1847_validate_indices_0 = const()[name = string("op_1847_validate_indices_0"), val = bool(false)]; + tensor var_1847_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_313_to_uint16, validate_indices = var_1847_validate_indices_0, x = p2c_att_29_cast_fp16)[name = string("op_1847_cast_fp16_cast_int16")]; tensor p2c_att_31_perm_0 = const()[name = string("p2c_att_31_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_1833_y_0_to_fp16 = const()[name = string("_inversed_1833_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor p2c_att_31_cast_fp16 = transpose(perm = p2c_att_31_perm_0, x = var_1830_cast_fp16_cast_int16)[name = string("transpose_33")]; - tensor _inversed_1833_cast_fp16 = mul(x = p2c_att_31_cast_fp16, y = _inversed_1833_y_0_to_fp16)[name = string("_inversed_1833_cast_fp16")]; - tensor rel_att_15_cast_fp16 = add(x = _inversed_1807_cast_fp16, y = _inversed_1833_cast_fp16)[name = string("rel_att_15_cast_fp16")]; + tensor _inversed_1850_y_0_to_fp16 = const()[name = string("_inversed_1850_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor p2c_att_31_cast_fp16 = transpose(perm = p2c_att_31_perm_0, x = var_1847_cast_fp16_cast_int16)[name = string("transpose_33")]; + tensor _inversed_1850_cast_fp16 = mul(x = p2c_att_31_cast_fp16, y = _inversed_1850_y_0_to_fp16)[name = string("_inversed_1850_cast_fp16")]; + tensor rel_att_15_cast_fp16 = add(x = _inversed_1824_cast_fp16, y = _inversed_1850_cast_fp16)[name = string("rel_att_15_cast_fp16")]; tensor attention_scores_45_cast_fp16 = add(x = attention_scores_43_cast_fp16, y = rel_att_15_cast_fp16)[name = string("attention_scores_45_cast_fp16")]; - tensor var_1838 = const()[name = string("op_1838"), val = tensor([-1, 12, 512, 512])]; - tensor attention_scores_47_cast_fp16 = reshape(shape = var_1838, x = attention_scores_45_cast_fp16)[name = string("attention_scores_47_cast_fp16")]; - tensor input_177_cast_fp16 = select(a = var_41_to_fp16, b = attention_scores_47_cast_fp16, cond = var_308)[name = string("input_177_cast_fp16")]; - tensor input_179_cast_fp16 = softmax(axis = var_32, x = input_177_cast_fp16)[name = string("input_179_cast_fp16")]; - tensor var_1847 = const()[name = string("op_1847"), val = tensor([-1, 512, 512])]; - tensor var_1848_cast_fp16 = reshape(shape = var_1847, x = input_179_cast_fp16)[name = string("op_1848_cast_fp16")]; + tensor var_1855 = const()[name = string("op_1855"), val = tensor([-1, 12, 512, 512])]; + tensor attention_scores_47_cast_fp16 = reshape(shape = var_1855, x = attention_scores_45_cast_fp16)[name = string("attention_scores_47_cast_fp16")]; + tensor input_177_cast_fp16 = select(a = var_74_to_fp16, b = attention_scores_47_cast_fp16, cond = var_325)[name = string("input_177_cast_fp16")]; + tensor input_179_cast_fp16 = softmax(axis = var_66, x = input_177_cast_fp16)[name = string("input_179_cast_fp16")]; + tensor var_1864 = const()[name = string("op_1864"), val = tensor([-1, 512, 512])]; + tensor var_1865_cast_fp16 = reshape(shape = var_1864, x = input_179_cast_fp16)[name = string("op_1865_cast_fp16")]; bool context_layer_29_transpose_x_0 = const()[name = string("context_layer_29_transpose_x_0"), val = bool(false)]; bool context_layer_29_transpose_y_0 = const()[name = string("context_layer_29_transpose_y_0"), val = bool(false)]; - tensor context_layer_29_cast_fp16 = matmul(transpose_x = context_layer_29_transpose_x_0, transpose_y = context_layer_29_transpose_y_0, x = var_1848_cast_fp16, y = value_layer_15_cast_fp16)[name = string("context_layer_29_cast_fp16")]; - tensor var_1852 = const()[name = string("op_1852"), val = tensor([-1, 12, 512, 64])]; - tensor var_1853_cast_fp16 = reshape(shape = var_1852, x = context_layer_29_cast_fp16)[name = string("op_1853_cast_fp16")]; - tensor var_1854 = const()[name = string("op_1854"), val = tensor([0, 2, 1, 3])]; - tensor var_1859 = const()[name = string("op_1859"), val = tensor([1, 512, -1])]; - tensor var_1855_cast_fp16 = transpose(perm = var_1854, x = var_1853_cast_fp16)[name = string("transpose_32")]; - tensor input_181_cast_fp16 = reshape(shape = var_1859, x = var_1855_cast_fp16)[name = string("input_181_cast_fp16")]; + tensor context_layer_29_cast_fp16 = matmul(transpose_x = context_layer_29_transpose_x_0, transpose_y = context_layer_29_transpose_y_0, x = var_1865_cast_fp16, y = value_layer_15_cast_fp16)[name = string("context_layer_29_cast_fp16")]; + tensor var_1869 = const()[name = string("op_1869"), val = tensor([-1, 12, 512, 64])]; + tensor var_1870_cast_fp16 = reshape(shape = var_1869, x = context_layer_29_cast_fp16)[name = string("op_1870_cast_fp16")]; + tensor var_1871 = const()[name = string("op_1871"), val = tensor([0, 2, 1, 3])]; + tensor var_1876 = const()[name = string("op_1876"), val = tensor([1, 512, -1])]; + tensor var_1872_cast_fp16 = transpose(perm = var_1871, x = var_1870_cast_fp16)[name = string("transpose_32")]; + tensor input_181_cast_fp16 = reshape(shape = var_1876, x = var_1872_cast_fp16)[name = string("input_181_cast_fp16")]; tensor deberta_encoder_layer_7_attention_output_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_7_attention_output_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(324567104)))]; tensor deberta_encoder_layer_7_attention_output_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_7_attention_output_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(325746816)))]; tensor linear_61_cast_fp16 = linear(bias = deberta_encoder_layer_7_attention_output_dense_bias_to_fp16, weight = deberta_encoder_layer_7_attention_output_dense_weight_to_fp16, x = input_181_cast_fp16)[name = string("linear_61_cast_fp16")]; @@ -744,7 +738,7 @@ program(1.3) tensor input_187_axes_0 = const()[name = string("input_187_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_7_attention_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_7_attention_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(325748416)))]; tensor deberta_encoder_layer_7_attention_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_7_attention_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(325750016)))]; - tensor input_187_cast_fp16 = layer_norm(axes = input_187_axes_0, beta = deberta_encoder_layer_7_attention_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_7_attention_output_LayerNorm_weight_to_fp16, x = input_185_cast_fp16)[name = string("input_187_cast_fp16")]; + tensor input_187_cast_fp16 = layer_norm(axes = input_187_axes_0, beta = deberta_encoder_layer_7_attention_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_7_attention_output_LayerNorm_weight_to_fp16, x = input_185_cast_fp16)[name = string("input_187_cast_fp16")]; tensor deberta_encoder_layer_7_intermediate_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_7_intermediate_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(325751616)))]; tensor deberta_encoder_layer_7_intermediate_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_7_intermediate_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(330470272)))]; tensor linear_62_cast_fp16 = linear(bias = deberta_encoder_layer_7_intermediate_dense_bias_to_fp16, weight = deberta_encoder_layer_7_intermediate_dense_weight_to_fp16, x = input_187_cast_fp16)[name = string("linear_62_cast_fp16")]; @@ -757,76 +751,76 @@ program(1.3) tensor input_197_axes_0 = const()[name = string("input_197_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_7_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_7_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(335196736)))]; tensor deberta_encoder_layer_7_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_7_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(335198336)))]; - tensor input_197_cast_fp16 = layer_norm(axes = input_197_axes_0, beta = deberta_encoder_layer_7_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_7_output_LayerNorm_weight_to_fp16, x = input_195_cast_fp16)[name = string("input_197_cast_fp16")]; + tensor input_197_cast_fp16 = layer_norm(axes = input_197_axes_0, beta = deberta_encoder_layer_7_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_7_output_LayerNorm_weight_to_fp16, x = input_195_cast_fp16)[name = string("input_197_cast_fp16")]; tensor deberta_encoder_layer_8_attention_self_query_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_8_attention_self_query_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(335199936)))]; tensor deberta_encoder_layer_8_attention_self_query_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_8_attention_self_query_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(336379648)))]; tensor linear_64_cast_fp16 = linear(bias = deberta_encoder_layer_8_attention_self_query_proj_bias_to_fp16, weight = deberta_encoder_layer_8_attention_self_query_proj_weight_to_fp16, x = input_197_cast_fp16)[name = string("linear_64_cast_fp16")]; - tensor var_1910 = const()[name = string("op_1910"), val = tensor([1, 512, 12, -1])]; - tensor x_163_cast_fp16 = reshape(shape = var_1910, x = linear_64_cast_fp16)[name = string("x_163_cast_fp16")]; - tensor var_1912 = const()[name = string("op_1912"), val = tensor([0, 2, 1, 3])]; - tensor var_1917 = const()[name = string("op_1917"), val = tensor([-1, 512, 64])]; - tensor var_1913_cast_fp16 = transpose(perm = var_1912, x = x_163_cast_fp16)[name = string("transpose_31")]; - tensor query_layer_51_cast_fp16 = reshape(shape = var_1917, x = var_1913_cast_fp16)[name = string("query_layer_51_cast_fp16")]; + tensor var_1927 = const()[name = string("op_1927"), val = tensor([1, 512, 12, -1])]; + tensor x_163_cast_fp16 = reshape(shape = var_1927, x = linear_64_cast_fp16)[name = string("x_163_cast_fp16")]; + tensor var_1929 = const()[name = string("op_1929"), val = tensor([0, 2, 1, 3])]; + tensor var_1934 = const()[name = string("op_1934"), val = tensor([-1, 512, 64])]; + tensor var_1930_cast_fp16 = transpose(perm = var_1929, x = x_163_cast_fp16)[name = string("transpose_31")]; + tensor query_layer_51_cast_fp16 = reshape(shape = var_1934, x = var_1930_cast_fp16)[name = string("query_layer_51_cast_fp16")]; tensor deberta_encoder_layer_8_attention_self_key_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_8_attention_self_key_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(336381248)))]; tensor deberta_encoder_layer_8_attention_self_key_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_8_attention_self_key_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(337560960)))]; tensor linear_65_cast_fp16 = linear(bias = deberta_encoder_layer_8_attention_self_key_proj_bias_to_fp16, weight = deberta_encoder_layer_8_attention_self_key_proj_weight_to_fp16, x = input_197_cast_fp16)[name = string("linear_65_cast_fp16")]; - tensor var_1924 = const()[name = string("op_1924"), val = tensor([1, 512, 12, -1])]; - tensor x_167_cast_fp16 = reshape(shape = var_1924, x = linear_65_cast_fp16)[name = string("x_167_cast_fp16")]; - tensor var_1926 = const()[name = string("op_1926"), val = tensor([0, 2, 1, 3])]; - tensor var_1931 = const()[name = string("op_1931"), val = tensor([-1, 512, 64])]; - tensor var_1927_cast_fp16 = transpose(perm = var_1926, x = x_167_cast_fp16)[name = string("transpose_30")]; - tensor key_layer_17_cast_fp16 = reshape(shape = var_1931, x = var_1927_cast_fp16)[name = string("key_layer_17_cast_fp16")]; + tensor var_1941 = const()[name = string("op_1941"), val = tensor([1, 512, 12, -1])]; + tensor x_167_cast_fp16 = reshape(shape = var_1941, x = linear_65_cast_fp16)[name = string("x_167_cast_fp16")]; + tensor var_1943 = const()[name = string("op_1943"), val = tensor([0, 2, 1, 3])]; + tensor var_1948 = const()[name = string("op_1948"), val = tensor([-1, 512, 64])]; + tensor var_1944_cast_fp16 = transpose(perm = var_1943, x = x_167_cast_fp16)[name = string("transpose_30")]; + tensor key_layer_17_cast_fp16 = reshape(shape = var_1948, x = var_1944_cast_fp16)[name = string("key_layer_17_cast_fp16")]; tensor deberta_encoder_layer_8_attention_self_value_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_8_attention_self_value_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(337562560)))]; tensor deberta_encoder_layer_8_attention_self_value_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_8_attention_self_value_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(338742272)))]; tensor linear_66_cast_fp16 = linear(bias = deberta_encoder_layer_8_attention_self_value_proj_bias_to_fp16, weight = deberta_encoder_layer_8_attention_self_value_proj_weight_to_fp16, x = input_197_cast_fp16)[name = string("linear_66_cast_fp16")]; - tensor var_1938 = const()[name = string("op_1938"), val = tensor([1, 512, 12, -1])]; - tensor x_171_cast_fp16 = reshape(shape = var_1938, x = linear_66_cast_fp16)[name = string("x_171_cast_fp16")]; - tensor var_1940 = const()[name = string("op_1940"), val = tensor([0, 2, 1, 3])]; - tensor var_1945 = const()[name = string("op_1945"), val = tensor([-1, 512, 64])]; - tensor var_1941_cast_fp16 = transpose(perm = var_1940, x = x_171_cast_fp16)[name = string("transpose_29")]; - tensor value_layer_17_cast_fp16 = reshape(shape = var_1945, x = var_1941_cast_fp16)[name = string("value_layer_17_cast_fp16")]; - tensor var_1955_perm_0 = const()[name = string("op_1955_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_1957_y_0_to_fp16 = const()[name = string("_inversed_1957_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor var_1955_cast_fp16 = transpose(perm = var_1955_perm_0, x = key_layer_17_cast_fp16)[name = string("transpose_28")]; - tensor _inversed_1957_cast_fp16 = mul(x = var_1955_cast_fp16, y = _inversed_1957_y_0_to_fp16)[name = string("_inversed_1957_cast_fp16")]; + tensor var_1955 = const()[name = string("op_1955"), val = tensor([1, 512, 12, -1])]; + tensor x_171_cast_fp16 = reshape(shape = var_1955, x = linear_66_cast_fp16)[name = string("x_171_cast_fp16")]; + tensor var_1957 = const()[name = string("op_1957"), val = tensor([0, 2, 1, 3])]; + tensor var_1962 = const()[name = string("op_1962"), val = tensor([-1, 512, 64])]; + tensor var_1958_cast_fp16 = transpose(perm = var_1957, x = x_171_cast_fp16)[name = string("transpose_29")]; + tensor value_layer_17_cast_fp16 = reshape(shape = var_1962, x = var_1958_cast_fp16)[name = string("value_layer_17_cast_fp16")]; + tensor var_1972_perm_0 = const()[name = string("op_1972_perm_0"), val = tensor([0, -1, -2])]; + tensor _inversed_1974_y_0_to_fp16 = const()[name = string("_inversed_1974_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor var_1972_cast_fp16 = transpose(perm = var_1972_perm_0, x = key_layer_17_cast_fp16)[name = string("transpose_28")]; + tensor _inversed_1974_cast_fp16 = mul(x = var_1972_cast_fp16, y = _inversed_1974_y_0_to_fp16)[name = string("_inversed_1974_cast_fp16")]; bool attention_scores_49_transpose_x_0 = const()[name = string("attention_scores_49_transpose_x_0"), val = bool(false)]; bool attention_scores_49_transpose_y_0 = const()[name = string("attention_scores_49_transpose_y_0"), val = bool(false)]; - tensor attention_scores_49_cast_fp16 = matmul(transpose_x = attention_scores_49_transpose_x_0, transpose_y = attention_scores_49_transpose_y_0, x = query_layer_51_cast_fp16, y = _inversed_1957_cast_fp16)[name = string("attention_scores_49_cast_fp16")]; + tensor attention_scores_49_cast_fp16 = matmul(transpose_x = attention_scores_49_transpose_x_0, transpose_y = attention_scores_49_transpose_y_0, x = query_layer_51_cast_fp16, y = _inversed_1974_cast_fp16)[name = string("attention_scores_49_cast_fp16")]; bool c2p_att_33_transpose_x_0 = const()[name = string("c2p_att_33_transpose_x_0"), val = bool(false)]; bool c2p_att_33_transpose_y_0 = const()[name = string("c2p_att_33_transpose_y_0"), val = bool(false)]; - tensor var_2013_to_fp16 = const()[name = string("op_2013_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(338743872)))]; - tensor c2p_att_33_cast_fp16 = matmul(transpose_x = c2p_att_33_transpose_x_0, transpose_y = c2p_att_33_transpose_y_0, x = query_layer_51_cast_fp16, y = var_2013_to_fp16)[name = string("c2p_att_33_cast_fp16")]; + tensor var_2030_to_fp16 = const()[name = string("op_2030_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(338743872)))]; + tensor c2p_att_33_cast_fp16 = matmul(transpose_x = c2p_att_33_transpose_x_0, transpose_y = c2p_att_33_transpose_y_0, x = query_layer_51_cast_fp16, y = var_2030_to_fp16)[name = string("c2p_att_33_cast_fp16")]; bool c2p_att_35_validate_indices_0 = const()[name = string("c2p_att_35_validate_indices_0"), val = bool(false)]; - tensor c2p_att_35_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_271_to_uint16, validate_indices = c2p_att_35_validate_indices_0, x = c2p_att_33_cast_fp16)[name = string("c2p_att_35_cast_fp16_cast_int16")]; - tensor _inversed_2026_y_0_to_fp16 = const()[name = string("_inversed_2026_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor _inversed_2026_cast_fp16 = mul(x = c2p_att_35_cast_fp16_cast_int16, y = _inversed_2026_y_0_to_fp16)[name = string("_inversed_2026_cast_fp16")]; + tensor c2p_att_35_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_288_to_uint16, validate_indices = c2p_att_35_validate_indices_0, x = c2p_att_33_cast_fp16)[name = string("c2p_att_35_cast_fp16_cast_int16")]; + tensor _inversed_2043_y_0_to_fp16 = const()[name = string("_inversed_2043_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor _inversed_2043_cast_fp16 = mul(x = c2p_att_35_cast_fp16_cast_int16, y = _inversed_2043_y_0_to_fp16)[name = string("_inversed_2043_cast_fp16")]; bool p2c_att_33_transpose_x_0 = const()[name = string("p2c_att_33_transpose_x_0"), val = bool(false)]; bool p2c_att_33_transpose_y_0 = const()[name = string("p2c_att_33_transpose_y_0"), val = bool(false)]; - tensor var_2041_to_fp16 = const()[name = string("op_2041_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(339530368)))]; - tensor p2c_att_33_cast_fp16 = matmul(transpose_x = p2c_att_33_transpose_x_0, transpose_y = p2c_att_33_transpose_y_0, x = key_layer_17_cast_fp16, y = var_2041_to_fp16)[name = string("p2c_att_33_cast_fp16")]; - bool var_2049_validate_indices_0 = const()[name = string("op_2049_validate_indices_0"), val = bool(false)]; - tensor var_2049_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_296_to_uint16, validate_indices = var_2049_validate_indices_0, x = p2c_att_33_cast_fp16)[name = string("op_2049_cast_fp16_cast_int16")]; + tensor var_2058_to_fp16 = const()[name = string("op_2058_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(339530368)))]; + tensor p2c_att_33_cast_fp16 = matmul(transpose_x = p2c_att_33_transpose_x_0, transpose_y = p2c_att_33_transpose_y_0, x = key_layer_17_cast_fp16, y = var_2058_to_fp16)[name = string("p2c_att_33_cast_fp16")]; + bool var_2066_validate_indices_0 = const()[name = string("op_2066_validate_indices_0"), val = bool(false)]; + tensor var_2066_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_313_to_uint16, validate_indices = var_2066_validate_indices_0, x = p2c_att_33_cast_fp16)[name = string("op_2066_cast_fp16_cast_int16")]; tensor p2c_att_35_perm_0 = const()[name = string("p2c_att_35_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_2052_y_0_to_fp16 = const()[name = string("_inversed_2052_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor p2c_att_35_cast_fp16 = transpose(perm = p2c_att_35_perm_0, x = var_2049_cast_fp16_cast_int16)[name = string("transpose_27")]; - tensor _inversed_2052_cast_fp16 = mul(x = p2c_att_35_cast_fp16, y = _inversed_2052_y_0_to_fp16)[name = string("_inversed_2052_cast_fp16")]; - tensor rel_att_17_cast_fp16 = add(x = _inversed_2026_cast_fp16, y = _inversed_2052_cast_fp16)[name = string("rel_att_17_cast_fp16")]; + tensor _inversed_2069_y_0_to_fp16 = const()[name = string("_inversed_2069_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor p2c_att_35_cast_fp16 = transpose(perm = p2c_att_35_perm_0, x = var_2066_cast_fp16_cast_int16)[name = string("transpose_27")]; + tensor _inversed_2069_cast_fp16 = mul(x = p2c_att_35_cast_fp16, y = _inversed_2069_y_0_to_fp16)[name = string("_inversed_2069_cast_fp16")]; + tensor rel_att_17_cast_fp16 = add(x = _inversed_2043_cast_fp16, y = _inversed_2069_cast_fp16)[name = string("rel_att_17_cast_fp16")]; tensor attention_scores_51_cast_fp16 = add(x = attention_scores_49_cast_fp16, y = rel_att_17_cast_fp16)[name = string("attention_scores_51_cast_fp16")]; - tensor var_2057 = const()[name = string("op_2057"), val = tensor([-1, 12, 512, 512])]; - tensor attention_scores_53_cast_fp16 = reshape(shape = var_2057, x = attention_scores_51_cast_fp16)[name = string("attention_scores_53_cast_fp16")]; - tensor input_201_cast_fp16 = select(a = var_41_to_fp16, b = attention_scores_53_cast_fp16, cond = var_308)[name = string("input_201_cast_fp16")]; - tensor input_203_cast_fp16 = softmax(axis = var_32, x = input_201_cast_fp16)[name = string("input_203_cast_fp16")]; - tensor var_2066 = const()[name = string("op_2066"), val = tensor([-1, 512, 512])]; - tensor var_2067_cast_fp16 = reshape(shape = var_2066, x = input_203_cast_fp16)[name = string("op_2067_cast_fp16")]; + tensor var_2074 = const()[name = string("op_2074"), val = tensor([-1, 12, 512, 512])]; + tensor attention_scores_53_cast_fp16 = reshape(shape = var_2074, x = attention_scores_51_cast_fp16)[name = string("attention_scores_53_cast_fp16")]; + tensor input_201_cast_fp16 = select(a = var_74_to_fp16, b = attention_scores_53_cast_fp16, cond = var_325)[name = string("input_201_cast_fp16")]; + tensor input_203_cast_fp16 = softmax(axis = var_66, x = input_201_cast_fp16)[name = string("input_203_cast_fp16")]; + tensor var_2083 = const()[name = string("op_2083"), val = tensor([-1, 512, 512])]; + tensor var_2084_cast_fp16 = reshape(shape = var_2083, x = input_203_cast_fp16)[name = string("op_2084_cast_fp16")]; bool context_layer_33_transpose_x_0 = const()[name = string("context_layer_33_transpose_x_0"), val = bool(false)]; bool context_layer_33_transpose_y_0 = const()[name = string("context_layer_33_transpose_y_0"), val = bool(false)]; - tensor context_layer_33_cast_fp16 = matmul(transpose_x = context_layer_33_transpose_x_0, transpose_y = context_layer_33_transpose_y_0, x = var_2067_cast_fp16, y = value_layer_17_cast_fp16)[name = string("context_layer_33_cast_fp16")]; - tensor var_2071 = const()[name = string("op_2071"), val = tensor([-1, 12, 512, 64])]; - tensor var_2072_cast_fp16 = reshape(shape = var_2071, x = context_layer_33_cast_fp16)[name = string("op_2072_cast_fp16")]; - tensor var_2073 = const()[name = string("op_2073"), val = tensor([0, 2, 1, 3])]; - tensor var_2078 = const()[name = string("op_2078"), val = tensor([1, 512, -1])]; - tensor var_2074_cast_fp16 = transpose(perm = var_2073, x = var_2072_cast_fp16)[name = string("transpose_26")]; - tensor input_205_cast_fp16 = reshape(shape = var_2078, x = var_2074_cast_fp16)[name = string("input_205_cast_fp16")]; + tensor context_layer_33_cast_fp16 = matmul(transpose_x = context_layer_33_transpose_x_0, transpose_y = context_layer_33_transpose_y_0, x = var_2084_cast_fp16, y = value_layer_17_cast_fp16)[name = string("context_layer_33_cast_fp16")]; + tensor var_2088 = const()[name = string("op_2088"), val = tensor([-1, 12, 512, 64])]; + tensor var_2089_cast_fp16 = reshape(shape = var_2088, x = context_layer_33_cast_fp16)[name = string("op_2089_cast_fp16")]; + tensor var_2090 = const()[name = string("op_2090"), val = tensor([0, 2, 1, 3])]; + tensor var_2095 = const()[name = string("op_2095"), val = tensor([1, 512, -1])]; + tensor var_2091_cast_fp16 = transpose(perm = var_2090, x = var_2089_cast_fp16)[name = string("transpose_26")]; + tensor input_205_cast_fp16 = reshape(shape = var_2095, x = var_2091_cast_fp16)[name = string("input_205_cast_fp16")]; tensor deberta_encoder_layer_8_attention_output_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_8_attention_output_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(340316864)))]; tensor deberta_encoder_layer_8_attention_output_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_8_attention_output_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(341496576)))]; tensor linear_69_cast_fp16 = linear(bias = deberta_encoder_layer_8_attention_output_dense_bias_to_fp16, weight = deberta_encoder_layer_8_attention_output_dense_weight_to_fp16, x = input_205_cast_fp16)[name = string("linear_69_cast_fp16")]; @@ -834,7 +828,7 @@ program(1.3) tensor input_211_axes_0 = const()[name = string("input_211_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_8_attention_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_8_attention_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(341498176)))]; tensor deberta_encoder_layer_8_attention_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_8_attention_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(341499776)))]; - tensor input_211_cast_fp16 = layer_norm(axes = input_211_axes_0, beta = deberta_encoder_layer_8_attention_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_8_attention_output_LayerNorm_weight_to_fp16, x = input_209_cast_fp16)[name = string("input_211_cast_fp16")]; + tensor input_211_cast_fp16 = layer_norm(axes = input_211_axes_0, beta = deberta_encoder_layer_8_attention_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_8_attention_output_LayerNorm_weight_to_fp16, x = input_209_cast_fp16)[name = string("input_211_cast_fp16")]; tensor deberta_encoder_layer_8_intermediate_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_8_intermediate_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(341501376)))]; tensor deberta_encoder_layer_8_intermediate_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_8_intermediate_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(346220032)))]; tensor linear_70_cast_fp16 = linear(bias = deberta_encoder_layer_8_intermediate_dense_bias_to_fp16, weight = deberta_encoder_layer_8_intermediate_dense_weight_to_fp16, x = input_211_cast_fp16)[name = string("linear_70_cast_fp16")]; @@ -847,76 +841,76 @@ program(1.3) tensor input_221_axes_0 = const()[name = string("input_221_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_8_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_8_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(350946496)))]; tensor deberta_encoder_layer_8_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_8_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(350948096)))]; - tensor input_221_cast_fp16 = layer_norm(axes = input_221_axes_0, beta = deberta_encoder_layer_8_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_8_output_LayerNorm_weight_to_fp16, x = input_219_cast_fp16)[name = string("input_221_cast_fp16")]; + tensor input_221_cast_fp16 = layer_norm(axes = input_221_axes_0, beta = deberta_encoder_layer_8_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_8_output_LayerNorm_weight_to_fp16, x = input_219_cast_fp16)[name = string("input_221_cast_fp16")]; tensor deberta_encoder_layer_9_attention_self_query_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_9_attention_self_query_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(350949696)))]; tensor deberta_encoder_layer_9_attention_self_query_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_9_attention_self_query_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(352129408)))]; tensor linear_72_cast_fp16 = linear(bias = deberta_encoder_layer_9_attention_self_query_proj_bias_to_fp16, weight = deberta_encoder_layer_9_attention_self_query_proj_weight_to_fp16, x = input_221_cast_fp16)[name = string("linear_72_cast_fp16")]; - tensor var_2129 = const()[name = string("op_2129"), val = tensor([1, 512, 12, -1])]; - tensor x_183_cast_fp16 = reshape(shape = var_2129, x = linear_72_cast_fp16)[name = string("x_183_cast_fp16")]; - tensor var_2131 = const()[name = string("op_2131"), val = tensor([0, 2, 1, 3])]; - tensor var_2136 = const()[name = string("op_2136"), val = tensor([-1, 512, 64])]; - tensor var_2132_cast_fp16 = transpose(perm = var_2131, x = x_183_cast_fp16)[name = string("transpose_25")]; - tensor query_layer_57_cast_fp16 = reshape(shape = var_2136, x = var_2132_cast_fp16)[name = string("query_layer_57_cast_fp16")]; + tensor var_2146 = const()[name = string("op_2146"), val = tensor([1, 512, 12, -1])]; + tensor x_183_cast_fp16 = reshape(shape = var_2146, x = linear_72_cast_fp16)[name = string("x_183_cast_fp16")]; + tensor var_2148 = const()[name = string("op_2148"), val = tensor([0, 2, 1, 3])]; + tensor var_2153 = const()[name = string("op_2153"), val = tensor([-1, 512, 64])]; + tensor var_2149_cast_fp16 = transpose(perm = var_2148, x = x_183_cast_fp16)[name = string("transpose_25")]; + tensor query_layer_57_cast_fp16 = reshape(shape = var_2153, x = var_2149_cast_fp16)[name = string("query_layer_57_cast_fp16")]; tensor deberta_encoder_layer_9_attention_self_key_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_9_attention_self_key_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(352131008)))]; tensor deberta_encoder_layer_9_attention_self_key_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_9_attention_self_key_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(353310720)))]; tensor linear_73_cast_fp16 = linear(bias = deberta_encoder_layer_9_attention_self_key_proj_bias_to_fp16, weight = deberta_encoder_layer_9_attention_self_key_proj_weight_to_fp16, x = input_221_cast_fp16)[name = string("linear_73_cast_fp16")]; - tensor var_2143 = const()[name = string("op_2143"), val = tensor([1, 512, 12, -1])]; - tensor x_187_cast_fp16 = reshape(shape = var_2143, x = linear_73_cast_fp16)[name = string("x_187_cast_fp16")]; - tensor var_2145 = const()[name = string("op_2145"), val = tensor([0, 2, 1, 3])]; - tensor var_2150 = const()[name = string("op_2150"), val = tensor([-1, 512, 64])]; - tensor var_2146_cast_fp16 = transpose(perm = var_2145, x = x_187_cast_fp16)[name = string("transpose_24")]; - tensor key_layer_19_cast_fp16 = reshape(shape = var_2150, x = var_2146_cast_fp16)[name = string("key_layer_19_cast_fp16")]; + tensor var_2160 = const()[name = string("op_2160"), val = tensor([1, 512, 12, -1])]; + tensor x_187_cast_fp16 = reshape(shape = var_2160, x = linear_73_cast_fp16)[name = string("x_187_cast_fp16")]; + tensor var_2162 = const()[name = string("op_2162"), val = tensor([0, 2, 1, 3])]; + tensor var_2167 = const()[name = string("op_2167"), val = tensor([-1, 512, 64])]; + tensor var_2163_cast_fp16 = transpose(perm = var_2162, x = x_187_cast_fp16)[name = string("transpose_24")]; + tensor key_layer_19_cast_fp16 = reshape(shape = var_2167, x = var_2163_cast_fp16)[name = string("key_layer_19_cast_fp16")]; tensor deberta_encoder_layer_9_attention_self_value_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_9_attention_self_value_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(353312320)))]; tensor deberta_encoder_layer_9_attention_self_value_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_9_attention_self_value_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(354492032)))]; tensor linear_74_cast_fp16 = linear(bias = deberta_encoder_layer_9_attention_self_value_proj_bias_to_fp16, weight = deberta_encoder_layer_9_attention_self_value_proj_weight_to_fp16, x = input_221_cast_fp16)[name = string("linear_74_cast_fp16")]; - tensor var_2157 = const()[name = string("op_2157"), val = tensor([1, 512, 12, -1])]; - tensor x_191_cast_fp16 = reshape(shape = var_2157, x = linear_74_cast_fp16)[name = string("x_191_cast_fp16")]; - tensor var_2159 = const()[name = string("op_2159"), val = tensor([0, 2, 1, 3])]; - tensor var_2164 = const()[name = string("op_2164"), val = tensor([-1, 512, 64])]; - tensor var_2160_cast_fp16 = transpose(perm = var_2159, x = x_191_cast_fp16)[name = string("transpose_23")]; - tensor value_layer_19_cast_fp16 = reshape(shape = var_2164, x = var_2160_cast_fp16)[name = string("value_layer_19_cast_fp16")]; - tensor var_2174_perm_0 = const()[name = string("op_2174_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_2176_y_0_to_fp16 = const()[name = string("_inversed_2176_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor var_2174_cast_fp16 = transpose(perm = var_2174_perm_0, x = key_layer_19_cast_fp16)[name = string("transpose_22")]; - tensor _inversed_2176_cast_fp16 = mul(x = var_2174_cast_fp16, y = _inversed_2176_y_0_to_fp16)[name = string("_inversed_2176_cast_fp16")]; + tensor var_2174 = const()[name = string("op_2174"), val = tensor([1, 512, 12, -1])]; + tensor x_191_cast_fp16 = reshape(shape = var_2174, x = linear_74_cast_fp16)[name = string("x_191_cast_fp16")]; + tensor var_2176 = const()[name = string("op_2176"), val = tensor([0, 2, 1, 3])]; + tensor var_2181 = const()[name = string("op_2181"), val = tensor([-1, 512, 64])]; + tensor var_2177_cast_fp16 = transpose(perm = var_2176, x = x_191_cast_fp16)[name = string("transpose_23")]; + tensor value_layer_19_cast_fp16 = reshape(shape = var_2181, x = var_2177_cast_fp16)[name = string("value_layer_19_cast_fp16")]; + tensor var_2191_perm_0 = const()[name = string("op_2191_perm_0"), val = tensor([0, -1, -2])]; + tensor _inversed_2193_y_0_to_fp16 = const()[name = string("_inversed_2193_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor var_2191_cast_fp16 = transpose(perm = var_2191_perm_0, x = key_layer_19_cast_fp16)[name = string("transpose_22")]; + tensor _inversed_2193_cast_fp16 = mul(x = var_2191_cast_fp16, y = _inversed_2193_y_0_to_fp16)[name = string("_inversed_2193_cast_fp16")]; bool attention_scores_55_transpose_x_0 = const()[name = string("attention_scores_55_transpose_x_0"), val = bool(false)]; bool attention_scores_55_transpose_y_0 = const()[name = string("attention_scores_55_transpose_y_0"), val = bool(false)]; - tensor attention_scores_55_cast_fp16 = matmul(transpose_x = attention_scores_55_transpose_x_0, transpose_y = attention_scores_55_transpose_y_0, x = query_layer_57_cast_fp16, y = _inversed_2176_cast_fp16)[name = string("attention_scores_55_cast_fp16")]; + tensor attention_scores_55_cast_fp16 = matmul(transpose_x = attention_scores_55_transpose_x_0, transpose_y = attention_scores_55_transpose_y_0, x = query_layer_57_cast_fp16, y = _inversed_2193_cast_fp16)[name = string("attention_scores_55_cast_fp16")]; bool c2p_att_37_transpose_x_0 = const()[name = string("c2p_att_37_transpose_x_0"), val = bool(false)]; bool c2p_att_37_transpose_y_0 = const()[name = string("c2p_att_37_transpose_y_0"), val = bool(false)]; - tensor var_2232_to_fp16 = const()[name = string("op_2232_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(354493632)))]; - tensor c2p_att_37_cast_fp16 = matmul(transpose_x = c2p_att_37_transpose_x_0, transpose_y = c2p_att_37_transpose_y_0, x = query_layer_57_cast_fp16, y = var_2232_to_fp16)[name = string("c2p_att_37_cast_fp16")]; + tensor var_2249_to_fp16 = const()[name = string("op_2249_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(354493632)))]; + tensor c2p_att_37_cast_fp16 = matmul(transpose_x = c2p_att_37_transpose_x_0, transpose_y = c2p_att_37_transpose_y_0, x = query_layer_57_cast_fp16, y = var_2249_to_fp16)[name = string("c2p_att_37_cast_fp16")]; bool c2p_att_39_validate_indices_0 = const()[name = string("c2p_att_39_validate_indices_0"), val = bool(false)]; - tensor c2p_att_39_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_271_to_uint16, validate_indices = c2p_att_39_validate_indices_0, x = c2p_att_37_cast_fp16)[name = string("c2p_att_39_cast_fp16_cast_int16")]; - tensor _inversed_2245_y_0_to_fp16 = const()[name = string("_inversed_2245_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor _inversed_2245_cast_fp16 = mul(x = c2p_att_39_cast_fp16_cast_int16, y = _inversed_2245_y_0_to_fp16)[name = string("_inversed_2245_cast_fp16")]; + tensor c2p_att_39_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_288_to_uint16, validate_indices = c2p_att_39_validate_indices_0, x = c2p_att_37_cast_fp16)[name = string("c2p_att_39_cast_fp16_cast_int16")]; + tensor _inversed_2262_y_0_to_fp16 = const()[name = string("_inversed_2262_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor _inversed_2262_cast_fp16 = mul(x = c2p_att_39_cast_fp16_cast_int16, y = _inversed_2262_y_0_to_fp16)[name = string("_inversed_2262_cast_fp16")]; bool p2c_att_37_transpose_x_0 = const()[name = string("p2c_att_37_transpose_x_0"), val = bool(false)]; bool p2c_att_37_transpose_y_0 = const()[name = string("p2c_att_37_transpose_y_0"), val = bool(false)]; - tensor var_2260_to_fp16 = const()[name = string("op_2260_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(355280128)))]; - tensor p2c_att_37_cast_fp16 = matmul(transpose_x = p2c_att_37_transpose_x_0, transpose_y = p2c_att_37_transpose_y_0, x = key_layer_19_cast_fp16, y = var_2260_to_fp16)[name = string("p2c_att_37_cast_fp16")]; - bool var_2268_validate_indices_0 = const()[name = string("op_2268_validate_indices_0"), val = bool(false)]; - tensor var_2268_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_296_to_uint16, validate_indices = var_2268_validate_indices_0, x = p2c_att_37_cast_fp16)[name = string("op_2268_cast_fp16_cast_int16")]; + tensor var_2277_to_fp16 = const()[name = string("op_2277_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(355280128)))]; + tensor p2c_att_37_cast_fp16 = matmul(transpose_x = p2c_att_37_transpose_x_0, transpose_y = p2c_att_37_transpose_y_0, x = key_layer_19_cast_fp16, y = var_2277_to_fp16)[name = string("p2c_att_37_cast_fp16")]; + bool var_2285_validate_indices_0 = const()[name = string("op_2285_validate_indices_0"), val = bool(false)]; + tensor var_2285_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_313_to_uint16, validate_indices = var_2285_validate_indices_0, x = p2c_att_37_cast_fp16)[name = string("op_2285_cast_fp16_cast_int16")]; tensor p2c_att_39_perm_0 = const()[name = string("p2c_att_39_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_2271_y_0_to_fp16 = const()[name = string("_inversed_2271_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor p2c_att_39_cast_fp16 = transpose(perm = p2c_att_39_perm_0, x = var_2268_cast_fp16_cast_int16)[name = string("transpose_21")]; - tensor _inversed_2271_cast_fp16 = mul(x = p2c_att_39_cast_fp16, y = _inversed_2271_y_0_to_fp16)[name = string("_inversed_2271_cast_fp16")]; - tensor rel_att_19_cast_fp16 = add(x = _inversed_2245_cast_fp16, y = _inversed_2271_cast_fp16)[name = string("rel_att_19_cast_fp16")]; + tensor _inversed_2288_y_0_to_fp16 = const()[name = string("_inversed_2288_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor p2c_att_39_cast_fp16 = transpose(perm = p2c_att_39_perm_0, x = var_2285_cast_fp16_cast_int16)[name = string("transpose_21")]; + tensor _inversed_2288_cast_fp16 = mul(x = p2c_att_39_cast_fp16, y = _inversed_2288_y_0_to_fp16)[name = string("_inversed_2288_cast_fp16")]; + tensor rel_att_19_cast_fp16 = add(x = _inversed_2262_cast_fp16, y = _inversed_2288_cast_fp16)[name = string("rel_att_19_cast_fp16")]; tensor attention_scores_57_cast_fp16 = add(x = attention_scores_55_cast_fp16, y = rel_att_19_cast_fp16)[name = string("attention_scores_57_cast_fp16")]; - tensor var_2276 = const()[name = string("op_2276"), val = tensor([-1, 12, 512, 512])]; - tensor attention_scores_59_cast_fp16 = reshape(shape = var_2276, x = attention_scores_57_cast_fp16)[name = string("attention_scores_59_cast_fp16")]; - tensor input_225_cast_fp16 = select(a = var_41_to_fp16, b = attention_scores_59_cast_fp16, cond = var_308)[name = string("input_225_cast_fp16")]; - tensor input_227_cast_fp16 = softmax(axis = var_32, x = input_225_cast_fp16)[name = string("input_227_cast_fp16")]; - tensor var_2285 = const()[name = string("op_2285"), val = tensor([-1, 512, 512])]; - tensor var_2286_cast_fp16 = reshape(shape = var_2285, x = input_227_cast_fp16)[name = string("op_2286_cast_fp16")]; + tensor var_2293 = const()[name = string("op_2293"), val = tensor([-1, 12, 512, 512])]; + tensor attention_scores_59_cast_fp16 = reshape(shape = var_2293, x = attention_scores_57_cast_fp16)[name = string("attention_scores_59_cast_fp16")]; + tensor input_225_cast_fp16 = select(a = var_74_to_fp16, b = attention_scores_59_cast_fp16, cond = var_325)[name = string("input_225_cast_fp16")]; + tensor input_227_cast_fp16 = softmax(axis = var_66, x = input_225_cast_fp16)[name = string("input_227_cast_fp16")]; + tensor var_2302 = const()[name = string("op_2302"), val = tensor([-1, 512, 512])]; + tensor var_2303_cast_fp16 = reshape(shape = var_2302, x = input_227_cast_fp16)[name = string("op_2303_cast_fp16")]; bool context_layer_37_transpose_x_0 = const()[name = string("context_layer_37_transpose_x_0"), val = bool(false)]; bool context_layer_37_transpose_y_0 = const()[name = string("context_layer_37_transpose_y_0"), val = bool(false)]; - tensor context_layer_37_cast_fp16 = matmul(transpose_x = context_layer_37_transpose_x_0, transpose_y = context_layer_37_transpose_y_0, x = var_2286_cast_fp16, y = value_layer_19_cast_fp16)[name = string("context_layer_37_cast_fp16")]; - tensor var_2290 = const()[name = string("op_2290"), val = tensor([-1, 12, 512, 64])]; - tensor var_2291_cast_fp16 = reshape(shape = var_2290, x = context_layer_37_cast_fp16)[name = string("op_2291_cast_fp16")]; - tensor var_2292 = const()[name = string("op_2292"), val = tensor([0, 2, 1, 3])]; - tensor var_2297 = const()[name = string("op_2297"), val = tensor([1, 512, -1])]; - tensor var_2293_cast_fp16 = transpose(perm = var_2292, x = var_2291_cast_fp16)[name = string("transpose_20")]; - tensor input_229_cast_fp16 = reshape(shape = var_2297, x = var_2293_cast_fp16)[name = string("input_229_cast_fp16")]; + tensor context_layer_37_cast_fp16 = matmul(transpose_x = context_layer_37_transpose_x_0, transpose_y = context_layer_37_transpose_y_0, x = var_2303_cast_fp16, y = value_layer_19_cast_fp16)[name = string("context_layer_37_cast_fp16")]; + tensor var_2307 = const()[name = string("op_2307"), val = tensor([-1, 12, 512, 64])]; + tensor var_2308_cast_fp16 = reshape(shape = var_2307, x = context_layer_37_cast_fp16)[name = string("op_2308_cast_fp16")]; + tensor var_2309 = const()[name = string("op_2309"), val = tensor([0, 2, 1, 3])]; + tensor var_2314 = const()[name = string("op_2314"), val = tensor([1, 512, -1])]; + tensor var_2310_cast_fp16 = transpose(perm = var_2309, x = var_2308_cast_fp16)[name = string("transpose_20")]; + tensor input_229_cast_fp16 = reshape(shape = var_2314, x = var_2310_cast_fp16)[name = string("input_229_cast_fp16")]; tensor deberta_encoder_layer_9_attention_output_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_9_attention_output_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(356066624)))]; tensor deberta_encoder_layer_9_attention_output_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_9_attention_output_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(357246336)))]; tensor linear_77_cast_fp16 = linear(bias = deberta_encoder_layer_9_attention_output_dense_bias_to_fp16, weight = deberta_encoder_layer_9_attention_output_dense_weight_to_fp16, x = input_229_cast_fp16)[name = string("linear_77_cast_fp16")]; @@ -924,7 +918,7 @@ program(1.3) tensor input_235_axes_0 = const()[name = string("input_235_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_9_attention_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_9_attention_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(357247936)))]; tensor deberta_encoder_layer_9_attention_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_9_attention_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(357249536)))]; - tensor input_235_cast_fp16 = layer_norm(axes = input_235_axes_0, beta = deberta_encoder_layer_9_attention_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_9_attention_output_LayerNorm_weight_to_fp16, x = input_233_cast_fp16)[name = string("input_235_cast_fp16")]; + tensor input_235_cast_fp16 = layer_norm(axes = input_235_axes_0, beta = deberta_encoder_layer_9_attention_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_9_attention_output_LayerNorm_weight_to_fp16, x = input_233_cast_fp16)[name = string("input_235_cast_fp16")]; tensor deberta_encoder_layer_9_intermediate_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_9_intermediate_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(357251136)))]; tensor deberta_encoder_layer_9_intermediate_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_9_intermediate_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(361969792)))]; tensor linear_78_cast_fp16 = linear(bias = deberta_encoder_layer_9_intermediate_dense_bias_to_fp16, weight = deberta_encoder_layer_9_intermediate_dense_weight_to_fp16, x = input_235_cast_fp16)[name = string("linear_78_cast_fp16")]; @@ -937,76 +931,76 @@ program(1.3) tensor input_245_axes_0 = const()[name = string("input_245_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_9_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_9_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(366696256)))]; tensor deberta_encoder_layer_9_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_9_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(366697856)))]; - tensor input_245_cast_fp16 = layer_norm(axes = input_245_axes_0, beta = deberta_encoder_layer_9_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_9_output_LayerNorm_weight_to_fp16, x = input_243_cast_fp16)[name = string("input_245_cast_fp16")]; + tensor input_245_cast_fp16 = layer_norm(axes = input_245_axes_0, beta = deberta_encoder_layer_9_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_9_output_LayerNorm_weight_to_fp16, x = input_243_cast_fp16)[name = string("input_245_cast_fp16")]; tensor deberta_encoder_layer_10_attention_self_query_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_10_attention_self_query_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(366699456)))]; tensor deberta_encoder_layer_10_attention_self_query_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_10_attention_self_query_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(367879168)))]; tensor linear_80_cast_fp16 = linear(bias = deberta_encoder_layer_10_attention_self_query_proj_bias_to_fp16, weight = deberta_encoder_layer_10_attention_self_query_proj_weight_to_fp16, x = input_245_cast_fp16)[name = string("linear_80_cast_fp16")]; - tensor var_2348 = const()[name = string("op_2348"), val = tensor([1, 512, 12, -1])]; - tensor x_203_cast_fp16 = reshape(shape = var_2348, x = linear_80_cast_fp16)[name = string("x_203_cast_fp16")]; - tensor var_2350 = const()[name = string("op_2350"), val = tensor([0, 2, 1, 3])]; - tensor var_2355 = const()[name = string("op_2355"), val = tensor([-1, 512, 64])]; - tensor var_2351_cast_fp16 = transpose(perm = var_2350, x = x_203_cast_fp16)[name = string("transpose_19")]; - tensor query_layer_63_cast_fp16 = reshape(shape = var_2355, x = var_2351_cast_fp16)[name = string("query_layer_63_cast_fp16")]; + tensor var_2365 = const()[name = string("op_2365"), val = tensor([1, 512, 12, -1])]; + tensor x_203_cast_fp16 = reshape(shape = var_2365, x = linear_80_cast_fp16)[name = string("x_203_cast_fp16")]; + tensor var_2367 = const()[name = string("op_2367"), val = tensor([0, 2, 1, 3])]; + tensor var_2372 = const()[name = string("op_2372"), val = tensor([-1, 512, 64])]; + tensor var_2368_cast_fp16 = transpose(perm = var_2367, x = x_203_cast_fp16)[name = string("transpose_19")]; + tensor query_layer_63_cast_fp16 = reshape(shape = var_2372, x = var_2368_cast_fp16)[name = string("query_layer_63_cast_fp16")]; tensor deberta_encoder_layer_10_attention_self_key_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_10_attention_self_key_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(367880768)))]; tensor deberta_encoder_layer_10_attention_self_key_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_10_attention_self_key_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(369060480)))]; tensor linear_81_cast_fp16 = linear(bias = deberta_encoder_layer_10_attention_self_key_proj_bias_to_fp16, weight = deberta_encoder_layer_10_attention_self_key_proj_weight_to_fp16, x = input_245_cast_fp16)[name = string("linear_81_cast_fp16")]; - tensor var_2362 = const()[name = string("op_2362"), val = tensor([1, 512, 12, -1])]; - tensor x_207_cast_fp16 = reshape(shape = var_2362, x = linear_81_cast_fp16)[name = string("x_207_cast_fp16")]; - tensor var_2364 = const()[name = string("op_2364"), val = tensor([0, 2, 1, 3])]; - tensor var_2369 = const()[name = string("op_2369"), val = tensor([-1, 512, 64])]; - tensor var_2365_cast_fp16 = transpose(perm = var_2364, x = x_207_cast_fp16)[name = string("transpose_18")]; - tensor key_layer_21_cast_fp16 = reshape(shape = var_2369, x = var_2365_cast_fp16)[name = string("key_layer_21_cast_fp16")]; + tensor var_2379 = const()[name = string("op_2379"), val = tensor([1, 512, 12, -1])]; + tensor x_207_cast_fp16 = reshape(shape = var_2379, x = linear_81_cast_fp16)[name = string("x_207_cast_fp16")]; + tensor var_2381 = const()[name = string("op_2381"), val = tensor([0, 2, 1, 3])]; + tensor var_2386 = const()[name = string("op_2386"), val = tensor([-1, 512, 64])]; + tensor var_2382_cast_fp16 = transpose(perm = var_2381, x = x_207_cast_fp16)[name = string("transpose_18")]; + tensor key_layer_21_cast_fp16 = reshape(shape = var_2386, x = var_2382_cast_fp16)[name = string("key_layer_21_cast_fp16")]; tensor deberta_encoder_layer_10_attention_self_value_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_10_attention_self_value_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(369062080)))]; tensor deberta_encoder_layer_10_attention_self_value_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_10_attention_self_value_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(370241792)))]; tensor linear_82_cast_fp16 = linear(bias = deberta_encoder_layer_10_attention_self_value_proj_bias_to_fp16, weight = deberta_encoder_layer_10_attention_self_value_proj_weight_to_fp16, x = input_245_cast_fp16)[name = string("linear_82_cast_fp16")]; - tensor var_2376 = const()[name = string("op_2376"), val = tensor([1, 512, 12, -1])]; - tensor x_211_cast_fp16 = reshape(shape = var_2376, x = linear_82_cast_fp16)[name = string("x_211_cast_fp16")]; - tensor var_2378 = const()[name = string("op_2378"), val = tensor([0, 2, 1, 3])]; - tensor var_2383 = const()[name = string("op_2383"), val = tensor([-1, 512, 64])]; - tensor var_2379_cast_fp16 = transpose(perm = var_2378, x = x_211_cast_fp16)[name = string("transpose_17")]; - tensor value_layer_21_cast_fp16 = reshape(shape = var_2383, x = var_2379_cast_fp16)[name = string("value_layer_21_cast_fp16")]; - tensor var_2393_perm_0 = const()[name = string("op_2393_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_2395_y_0_to_fp16 = const()[name = string("_inversed_2395_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor var_2393_cast_fp16 = transpose(perm = var_2393_perm_0, x = key_layer_21_cast_fp16)[name = string("transpose_16")]; - tensor _inversed_2395_cast_fp16 = mul(x = var_2393_cast_fp16, y = _inversed_2395_y_0_to_fp16)[name = string("_inversed_2395_cast_fp16")]; + tensor var_2393 = const()[name = string("op_2393"), val = tensor([1, 512, 12, -1])]; + tensor x_211_cast_fp16 = reshape(shape = var_2393, x = linear_82_cast_fp16)[name = string("x_211_cast_fp16")]; + tensor var_2395 = const()[name = string("op_2395"), val = tensor([0, 2, 1, 3])]; + tensor var_2400 = const()[name = string("op_2400"), val = tensor([-1, 512, 64])]; + tensor var_2396_cast_fp16 = transpose(perm = var_2395, x = x_211_cast_fp16)[name = string("transpose_17")]; + tensor value_layer_21_cast_fp16 = reshape(shape = var_2400, x = var_2396_cast_fp16)[name = string("value_layer_21_cast_fp16")]; + tensor var_2410_perm_0 = const()[name = string("op_2410_perm_0"), val = tensor([0, -1, -2])]; + tensor _inversed_2412_y_0_to_fp16 = const()[name = string("_inversed_2412_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor var_2410_cast_fp16 = transpose(perm = var_2410_perm_0, x = key_layer_21_cast_fp16)[name = string("transpose_16")]; + tensor _inversed_2412_cast_fp16 = mul(x = var_2410_cast_fp16, y = _inversed_2412_y_0_to_fp16)[name = string("_inversed_2412_cast_fp16")]; bool attention_scores_61_transpose_x_0 = const()[name = string("attention_scores_61_transpose_x_0"), val = bool(false)]; bool attention_scores_61_transpose_y_0 = const()[name = string("attention_scores_61_transpose_y_0"), val = bool(false)]; - tensor attention_scores_61_cast_fp16 = matmul(transpose_x = attention_scores_61_transpose_x_0, transpose_y = attention_scores_61_transpose_y_0, x = query_layer_63_cast_fp16, y = _inversed_2395_cast_fp16)[name = string("attention_scores_61_cast_fp16")]; + tensor attention_scores_61_cast_fp16 = matmul(transpose_x = attention_scores_61_transpose_x_0, transpose_y = attention_scores_61_transpose_y_0, x = query_layer_63_cast_fp16, y = _inversed_2412_cast_fp16)[name = string("attention_scores_61_cast_fp16")]; bool c2p_att_41_transpose_x_0 = const()[name = string("c2p_att_41_transpose_x_0"), val = bool(false)]; bool c2p_att_41_transpose_y_0 = const()[name = string("c2p_att_41_transpose_y_0"), val = bool(false)]; - tensor var_2451_to_fp16 = const()[name = string("op_2451_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(370243392)))]; - tensor c2p_att_41_cast_fp16 = matmul(transpose_x = c2p_att_41_transpose_x_0, transpose_y = c2p_att_41_transpose_y_0, x = query_layer_63_cast_fp16, y = var_2451_to_fp16)[name = string("c2p_att_41_cast_fp16")]; + tensor var_2468_to_fp16 = const()[name = string("op_2468_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(370243392)))]; + tensor c2p_att_41_cast_fp16 = matmul(transpose_x = c2p_att_41_transpose_x_0, transpose_y = c2p_att_41_transpose_y_0, x = query_layer_63_cast_fp16, y = var_2468_to_fp16)[name = string("c2p_att_41_cast_fp16")]; bool c2p_att_43_validate_indices_0 = const()[name = string("c2p_att_43_validate_indices_0"), val = bool(false)]; - tensor c2p_att_43_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_271_to_uint16, validate_indices = c2p_att_43_validate_indices_0, x = c2p_att_41_cast_fp16)[name = string("c2p_att_43_cast_fp16_cast_int16")]; - tensor _inversed_2464_y_0_to_fp16 = const()[name = string("_inversed_2464_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor _inversed_2464_cast_fp16 = mul(x = c2p_att_43_cast_fp16_cast_int16, y = _inversed_2464_y_0_to_fp16)[name = string("_inversed_2464_cast_fp16")]; + tensor c2p_att_43_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_288_to_uint16, validate_indices = c2p_att_43_validate_indices_0, x = c2p_att_41_cast_fp16)[name = string("c2p_att_43_cast_fp16_cast_int16")]; + tensor _inversed_2481_y_0_to_fp16 = const()[name = string("_inversed_2481_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor _inversed_2481_cast_fp16 = mul(x = c2p_att_43_cast_fp16_cast_int16, y = _inversed_2481_y_0_to_fp16)[name = string("_inversed_2481_cast_fp16")]; bool p2c_att_41_transpose_x_0 = const()[name = string("p2c_att_41_transpose_x_0"), val = bool(false)]; bool p2c_att_41_transpose_y_0 = const()[name = string("p2c_att_41_transpose_y_0"), val = bool(false)]; - tensor var_2479_to_fp16 = const()[name = string("op_2479_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(371029888)))]; - tensor p2c_att_41_cast_fp16 = matmul(transpose_x = p2c_att_41_transpose_x_0, transpose_y = p2c_att_41_transpose_y_0, x = key_layer_21_cast_fp16, y = var_2479_to_fp16)[name = string("p2c_att_41_cast_fp16")]; - bool var_2487_validate_indices_0 = const()[name = string("op_2487_validate_indices_0"), val = bool(false)]; - tensor var_2487_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_296_to_uint16, validate_indices = var_2487_validate_indices_0, x = p2c_att_41_cast_fp16)[name = string("op_2487_cast_fp16_cast_int16")]; + tensor var_2496_to_fp16 = const()[name = string("op_2496_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(371029888)))]; + tensor p2c_att_41_cast_fp16 = matmul(transpose_x = p2c_att_41_transpose_x_0, transpose_y = p2c_att_41_transpose_y_0, x = key_layer_21_cast_fp16, y = var_2496_to_fp16)[name = string("p2c_att_41_cast_fp16")]; + bool var_2504_validate_indices_0 = const()[name = string("op_2504_validate_indices_0"), val = bool(false)]; + tensor var_2504_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_313_to_uint16, validate_indices = var_2504_validate_indices_0, x = p2c_att_41_cast_fp16)[name = string("op_2504_cast_fp16_cast_int16")]; tensor p2c_att_43_perm_0 = const()[name = string("p2c_att_43_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_2490_y_0_to_fp16 = const()[name = string("_inversed_2490_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor p2c_att_43_cast_fp16 = transpose(perm = p2c_att_43_perm_0, x = var_2487_cast_fp16_cast_int16)[name = string("transpose_15")]; - tensor _inversed_2490_cast_fp16 = mul(x = p2c_att_43_cast_fp16, y = _inversed_2490_y_0_to_fp16)[name = string("_inversed_2490_cast_fp16")]; - tensor rel_att_21_cast_fp16 = add(x = _inversed_2464_cast_fp16, y = _inversed_2490_cast_fp16)[name = string("rel_att_21_cast_fp16")]; + tensor _inversed_2507_y_0_to_fp16 = const()[name = string("_inversed_2507_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor p2c_att_43_cast_fp16 = transpose(perm = p2c_att_43_perm_0, x = var_2504_cast_fp16_cast_int16)[name = string("transpose_15")]; + tensor _inversed_2507_cast_fp16 = mul(x = p2c_att_43_cast_fp16, y = _inversed_2507_y_0_to_fp16)[name = string("_inversed_2507_cast_fp16")]; + tensor rel_att_21_cast_fp16 = add(x = _inversed_2481_cast_fp16, y = _inversed_2507_cast_fp16)[name = string("rel_att_21_cast_fp16")]; tensor attention_scores_63_cast_fp16 = add(x = attention_scores_61_cast_fp16, y = rel_att_21_cast_fp16)[name = string("attention_scores_63_cast_fp16")]; - tensor var_2495 = const()[name = string("op_2495"), val = tensor([-1, 12, 512, 512])]; - tensor attention_scores_65_cast_fp16 = reshape(shape = var_2495, x = attention_scores_63_cast_fp16)[name = string("attention_scores_65_cast_fp16")]; - tensor input_249_cast_fp16 = select(a = var_41_to_fp16, b = attention_scores_65_cast_fp16, cond = var_308)[name = string("input_249_cast_fp16")]; - tensor input_251_cast_fp16 = softmax(axis = var_32, x = input_249_cast_fp16)[name = string("input_251_cast_fp16")]; - tensor var_2504 = const()[name = string("op_2504"), val = tensor([-1, 512, 512])]; - tensor var_2505_cast_fp16 = reshape(shape = var_2504, x = input_251_cast_fp16)[name = string("op_2505_cast_fp16")]; + tensor var_2512 = const()[name = string("op_2512"), val = tensor([-1, 12, 512, 512])]; + tensor attention_scores_65_cast_fp16 = reshape(shape = var_2512, x = attention_scores_63_cast_fp16)[name = string("attention_scores_65_cast_fp16")]; + tensor input_249_cast_fp16 = select(a = var_74_to_fp16, b = attention_scores_65_cast_fp16, cond = var_325)[name = string("input_249_cast_fp16")]; + tensor input_251_cast_fp16 = softmax(axis = var_66, x = input_249_cast_fp16)[name = string("input_251_cast_fp16")]; + tensor var_2521 = const()[name = string("op_2521"), val = tensor([-1, 512, 512])]; + tensor var_2522_cast_fp16 = reshape(shape = var_2521, x = input_251_cast_fp16)[name = string("op_2522_cast_fp16")]; bool context_layer_41_transpose_x_0 = const()[name = string("context_layer_41_transpose_x_0"), val = bool(false)]; bool context_layer_41_transpose_y_0 = const()[name = string("context_layer_41_transpose_y_0"), val = bool(false)]; - tensor context_layer_41_cast_fp16 = matmul(transpose_x = context_layer_41_transpose_x_0, transpose_y = context_layer_41_transpose_y_0, x = var_2505_cast_fp16, y = value_layer_21_cast_fp16)[name = string("context_layer_41_cast_fp16")]; - tensor var_2509 = const()[name = string("op_2509"), val = tensor([-1, 12, 512, 64])]; - tensor var_2510_cast_fp16 = reshape(shape = var_2509, x = context_layer_41_cast_fp16)[name = string("op_2510_cast_fp16")]; - tensor var_2511 = const()[name = string("op_2511"), val = tensor([0, 2, 1, 3])]; - tensor var_2516 = const()[name = string("op_2516"), val = tensor([1, 512, -1])]; - tensor var_2512_cast_fp16 = transpose(perm = var_2511, x = var_2510_cast_fp16)[name = string("transpose_14")]; - tensor input_253_cast_fp16 = reshape(shape = var_2516, x = var_2512_cast_fp16)[name = string("input_253_cast_fp16")]; + tensor context_layer_41_cast_fp16 = matmul(transpose_x = context_layer_41_transpose_x_0, transpose_y = context_layer_41_transpose_y_0, x = var_2522_cast_fp16, y = value_layer_21_cast_fp16)[name = string("context_layer_41_cast_fp16")]; + tensor var_2526 = const()[name = string("op_2526"), val = tensor([-1, 12, 512, 64])]; + tensor var_2527_cast_fp16 = reshape(shape = var_2526, x = context_layer_41_cast_fp16)[name = string("op_2527_cast_fp16")]; + tensor var_2528 = const()[name = string("op_2528"), val = tensor([0, 2, 1, 3])]; + tensor var_2533 = const()[name = string("op_2533"), val = tensor([1, 512, -1])]; + tensor var_2529_cast_fp16 = transpose(perm = var_2528, x = var_2527_cast_fp16)[name = string("transpose_14")]; + tensor input_253_cast_fp16 = reshape(shape = var_2533, x = var_2529_cast_fp16)[name = string("input_253_cast_fp16")]; tensor deberta_encoder_layer_10_attention_output_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_10_attention_output_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(371816384)))]; tensor deberta_encoder_layer_10_attention_output_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_10_attention_output_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(372996096)))]; tensor linear_85_cast_fp16 = linear(bias = deberta_encoder_layer_10_attention_output_dense_bias_to_fp16, weight = deberta_encoder_layer_10_attention_output_dense_weight_to_fp16, x = input_253_cast_fp16)[name = string("linear_85_cast_fp16")]; @@ -1014,7 +1008,7 @@ program(1.3) tensor input_259_axes_0 = const()[name = string("input_259_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_10_attention_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_10_attention_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(372997696)))]; tensor deberta_encoder_layer_10_attention_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_10_attention_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(372999296)))]; - tensor input_259_cast_fp16 = layer_norm(axes = input_259_axes_0, beta = deberta_encoder_layer_10_attention_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_10_attention_output_LayerNorm_weight_to_fp16, x = input_257_cast_fp16)[name = string("input_259_cast_fp16")]; + tensor input_259_cast_fp16 = layer_norm(axes = input_259_axes_0, beta = deberta_encoder_layer_10_attention_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_10_attention_output_LayerNorm_weight_to_fp16, x = input_257_cast_fp16)[name = string("input_259_cast_fp16")]; tensor deberta_encoder_layer_10_intermediate_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_10_intermediate_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(373000896)))]; tensor deberta_encoder_layer_10_intermediate_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_10_intermediate_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(377719552)))]; tensor linear_86_cast_fp16 = linear(bias = deberta_encoder_layer_10_intermediate_dense_bias_to_fp16, weight = deberta_encoder_layer_10_intermediate_dense_weight_to_fp16, x = input_259_cast_fp16)[name = string("linear_86_cast_fp16")]; @@ -1027,76 +1021,76 @@ program(1.3) tensor input_269_axes_0 = const()[name = string("input_269_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_10_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_10_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(382446016)))]; tensor deberta_encoder_layer_10_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_10_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(382447616)))]; - tensor input_269_cast_fp16 = layer_norm(axes = input_269_axes_0, beta = deberta_encoder_layer_10_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_10_output_LayerNorm_weight_to_fp16, x = input_267_cast_fp16)[name = string("input_269_cast_fp16")]; + tensor input_269_cast_fp16 = layer_norm(axes = input_269_axes_0, beta = deberta_encoder_layer_10_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_10_output_LayerNorm_weight_to_fp16, x = input_267_cast_fp16)[name = string("input_269_cast_fp16")]; tensor deberta_encoder_layer_11_attention_self_query_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_11_attention_self_query_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(382449216)))]; tensor deberta_encoder_layer_11_attention_self_query_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_11_attention_self_query_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(383628928)))]; tensor linear_88_cast_fp16 = linear(bias = deberta_encoder_layer_11_attention_self_query_proj_bias_to_fp16, weight = deberta_encoder_layer_11_attention_self_query_proj_weight_to_fp16, x = input_269_cast_fp16)[name = string("linear_88_cast_fp16")]; - tensor var_2567 = const()[name = string("op_2567"), val = tensor([1, 512, 12, -1])]; - tensor x_223_cast_fp16 = reshape(shape = var_2567, x = linear_88_cast_fp16)[name = string("x_223_cast_fp16")]; - tensor var_2569 = const()[name = string("op_2569"), val = tensor([0, 2, 1, 3])]; - tensor var_2574 = const()[name = string("op_2574"), val = tensor([-1, 512, 64])]; - tensor var_2570_cast_fp16 = transpose(perm = var_2569, x = x_223_cast_fp16)[name = string("transpose_13")]; - tensor query_layer_69_cast_fp16 = reshape(shape = var_2574, x = var_2570_cast_fp16)[name = string("query_layer_69_cast_fp16")]; + tensor var_2584 = const()[name = string("op_2584"), val = tensor([1, 512, 12, -1])]; + tensor x_223_cast_fp16 = reshape(shape = var_2584, x = linear_88_cast_fp16)[name = string("x_223_cast_fp16")]; + tensor var_2586 = const()[name = string("op_2586"), val = tensor([0, 2, 1, 3])]; + tensor var_2591 = const()[name = string("op_2591"), val = tensor([-1, 512, 64])]; + tensor var_2587_cast_fp16 = transpose(perm = var_2586, x = x_223_cast_fp16)[name = string("transpose_13")]; + tensor query_layer_69_cast_fp16 = reshape(shape = var_2591, x = var_2587_cast_fp16)[name = string("query_layer_69_cast_fp16")]; tensor deberta_encoder_layer_11_attention_self_key_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_11_attention_self_key_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(383630528)))]; tensor deberta_encoder_layer_11_attention_self_key_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_11_attention_self_key_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(384810240)))]; tensor linear_89_cast_fp16 = linear(bias = deberta_encoder_layer_11_attention_self_key_proj_bias_to_fp16, weight = deberta_encoder_layer_11_attention_self_key_proj_weight_to_fp16, x = input_269_cast_fp16)[name = string("linear_89_cast_fp16")]; - tensor var_2581 = const()[name = string("op_2581"), val = tensor([1, 512, 12, -1])]; - tensor x_227_cast_fp16 = reshape(shape = var_2581, x = linear_89_cast_fp16)[name = string("x_227_cast_fp16")]; - tensor var_2583 = const()[name = string("op_2583"), val = tensor([0, 2, 1, 3])]; - tensor var_2588 = const()[name = string("op_2588"), val = tensor([-1, 512, 64])]; - tensor var_2584_cast_fp16 = transpose(perm = var_2583, x = x_227_cast_fp16)[name = string("transpose_12")]; - tensor key_layer_cast_fp16 = reshape(shape = var_2588, x = var_2584_cast_fp16)[name = string("key_layer_cast_fp16")]; + tensor var_2598 = const()[name = string("op_2598"), val = tensor([1, 512, 12, -1])]; + tensor x_227_cast_fp16 = reshape(shape = var_2598, x = linear_89_cast_fp16)[name = string("x_227_cast_fp16")]; + tensor var_2600 = const()[name = string("op_2600"), val = tensor([0, 2, 1, 3])]; + tensor var_2605 = const()[name = string("op_2605"), val = tensor([-1, 512, 64])]; + tensor var_2601_cast_fp16 = transpose(perm = var_2600, x = x_227_cast_fp16)[name = string("transpose_12")]; + tensor key_layer_cast_fp16 = reshape(shape = var_2605, x = var_2601_cast_fp16)[name = string("key_layer_cast_fp16")]; tensor deberta_encoder_layer_11_attention_self_value_proj_weight_to_fp16 = const()[name = string("deberta_encoder_layer_11_attention_self_value_proj_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(384811840)))]; tensor deberta_encoder_layer_11_attention_self_value_proj_bias_to_fp16 = const()[name = string("deberta_encoder_layer_11_attention_self_value_proj_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(385991552)))]; tensor linear_90_cast_fp16 = linear(bias = deberta_encoder_layer_11_attention_self_value_proj_bias_to_fp16, weight = deberta_encoder_layer_11_attention_self_value_proj_weight_to_fp16, x = input_269_cast_fp16)[name = string("linear_90_cast_fp16")]; - tensor var_2595 = const()[name = string("op_2595"), val = tensor([1, 512, 12, -1])]; - tensor x_231_cast_fp16 = reshape(shape = var_2595, x = linear_90_cast_fp16)[name = string("x_231_cast_fp16")]; - tensor var_2597 = const()[name = string("op_2597"), val = tensor([0, 2, 1, 3])]; - tensor var_2602 = const()[name = string("op_2602"), val = tensor([-1, 512, 64])]; - tensor var_2598_cast_fp16 = transpose(perm = var_2597, x = x_231_cast_fp16)[name = string("transpose_11")]; - tensor value_layer_cast_fp16 = reshape(shape = var_2602, x = var_2598_cast_fp16)[name = string("value_layer_cast_fp16")]; - tensor var_2612_perm_0 = const()[name = string("op_2612_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_2614_y_0_to_fp16 = const()[name = string("_inversed_2614_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor var_2612_cast_fp16 = transpose(perm = var_2612_perm_0, x = key_layer_cast_fp16)[name = string("transpose_10")]; - tensor _inversed_2614_cast_fp16 = mul(x = var_2612_cast_fp16, y = _inversed_2614_y_0_to_fp16)[name = string("_inversed_2614_cast_fp16")]; + tensor var_2612 = const()[name = string("op_2612"), val = tensor([1, 512, 12, -1])]; + tensor x_231_cast_fp16 = reshape(shape = var_2612, x = linear_90_cast_fp16)[name = string("x_231_cast_fp16")]; + tensor var_2614 = const()[name = string("op_2614"), val = tensor([0, 2, 1, 3])]; + tensor var_2619 = const()[name = string("op_2619"), val = tensor([-1, 512, 64])]; + tensor var_2615_cast_fp16 = transpose(perm = var_2614, x = x_231_cast_fp16)[name = string("transpose_11")]; + tensor value_layer_cast_fp16 = reshape(shape = var_2619, x = var_2615_cast_fp16)[name = string("value_layer_cast_fp16")]; + tensor var_2629_perm_0 = const()[name = string("op_2629_perm_0"), val = tensor([0, -1, -2])]; + tensor _inversed_2631_y_0_to_fp16 = const()[name = string("_inversed_2631_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor var_2629_cast_fp16 = transpose(perm = var_2629_perm_0, x = key_layer_cast_fp16)[name = string("transpose_10")]; + tensor _inversed_2631_cast_fp16 = mul(x = var_2629_cast_fp16, y = _inversed_2631_y_0_to_fp16)[name = string("_inversed_2631_cast_fp16")]; bool attention_scores_67_transpose_x_0 = const()[name = string("attention_scores_67_transpose_x_0"), val = bool(false)]; bool attention_scores_67_transpose_y_0 = const()[name = string("attention_scores_67_transpose_y_0"), val = bool(false)]; - tensor attention_scores_67_cast_fp16 = matmul(transpose_x = attention_scores_67_transpose_x_0, transpose_y = attention_scores_67_transpose_y_0, x = query_layer_69_cast_fp16, y = _inversed_2614_cast_fp16)[name = string("attention_scores_67_cast_fp16")]; + tensor attention_scores_67_cast_fp16 = matmul(transpose_x = attention_scores_67_transpose_x_0, transpose_y = attention_scores_67_transpose_y_0, x = query_layer_69_cast_fp16, y = _inversed_2631_cast_fp16)[name = string("attention_scores_67_cast_fp16")]; bool c2p_att_45_transpose_x_0 = const()[name = string("c2p_att_45_transpose_x_0"), val = bool(false)]; bool c2p_att_45_transpose_y_0 = const()[name = string("c2p_att_45_transpose_y_0"), val = bool(false)]; - tensor var_2670_to_fp16 = const()[name = string("op_2670_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(385993152)))]; - tensor c2p_att_45_cast_fp16 = matmul(transpose_x = c2p_att_45_transpose_x_0, transpose_y = c2p_att_45_transpose_y_0, x = query_layer_69_cast_fp16, y = var_2670_to_fp16)[name = string("c2p_att_45_cast_fp16")]; + tensor var_2687_to_fp16 = const()[name = string("op_2687_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(385993152)))]; + tensor c2p_att_45_cast_fp16 = matmul(transpose_x = c2p_att_45_transpose_x_0, transpose_y = c2p_att_45_transpose_y_0, x = query_layer_69_cast_fp16, y = var_2687_to_fp16)[name = string("c2p_att_45_cast_fp16")]; bool c2p_att_validate_indices_0 = const()[name = string("c2p_att_validate_indices_0"), val = bool(false)]; - tensor c2p_att_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_271_to_uint16, validate_indices = c2p_att_validate_indices_0, x = c2p_att_45_cast_fp16)[name = string("c2p_att_cast_fp16_cast_int16")]; - tensor _inversed_2683_y_0_to_fp16 = const()[name = string("_inversed_2683_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor _inversed_2683_cast_fp16 = mul(x = c2p_att_cast_fp16_cast_int16, y = _inversed_2683_y_0_to_fp16)[name = string("_inversed_2683_cast_fp16")]; + tensor c2p_att_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_288_to_uint16, validate_indices = c2p_att_validate_indices_0, x = c2p_att_45_cast_fp16)[name = string("c2p_att_cast_fp16_cast_int16")]; + tensor _inversed_2700_y_0_to_fp16 = const()[name = string("_inversed_2700_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor _inversed_2700_cast_fp16 = mul(x = c2p_att_cast_fp16_cast_int16, y = _inversed_2700_y_0_to_fp16)[name = string("_inversed_2700_cast_fp16")]; bool p2c_att_45_transpose_x_0 = const()[name = string("p2c_att_45_transpose_x_0"), val = bool(false)]; bool p2c_att_45_transpose_y_0 = const()[name = string("p2c_att_45_transpose_y_0"), val = bool(false)]; - tensor var_2698_to_fp16 = const()[name = string("op_2698_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(386779648)))]; - tensor p2c_att_45_cast_fp16 = matmul(transpose_x = p2c_att_45_transpose_x_0, transpose_y = p2c_att_45_transpose_y_0, x = key_layer_cast_fp16, y = var_2698_to_fp16)[name = string("p2c_att_45_cast_fp16")]; - bool var_2706_validate_indices_0 = const()[name = string("op_2706_validate_indices_0"), val = bool(false)]; - tensor var_2706_cast_fp16_cast_int16 = gather_along_axis(axis = var_32, indices = var_296_to_uint16, validate_indices = var_2706_validate_indices_0, x = p2c_att_45_cast_fp16)[name = string("op_2706_cast_fp16_cast_int16")]; + tensor var_2715_to_fp16 = const()[name = string("op_2715_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(386779648)))]; + tensor p2c_att_45_cast_fp16 = matmul(transpose_x = p2c_att_45_transpose_x_0, transpose_y = p2c_att_45_transpose_y_0, x = key_layer_cast_fp16, y = var_2715_to_fp16)[name = string("p2c_att_45_cast_fp16")]; + bool var_2723_validate_indices_0 = const()[name = string("op_2723_validate_indices_0"), val = bool(false)]; + tensor var_2723_cast_fp16_cast_int16 = gather_along_axis(axis = var_66, indices = var_313_to_uint16, validate_indices = var_2723_validate_indices_0, x = p2c_att_45_cast_fp16)[name = string("op_2723_cast_fp16_cast_int16")]; tensor p2c_att_perm_0 = const()[name = string("p2c_att_perm_0"), val = tensor([0, -1, -2])]; - tensor _inversed_2709_y_0_to_fp16 = const()[name = string("_inversed_2709_y_0_to_fp16"), val = tensor([0x1.278p-4])]; - tensor p2c_att_cast_fp16 = transpose(perm = p2c_att_perm_0, x = var_2706_cast_fp16_cast_int16)[name = string("transpose_9")]; - tensor _inversed_2709_cast_fp16 = mul(x = p2c_att_cast_fp16, y = _inversed_2709_y_0_to_fp16)[name = string("_inversed_2709_cast_fp16")]; - tensor rel_att_cast_fp16 = add(x = _inversed_2683_cast_fp16, y = _inversed_2709_cast_fp16)[name = string("rel_att_cast_fp16")]; + tensor _inversed_2726_y_0_to_fp16 = const()[name = string("_inversed_2726_y_0_to_fp16"), val = tensor([0x1.278p-4])]; + tensor p2c_att_cast_fp16 = transpose(perm = p2c_att_perm_0, x = var_2723_cast_fp16_cast_int16)[name = string("transpose_9")]; + tensor _inversed_2726_cast_fp16 = mul(x = p2c_att_cast_fp16, y = _inversed_2726_y_0_to_fp16)[name = string("_inversed_2726_cast_fp16")]; + tensor rel_att_cast_fp16 = add(x = _inversed_2700_cast_fp16, y = _inversed_2726_cast_fp16)[name = string("rel_att_cast_fp16")]; tensor attention_scores_69_cast_fp16 = add(x = attention_scores_67_cast_fp16, y = rel_att_cast_fp16)[name = string("attention_scores_69_cast_fp16")]; - tensor var_2714 = const()[name = string("op_2714"), val = tensor([-1, 12, 512, 512])]; - tensor attention_scores_cast_fp16 = reshape(shape = var_2714, x = attention_scores_69_cast_fp16)[name = string("attention_scores_cast_fp16")]; - tensor input_273_cast_fp16 = select(a = var_41_to_fp16, b = attention_scores_cast_fp16, cond = var_308)[name = string("input_273_cast_fp16")]; - tensor input_275_cast_fp16 = softmax(axis = var_32, x = input_273_cast_fp16)[name = string("input_275_cast_fp16")]; - tensor var_2723 = const()[name = string("op_2723"), val = tensor([-1, 512, 512])]; - tensor var_2724_cast_fp16 = reshape(shape = var_2723, x = input_275_cast_fp16)[name = string("op_2724_cast_fp16")]; + tensor var_2731 = const()[name = string("op_2731"), val = tensor([-1, 12, 512, 512])]; + tensor attention_scores_cast_fp16 = reshape(shape = var_2731, x = attention_scores_69_cast_fp16)[name = string("attention_scores_cast_fp16")]; + tensor input_273_cast_fp16 = select(a = var_74_to_fp16, b = attention_scores_cast_fp16, cond = var_325)[name = string("input_273_cast_fp16")]; + tensor input_275_cast_fp16 = softmax(axis = var_66, x = input_273_cast_fp16)[name = string("input_275_cast_fp16")]; + tensor var_2740 = const()[name = string("op_2740"), val = tensor([-1, 512, 512])]; + tensor var_2741_cast_fp16 = reshape(shape = var_2740, x = input_275_cast_fp16)[name = string("op_2741_cast_fp16")]; bool context_layer_45_transpose_x_0 = const()[name = string("context_layer_45_transpose_x_0"), val = bool(false)]; bool context_layer_45_transpose_y_0 = const()[name = string("context_layer_45_transpose_y_0"), val = bool(false)]; - tensor context_layer_45_cast_fp16 = matmul(transpose_x = context_layer_45_transpose_x_0, transpose_y = context_layer_45_transpose_y_0, x = var_2724_cast_fp16, y = value_layer_cast_fp16)[name = string("context_layer_45_cast_fp16")]; - tensor var_2728 = const()[name = string("op_2728"), val = tensor([-1, 12, 512, 64])]; - tensor var_2729_cast_fp16 = reshape(shape = var_2728, x = context_layer_45_cast_fp16)[name = string("op_2729_cast_fp16")]; - tensor var_2730 = const()[name = string("op_2730"), val = tensor([0, 2, 1, 3])]; - tensor var_2735 = const()[name = string("op_2735"), val = tensor([1, 512, -1])]; - tensor var_2731_cast_fp16 = transpose(perm = var_2730, x = var_2729_cast_fp16)[name = string("transpose_8")]; - tensor input_277_cast_fp16 = reshape(shape = var_2735, x = var_2731_cast_fp16)[name = string("input_277_cast_fp16")]; + tensor context_layer_45_cast_fp16 = matmul(transpose_x = context_layer_45_transpose_x_0, transpose_y = context_layer_45_transpose_y_0, x = var_2741_cast_fp16, y = value_layer_cast_fp16)[name = string("context_layer_45_cast_fp16")]; + tensor var_2745 = const()[name = string("op_2745"), val = tensor([-1, 12, 512, 64])]; + tensor var_2746_cast_fp16 = reshape(shape = var_2745, x = context_layer_45_cast_fp16)[name = string("op_2746_cast_fp16")]; + tensor var_2747 = const()[name = string("op_2747"), val = tensor([0, 2, 1, 3])]; + tensor var_2752 = const()[name = string("op_2752"), val = tensor([1, 512, -1])]; + tensor var_2748_cast_fp16 = transpose(perm = var_2747, x = var_2746_cast_fp16)[name = string("transpose_8")]; + tensor input_277_cast_fp16 = reshape(shape = var_2752, x = var_2748_cast_fp16)[name = string("input_277_cast_fp16")]; tensor deberta_encoder_layer_11_attention_output_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_11_attention_output_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(387566144)))]; tensor deberta_encoder_layer_11_attention_output_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_11_attention_output_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(388745856)))]; tensor linear_93_cast_fp16 = linear(bias = deberta_encoder_layer_11_attention_output_dense_bias_to_fp16, weight = deberta_encoder_layer_11_attention_output_dense_weight_to_fp16, x = input_277_cast_fp16)[name = string("linear_93_cast_fp16")]; @@ -1104,7 +1098,7 @@ program(1.3) tensor input_283_axes_0 = const()[name = string("input_283_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_11_attention_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_11_attention_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(388747456)))]; tensor deberta_encoder_layer_11_attention_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_11_attention_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(388749056)))]; - tensor input_283_cast_fp16 = layer_norm(axes = input_283_axes_0, beta = deberta_encoder_layer_11_attention_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_11_attention_output_LayerNorm_weight_to_fp16, x = input_281_cast_fp16)[name = string("input_283_cast_fp16")]; + tensor input_283_cast_fp16 = layer_norm(axes = input_283_axes_0, beta = deberta_encoder_layer_11_attention_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_11_attention_output_LayerNorm_weight_to_fp16, x = input_281_cast_fp16)[name = string("input_283_cast_fp16")]; tensor deberta_encoder_layer_11_intermediate_dense_weight_to_fp16 = const()[name = string("deberta_encoder_layer_11_intermediate_dense_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(388750656)))]; tensor deberta_encoder_layer_11_intermediate_dense_bias_to_fp16 = const()[name = string("deberta_encoder_layer_11_intermediate_dense_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(393469312)))]; tensor linear_94_cast_fp16 = linear(bias = deberta_encoder_layer_11_intermediate_dense_bias_to_fp16, weight = deberta_encoder_layer_11_intermediate_dense_weight_to_fp16, x = input_283_cast_fp16)[name = string("linear_94_cast_fp16")]; @@ -1117,57 +1111,57 @@ program(1.3) tensor token_embeds_axes_0 = const()[name = string("token_embeds_axes_0"), val = tensor([-1])]; tensor deberta_encoder_layer_11_output_LayerNorm_weight_to_fp16 = const()[name = string("deberta_encoder_layer_11_output_LayerNorm_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(398195776)))]; tensor deberta_encoder_layer_11_output_LayerNorm_bias_to_fp16 = const()[name = string("deberta_encoder_layer_11_output_LayerNorm_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(398197376)))]; - tensor token_embeds_cast_fp16 = layer_norm(axes = token_embeds_axes_0, beta = deberta_encoder_layer_11_output_LayerNorm_bias_to_fp16, epsilon = var_51_to_fp16, gamma = deberta_encoder_layer_11_output_LayerNorm_weight_to_fp16, x = input_291_cast_fp16)[name = string("token_embeds_cast_fp16")]; - int32 var_2769 = const()[name = string("op_2769"), val = int32(128001)]; - tensor var_2770 = equal(x = input_ids, y = var_2769)[name = string("op_2770")]; + tensor token_embeds_cast_fp16 = layer_norm(axes = token_embeds_axes_0, beta = deberta_encoder_layer_11_output_LayerNorm_bias_to_fp16, epsilon = var_77_to_fp16, gamma = deberta_encoder_layer_11_output_LayerNorm_weight_to_fp16, x = input_291_cast_fp16)[name = string("token_embeds_cast_fp16")]; + int32 var_2786 = const()[name = string("op_2786"), val = int32(128001)]; + tensor var_2787 = equal(x = input_ids, y = var_2786)[name = string("op_2787")]; + string cast_264_to_fp16_dtype_0 = const()[name = string("cast_264_to_fp16_dtype_0"), val = string("fp16")]; string cast_263_to_fp16_dtype_0 = const()[name = string("cast_263_to_fp16_dtype_0"), val = string("fp16")]; - string cast_262_to_fp16_dtype_0 = const()[name = string("cast_262_to_fp16_dtype_0"), val = string("fp16")]; - tensor attention_mask_to_fp16 = cast(dtype = cast_262_to_fp16_dtype_0, x = attention_mask)[name = string("cast_290")]; - tensor var_2770_to_fp16 = cast(dtype = cast_263_to_fp16_dtype_0, x = var_2770)[name = string("cast_291")]; - tensor ent_hits_cast_fp16 = mul(x = var_2770_to_fp16, y = attention_mask_to_fp16)[name = string("ent_hits_cast_fp16")]; - int32 var_2777 = const()[name = string("op_2777"), val = int32(1)]; - bool var_2779_exclusive_0 = const()[name = string("op_2779_exclusive_0"), val = bool(false)]; - bool var_2779_reverse_0 = const()[name = string("op_2779_reverse_0"), val = bool(false)]; - tensor var_2779_cast_fp16 = cumsum(axis = var_2777, exclusive = var_2779_exclusive_0, reverse = var_2779_reverse_0, x = ent_hits_cast_fp16)[name = string("op_2779_cast_fp16")]; - tensor ent_order_cast_fp16 = mul(x = var_2779_cast_fp16, y = ent_hits_cast_fp16)[name = string("ent_order_cast_fp16")]; - tensor var_2782_axes_0 = const()[name = string("op_2782_axes_0"), val = tensor([1])]; - tensor var_2782_cast_fp16 = expand_dims(axes = var_2782_axes_0, x = ent_order_cast_fp16)[name = string("op_2782_cast_fp16")]; + tensor attention_mask_to_fp16 = cast(dtype = cast_263_to_fp16_dtype_0, x = attention_mask)[name = string("cast_291")]; + tensor var_2787_to_fp16 = cast(dtype = cast_264_to_fp16_dtype_0, x = var_2787)[name = string("cast_292")]; + tensor ent_hits_cast_fp16 = mul(x = var_2787_to_fp16, y = attention_mask_to_fp16)[name = string("ent_hits_cast_fp16")]; + int32 var_2794 = const()[name = string("op_2794"), val = int32(1)]; + bool var_2796_exclusive_0 = const()[name = string("op_2796_exclusive_0"), val = bool(false)]; + bool var_2796_reverse_0 = const()[name = string("op_2796_reverse_0"), val = bool(false)]; + tensor var_2796_cast_fp16 = cumsum(axis = var_2794, exclusive = var_2796_exclusive_0, reverse = var_2796_reverse_0, x = ent_hits_cast_fp16)[name = string("op_2796_cast_fp16")]; + tensor ent_order_cast_fp16 = mul(x = var_2796_cast_fp16, y = ent_hits_cast_fp16)[name = string("ent_order_cast_fp16")]; + tensor var_2799_axes_0 = const()[name = string("op_2799_axes_0"), val = tensor([1])]; + tensor var_2799_cast_fp16 = expand_dims(axes = var_2799_axes_0, x = ent_order_cast_fp16)[name = string("op_2799_cast_fp16")]; tensor ent_slots_to_fp16 = const()[name = string("ent_slots_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(398198976)))]; - tensor var_2783_cast_fp16 = equal(x = var_2782_cast_fp16, y = ent_slots_to_fp16)[name = string("op_2783_cast_fp16")]; + tensor var_2800_cast_fp16 = equal(x = var_2799_cast_fp16, y = ent_slots_to_fp16)[name = string("op_2800_cast_fp16")]; bool input_297_transpose_x_0 = const()[name = string("input_297_transpose_x_0"), val = bool(false)]; bool input_297_transpose_y_0 = const()[name = string("input_297_transpose_y_0"), val = bool(false)]; - string cast_264_to_fp16_dtype_0 = const()[name = string("cast_264_to_fp16_dtype_0"), val = string("fp16")]; - tensor var_2783_cast_fp16_to_fp16 = cast(dtype = cast_264_to_fp16_dtype_0, x = var_2783_cast_fp16)[name = string("cast_289")]; - tensor input_297_cast_fp16 = matmul(transpose_x = input_297_transpose_x_0, transpose_y = input_297_transpose_y_0, x = var_2783_cast_fp16_to_fp16, y = token_embeds_cast_fp16)[name = string("input_297_cast_fp16")]; - int32 var_2790 = const()[name = string("op_2790"), val = int32(128003)]; - tensor var_2791 = equal(x = input_ids, y = var_2790)[name = string("op_2791")]; string cast_265_to_fp16_dtype_0 = const()[name = string("cast_265_to_fp16_dtype_0"), val = string("fp16")]; - tensor var_2791_to_fp16 = cast(dtype = cast_265_to_fp16_dtype_0, x = var_2791)[name = string("cast_288")]; - tensor rel_hits_cast_fp16 = mul(x = var_2791_to_fp16, y = attention_mask_to_fp16)[name = string("rel_hits_cast_fp16")]; - int32 var_2798 = const()[name = string("op_2798"), val = int32(1)]; - bool var_2800_exclusive_0 = const()[name = string("op_2800_exclusive_0"), val = bool(false)]; - bool var_2800_reverse_0 = const()[name = string("op_2800_reverse_0"), val = bool(false)]; - tensor var_2800_cast_fp16 = cumsum(axis = var_2798, exclusive = var_2800_exclusive_0, reverse = var_2800_reverse_0, x = rel_hits_cast_fp16)[name = string("op_2800_cast_fp16")]; - tensor rel_order_cast_fp16 = mul(x = var_2800_cast_fp16, y = rel_hits_cast_fp16)[name = string("rel_order_cast_fp16")]; - tensor var_2803_axes_0 = const()[name = string("op_2803_axes_0"), val = tensor([1])]; - tensor var_2803_cast_fp16 = expand_dims(axes = var_2803_axes_0, x = rel_order_cast_fp16)[name = string("op_2803_cast_fp16")]; - tensor rel_slots_to_fp16 = const()[name = string("rel_slots_to_fp16"), val = tensor([[[0x1p+0], [0x1p+1], [0x1.8p+1], [0x1p+2], [0x1.4p+2], [0x1.8p+2], [0x1.cp+2], [0x1p+3]]])]; - tensor var_2804_cast_fp16 = equal(x = var_2803_cast_fp16, y = rel_slots_to_fp16)[name = string("op_2804_cast_fp16")]; - bool var_2810_transpose_x_0 = const()[name = string("op_2810_transpose_x_0"), val = bool(false)]; - bool var_2810_transpose_y_0 = const()[name = string("op_2810_transpose_y_0"), val = bool(false)]; + tensor var_2800_cast_fp16_to_fp16 = cast(dtype = cast_265_to_fp16_dtype_0, x = var_2800_cast_fp16)[name = string("cast_290")]; + tensor input_297_cast_fp16 = matmul(transpose_x = input_297_transpose_x_0, transpose_y = input_297_transpose_y_0, x = var_2800_cast_fp16_to_fp16, y = token_embeds_cast_fp16)[name = string("input_297_cast_fp16")]; + int32 var_2807 = const()[name = string("op_2807"), val = int32(128003)]; + tensor var_2808 = equal(x = input_ids, y = var_2807)[name = string("op_2808")]; string cast_266_to_fp16_dtype_0 = const()[name = string("cast_266_to_fp16_dtype_0"), val = string("fp16")]; - tensor var_2804_cast_fp16_to_fp16 = cast(dtype = cast_266_to_fp16_dtype_0, x = var_2804_cast_fp16)[name = string("cast_287")]; - tensor var_2810_cast_fp16 = matmul(transpose_x = var_2810_transpose_x_0, transpose_y = var_2810_transpose_y_0, x = var_2804_cast_fp16_to_fp16, y = token_embeds_cast_fp16)[name = string("op_2810_cast_fp16")]; - tensor var_2817_axes_0 = const()[name = string("op_2817_axes_0"), val = tensor([1])]; + tensor var_2808_to_fp16 = cast(dtype = cast_266_to_fp16_dtype_0, x = var_2808)[name = string("cast_289")]; + tensor rel_hits_cast_fp16 = mul(x = var_2808_to_fp16, y = attention_mask_to_fp16)[name = string("rel_hits_cast_fp16")]; + int32 var_2815 = const()[name = string("op_2815"), val = int32(1)]; + bool var_2817_exclusive_0 = const()[name = string("op_2817_exclusive_0"), val = bool(false)]; + bool var_2817_reverse_0 = const()[name = string("op_2817_reverse_0"), val = bool(false)]; + tensor var_2817_cast_fp16 = cumsum(axis = var_2815, exclusive = var_2817_exclusive_0, reverse = var_2817_reverse_0, x = rel_hits_cast_fp16)[name = string("op_2817_cast_fp16")]; + tensor rel_order_cast_fp16 = mul(x = var_2817_cast_fp16, y = rel_hits_cast_fp16)[name = string("rel_order_cast_fp16")]; + tensor var_2820_axes_0 = const()[name = string("op_2820_axes_0"), val = tensor([1])]; + tensor var_2820_cast_fp16 = expand_dims(axes = var_2820_axes_0, x = rel_order_cast_fp16)[name = string("op_2820_cast_fp16")]; + tensor rel_slots_to_fp16 = const()[name = string("rel_slots_to_fp16"), val = tensor([[[0x1p+0], [0x1p+1], [0x1.8p+1], [0x1p+2], [0x1.4p+2], [0x1.8p+2], [0x1.cp+2], [0x1p+3]]])]; + tensor var_2821_cast_fp16 = equal(x = var_2820_cast_fp16, y = rel_slots_to_fp16)[name = string("op_2821_cast_fp16")]; + bool var_2827_transpose_x_0 = const()[name = string("op_2827_transpose_x_0"), val = bool(false)]; + bool var_2827_transpose_y_0 = const()[name = string("op_2827_transpose_y_0"), val = bool(false)]; string cast_267_to_fp16_dtype_0 = const()[name = string("cast_267_to_fp16_dtype_0"), val = string("fp16")]; - tensor words_mask_to_fp16 = cast(dtype = cast_267_to_fp16_dtype_0, x = words_mask)[name = string("cast_286")]; - tensor var_2817_cast_fp16 = expand_dims(axes = var_2817_axes_0, x = words_mask_to_fp16)[name = string("op_2817_cast_fp16")]; + tensor var_2821_cast_fp16_to_fp16 = cast(dtype = cast_267_to_fp16_dtype_0, x = var_2821_cast_fp16)[name = string("cast_288")]; + tensor var_2827_cast_fp16 = matmul(transpose_x = var_2827_transpose_x_0, transpose_y = var_2827_transpose_y_0, x = var_2821_cast_fp16_to_fp16, y = token_embeds_cast_fp16)[name = string("op_2827_cast_fp16")]; + tensor var_2834_axes_0 = const()[name = string("op_2834_axes_0"), val = tensor([1])]; + string cast_268_to_fp16_dtype_0 = const()[name = string("cast_268_to_fp16_dtype_0"), val = string("fp16")]; + tensor words_mask_to_fp16 = cast(dtype = cast_268_to_fp16_dtype_0, x = words_mask)[name = string("cast_287")]; + tensor var_2834_cast_fp16 = expand_dims(axes = var_2834_axes_0, x = words_mask_to_fp16)[name = string("op_2834_cast_fp16")]; tensor word_slots_to_fp16 = const()[name = string("word_slots_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(398199104)))]; - tensor word_sel_cast_fp16 = equal(x = var_2817_cast_fp16, y = word_slots_to_fp16)[name = string("word_sel_cast_fp16")]; + tensor word_sel_cast_fp16 = equal(x = var_2834_cast_fp16, y = word_slots_to_fp16)[name = string("word_sel_cast_fp16")]; bool input_293_transpose_x_0 = const()[name = string("input_293_transpose_x_0"), val = bool(false)]; bool input_293_transpose_y_0 = const()[name = string("input_293_transpose_y_0"), val = bool(false)]; - string cast_268_to_fp16_dtype_0 = const()[name = string("cast_268_to_fp16_dtype_0"), val = string("fp16")]; - tensor word_sel_cast_fp16_to_fp16 = cast(dtype = cast_268_to_fp16_dtype_0, x = word_sel_cast_fp16)[name = string("cast_285")]; + string cast_269_to_fp16_dtype_0 = const()[name = string("cast_269_to_fp16_dtype_0"), val = string("fp16")]; + tensor word_sel_cast_fp16_to_fp16 = cast(dtype = cast_269_to_fp16_dtype_0, x = word_sel_cast_fp16)[name = string("cast_286")]; tensor input_293_cast_fp16 = matmul(transpose_x = input_293_transpose_x_0, transpose_y = input_293_transpose_y_0, x = word_sel_cast_fp16_to_fp16, y = token_embeds_cast_fp16)[name = string("input_293_cast_fp16")]; tensor input_293_batch_first_transpose_perm_0 = const()[name = string("input_293_batch_first_transpose_perm_0"), val = tensor([1, 0, 2])]; string fwd_out_batch_first_direction_0 = const()[name = string("fwd_out_batch_first_direction_0"), val = string("forward")]; @@ -1176,55 +1170,55 @@ program(1.3) string fwd_out_batch_first_cell_activation_0 = const()[name = string("fwd_out_batch_first_cell_activation_0"), val = string("tanh")]; string fwd_out_batch_first_activation_0 = const()[name = string("fwd_out_batch_first_activation_0"), val = string("tanh")]; tensor fwd_out_batch_first_lstm_h0_squeeze_to_fp16 = const()[name = string("fwd_out_batch_first_lstm_h0_squeeze_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(398199808)))]; - tensor concat_27_to_fp16 = const()[name = string("concat_27_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(398200640)))]; - tensor concat_28_to_fp16 = const()[name = string("concat_28_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(400560000)))]; - tensor concat_26_to_fp16 = const()[name = string("concat_26_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(401739712)))]; + tensor concat_28_to_fp16 = const()[name = string("concat_28_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(398200640)))]; + tensor concat_29_to_fp16 = const()[name = string("concat_29_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(400560000)))]; + tensor concat_27_to_fp16 = const()[name = string("concat_27_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(401739712)))]; tensor input_293_batch_first_transpose_cast_fp16 = transpose(perm = input_293_batch_first_transpose_perm_0, x = input_293_cast_fp16)[name = string("transpose_7")]; - tensor fwd_out_batch_first_cast_fp16_0, tensor fwd_out_batch_first_cast_fp16_1, tensor fwd_out_batch_first_cast_fp16_2 = lstm(activation = fwd_out_batch_first_activation_0, bias = concat_26_to_fp16, cell_activation = fwd_out_batch_first_cell_activation_0, direction = fwd_out_batch_first_direction_0, initial_c = fwd_out_batch_first_lstm_h0_squeeze_to_fp16, initial_h = fwd_out_batch_first_lstm_h0_squeeze_to_fp16, output_sequence = fwd_out_batch_first_output_sequence_0, recurrent_activation = fwd_out_batch_first_recurrent_activation_0, weight_hh = concat_28_to_fp16, weight_ih = concat_27_to_fp16, x = input_293_batch_first_transpose_cast_fp16)[name = string("fwd_out_batch_first_cast_fp16")]; + tensor fwd_out_batch_first_cast_fp16_0, tensor fwd_out_batch_first_cast_fp16_1, tensor fwd_out_batch_first_cast_fp16_2 = lstm(activation = fwd_out_batch_first_activation_0, bias = concat_27_to_fp16, cell_activation = fwd_out_batch_first_cell_activation_0, direction = fwd_out_batch_first_direction_0, initial_c = fwd_out_batch_first_lstm_h0_squeeze_to_fp16, initial_h = fwd_out_batch_first_lstm_h0_squeeze_to_fp16, output_sequence = fwd_out_batch_first_output_sequence_0, recurrent_activation = fwd_out_batch_first_recurrent_activation_0, weight_hh = concat_29_to_fp16, weight_ih = concat_28_to_fp16, x = input_293_batch_first_transpose_cast_fp16)[name = string("fwd_out_batch_first_cast_fp16")]; tensor fwd_out_perm_0 = const()[name = string("fwd_out_perm_0"), val = tensor([1, 0, 2])]; - int32 var_2858 = const()[name = string("op_2858"), val = int32(1)]; - tensor var_2859 = sub(x = text_lengths, y = var_2858)[name = string("op_2859")]; - tensor var_2861 = sub(x = var_2859, y = word_positions)[name = string("op_2861")]; - string var_2861_promoted_to_fp16_dtype_0 = const()[name = string("op_2861_promoted_to_fp16_dtype_0"), val = string("fp16")]; - fp16 var_2862_promoted_to_fp16 = const()[name = string("op_2862_promoted_to_fp16"), val = fp16(0x0p+0)]; + int32 var_2875 = const()[name = string("op_2875"), val = int32(1)]; + tensor var_2876 = sub(x = text_lengths, y = var_2875)[name = string("op_2876")]; + tensor var_2878 = sub(x = var_2876, y = word_positions)[name = string("op_2878")]; + string var_2878_promoted_to_fp16_dtype_0 = const()[name = string("op_2878_promoted_to_fp16_dtype_0"), val = string("fp16")]; + fp16 var_2879_promoted_to_fp16 = const()[name = string("op_2879_promoted_to_fp16"), val = fp16(0x0p+0)]; fp16 const_574_to_fp16 = const()[name = string("const_574_to_fp16"), val = fp16(inf)]; - tensor var_2861_to_fp16 = cast(dtype = var_2861_promoted_to_fp16_dtype_0, x = var_2861)[name = string("cast_284")]; - tensor clip_0_cast_fp16 = clip(alpha = var_2862_promoted_to_fp16, beta = const_574_to_fp16, x = var_2861_to_fp16)[name = string("clip_0_cast_fp16")]; - string cast_271_dtype_0 = const()[name = string("cast_271_dtype_0"), val = string("int32")]; - tensor var_2876_axes_0 = const()[name = string("op_2876_axes_0"), val = tensor([-1])]; - tensor clip_0_cast_fp16_to_int32 = cast(dtype = cast_271_dtype_0, x = clip_0_cast_fp16)[name = string("cast_283")]; - tensor var_2876 = expand_dims(axes = var_2876_axes_0, x = clip_0_cast_fp16_to_int32)[name = string("op_2876")]; + tensor var_2878_to_fp16 = cast(dtype = var_2878_promoted_to_fp16_dtype_0, x = var_2878)[name = string("cast_285")]; + tensor clip_0_cast_fp16 = clip(alpha = var_2879_promoted_to_fp16, beta = const_574_to_fp16, x = var_2878_to_fp16)[name = string("clip_0_cast_fp16")]; + string cast_272_dtype_0 = const()[name = string("cast_272_dtype_0"), val = string("int32")]; + tensor var_2893_axes_0 = const()[name = string("op_2893_axes_0"), val = tensor([-1])]; + tensor clip_0_cast_fp16_to_int32 = cast(dtype = cast_272_dtype_0, x = clip_0_cast_fp16)[name = string("cast_284")]; + tensor var_2893 = expand_dims(axes = var_2893_axes_0, x = clip_0_cast_fp16_to_int32)[name = string("op_2893")]; tensor rev_gather_in_reps_0 = const()[name = string("rev_gather_in_reps_0"), val = tensor([1, 1, 768])]; - tensor rev_gather_in = tile(reps = rev_gather_in_reps_0, x = var_2876)[name = string("rev_gather_in")]; + tensor rev_gather_in = tile(reps = rev_gather_in_reps_0, x = var_2893)[name = string("rev_gather_in")]; tensor rev_gather_out_reps_0 = const()[name = string("rev_gather_out_reps_0"), val = tensor([1, 1, 384])]; - tensor rev_gather_out = tile(reps = rev_gather_out_reps_0, x = var_2876)[name = string("rev_gather_out")]; - int32 var_2891 = const()[name = string("op_2891"), val = int32(1)]; + tensor rev_gather_out = tile(reps = rev_gather_out_reps_0, x = var_2893)[name = string("rev_gather_out")]; + int32 var_2908 = const()[name = string("op_2908"), val = int32(1)]; bool input_295_validate_indices_0 = const()[name = string("input_295_validate_indices_0"), val = bool(false)]; string rev_gather_in_to_int16_dtype_0 = const()[name = string("rev_gather_in_to_int16_dtype_0"), val = string("int16")]; - tensor rev_gather_in_to_int16 = cast(dtype = rev_gather_in_to_int16_dtype_0, x = rev_gather_in)[name = string("cast_282")]; - tensor input_295_cast_fp16_cast_uint16 = gather_along_axis(axis = var_2891, indices = rev_gather_in_to_int16, validate_indices = input_295_validate_indices_0, x = input_293_cast_fp16)[name = string("input_295_cast_fp16_cast_uint16")]; + tensor rev_gather_in_to_int16 = cast(dtype = rev_gather_in_to_int16_dtype_0, x = rev_gather_in)[name = string("cast_283")]; + tensor input_295_cast_fp16_cast_uint16 = gather_along_axis(axis = var_2908, indices = rev_gather_in_to_int16, validate_indices = input_295_validate_indices_0, x = input_293_cast_fp16)[name = string("input_295_cast_fp16_cast_uint16")]; tensor input_295_batch_first_transpose_perm_0 = const()[name = string("input_295_batch_first_transpose_perm_0"), val = tensor([1, 0, 2])]; string bwd_rev_batch_first_direction_0 = const()[name = string("bwd_rev_batch_first_direction_0"), val = string("forward")]; bool bwd_rev_batch_first_output_sequence_0 = const()[name = string("bwd_rev_batch_first_output_sequence_0"), val = bool(true)]; string bwd_rev_batch_first_recurrent_activation_0 = const()[name = string("bwd_rev_batch_first_recurrent_activation_0"), val = string("sigmoid")]; string bwd_rev_batch_first_cell_activation_0 = const()[name = string("bwd_rev_batch_first_cell_activation_0"), val = string("tanh")]; string bwd_rev_batch_first_activation_0 = const()[name = string("bwd_rev_batch_first_activation_0"), val = string("tanh")]; - tensor concat_32_to_fp16 = const()[name = string("concat_32_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(401742848)))]; - tensor concat_33_to_fp16 = const()[name = string("concat_33_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(404102208)))]; - tensor concat_31_to_fp16 = const()[name = string("concat_31_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(405281920)))]; + tensor concat_33_to_fp16 = const()[name = string("concat_33_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(401742848)))]; + tensor concat_34_to_fp16 = const()[name = string("concat_34_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(404102208)))]; + tensor concat_32_to_fp16 = const()[name = string("concat_32_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(405281920)))]; tensor input_295_batch_first_transpose_cast_fp16 = transpose(perm = input_295_batch_first_transpose_perm_0, x = input_295_cast_fp16_cast_uint16)[name = string("transpose_5")]; - tensor bwd_rev_batch_first_cast_fp16_0, tensor bwd_rev_batch_first_cast_fp16_1, tensor bwd_rev_batch_first_cast_fp16_2 = lstm(activation = bwd_rev_batch_first_activation_0, bias = concat_31_to_fp16, cell_activation = bwd_rev_batch_first_cell_activation_0, direction = bwd_rev_batch_first_direction_0, initial_c = fwd_out_batch_first_lstm_h0_squeeze_to_fp16, initial_h = fwd_out_batch_first_lstm_h0_squeeze_to_fp16, output_sequence = bwd_rev_batch_first_output_sequence_0, recurrent_activation = bwd_rev_batch_first_recurrent_activation_0, weight_hh = concat_33_to_fp16, weight_ih = concat_32_to_fp16, x = input_295_batch_first_transpose_cast_fp16)[name = string("bwd_rev_batch_first_cast_fp16")]; + tensor bwd_rev_batch_first_cast_fp16_0, tensor bwd_rev_batch_first_cast_fp16_1, tensor bwd_rev_batch_first_cast_fp16_2 = lstm(activation = bwd_rev_batch_first_activation_0, bias = concat_32_to_fp16, cell_activation = bwd_rev_batch_first_cell_activation_0, direction = bwd_rev_batch_first_direction_0, initial_c = fwd_out_batch_first_lstm_h0_squeeze_to_fp16, initial_h = fwd_out_batch_first_lstm_h0_squeeze_to_fp16, output_sequence = bwd_rev_batch_first_output_sequence_0, recurrent_activation = bwd_rev_batch_first_recurrent_activation_0, weight_hh = concat_34_to_fp16, weight_ih = concat_33_to_fp16, x = input_295_batch_first_transpose_cast_fp16)[name = string("bwd_rev_batch_first_cast_fp16")]; tensor bwd_rev_perm_0 = const()[name = string("bwd_rev_perm_0"), val = tensor([1, 0, 2])]; - int32 var_2917 = const()[name = string("op_2917"), val = int32(1)]; + int32 var_2934 = const()[name = string("op_2934"), val = int32(1)]; bool bwd_out_validate_indices_0 = const()[name = string("bwd_out_validate_indices_0"), val = bool(false)]; string rev_gather_out_to_uint16_dtype_0 = const()[name = string("rev_gather_out_to_uint16_dtype_0"), val = string("uint16")]; - tensor rev_gather_out_to_uint16 = cast(dtype = rev_gather_out_to_uint16_dtype_0, x = rev_gather_out)[name = string("cast_281")]; + tensor rev_gather_out_to_uint16 = cast(dtype = rev_gather_out_to_uint16_dtype_0, x = rev_gather_out)[name = string("cast_282")]; tensor bwd_rev_cast_fp16 = transpose(perm = bwd_rev_perm_0, x = bwd_rev_batch_first_cast_fp16_0)[name = string("transpose_4")]; - tensor bwd_out_cast_fp16_cast_uint16 = gather_along_axis(axis = var_2917, indices = rev_gather_out_to_uint16, validate_indices = bwd_out_validate_indices_0, x = bwd_rev_cast_fp16)[name = string("bwd_out_cast_fp16_cast_uint16")]; - int32 var_2921 = const()[name = string("op_2921"), val = int32(-1)]; + tensor bwd_out_cast_fp16_cast_uint16 = gather_along_axis(axis = var_2934, indices = rev_gather_out_to_uint16, validate_indices = bwd_out_validate_indices_0, x = bwd_rev_cast_fp16)[name = string("bwd_out_cast_fp16_cast_uint16")]; + int32 var_2938 = const()[name = string("op_2938"), val = int32(-1)]; bool token_rep_1_interleave_0 = const()[name = string("token_rep_1_interleave_0"), val = bool(false)]; tensor fwd_out_cast_fp16 = transpose(perm = fwd_out_perm_0, x = fwd_out_batch_first_cast_fp16_0)[name = string("transpose_6")]; - tensor token_rep_1_cast_fp16 = concat(axis = var_2921, interleave = token_rep_1_interleave_0, values = (fwd_out_cast_fp16, bwd_out_cast_fp16_cast_uint16))[name = string("token_rep_1_cast_fp16")]; + tensor token_rep_1_cast_fp16 = concat(axis = var_2938, interleave = token_rep_1_interleave_0, values = (fwd_out_cast_fp16, bwd_out_cast_fp16_cast_uint16))[name = string("token_rep_1_cast_fp16")]; tensor prompt_rep_layer_0_weight_to_fp16 = const()[name = string("prompt_rep_layer_0_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(405285056)))]; tensor prompt_rep_layer_0_bias_to_fp16 = const()[name = string("prompt_rep_layer_0_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(410003712)))]; tensor linear_96_cast_fp16 = linear(bias = prompt_rep_layer_0_bias_to_fp16, weight = prompt_rep_layer_0_weight_to_fp16, x = input_297_cast_fp16)[name = string("linear_96_cast_fp16")]; @@ -1232,48 +1226,48 @@ program(1.3) tensor prompt_rep_layer_3_weight_to_fp16 = const()[name = string("prompt_rep_layer_3_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(410009920)))]; tensor prompt_rep_layer_3_bias_to_fp16 = const()[name = string("prompt_rep_layer_3_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(414728576)))]; tensor linear_97_cast_fp16 = linear(bias = prompt_rep_layer_3_bias_to_fp16, weight = prompt_rep_layer_3_weight_to_fp16, x = input_301_cast_fp16)[name = string("linear_97_cast_fp16")]; - int32 var_2939 = const()[name = string("op_2939"), val = int32(-1)]; + int32 var_2956 = const()[name = string("op_2956"), val = int32(-1)]; tensor scorer_proj_token_weight_to_fp16 = const()[name = string("scorer_proj_token_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(414730176)))]; tensor scorer_proj_token_bias_to_fp16 = const()[name = string("scorer_proj_token_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(417089536)))]; tensor linear_98_cast_fp16 = linear(bias = scorer_proj_token_bias_to_fp16, weight = scorer_proj_token_weight_to_fp16, x = token_rep_1_cast_fp16)[name = string("linear_98_cast_fp16")]; - tensor var_2953 = const()[name = string("op_2953"), val = tensor([1, 320, 1, 2, 768])]; - tensor token_rep_3_cast_fp16 = reshape(shape = var_2953, x = linear_98_cast_fp16)[name = string("token_rep_3_cast_fp16")]; + tensor var_2970 = const()[name = string("op_2970"), val = tensor([1, 320, 1, 2, 768])]; + tensor token_rep_3_cast_fp16 = reshape(shape = var_2970, x = linear_98_cast_fp16)[name = string("token_rep_3_cast_fp16")]; tensor scorer_proj_label_weight_to_fp16 = const()[name = string("scorer_proj_label_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(417092672)))]; tensor scorer_proj_label_bias_to_fp16 = const()[name = string("scorer_proj_label_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(419452032)))]; tensor linear_99_cast_fp16 = linear(bias = scorer_proj_label_bias_to_fp16, weight = scorer_proj_label_weight_to_fp16, x = linear_97_cast_fp16)[name = string("linear_99_cast_fp16")]; - tensor var_2958 = const()[name = string("op_2958"), val = tensor([1, 1, 12, 2, 768])]; - tensor label_rep_3_cast_fp16 = reshape(shape = var_2958, x = linear_99_cast_fp16)[name = string("label_rep_3_cast_fp16")]; - tensor var_2961_reps_0 = const()[name = string("op_2961_reps_0"), val = tensor([1, 1, 12, 1, 1])]; - tensor var_2961_cast_fp16 = tile(reps = var_2961_reps_0, x = token_rep_3_cast_fp16)[name = string("op_2961_cast_fp16")]; - tensor var_2962 = const()[name = string("op_2962"), val = tensor([3, 0, 1, 2, 4])]; - tensor var_2965_reps_0 = const()[name = string("op_2965_reps_0"), val = tensor([1, 320, 1, 1, 1])]; - tensor var_2965_cast_fp16 = tile(reps = var_2965_reps_0, x = label_rep_3_cast_fp16)[name = string("op_2965_cast_fp16")]; - tensor var_2966 = const()[name = string("op_2966"), val = tensor([3, 0, 1, 2, 4])]; - tensor var_2968_begin_0 = const()[name = string("op_2968_begin_0"), val = tensor([0, 0, 0, 0, 0])]; - tensor var_2968_end_0 = const()[name = string("op_2968_end_0"), val = tensor([1, 1, 320, 12, 768])]; - tensor var_2968_end_mask_0 = const()[name = string("op_2968_end_mask_0"), val = tensor([false, true, true, true, true])]; - tensor var_2968_squeeze_mask_0 = const()[name = string("op_2968_squeeze_mask_0"), val = tensor([true, false, false, false, false])]; - tensor token_rep_cast_fp16 = transpose(perm = var_2962, x = var_2961_cast_fp16)[name = string("transpose_3")]; - tensor var_2968_cast_fp16 = slice_by_index(begin = var_2968_begin_0, end = var_2968_end_0, end_mask = var_2968_end_mask_0, squeeze_mask = var_2968_squeeze_mask_0, x = token_rep_cast_fp16)[name = string("op_2968_cast_fp16")]; - tensor var_2969_begin_0 = const()[name = string("op_2969_begin_0"), val = tensor([0, 0, 0, 0, 0])]; - tensor var_2969_end_0 = const()[name = string("op_2969_end_0"), val = tensor([1, 1, 320, 12, 768])]; - tensor var_2969_end_mask_0 = const()[name = string("op_2969_end_mask_0"), val = tensor([false, true, true, true, true])]; - tensor var_2969_squeeze_mask_0 = const()[name = string("op_2969_squeeze_mask_0"), val = tensor([true, false, false, false, false])]; - tensor label_rep_cast_fp16 = transpose(perm = var_2966, x = var_2965_cast_fp16)[name = string("transpose_2")]; - tensor var_2969_cast_fp16 = slice_by_index(begin = var_2969_begin_0, end = var_2969_end_0, end_mask = var_2969_end_mask_0, squeeze_mask = var_2969_squeeze_mask_0, x = label_rep_cast_fp16)[name = string("op_2969_cast_fp16")]; - tensor var_2970_begin_0 = const()[name = string("op_2970_begin_0"), val = tensor([1, 0, 0, 0, 0])]; - tensor var_2970_end_0 = const()[name = string("op_2970_end_0"), val = tensor([2, 1, 320, 12, 768])]; - tensor var_2970_end_mask_0 = const()[name = string("op_2970_end_mask_0"), val = tensor([false, true, true, true, true])]; - tensor var_2970_squeeze_mask_0 = const()[name = string("op_2970_squeeze_mask_0"), val = tensor([true, false, false, false, false])]; - tensor var_2970_cast_fp16 = slice_by_index(begin = var_2970_begin_0, end = var_2970_end_0, end_mask = var_2970_end_mask_0, squeeze_mask = var_2970_squeeze_mask_0, x = token_rep_cast_fp16)[name = string("op_2970_cast_fp16")]; - tensor var_2971_begin_0 = const()[name = string("op_2971_begin_0"), val = tensor([1, 0, 0, 0, 0])]; - tensor var_2971_end_0 = const()[name = string("op_2971_end_0"), val = tensor([2, 1, 320, 12, 768])]; - tensor var_2971_end_mask_0 = const()[name = string("op_2971_end_mask_0"), val = tensor([false, true, true, true, true])]; - tensor var_2971_squeeze_mask_0 = const()[name = string("op_2971_squeeze_mask_0"), val = tensor([true, false, false, false, false])]; - tensor var_2971_cast_fp16 = slice_by_index(begin = var_2971_begin_0, end = var_2971_end_0, end_mask = var_2971_end_mask_0, squeeze_mask = var_2971_squeeze_mask_0, x = label_rep_cast_fp16)[name = string("op_2971_cast_fp16")]; - tensor var_2972_cast_fp16 = mul(x = var_2970_cast_fp16, y = var_2971_cast_fp16)[name = string("op_2972_cast_fp16")]; + tensor var_2975 = const()[name = string("op_2975"), val = tensor([1, 1, 12, 2, 768])]; + tensor label_rep_3_cast_fp16 = reshape(shape = var_2975, x = linear_99_cast_fp16)[name = string("label_rep_3_cast_fp16")]; + tensor var_2978_reps_0 = const()[name = string("op_2978_reps_0"), val = tensor([1, 1, 12, 1, 1])]; + tensor var_2978_cast_fp16 = tile(reps = var_2978_reps_0, x = token_rep_3_cast_fp16)[name = string("op_2978_cast_fp16")]; + tensor var_2979 = const()[name = string("op_2979"), val = tensor([3, 0, 1, 2, 4])]; + tensor var_2982_reps_0 = const()[name = string("op_2982_reps_0"), val = tensor([1, 320, 1, 1, 1])]; + tensor var_2982_cast_fp16 = tile(reps = var_2982_reps_0, x = label_rep_3_cast_fp16)[name = string("op_2982_cast_fp16")]; + tensor var_2983 = const()[name = string("op_2983"), val = tensor([3, 0, 1, 2, 4])]; + tensor var_2985_begin_0 = const()[name = string("op_2985_begin_0"), val = tensor([0, 0, 0, 0, 0])]; + tensor var_2985_end_0 = const()[name = string("op_2985_end_0"), val = tensor([1, 1, 320, 12, 768])]; + tensor var_2985_end_mask_0 = const()[name = string("op_2985_end_mask_0"), val = tensor([false, true, true, true, true])]; + tensor var_2985_squeeze_mask_0 = const()[name = string("op_2985_squeeze_mask_0"), val = tensor([true, false, false, false, false])]; + tensor token_rep_cast_fp16 = transpose(perm = var_2979, x = var_2978_cast_fp16)[name = string("transpose_3")]; + tensor var_2985_cast_fp16 = slice_by_index(begin = var_2985_begin_0, end = var_2985_end_0, end_mask = var_2985_end_mask_0, squeeze_mask = var_2985_squeeze_mask_0, x = token_rep_cast_fp16)[name = string("op_2985_cast_fp16")]; + tensor var_2986_begin_0 = const()[name = string("op_2986_begin_0"), val = tensor([0, 0, 0, 0, 0])]; + tensor var_2986_end_0 = const()[name = string("op_2986_end_0"), val = tensor([1, 1, 320, 12, 768])]; + tensor var_2986_end_mask_0 = const()[name = string("op_2986_end_mask_0"), val = tensor([false, true, true, true, true])]; + tensor var_2986_squeeze_mask_0 = const()[name = string("op_2986_squeeze_mask_0"), val = tensor([true, false, false, false, false])]; + tensor label_rep_cast_fp16 = transpose(perm = var_2983, x = var_2982_cast_fp16)[name = string("transpose_2")]; + tensor var_2986_cast_fp16 = slice_by_index(begin = var_2986_begin_0, end = var_2986_end_0, end_mask = var_2986_end_mask_0, squeeze_mask = var_2986_squeeze_mask_0, x = label_rep_cast_fp16)[name = string("op_2986_cast_fp16")]; + tensor var_2987_begin_0 = const()[name = string("op_2987_begin_0"), val = tensor([1, 0, 0, 0, 0])]; + tensor var_2987_end_0 = const()[name = string("op_2987_end_0"), val = tensor([2, 1, 320, 12, 768])]; + tensor var_2987_end_mask_0 = const()[name = string("op_2987_end_mask_0"), val = tensor([false, true, true, true, true])]; + tensor var_2987_squeeze_mask_0 = const()[name = string("op_2987_squeeze_mask_0"), val = tensor([true, false, false, false, false])]; + tensor var_2987_cast_fp16 = slice_by_index(begin = var_2987_begin_0, end = var_2987_end_0, end_mask = var_2987_end_mask_0, squeeze_mask = var_2987_squeeze_mask_0, x = token_rep_cast_fp16)[name = string("op_2987_cast_fp16")]; + tensor var_2988_begin_0 = const()[name = string("op_2988_begin_0"), val = tensor([1, 0, 0, 0, 0])]; + tensor var_2988_end_0 = const()[name = string("op_2988_end_0"), val = tensor([2, 1, 320, 12, 768])]; + tensor var_2988_end_mask_0 = const()[name = string("op_2988_end_mask_0"), val = tensor([false, true, true, true, true])]; + tensor var_2988_squeeze_mask_0 = const()[name = string("op_2988_squeeze_mask_0"), val = tensor([true, false, false, false, false])]; + tensor var_2988_cast_fp16 = slice_by_index(begin = var_2988_begin_0, end = var_2988_end_0, end_mask = var_2988_end_mask_0, squeeze_mask = var_2988_squeeze_mask_0, x = label_rep_cast_fp16)[name = string("op_2988_cast_fp16")]; + tensor var_2989_cast_fp16 = mul(x = var_2987_cast_fp16, y = var_2988_cast_fp16)[name = string("op_2989_cast_fp16")]; bool input_305_interleave_0 = const()[name = string("input_305_interleave_0"), val = bool(false)]; - tensor input_305_cast_fp16 = concat(axis = var_2939, interleave = input_305_interleave_0, values = (var_2968_cast_fp16, var_2969_cast_fp16, var_2972_cast_fp16))[name = string("input_305_cast_fp16")]; + tensor input_305_cast_fp16 = concat(axis = var_2956, interleave = input_305_interleave_0, values = (var_2985_cast_fp16, var_2986_cast_fp16, var_2989_cast_fp16))[name = string("input_305_cast_fp16")]; tensor scorer_out_mlp_0_weight_to_fp16 = const()[name = string("scorer_out_mlp_0_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(419455168)))]; tensor scorer_out_mlp_0_bias_to_fp16 = const()[name = string("scorer_out_mlp_0_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(433611008)))]; tensor linear_100_cast_fp16 = linear(bias = scorer_out_mlp_0_bias_to_fp16, weight = scorer_out_mlp_0_weight_to_fp16, x = input_305_cast_fp16)[name = string("linear_100_cast_fp16")]; @@ -1282,11 +1276,11 @@ program(1.3) tensor scorer_out_mlp_3_bias_to_fp16 = const()[name = string("scorer_out_mlp_3_bias_to_fp16"), val = tensor([-0x1.984p-8, -0x1.778p-7, 0x1.34p-9])]; tensor linear_101_cast_fp16 = linear(bias = scorer_out_mlp_3_bias_to_fp16, weight = scorer_out_mlp_3_weight_to_fp16, x = input_311_cast_fp16)[name = string("linear_101_cast_fp16")]; string linear_101_cast_fp16_to_fp32_dtype_0 = const()[name = string("linear_101_cast_fp16_to_fp32_dtype_0"), val = string("fp32")]; - tensor var_2996_axes_0 = const()[name = string("op_2996_axes_0"), val = tensor([-1])]; - tensor var_2996 = expand_dims(axes = var_2996_axes_0, x = span_mask)[name = string("op_2996")]; - tensor span_idx_1 = mul(x = span_idx, y = var_2996)[name = string("span_idx")]; - int32 var_2998 = const()[name = string("op_2998"), val = int32(-1)]; - int32 var_3000 = const()[name = string("op_3000"), val = int32(1)]; + tensor var_3013_axes_0 = const()[name = string("op_3013_axes_0"), val = tensor([-1])]; + tensor var_3013 = expand_dims(axes = var_3013_axes_0, x = span_mask)[name = string("op_3013")]; + tensor span_idx_1 = mul(x = span_idx, y = var_3013)[name = string("span_idx")]; + int32 var_3015 = const()[name = string("op_3015"), val = int32(-1)]; + int32 var_3017 = const()[name = string("op_3017"), val = int32(1)]; tensor token_marker_project_start_0_weight_to_fp16 = const()[name = string("token_marker_project_start_0_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(433635712)))]; tensor token_marker_project_start_0_bias_to_fp16 = const()[name = string("token_marker_project_start_0_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(438354368)))]; tensor linear_102_cast_fp16 = linear(bias = token_marker_project_start_0_bias_to_fp16, weight = token_marker_project_start_0_weight_to_fp16, x = token_rep_1_cast_fp16)[name = string("linear_102_cast_fp16")]; @@ -1306,30 +1300,30 @@ program(1.3) tensor indices_1_end_mask_0 = const()[name = string("indices_1_end_mask_0"), val = tensor([true, true, false])]; tensor indices_1_squeeze_mask_0 = const()[name = string("indices_1_squeeze_mask_0"), val = tensor([false, false, true])]; tensor indices_1 = slice_by_index(begin = indices_1_begin_0, end = indices_1_end_0, end_mask = indices_1_end_mask_0, squeeze_mask = indices_1_squeeze_mask_0, x = span_idx_1)[name = string("indices_1")]; - tensor var_3032_axes_0 = const()[name = string("op_3032_axes_0"), val = tensor([2])]; - tensor var_3032 = expand_dims(axes = var_3032_axes_0, x = indices_1)[name = string("op_3032")]; + tensor var_3049_axes_0 = const()[name = string("op_3049_axes_0"), val = tensor([2])]; + tensor var_3049 = expand_dims(axes = var_3049_axes_0, x = indices_1)[name = string("op_3049")]; tensor expanded_indices_1_reps_0 = const()[name = string("expanded_indices_1_reps_0"), val = tensor([1, 1, 768])]; - tensor expanded_indices_1 = tile(reps = expanded_indices_1_reps_0, x = var_3032)[name = string("expanded_indices_1")]; + tensor expanded_indices_1 = tile(reps = expanded_indices_1_reps_0, x = var_3049)[name = string("expanded_indices_1")]; bool start_span_rep_validate_indices_0 = const()[name = string("start_span_rep_validate_indices_0"), val = bool(false)]; string expanded_indices_1_to_uint16_dtype_0 = const()[name = string("expanded_indices_1_to_uint16_dtype_0"), val = string("uint16")]; - tensor expanded_indices_1_to_uint16 = cast(dtype = expanded_indices_1_to_uint16_dtype_0, x = expanded_indices_1)[name = string("cast_279")]; - tensor start_span_rep_cast_fp16_cast_uint16 = gather_along_axis(axis = var_3000, indices = expanded_indices_1_to_uint16, validate_indices = start_span_rep_validate_indices_0, x = linear_103_cast_fp16)[name = string("start_span_rep_cast_fp16_cast_uint16")]; + tensor expanded_indices_1_to_uint16 = cast(dtype = expanded_indices_1_to_uint16_dtype_0, x = expanded_indices_1)[name = string("cast_280")]; + tensor start_span_rep_cast_fp16_cast_uint16 = gather_along_axis(axis = var_3017, indices = expanded_indices_1_to_uint16, validate_indices = start_span_rep_validate_indices_0, x = linear_103_cast_fp16)[name = string("start_span_rep_cast_fp16_cast_uint16")]; tensor indices_begin_0 = const()[name = string("indices_begin_0"), val = tensor([0, 0, 1])]; tensor indices_end_0 = const()[name = string("indices_end_0"), val = tensor([1, 16, 2])]; tensor indices_end_mask_0 = const()[name = string("indices_end_mask_0"), val = tensor([true, true, false])]; tensor indices_squeeze_mask_0 = const()[name = string("indices_squeeze_mask_0"), val = tensor([false, false, true])]; tensor indices = slice_by_index(begin = indices_begin_0, end = indices_end_0, end_mask = indices_end_mask_0, squeeze_mask = indices_squeeze_mask_0, x = span_idx_1)[name = string("indices")]; - tensor var_3040_axes_0 = const()[name = string("op_3040_axes_0"), val = tensor([2])]; - tensor var_3040 = expand_dims(axes = var_3040_axes_0, x = indices)[name = string("op_3040")]; + tensor var_3057_axes_0 = const()[name = string("op_3057_axes_0"), val = tensor([2])]; + tensor var_3057 = expand_dims(axes = var_3057_axes_0, x = indices)[name = string("op_3057")]; tensor expanded_indices_reps_0 = const()[name = string("expanded_indices_reps_0"), val = tensor([1, 1, 768])]; - tensor expanded_indices = tile(reps = expanded_indices_reps_0, x = var_3040)[name = string("expanded_indices")]; + tensor expanded_indices = tile(reps = expanded_indices_reps_0, x = var_3057)[name = string("expanded_indices")]; bool end_span_rep_validate_indices_0 = const()[name = string("end_span_rep_validate_indices_0"), val = bool(false)]; string expanded_indices_to_uint16_dtype_0 = const()[name = string("expanded_indices_to_uint16_dtype_0"), val = string("uint16")]; - tensor expanded_indices_to_uint16 = cast(dtype = expanded_indices_to_uint16_dtype_0, x = expanded_indices)[name = string("cast_278")]; - tensor end_span_rep_cast_fp16_cast_uint16 = gather_along_axis(axis = var_3000, indices = expanded_indices_to_uint16, validate_indices = end_span_rep_validate_indices_0, x = linear_105_cast_fp16)[name = string("end_span_rep_cast_fp16_cast_uint16")]; - bool var_3045_interleave_0 = const()[name = string("op_3045_interleave_0"), val = bool(false)]; - tensor var_3045_cast_fp16 = concat(axis = var_2998, interleave = var_3045_interleave_0, values = (start_span_rep_cast_fp16_cast_uint16, end_span_rep_cast_fp16_cast_uint16))[name = string("op_3045_cast_fp16")]; - tensor input_325_cast_fp16 = relu(x = var_3045_cast_fp16)[name = string("input_325_cast_fp16")]; + tensor expanded_indices_to_uint16 = cast(dtype = expanded_indices_to_uint16_dtype_0, x = expanded_indices)[name = string("cast_279")]; + tensor end_span_rep_cast_fp16_cast_uint16 = gather_along_axis(axis = var_3017, indices = expanded_indices_to_uint16, validate_indices = end_span_rep_validate_indices_0, x = linear_105_cast_fp16)[name = string("end_span_rep_cast_fp16_cast_uint16")]; + bool var_3062_interleave_0 = const()[name = string("op_3062_interleave_0"), val = bool(false)]; + tensor var_3062_cast_fp16 = concat(axis = var_3015, interleave = var_3062_interleave_0, values = (start_span_rep_cast_fp16_cast_uint16, end_span_rep_cast_fp16_cast_uint16))[name = string("op_3062_cast_fp16")]; + tensor input_325_cast_fp16 = relu(x = var_3062_cast_fp16)[name = string("input_325_cast_fp16")]; tensor token_marker_out_project_0_weight_to_fp16 = const()[name = string("token_marker_out_project_0_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(452525952)))]; tensor token_marker_out_project_0_bias_to_fp16 = const()[name = string("token_marker_out_project_0_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(461963200)))]; tensor linear_106_cast_fp16 = linear(bias = token_marker_out_project_0_bias_to_fp16, weight = token_marker_out_project_0_weight_to_fp16, x = input_325_cast_fp16)[name = string("linear_106_cast_fp16")]; @@ -1337,19 +1331,19 @@ program(1.3) tensor token_marker_out_project_3_weight_to_fp16 = const()[name = string("token_marker_out_project_3_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(461969408)))]; tensor token_marker_out_project_3_bias_to_fp16 = const()[name = string("token_marker_out_project_3_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(466688064)))]; tensor linear_107_cast_fp16 = linear(bias = token_marker_out_project_3_bias_to_fp16, weight = token_marker_out_project_3_weight_to_fp16, x = input_329_cast_fp16)[name = string("linear_107_cast_fp16")]; - int32 var_3057 = const()[name = string("op_3057"), val = int32(1)]; + int32 var_3074 = const()[name = string("op_3074"), val = int32(1)]; int32 head_batch_dims_0 = const()[name = string("head_batch_dims_0"), val = int32(0)]; bool head_validate_indices_0 = const()[name = string("head_validate_indices_0"), val = bool(false)]; tensor pair_head_to_uint16 = const()[name = string("pair_head_to_uint16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(466689664)))]; - tensor head_cast_fp16_cast_uint16 = gather(axis = var_3057, batch_dims = head_batch_dims_0, indices = pair_head_to_uint16, validate_indices = head_validate_indices_0, x = linear_107_cast_fp16)[name = string("head_cast_fp16_cast_uint16")]; - int32 var_3059 = const()[name = string("op_3059"), val = int32(1)]; + tensor head_cast_fp16_cast_uint16 = gather(axis = var_3074, batch_dims = head_batch_dims_0, indices = pair_head_to_uint16, validate_indices = head_validate_indices_0, x = linear_107_cast_fp16)[name = string("head_cast_fp16_cast_uint16")]; + int32 var_3076 = const()[name = string("op_3076"), val = int32(1)]; int32 tail_batch_dims_0 = const()[name = string("tail_batch_dims_0"), val = int32(0)]; bool tail_validate_indices_0 = const()[name = string("tail_validate_indices_0"), val = bool(false)]; tensor pair_tail_to_uint16 = const()[name = string("pair_tail_to_uint16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(466690240)))]; - tensor tail_cast_fp16_cast_uint16 = gather(axis = var_3059, batch_dims = tail_batch_dims_0, indices = pair_tail_to_uint16, validate_indices = tail_validate_indices_0, x = linear_107_cast_fp16)[name = string("tail_cast_fp16_cast_uint16")]; - int32 var_3062 = const()[name = string("op_3062"), val = int32(-1)]; + tensor tail_cast_fp16_cast_uint16 = gather(axis = var_3076, batch_dims = tail_batch_dims_0, indices = pair_tail_to_uint16, validate_indices = tail_validate_indices_0, x = linear_107_cast_fp16)[name = string("tail_cast_fp16_cast_uint16")]; + int32 var_3079 = const()[name = string("op_3079"), val = int32(-1)]; bool input_333_interleave_0 = const()[name = string("input_333_interleave_0"), val = bool(false)]; - tensor input_333_cast_fp16 = concat(axis = var_3062, interleave = input_333_interleave_0, values = (head_cast_fp16_cast_uint16, tail_cast_fp16_cast_uint16))[name = string("input_333_cast_fp16")]; + tensor input_333_cast_fp16 = concat(axis = var_3079, interleave = input_333_interleave_0, values = (head_cast_fp16_cast_uint16, tail_cast_fp16_cast_uint16))[name = string("input_333_cast_fp16")]; tensor pair_rep_layer_0_weight_to_fp16 = const()[name = string("pair_rep_layer_0_weight_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(466690816)))]; tensor pair_rep_layer_0_bias_to_fp16 = const()[name = string("pair_rep_layer_0_bias_to_fp16"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(476128064)))]; tensor linear_108_cast_fp16 = linear(bias = pair_rep_layer_0_bias_to_fp16, weight = pair_rep_layer_0_weight_to_fp16, x = input_333_cast_fp16)[name = string("linear_108_cast_fp16")]; @@ -1359,9 +1353,9 @@ program(1.3) tensor linear_109_cast_fp16 = linear(bias = pair_rep_layer_3_bias_to_fp16, weight = pair_rep_layer_3_weight_to_fp16, x = input_337_cast_fp16)[name = string("linear_109_cast_fp16")]; bool matmul_0_transpose_x_1 = const()[name = string("matmul_0_transpose_x_1"), val = bool(false)]; bool matmul_0_transpose_y_1 = const()[name = string("matmul_0_transpose_y_1"), val = bool(true)]; - tensor matmul_0_cast_fp16 = matmul(transpose_x = matmul_0_transpose_x_1, transpose_y = matmul_0_transpose_y_1, x = linear_109_cast_fp16, y = var_2810_cast_fp16)[name = string("matmul_0_cast_fp16")]; - string var_3079_cast_fp16_to_fp32_dtype_0 = const()[name = string("op_3079_cast_fp16_to_fp32_dtype_0"), val = string("fp32")]; - tensor rel_logits = cast(dtype = var_3079_cast_fp16_to_fp32_dtype_0, x = matmul_0_cast_fp16)[name = string("cast_277")]; - tensor logits = cast(dtype = linear_101_cast_fp16_to_fp32_dtype_0, x = linear_101_cast_fp16)[name = string("cast_280")]; + tensor matmul_0_cast_fp16 = matmul(transpose_x = matmul_0_transpose_x_1, transpose_y = matmul_0_transpose_y_1, x = linear_109_cast_fp16, y = var_2827_cast_fp16)[name = string("matmul_0_cast_fp16")]; + string var_3096_cast_fp16_to_fp32_dtype_0 = const()[name = string("op_3096_cast_fp16_to_fp32_dtype_0"), val = string("fp32")]; + tensor rel_logits = cast(dtype = var_3096_cast_fp16_to_fp32_dtype_0, x = matmul_0_cast_fp16)[name = string("cast_278")]; + tensor logits = cast(dtype = linear_101_cast_fp16_to_fp32_dtype_0, x = linear_101_cast_fp16)[name = string("cast_281")]; } -> (logits, rel_logits); } \ No newline at end of file