program(1.3) [buildInfo = dict({{"coremlc-component-MIL", "3505.3.2"}, {"coremlc-version", "3505.4.1"}, {"coremltools-component-torch", "2.9.1"}, {"coremltools-source-dialect", "TorchScript"}, {"coremltools-version", "9.0"}})] { func main(tensor latent, tensor s, tensor t, tensor transformer_out) { tensor flow_net_input_proj_bias = const()[name = string("flow_net_input_proj_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(64)))]; tensor flow_net_input_proj_weight = const()[name = string("flow_net_input_proj_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(2176)))]; tensor flow_net_time_embed_0_mlp_0_bias = const()[name = string("flow_net_time_embed_0_mlp_0_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(67776)))]; tensor flow_net_time_embed_0_mlp_0_weight = const()[name = string("flow_net_time_embed_0_mlp_0_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(69888)))]; tensor flow_net_time_embed_0_mlp_2_bias = const()[name = string("flow_net_time_embed_0_mlp_2_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(594240)))]; tensor flow_net_time_embed_0_mlp_2_weight = const()[name = string("flow_net_time_embed_0_mlp_2_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(596352)))]; tensor flow_net_time_embed_1_mlp_0_bias = const()[name = string("flow_net_time_embed_1_mlp_0_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(1644992)))]; tensor flow_net_time_embed_1_mlp_0_weight = const()[name = string("flow_net_time_embed_1_mlp_0_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(1647104)))]; tensor flow_net_time_embed_1_mlp_2_bias = const()[name = string("flow_net_time_embed_1_mlp_2_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(2171456)))]; tensor flow_net_time_embed_1_mlp_2_weight = const()[name = string("flow_net_time_embed_1_mlp_2_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(2173568)))]; tensor flow_net_cond_embed_bias = const()[name = string("flow_net_cond_embed_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(3222208)))]; tensor flow_net_cond_embed_weight = const()[name = string("flow_net_cond_embed_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(3224320)))]; tensor flow_net_res_blocks_0_adaLN_modulation_1_bias = const()[name = string("flow_net_res_blocks_0_adaLN_modulation_1_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(5321536)))]; tensor flow_net_res_blocks_0_adaLN_modulation_1_weight = const()[name = string("flow_net_res_blocks_0_adaLN_modulation_1_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(5327744)))]; tensor flow_net_res_blocks_0_in_ln_bias = const()[name = string("flow_net_res_blocks_0_in_ln_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(8473536)))]; tensor flow_net_res_blocks_0_in_ln_weight = const()[name = string("flow_net_res_blocks_0_in_ln_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(8475648)))]; tensor flow_net_res_blocks_0_mlp_0_bias = const()[name = string("flow_net_res_blocks_0_mlp_0_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(8477760)))]; tensor flow_net_res_blocks_0_mlp_0_weight = const()[name = string("flow_net_res_blocks_0_mlp_0_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(8479872)))]; tensor flow_net_res_blocks_0_mlp_2_bias = const()[name = string("flow_net_res_blocks_0_mlp_2_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(9528512)))]; tensor flow_net_res_blocks_0_mlp_2_weight = const()[name = string("flow_net_res_blocks_0_mlp_2_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(9530624)))]; tensor flow_net_res_blocks_1_adaLN_modulation_1_bias = const()[name = string("flow_net_res_blocks_1_adaLN_modulation_1_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(10579264)))]; tensor flow_net_res_blocks_1_adaLN_modulation_1_weight = const()[name = string("flow_net_res_blocks_1_adaLN_modulation_1_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(10585472)))]; tensor flow_net_res_blocks_1_in_ln_bias = const()[name = string("flow_net_res_blocks_1_in_ln_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(13731264)))]; tensor flow_net_res_blocks_1_in_ln_weight = const()[name = string("flow_net_res_blocks_1_in_ln_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(13733376)))]; tensor flow_net_res_blocks_1_mlp_0_bias = const()[name = string("flow_net_res_blocks_1_mlp_0_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(13735488)))]; tensor flow_net_res_blocks_1_mlp_0_weight = const()[name = string("flow_net_res_blocks_1_mlp_0_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(13737600)))]; tensor flow_net_res_blocks_1_mlp_2_bias = const()[name = string("flow_net_res_blocks_1_mlp_2_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(14786240)))]; tensor flow_net_res_blocks_1_mlp_2_weight = const()[name = string("flow_net_res_blocks_1_mlp_2_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(14788352)))]; tensor flow_net_res_blocks_2_adaLN_modulation_1_bias = const()[name = string("flow_net_res_blocks_2_adaLN_modulation_1_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(15836992)))]; tensor flow_net_res_blocks_2_adaLN_modulation_1_weight = const()[name = string("flow_net_res_blocks_2_adaLN_modulation_1_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(15843200)))]; tensor flow_net_res_blocks_2_in_ln_bias = const()[name = string("flow_net_res_blocks_2_in_ln_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(18988992)))]; tensor flow_net_res_blocks_2_in_ln_weight = const()[name = string("flow_net_res_blocks_2_in_ln_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(18991104)))]; tensor flow_net_res_blocks_2_mlp_0_bias = const()[name = string("flow_net_res_blocks_2_mlp_0_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(18993216)))]; tensor flow_net_res_blocks_2_mlp_0_weight = const()[name = string("flow_net_res_blocks_2_mlp_0_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(18995328)))]; tensor flow_net_res_blocks_2_mlp_2_bias = const()[name = string("flow_net_res_blocks_2_mlp_2_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(20043968)))]; tensor flow_net_res_blocks_2_mlp_2_weight = const()[name = string("flow_net_res_blocks_2_mlp_2_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(20046080)))]; tensor flow_net_res_blocks_3_adaLN_modulation_1_bias = const()[name = string("flow_net_res_blocks_3_adaLN_modulation_1_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(21094720)))]; tensor flow_net_res_blocks_3_adaLN_modulation_1_weight = const()[name = string("flow_net_res_blocks_3_adaLN_modulation_1_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(21100928)))]; tensor flow_net_res_blocks_3_in_ln_bias = const()[name = string("flow_net_res_blocks_3_in_ln_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(24246720)))]; tensor flow_net_res_blocks_3_in_ln_weight = const()[name = string("flow_net_res_blocks_3_in_ln_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(24248832)))]; tensor flow_net_res_blocks_3_mlp_0_bias = const()[name = string("flow_net_res_blocks_3_mlp_0_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(24250944)))]; tensor flow_net_res_blocks_3_mlp_0_weight = const()[name = string("flow_net_res_blocks_3_mlp_0_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(24253056)))]; tensor flow_net_res_blocks_3_mlp_2_bias = const()[name = string("flow_net_res_blocks_3_mlp_2_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(25301696)))]; tensor flow_net_res_blocks_3_mlp_2_weight = const()[name = string("flow_net_res_blocks_3_mlp_2_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(25303808)))]; tensor flow_net_res_blocks_4_adaLN_modulation_1_bias = const()[name = string("flow_net_res_blocks_4_adaLN_modulation_1_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(26352448)))]; tensor flow_net_res_blocks_4_adaLN_modulation_1_weight = const()[name = string("flow_net_res_blocks_4_adaLN_modulation_1_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(26358656)))]; tensor flow_net_res_blocks_4_in_ln_bias = const()[name = string("flow_net_res_blocks_4_in_ln_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(29504448)))]; tensor flow_net_res_blocks_4_in_ln_weight = const()[name = string("flow_net_res_blocks_4_in_ln_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(29506560)))]; tensor flow_net_res_blocks_4_mlp_0_bias = const()[name = string("flow_net_res_blocks_4_mlp_0_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(29508672)))]; tensor flow_net_res_blocks_4_mlp_0_weight = const()[name = string("flow_net_res_blocks_4_mlp_0_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(29510784)))]; tensor flow_net_res_blocks_4_mlp_2_bias = const()[name = string("flow_net_res_blocks_4_mlp_2_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(30559424)))]; tensor flow_net_res_blocks_4_mlp_2_weight = const()[name = string("flow_net_res_blocks_4_mlp_2_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(30561536)))]; tensor flow_net_res_blocks_5_adaLN_modulation_1_bias = const()[name = string("flow_net_res_blocks_5_adaLN_modulation_1_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(31610176)))]; tensor flow_net_res_blocks_5_adaLN_modulation_1_weight = const()[name = string("flow_net_res_blocks_5_adaLN_modulation_1_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(31616384)))]; tensor flow_net_res_blocks_5_in_ln_bias = const()[name = string("flow_net_res_blocks_5_in_ln_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(34762176)))]; tensor flow_net_res_blocks_5_in_ln_weight = const()[name = string("flow_net_res_blocks_5_in_ln_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(34764288)))]; tensor flow_net_res_blocks_5_mlp_0_bias = const()[name = string("flow_net_res_blocks_5_mlp_0_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(34766400)))]; tensor flow_net_res_blocks_5_mlp_0_weight = const()[name = string("flow_net_res_blocks_5_mlp_0_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(34768512)))]; tensor flow_net_res_blocks_5_mlp_2_bias = const()[name = string("flow_net_res_blocks_5_mlp_2_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(35817152)))]; tensor flow_net_res_blocks_5_mlp_2_weight = const()[name = string("flow_net_res_blocks_5_mlp_2_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(35819264)))]; tensor flow_net_final_layer_adaLN_modulation_1_bias = const()[name = string("flow_net_final_layer_adaLN_modulation_1_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(36867904)))]; tensor flow_net_final_layer_adaLN_modulation_1_weight = const()[name = string("flow_net_final_layer_adaLN_modulation_1_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(36872064)))]; tensor flow_net_final_layer_linear_bias = const()[name = string("flow_net_final_layer_linear_bias"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(38969280)))]; tensor flow_net_final_layer_linear_weight = const()[name = string("flow_net_final_layer_linear_weight"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(38969472)))]; int32 var_9 = const()[name = string("op_9"), val = int32(-1)]; tensor x_5 = linear(bias = flow_net_input_proj_bias, weight = flow_net_input_proj_weight, x = latent)[name = string("linear_0")]; tensor const_0 = const()[name = string("const_0"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(39035072)))]; tensor args_1 = mul(x = s, y = const_0)[name = string("args_1")]; tensor var_39 = cos(x = args_1)[name = string("op_39")]; tensor var_40 = sin(x = args_1)[name = string("op_40")]; bool input_1_interleave_0 = const()[name = string("input_1_interleave_0"), val = bool(false)]; tensor input_1 = concat(axis = var_9, interleave = input_1_interleave_0, values = (var_39, var_40))[name = string("input_1")]; tensor input_3 = linear(bias = flow_net_time_embed_0_mlp_0_bias, weight = flow_net_time_embed_0_mlp_0_weight, x = input_1)[name = string("linear_1")]; tensor input_5 = silu(x = input_3)[name = string("input_5")]; tensor x_1 = linear(bias = flow_net_time_embed_0_mlp_2_bias, weight = flow_net_time_embed_0_mlp_2_weight, x = input_5)[name = string("linear_2")]; tensor reduce_mean_0_axes_0 = const()[name = string("reduce_mean_0_axes_0"), val = tensor([-1])]; bool reduce_mean_0_keep_dims_0 = const()[name = string("reduce_mean_0_keep_dims_0"), val = bool(true)]; tensor reduce_mean_0 = reduce_mean(axes = reduce_mean_0_axes_0, keep_dims = reduce_mean_0_keep_dims_0, x = x_1)[name = string("reduce_mean_0")]; tensor sub_0 = sub(x = x_1, y = reduce_mean_0)[name = string("sub_0")]; tensor square_0 = square(x = sub_0)[name = string("square_0")]; tensor reduce_mean_1_axes_0 = const()[name = string("reduce_mean_1_axes_0"), val = tensor([-1])]; bool reduce_mean_1_keep_dims_0 = const()[name = string("reduce_mean_1_keep_dims_0"), val = bool(true)]; tensor reduce_mean_1 = reduce_mean(axes = reduce_mean_1_axes_0, keep_dims = reduce_mean_1_keep_dims_0, x = square_0)[name = string("reduce_mean_1")]; fp32 real_div_0 = const()[name = string("real_div_0"), val = fp32(0x1.00804p+0)]; tensor mul_0 = mul(x = reduce_mean_1, y = real_div_0)[name = string("mul_0")]; fp32 var_56 = const()[name = string("op_56"), val = fp32(0x1.4f8b58p-17)]; tensor var_1 = add(x = mul_0, y = var_56)[name = string("var_1")]; tensor const_1 = const()[name = string("const_1"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(39035648)))]; fp32 var_59_epsilon_0 = const()[name = string("op_59_epsilon_0"), val = fp32(0x1.197998p-40)]; tensor var_59 = rsqrt(epsilon = var_59_epsilon_0, x = var_1)[name = string("op_59")]; tensor var_60 = mul(x = const_1, y = var_59)[name = string("op_60")]; tensor var_61 = mul(x = x_1, y = var_60)[name = string("op_61")]; tensor args = mul(x = t, y = const_0)[name = string("args")]; tensor var_69 = cos(x = args)[name = string("op_69")]; tensor var_70 = sin(x = args)[name = string("op_70")]; bool input_7_interleave_0 = const()[name = string("input_7_interleave_0"), val = bool(false)]; tensor input_7 = concat(axis = var_9, interleave = input_7_interleave_0, values = (var_69, var_70))[name = string("input_7")]; tensor input_9 = linear(bias = flow_net_time_embed_1_mlp_0_bias, weight = flow_net_time_embed_1_mlp_0_weight, x = input_7)[name = string("linear_3")]; tensor input_11 = silu(x = input_9)[name = string("input_11")]; tensor x_3 = linear(bias = flow_net_time_embed_1_mlp_2_bias, weight = flow_net_time_embed_1_mlp_2_weight, x = input_11)[name = string("linear_4")]; tensor reduce_mean_2_axes_0 = const()[name = string("reduce_mean_2_axes_0"), val = tensor([-1])]; bool reduce_mean_2_keep_dims_0 = const()[name = string("reduce_mean_2_keep_dims_0"), val = bool(true)]; tensor reduce_mean_2 = reduce_mean(axes = reduce_mean_2_axes_0, keep_dims = reduce_mean_2_keep_dims_0, x = x_3)[name = string("reduce_mean_2")]; tensor sub_2 = sub(x = x_3, y = reduce_mean_2)[name = string("sub_2")]; tensor square_1 = square(x = sub_2)[name = string("square_1")]; tensor reduce_mean_3_axes_0 = const()[name = string("reduce_mean_3_axes_0"), val = tensor([-1])]; bool reduce_mean_3_keep_dims_0 = const()[name = string("reduce_mean_3_keep_dims_0"), val = bool(true)]; tensor reduce_mean_3 = reduce_mean(axes = reduce_mean_3_axes_0, keep_dims = reduce_mean_3_keep_dims_0, x = square_1)[name = string("reduce_mean_3")]; fp32 real_div_1 = const()[name = string("real_div_1"), val = fp32(0x1.00804p+0)]; tensor mul_1 = mul(x = reduce_mean_3, y = real_div_1)[name = string("mul_1")]; fp32 var_86 = const()[name = string("op_86"), val = fp32(0x1.4f8b58p-17)]; tensor var_3 = add(x = mul_1, y = var_86)[name = string("var_3")]; tensor const_3 = const()[name = string("const_3"), val = tensor(BLOBFILE(path = string("@model_path/weights/weight.bin"), offset = uint64(39037760)))]; fp32 var_89_epsilon_0 = const()[name = string("op_89_epsilon_0"), val = fp32(0x1.197998p-40)]; tensor var_89 = rsqrt(epsilon = var_89_epsilon_0, x = var_3)[name = string("op_89")]; tensor var_90 = mul(x = const_3, y = var_89)[name = string("op_90")]; tensor var_91 = mul(x = x_3, y = var_90)[name = string("op_91")]; tensor var_93 = add(x = var_61, y = var_91)[name = string("op_93")]; fp32 _inversed_t_combined_y_0 = const()[name = string("_inversed_t_combined_y_0"), val = fp32(0x1p-1)]; tensor _inversed_t_combined = mul(x = var_93, y = _inversed_t_combined_y_0)[name = string("_inversed_t_combined")]; tensor c = linear(bias = flow_net_cond_embed_bias, weight = flow_net_cond_embed_weight, x = transformer_out)[name = string("linear_5")]; tensor input_13 = add(x = _inversed_t_combined, y = c)[name = string("input_13")]; tensor input_15 = silu(x = input_13)[name = string("input_15")]; tensor var_107 = linear(bias = flow_net_res_blocks_0_adaLN_modulation_1_bias, weight = flow_net_res_blocks_0_adaLN_modulation_1_weight, x = input_15)[name = string("linear_6")]; tensor var_108_split_sizes_0 = const()[name = string("op_108_split_sizes_0"), val = tensor([512, 512, 512])]; int32 var_108_axis_0 = const()[name = string("op_108_axis_0"), val = int32(-1)]; tensor var_108_0, tensor var_108_1, tensor var_108_2 = split(axis = var_108_axis_0, split_sizes = var_108_split_sizes_0, x = var_107)[name = string("op_108")]; tensor mean_1_axes_0 = const()[name = string("mean_1_axes_0"), val = tensor([-1])]; bool mean_1_keep_dims_0 = const()[name = string("mean_1_keep_dims_0"), val = bool(true)]; tensor mean_1 = reduce_mean(axes = mean_1_axes_0, keep_dims = mean_1_keep_dims_0, x = x_5)[name = string("mean_1")]; tensor sub_4 = sub(x = x_5, y = mean_1)[name = string("sub_4")]; tensor square_2 = square(x = sub_4)[name = string("square_2")]; tensor reduce_mean_5_axes_0 = const()[name = string("reduce_mean_5_axes_0"), val = tensor([-1])]; bool reduce_mean_5_keep_dims_0 = const()[name = string("reduce_mean_5_keep_dims_0"), val = bool(true)]; tensor reduce_mean_5 = reduce_mean(axes = reduce_mean_5_axes_0, keep_dims = reduce_mean_5_keep_dims_0, x = square_2)[name = string("reduce_mean_5")]; fp32 var_118 = const()[name = string("op_118"), val = fp32(0x1.0c6f7ap-20)]; tensor var_119 = add(x = reduce_mean_5, y = var_118)[name = string("op_119")]; tensor var_120 = sqrt(x = var_119)[name = string("op_120")]; tensor x_7 = real_div(x = sub_4, y = var_120)[name = string("x_7")]; tensor var_122 = mul(x = x_7, y = flow_net_res_blocks_0_in_ln_weight)[name = string("op_122")]; tensor x_9 = add(x = var_122, y = flow_net_res_blocks_0_in_ln_bias)[name = string("x_9")]; fp32 var_124_promoted = const()[name = string("op_124_promoted"), val = fp32(0x1p+0)]; tensor var_125 = add(x = var_108_1, y = var_124_promoted)[name = string("op_125")]; tensor var_126 = mul(x = x_9, y = var_125)[name = string("op_126")]; tensor input_17 = add(x = var_126, y = var_108_0)[name = string("input_17")]; tensor input_19 = linear(bias = flow_net_res_blocks_0_mlp_0_bias, weight = flow_net_res_blocks_0_mlp_0_weight, x = input_17)[name = string("linear_7")]; tensor input_21 = silu(x = input_19)[name = string("input_21")]; tensor h_1 = linear(bias = flow_net_res_blocks_0_mlp_2_bias, weight = flow_net_res_blocks_0_mlp_2_weight, x = input_21)[name = string("linear_8")]; tensor var_137 = mul(x = var_108_2, y = h_1)[name = string("op_137")]; tensor x_11 = add(x = x_5, y = var_137)[name = string("x_11")]; tensor var_146 = linear(bias = flow_net_res_blocks_1_adaLN_modulation_1_bias, weight = flow_net_res_blocks_1_adaLN_modulation_1_weight, x = input_15)[name = string("linear_9")]; tensor var_147_split_sizes_0 = const()[name = string("op_147_split_sizes_0"), val = tensor([512, 512, 512])]; int32 var_147_axis_0 = const()[name = string("op_147_axis_0"), val = int32(-1)]; tensor var_147_0, tensor var_147_1, tensor var_147_2 = split(axis = var_147_axis_0, split_sizes = var_147_split_sizes_0, x = var_146)[name = string("op_147")]; tensor mean_3_axes_0 = const()[name = string("mean_3_axes_0"), val = tensor([-1])]; bool mean_3_keep_dims_0 = const()[name = string("mean_3_keep_dims_0"), val = bool(true)]; tensor mean_3 = reduce_mean(axes = mean_3_axes_0, keep_dims = mean_3_keep_dims_0, x = x_11)[name = string("mean_3")]; tensor sub_5 = sub(x = x_11, y = mean_3)[name = string("sub_5")]; tensor square_3 = square(x = sub_5)[name = string("square_3")]; tensor reduce_mean_7_axes_0 = const()[name = string("reduce_mean_7_axes_0"), val = tensor([-1])]; bool reduce_mean_7_keep_dims_0 = const()[name = string("reduce_mean_7_keep_dims_0"), val = bool(true)]; tensor reduce_mean_7 = reduce_mean(axes = reduce_mean_7_axes_0, keep_dims = reduce_mean_7_keep_dims_0, x = square_3)[name = string("reduce_mean_7")]; fp32 var_157 = const()[name = string("op_157"), val = fp32(0x1.0c6f7ap-20)]; tensor var_158 = add(x = reduce_mean_7, y = var_157)[name = string("op_158")]; tensor var_159 = sqrt(x = var_158)[name = string("op_159")]; tensor x_13 = real_div(x = sub_5, y = var_159)[name = string("x_13")]; tensor var_161 = mul(x = x_13, y = flow_net_res_blocks_1_in_ln_weight)[name = string("op_161")]; tensor x_15 = add(x = var_161, y = flow_net_res_blocks_1_in_ln_bias)[name = string("x_15")]; fp32 var_163_promoted = const()[name = string("op_163_promoted"), val = fp32(0x1p+0)]; tensor var_164 = add(x = var_147_1, y = var_163_promoted)[name = string("op_164")]; tensor var_165 = mul(x = x_15, y = var_164)[name = string("op_165")]; tensor input_25 = add(x = var_165, y = var_147_0)[name = string("input_25")]; tensor input_27 = linear(bias = flow_net_res_blocks_1_mlp_0_bias, weight = flow_net_res_blocks_1_mlp_0_weight, x = input_25)[name = string("linear_10")]; tensor input_29 = silu(x = input_27)[name = string("input_29")]; tensor h_3 = linear(bias = flow_net_res_blocks_1_mlp_2_bias, weight = flow_net_res_blocks_1_mlp_2_weight, x = input_29)[name = string("linear_11")]; tensor var_176 = mul(x = var_147_2, y = h_3)[name = string("op_176")]; tensor x_17 = add(x = x_11, y = var_176)[name = string("x_17")]; tensor var_185 = linear(bias = flow_net_res_blocks_2_adaLN_modulation_1_bias, weight = flow_net_res_blocks_2_adaLN_modulation_1_weight, x = input_15)[name = string("linear_12")]; tensor var_186_split_sizes_0 = const()[name = string("op_186_split_sizes_0"), val = tensor([512, 512, 512])]; int32 var_186_axis_0 = const()[name = string("op_186_axis_0"), val = int32(-1)]; tensor var_186_0, tensor var_186_1, tensor var_186_2 = split(axis = var_186_axis_0, split_sizes = var_186_split_sizes_0, x = var_185)[name = string("op_186")]; tensor mean_5_axes_0 = const()[name = string("mean_5_axes_0"), val = tensor([-1])]; bool mean_5_keep_dims_0 = const()[name = string("mean_5_keep_dims_0"), val = bool(true)]; tensor mean_5 = reduce_mean(axes = mean_5_axes_0, keep_dims = mean_5_keep_dims_0, x = x_17)[name = string("mean_5")]; tensor sub_6 = sub(x = x_17, y = mean_5)[name = string("sub_6")]; tensor square_4 = square(x = sub_6)[name = string("square_4")]; tensor reduce_mean_9_axes_0 = const()[name = string("reduce_mean_9_axes_0"), val = tensor([-1])]; bool reduce_mean_9_keep_dims_0 = const()[name = string("reduce_mean_9_keep_dims_0"), val = bool(true)]; tensor reduce_mean_9 = reduce_mean(axes = reduce_mean_9_axes_0, keep_dims = reduce_mean_9_keep_dims_0, x = square_4)[name = string("reduce_mean_9")]; fp32 var_196 = const()[name = string("op_196"), val = fp32(0x1.0c6f7ap-20)]; tensor var_197 = add(x = reduce_mean_9, y = var_196)[name = string("op_197")]; tensor var_198 = sqrt(x = var_197)[name = string("op_198")]; tensor x_19 = real_div(x = sub_6, y = var_198)[name = string("x_19")]; tensor var_200 = mul(x = x_19, y = flow_net_res_blocks_2_in_ln_weight)[name = string("op_200")]; tensor x_21 = add(x = var_200, y = flow_net_res_blocks_2_in_ln_bias)[name = string("x_21")]; fp32 var_202_promoted = const()[name = string("op_202_promoted"), val = fp32(0x1p+0)]; tensor var_203 = add(x = var_186_1, y = var_202_promoted)[name = string("op_203")]; tensor var_204 = mul(x = x_21, y = var_203)[name = string("op_204")]; tensor input_33 = add(x = var_204, y = var_186_0)[name = string("input_33")]; tensor input_35 = linear(bias = flow_net_res_blocks_2_mlp_0_bias, weight = flow_net_res_blocks_2_mlp_0_weight, x = input_33)[name = string("linear_13")]; tensor input_37 = silu(x = input_35)[name = string("input_37")]; tensor h_5 = linear(bias = flow_net_res_blocks_2_mlp_2_bias, weight = flow_net_res_blocks_2_mlp_2_weight, x = input_37)[name = string("linear_14")]; tensor var_215 = mul(x = var_186_2, y = h_5)[name = string("op_215")]; tensor x_23 = add(x = x_17, y = var_215)[name = string("x_23")]; tensor var_224 = linear(bias = flow_net_res_blocks_3_adaLN_modulation_1_bias, weight = flow_net_res_blocks_3_adaLN_modulation_1_weight, x = input_15)[name = string("linear_15")]; tensor var_225_split_sizes_0 = const()[name = string("op_225_split_sizes_0"), val = tensor([512, 512, 512])]; int32 var_225_axis_0 = const()[name = string("op_225_axis_0"), val = int32(-1)]; tensor var_225_0, tensor var_225_1, tensor var_225_2 = split(axis = var_225_axis_0, split_sizes = var_225_split_sizes_0, x = var_224)[name = string("op_225")]; tensor mean_7_axes_0 = const()[name = string("mean_7_axes_0"), val = tensor([-1])]; bool mean_7_keep_dims_0 = const()[name = string("mean_7_keep_dims_0"), val = bool(true)]; tensor mean_7 = reduce_mean(axes = mean_7_axes_0, keep_dims = mean_7_keep_dims_0, x = x_23)[name = string("mean_7")]; tensor sub_7 = sub(x = x_23, y = mean_7)[name = string("sub_7")]; tensor square_5 = square(x = sub_7)[name = string("square_5")]; tensor reduce_mean_11_axes_0 = const()[name = string("reduce_mean_11_axes_0"), val = tensor([-1])]; bool reduce_mean_11_keep_dims_0 = const()[name = string("reduce_mean_11_keep_dims_0"), val = bool(true)]; tensor reduce_mean_11 = reduce_mean(axes = reduce_mean_11_axes_0, keep_dims = reduce_mean_11_keep_dims_0, x = square_5)[name = string("reduce_mean_11")]; fp32 var_235 = const()[name = string("op_235"), val = fp32(0x1.0c6f7ap-20)]; tensor var_236 = add(x = reduce_mean_11, y = var_235)[name = string("op_236")]; tensor var_237 = sqrt(x = var_236)[name = string("op_237")]; tensor x_25 = real_div(x = sub_7, y = var_237)[name = string("x_25")]; tensor var_239 = mul(x = x_25, y = flow_net_res_blocks_3_in_ln_weight)[name = string("op_239")]; tensor x_27 = add(x = var_239, y = flow_net_res_blocks_3_in_ln_bias)[name = string("x_27")]; fp32 var_241_promoted = const()[name = string("op_241_promoted"), val = fp32(0x1p+0)]; tensor var_242 = add(x = var_225_1, y = var_241_promoted)[name = string("op_242")]; tensor var_243 = mul(x = x_27, y = var_242)[name = string("op_243")]; tensor input_41 = add(x = var_243, y = var_225_0)[name = string("input_41")]; tensor input_43 = linear(bias = flow_net_res_blocks_3_mlp_0_bias, weight = flow_net_res_blocks_3_mlp_0_weight, x = input_41)[name = string("linear_16")]; tensor input_45 = silu(x = input_43)[name = string("input_45")]; tensor h_7 = linear(bias = flow_net_res_blocks_3_mlp_2_bias, weight = flow_net_res_blocks_3_mlp_2_weight, x = input_45)[name = string("linear_17")]; tensor var_254 = mul(x = var_225_2, y = h_7)[name = string("op_254")]; tensor x_29 = add(x = x_23, y = var_254)[name = string("x_29")]; tensor var_263 = linear(bias = flow_net_res_blocks_4_adaLN_modulation_1_bias, weight = flow_net_res_blocks_4_adaLN_modulation_1_weight, x = input_15)[name = string("linear_18")]; tensor var_264_split_sizes_0 = const()[name = string("op_264_split_sizes_0"), val = tensor([512, 512, 512])]; int32 var_264_axis_0 = const()[name = string("op_264_axis_0"), val = int32(-1)]; tensor var_264_0, tensor var_264_1, tensor var_264_2 = split(axis = var_264_axis_0, split_sizes = var_264_split_sizes_0, x = var_263)[name = string("op_264")]; tensor mean_9_axes_0 = const()[name = string("mean_9_axes_0"), val = tensor([-1])]; bool mean_9_keep_dims_0 = const()[name = string("mean_9_keep_dims_0"), val = bool(true)]; tensor mean_9 = reduce_mean(axes = mean_9_axes_0, keep_dims = mean_9_keep_dims_0, x = x_29)[name = string("mean_9")]; tensor sub_8 = sub(x = x_29, y = mean_9)[name = string("sub_8")]; tensor square_6 = square(x = sub_8)[name = string("square_6")]; tensor reduce_mean_13_axes_0 = const()[name = string("reduce_mean_13_axes_0"), val = tensor([-1])]; bool reduce_mean_13_keep_dims_0 = const()[name = string("reduce_mean_13_keep_dims_0"), val = bool(true)]; tensor reduce_mean_13 = reduce_mean(axes = reduce_mean_13_axes_0, keep_dims = reduce_mean_13_keep_dims_0, x = square_6)[name = string("reduce_mean_13")]; fp32 var_274 = const()[name = string("op_274"), val = fp32(0x1.0c6f7ap-20)]; tensor var_275 = add(x = reduce_mean_13, y = var_274)[name = string("op_275")]; tensor var_276 = sqrt(x = var_275)[name = string("op_276")]; tensor x_31 = real_div(x = sub_8, y = var_276)[name = string("x_31")]; tensor var_278 = mul(x = x_31, y = flow_net_res_blocks_4_in_ln_weight)[name = string("op_278")]; tensor x_33 = add(x = var_278, y = flow_net_res_blocks_4_in_ln_bias)[name = string("x_33")]; fp32 var_280_promoted = const()[name = string("op_280_promoted"), val = fp32(0x1p+0)]; tensor var_281 = add(x = var_264_1, y = var_280_promoted)[name = string("op_281")]; tensor var_282 = mul(x = x_33, y = var_281)[name = string("op_282")]; tensor input_49 = add(x = var_282, y = var_264_0)[name = string("input_49")]; tensor input_51 = linear(bias = flow_net_res_blocks_4_mlp_0_bias, weight = flow_net_res_blocks_4_mlp_0_weight, x = input_49)[name = string("linear_19")]; tensor input_53 = silu(x = input_51)[name = string("input_53")]; tensor h_9 = linear(bias = flow_net_res_blocks_4_mlp_2_bias, weight = flow_net_res_blocks_4_mlp_2_weight, x = input_53)[name = string("linear_20")]; tensor var_293 = mul(x = var_264_2, y = h_9)[name = string("op_293")]; tensor x_35 = add(x = x_29, y = var_293)[name = string("x_35")]; tensor var_302 = linear(bias = flow_net_res_blocks_5_adaLN_modulation_1_bias, weight = flow_net_res_blocks_5_adaLN_modulation_1_weight, x = input_15)[name = string("linear_21")]; tensor var_303_split_sizes_0 = const()[name = string("op_303_split_sizes_0"), val = tensor([512, 512, 512])]; int32 var_303_axis_0 = const()[name = string("op_303_axis_0"), val = int32(-1)]; tensor var_303_0, tensor var_303_1, tensor var_303_2 = split(axis = var_303_axis_0, split_sizes = var_303_split_sizes_0, x = var_302)[name = string("op_303")]; tensor mean_11_axes_0 = const()[name = string("mean_11_axes_0"), val = tensor([-1])]; bool mean_11_keep_dims_0 = const()[name = string("mean_11_keep_dims_0"), val = bool(true)]; tensor mean_11 = reduce_mean(axes = mean_11_axes_0, keep_dims = mean_11_keep_dims_0, x = x_35)[name = string("mean_11")]; tensor sub_9 = sub(x = x_35, y = mean_11)[name = string("sub_9")]; tensor square_7 = square(x = sub_9)[name = string("square_7")]; tensor reduce_mean_15_axes_0 = const()[name = string("reduce_mean_15_axes_0"), val = tensor([-1])]; bool reduce_mean_15_keep_dims_0 = const()[name = string("reduce_mean_15_keep_dims_0"), val = bool(true)]; tensor reduce_mean_15 = reduce_mean(axes = reduce_mean_15_axes_0, keep_dims = reduce_mean_15_keep_dims_0, x = square_7)[name = string("reduce_mean_15")]; fp32 var_313 = const()[name = string("op_313"), val = fp32(0x1.0c6f7ap-20)]; tensor var_314 = add(x = reduce_mean_15, y = var_313)[name = string("op_314")]; tensor var_315 = sqrt(x = var_314)[name = string("op_315")]; tensor x_37 = real_div(x = sub_9, y = var_315)[name = string("x_37")]; tensor var_317 = mul(x = x_37, y = flow_net_res_blocks_5_in_ln_weight)[name = string("op_317")]; tensor x_39 = add(x = var_317, y = flow_net_res_blocks_5_in_ln_bias)[name = string("x_39")]; fp32 var_319_promoted = const()[name = string("op_319_promoted"), val = fp32(0x1p+0)]; tensor var_320 = add(x = var_303_1, y = var_319_promoted)[name = string("op_320")]; tensor var_321 = mul(x = x_39, y = var_320)[name = string("op_321")]; tensor input_57 = add(x = var_321, y = var_303_0)[name = string("input_57")]; tensor input_59 = linear(bias = flow_net_res_blocks_5_mlp_0_bias, weight = flow_net_res_blocks_5_mlp_0_weight, x = input_57)[name = string("linear_22")]; tensor input_61 = silu(x = input_59)[name = string("input_61")]; tensor h = linear(bias = flow_net_res_blocks_5_mlp_2_bias, weight = flow_net_res_blocks_5_mlp_2_weight, x = input_61)[name = string("linear_23")]; tensor var_332 = mul(x = var_303_2, y = h)[name = string("op_332")]; tensor x_41 = add(x = x_35, y = var_332)[name = string("x_41")]; tensor var_340 = linear(bias = flow_net_final_layer_adaLN_modulation_1_bias, weight = flow_net_final_layer_adaLN_modulation_1_weight, x = input_15)[name = string("linear_24")]; tensor var_341_split_sizes_0 = const()[name = string("op_341_split_sizes_0"), val = tensor([512, 512])]; int32 var_341_axis_0 = const()[name = string("op_341_axis_0"), val = int32(-1)]; tensor var_341_0, tensor var_341_1 = split(axis = var_341_axis_0, split_sizes = var_341_split_sizes_0, x = var_340)[name = string("op_341")]; tensor mean_axes_0 = const()[name = string("mean_axes_0"), val = tensor([-1])]; bool mean_keep_dims_0 = const()[name = string("mean_keep_dims_0"), val = bool(true)]; tensor mean = reduce_mean(axes = mean_axes_0, keep_dims = mean_keep_dims_0, x = x_41)[name = string("mean")]; tensor sub_10 = sub(x = x_41, y = mean)[name = string("sub_10")]; tensor square_8 = square(x = sub_10)[name = string("square_8")]; tensor reduce_mean_17_axes_0 = const()[name = string("reduce_mean_17_axes_0"), val = tensor([-1])]; bool reduce_mean_17_keep_dims_0 = const()[name = string("reduce_mean_17_keep_dims_0"), val = bool(true)]; tensor reduce_mean_17 = reduce_mean(axes = reduce_mean_17_axes_0, keep_dims = reduce_mean_17_keep_dims_0, x = square_8)[name = string("reduce_mean_17")]; fp32 var_348 = const()[name = string("op_348"), val = fp32(0x1.0c6f7ap-20)]; tensor var_349 = add(x = reduce_mean_17, y = var_348)[name = string("op_349")]; tensor var_350 = sqrt(x = var_349)[name = string("op_350")]; tensor x = real_div(x = sub_10, y = var_350)[name = string("x")]; fp32 var_352_promoted = const()[name = string("op_352_promoted"), val = fp32(0x1p+0)]; tensor var_353 = add(x = var_341_1, y = var_352_promoted)[name = string("op_353")]; tensor var_354 = mul(x = x, y = var_353)[name = string("op_354")]; tensor input = add(x = var_354, y = var_341_0)[name = string("input")]; tensor var_358 = linear(bias = flow_net_final_layer_linear_bias, weight = flow_net_final_layer_linear_weight, x = input)[name = string("linear_25")]; } -> (var_358); }