Enumerated-shape FSMN scorer [512,1024,2048,3072]
Browse files
FsmnVad.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cdc1925276b5040a2a98402e159f8c04ccff08878f097fce82c631673f342d5f
|
| 3 |
+
size 243
|
FsmnVad.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e641cf646ec0803e1745302bde58c9e3d4ec51d9d5823a28bfbd946d5c8a1b4c
|
| 3 |
+
size 347
|
FsmnVad.mlmodelc/model.mil
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
program(1.0)
|
| 2 |
+
[buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "3520.4.1"}, {"coremlc-version", "3520.5.1"}, {"coremltools-component-torch", "2.5.1"}, {"coremltools-source-dialect", "TorchScript"}, {"coremltools-version", "8.3.0"}})]
|
| 3 |
+
{
|
| 4 |
+
func main<ios17>(tensor<fp32, [1, ?, 400]> feats) [FlexibleShapeInformation = tuple<tuple<tensor<string, []>, dict<tensor<string, []>, tensor<int32, [?]>>>, tuple<tensor<string, []>, dict<tensor<string, []>, dict<tensor<string, []>, tensor<int32, [?]>>>>>((("DefaultShapes", {{"feats", [1, 3072, 400]}}), ("EnumeratedShapes", {{"feats_1_1_1_1024_400_", {{"feats", [1, 1024, 400]}}}, {"feats_1_1_1_2048_400_", {{"feats", [1, 2048, 400]}}}, {"feats_1_1_1_3072_400_", {{"feats", [1, 3072, 400]}}}, {"feats_1_1_1_512_400_", {{"feats", [1, 512, 400]}}}})))] {
|
| 5 |
+
tensor<int32, []> var_3 = const()[name = tensor<string, []>("op_3"), val = tensor<int32, []>(-1)];
|
| 6 |
+
tensor<int32, []> var_12 = const()[name = tensor<string, []>("op_12"), val = tensor<int32, []>(2)];
|
| 7 |
+
tensor<string, []> feats_to_fp16_dtype_0 = const()[name = tensor<string, []>("feats_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
|
| 8 |
+
tensor<fp16, [140, 400]> net_in_linear1_linear_weight_to_fp16 = const()[name = tensor<string, []>("net_in_linear1_linear_weight_to_fp16"), val = tensor<fp16, [140, 400]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(64)))];
|
| 9 |
+
tensor<fp16, [140]> net_in_linear1_linear_bias_to_fp16 = const()[name = tensor<string, []>("net_in_linear1_linear_bias_to_fp16"), val = tensor<fp16, [140]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(112128)))];
|
| 10 |
+
tensor<fp16, [1, ?, 400]> feats_to_fp16 = cast(dtype = feats_to_fp16_dtype_0, x = feats)[name = tensor<string, []>("cast_1")];
|
| 11 |
+
tensor<fp16, [1, ?, 140]> linear_0_cast_fp16 = linear(bias = net_in_linear1_linear_bias_to_fp16, weight = net_in_linear1_linear_weight_to_fp16, x = feats_to_fp16)[name = tensor<string, []>("linear_0_cast_fp16")];
|
| 12 |
+
tensor<fp16, [250, 140]> net_in_linear2_linear_weight_to_fp16 = const()[name = tensor<string, []>("net_in_linear2_linear_weight_to_fp16"), val = tensor<fp16, [250, 140]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(112512)))];
|
| 13 |
+
tensor<fp16, [250]> net_in_linear2_linear_bias_to_fp16 = const()[name = tensor<string, []>("net_in_linear2_linear_bias_to_fp16"), val = tensor<fp16, [250]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(182592)))];
|
| 14 |
+
tensor<fp16, [1, ?, 250]> linear_1_cast_fp16 = linear(bias = net_in_linear2_linear_bias_to_fp16, weight = net_in_linear2_linear_weight_to_fp16, x = linear_0_cast_fp16)[name = tensor<string, []>("linear_1_cast_fp16")];
|
| 15 |
+
tensor<fp16, [1, ?, 250]> input_5_cast_fp16 = relu(x = linear_1_cast_fp16)[name = tensor<string, []>("input_5_cast_fp16")];
|
| 16 |
+
tensor<fp16, [128, 250]> net_fsmn_0_linear_linear_weight_to_fp16 = const()[name = tensor<string, []>("net_fsmn_0_linear_linear_weight_to_fp16"), val = tensor<fp16, [128, 250]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(183168)))];
|
| 17 |
+
tensor<fp16, [128]> linear_2_bias_0_to_fp16 = const()[name = tensor<string, []>("linear_2_bias_0_to_fp16"), val = tensor<fp16, [128]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(247232)))];
|
| 18 |
+
tensor<fp16, [1, ?, 128]> linear_2_cast_fp16 = linear(bias = linear_2_bias_0_to_fp16, weight = net_fsmn_0_linear_linear_weight_to_fp16, x = input_5_cast_fp16)[name = tensor<string, []>("linear_2_cast_fp16")];
|
| 19 |
+
tensor<int32, [1]> x_1_axes_0 = const()[name = tensor<string, []>("x_1_axes_0"), val = tensor<int32, [1]>([1])];
|
| 20 |
+
tensor<fp16, [1, 1, ?, 128]> x_1_cast_fp16 = expand_dims(axes = x_1_axes_0, x = linear_2_cast_fp16)[name = tensor<string, []>("x_1_cast_fp16")];
|
| 21 |
+
tensor<int32, [4]> var_45 = const()[name = tensor<string, []>("op_45"), val = tensor<int32, [4]>([0, 3, 2, 1])];
|
| 22 |
+
tensor<bool, []> y_left_1_interleave_0 = const()[name = tensor<string, []>("y_left_1_interleave_0"), val = tensor<bool, []>(false)];
|
| 23 |
+
tensor<fp16, [1, 128, 19, 1]> const_0_to_fp16 = const()[name = tensor<string, []>("const_0_to_fp16"), val = tensor<fp16, [1, 128, 19, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(247552)))];
|
| 24 |
+
tensor<fp16, [1, 128, ?, 1]> x_per_1_cast_fp16 = transpose(perm = var_45, x = x_1_cast_fp16)[name = tensor<string, []>("transpose_7")];
|
| 25 |
+
tensor<fp16, [1, 128, ?, 1]> y_left_1_cast_fp16 = concat(axis = var_12, interleave = y_left_1_interleave_0, values = (const_0_to_fp16, x_per_1_cast_fp16))[name = tensor<string, []>("y_left_1_cast_fp16")];
|
| 26 |
+
tensor<string, []> y_left_3_pad_type_0 = const()[name = tensor<string, []>("y_left_3_pad_type_0"), val = tensor<string, []>("valid")];
|
| 27 |
+
tensor<int32, []> y_left_3_groups_0 = const()[name = tensor<string, []>("y_left_3_groups_0"), val = tensor<int32, []>(128)];
|
| 28 |
+
tensor<int32, [2]> y_left_3_strides_0 = const()[name = tensor<string, []>("y_left_3_strides_0"), val = tensor<int32, [2]>([1, 1])];
|
| 29 |
+
tensor<int32, [4]> y_left_3_pad_0 = const()[name = tensor<string, []>("y_left_3_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
|
| 30 |
+
tensor<int32, [2]> y_left_3_dilations_0 = const()[name = tensor<string, []>("y_left_3_dilations_0"), val = tensor<int32, [2]>([1, 1])];
|
| 31 |
+
tensor<fp16, [128, 1, 20, 1]> net_fsmn_0_fsmn_block_conv_left_weight_to_fp16 = const()[name = tensor<string, []>("net_fsmn_0_fsmn_block_conv_left_weight_to_fp16"), val = tensor<fp16, [128, 1, 20, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(252480)))];
|
| 32 |
+
tensor<fp16, [1, 128, ?, 1]> y_left_3_cast_fp16 = conv(dilations = y_left_3_dilations_0, groups = y_left_3_groups_0, pad = y_left_3_pad_0, pad_type = y_left_3_pad_type_0, strides = y_left_3_strides_0, weight = net_fsmn_0_fsmn_block_conv_left_weight_to_fp16, x = y_left_1_cast_fp16)[name = tensor<string, []>("y_left_3_cast_fp16")];
|
| 33 |
+
tensor<fp16, [1, 128, ?, 1]> out_1_cast_fp16 = add(x = x_per_1_cast_fp16, y = y_left_3_cast_fp16)[name = tensor<string, []>("out_1_cast_fp16")];
|
| 34 |
+
tensor<int32, [4]> var_57 = const()[name = tensor<string, []>("op_57"), val = tensor<int32, [4]>([0, 3, 2, 1])];
|
| 35 |
+
tensor<int32, [1]> input_7_axes_0 = const()[name = tensor<string, []>("input_7_axes_0"), val = tensor<int32, [1]>([1])];
|
| 36 |
+
tensor<fp16, [1, 1, ?, 128]> out_per_1_cast_fp16 = transpose(perm = var_57, x = out_1_cast_fp16)[name = tensor<string, []>("transpose_6")];
|
| 37 |
+
tensor<fp16, [1, ?, 128]> input_7_cast_fp16 = squeeze(axes = input_7_axes_0, x = out_per_1_cast_fp16)[name = tensor<string, []>("input_7_cast_fp16")];
|
| 38 |
+
tensor<fp16, [250, 128]> net_fsmn_0_affine_linear_weight_to_fp16 = const()[name = tensor<string, []>("net_fsmn_0_affine_linear_weight_to_fp16"), val = tensor<fp16, [250, 128]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(257664)))];
|
| 39 |
+
tensor<fp16, [250]> net_fsmn_0_affine_linear_bias_to_fp16 = const()[name = tensor<string, []>("net_fsmn_0_affine_linear_bias_to_fp16"), val = tensor<fp16, [250]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(321728)))];
|
| 40 |
+
tensor<fp16, [1, ?, 250]> linear_3_cast_fp16 = linear(bias = net_fsmn_0_affine_linear_bias_to_fp16, weight = net_fsmn_0_affine_linear_weight_to_fp16, x = input_7_cast_fp16)[name = tensor<string, []>("linear_3_cast_fp16")];
|
| 41 |
+
tensor<fp16, [1, ?, 250]> input_11_cast_fp16 = relu(x = linear_3_cast_fp16)[name = tensor<string, []>("input_11_cast_fp16")];
|
| 42 |
+
tensor<fp16, [128, 250]> net_fsmn_1_linear_linear_weight_to_fp16 = const()[name = tensor<string, []>("net_fsmn_1_linear_linear_weight_to_fp16"), val = tensor<fp16, [128, 250]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(322304)))];
|
| 43 |
+
tensor<fp16, [1, ?, 128]> linear_4_cast_fp16 = linear(bias = linear_2_bias_0_to_fp16, weight = net_fsmn_1_linear_linear_weight_to_fp16, x = input_11_cast_fp16)[name = tensor<string, []>("linear_4_cast_fp16")];
|
| 44 |
+
tensor<int32, [1]> x_3_axes_0 = const()[name = tensor<string, []>("x_3_axes_0"), val = tensor<int32, [1]>([1])];
|
| 45 |
+
tensor<fp16, [1, 1, ?, 128]> x_3_cast_fp16 = expand_dims(axes = x_3_axes_0, x = linear_4_cast_fp16)[name = tensor<string, []>("x_3_cast_fp16")];
|
| 46 |
+
tensor<int32, [4]> var_77 = const()[name = tensor<string, []>("op_77"), val = tensor<int32, [4]>([0, 3, 2, 1])];
|
| 47 |
+
tensor<bool, []> y_left_5_interleave_0 = const()[name = tensor<string, []>("y_left_5_interleave_0"), val = tensor<bool, []>(false)];
|
| 48 |
+
tensor<fp16, [1, 128, ?, 1]> x_per_3_cast_fp16 = transpose(perm = var_77, x = x_3_cast_fp16)[name = tensor<string, []>("transpose_5")];
|
| 49 |
+
tensor<fp16, [1, 128, ?, 1]> y_left_5_cast_fp16 = concat(axis = var_12, interleave = y_left_5_interleave_0, values = (const_0_to_fp16, x_per_3_cast_fp16))[name = tensor<string, []>("y_left_5_cast_fp16")];
|
| 50 |
+
tensor<string, []> y_left_7_pad_type_0 = const()[name = tensor<string, []>("y_left_7_pad_type_0"), val = tensor<string, []>("valid")];
|
| 51 |
+
tensor<int32, []> y_left_7_groups_0 = const()[name = tensor<string, []>("y_left_7_groups_0"), val = tensor<int32, []>(128)];
|
| 52 |
+
tensor<int32, [2]> y_left_7_strides_0 = const()[name = tensor<string, []>("y_left_7_strides_0"), val = tensor<int32, [2]>([1, 1])];
|
| 53 |
+
tensor<int32, [4]> y_left_7_pad_0 = const()[name = tensor<string, []>("y_left_7_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
|
| 54 |
+
tensor<int32, [2]> y_left_7_dilations_0 = const()[name = tensor<string, []>("y_left_7_dilations_0"), val = tensor<int32, [2]>([1, 1])];
|
| 55 |
+
tensor<fp16, [128, 1, 20, 1]> net_fsmn_1_fsmn_block_conv_left_weight_to_fp16 = const()[name = tensor<string, []>("net_fsmn_1_fsmn_block_conv_left_weight_to_fp16"), val = tensor<fp16, [128, 1, 20, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(386368)))];
|
| 56 |
+
tensor<fp16, [1, 128, ?, 1]> y_left_7_cast_fp16 = conv(dilations = y_left_7_dilations_0, groups = y_left_7_groups_0, pad = y_left_7_pad_0, pad_type = y_left_7_pad_type_0, strides = y_left_7_strides_0, weight = net_fsmn_1_fsmn_block_conv_left_weight_to_fp16, x = y_left_5_cast_fp16)[name = tensor<string, []>("y_left_7_cast_fp16")];
|
| 57 |
+
tensor<fp16, [1, 128, ?, 1]> out_3_cast_fp16 = add(x = x_per_3_cast_fp16, y = y_left_7_cast_fp16)[name = tensor<string, []>("out_3_cast_fp16")];
|
| 58 |
+
tensor<int32, [4]> var_89 = const()[name = tensor<string, []>("op_89"), val = tensor<int32, [4]>([0, 3, 2, 1])];
|
| 59 |
+
tensor<int32, [1]> input_13_axes_0 = const()[name = tensor<string, []>("input_13_axes_0"), val = tensor<int32, [1]>([1])];
|
| 60 |
+
tensor<fp16, [1, 1, ?, 128]> out_per_3_cast_fp16 = transpose(perm = var_89, x = out_3_cast_fp16)[name = tensor<string, []>("transpose_4")];
|
| 61 |
+
tensor<fp16, [1, ?, 128]> input_13_cast_fp16 = squeeze(axes = input_13_axes_0, x = out_per_3_cast_fp16)[name = tensor<string, []>("input_13_cast_fp16")];
|
| 62 |
+
tensor<fp16, [250, 128]> net_fsmn_1_affine_linear_weight_to_fp16 = const()[name = tensor<string, []>("net_fsmn_1_affine_linear_weight_to_fp16"), val = tensor<fp16, [250, 128]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(391552)))];
|
| 63 |
+
tensor<fp16, [250]> net_fsmn_1_affine_linear_bias_to_fp16 = const()[name = tensor<string, []>("net_fsmn_1_affine_linear_bias_to_fp16"), val = tensor<fp16, [250]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(455616)))];
|
| 64 |
+
tensor<fp16, [1, ?, 250]> linear_5_cast_fp16 = linear(bias = net_fsmn_1_affine_linear_bias_to_fp16, weight = net_fsmn_1_affine_linear_weight_to_fp16, x = input_13_cast_fp16)[name = tensor<string, []>("linear_5_cast_fp16")];
|
| 65 |
+
tensor<fp16, [1, ?, 250]> input_17_cast_fp16 = relu(x = linear_5_cast_fp16)[name = tensor<string, []>("input_17_cast_fp16")];
|
| 66 |
+
tensor<fp16, [128, 250]> net_fsmn_2_linear_linear_weight_to_fp16 = const()[name = tensor<string, []>("net_fsmn_2_linear_linear_weight_to_fp16"), val = tensor<fp16, [128, 250]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(456192)))];
|
| 67 |
+
tensor<fp16, [1, ?, 128]> linear_6_cast_fp16 = linear(bias = linear_2_bias_0_to_fp16, weight = net_fsmn_2_linear_linear_weight_to_fp16, x = input_17_cast_fp16)[name = tensor<string, []>("linear_6_cast_fp16")];
|
| 68 |
+
tensor<int32, [1]> x_5_axes_0 = const()[name = tensor<string, []>("x_5_axes_0"), val = tensor<int32, [1]>([1])];
|
| 69 |
+
tensor<fp16, [1, 1, ?, 128]> x_5_cast_fp16 = expand_dims(axes = x_5_axes_0, x = linear_6_cast_fp16)[name = tensor<string, []>("x_5_cast_fp16")];
|
| 70 |
+
tensor<int32, [4]> var_109 = const()[name = tensor<string, []>("op_109"), val = tensor<int32, [4]>([0, 3, 2, 1])];
|
| 71 |
+
tensor<bool, []> y_left_9_interleave_0 = const()[name = tensor<string, []>("y_left_9_interleave_0"), val = tensor<bool, []>(false)];
|
| 72 |
+
tensor<fp16, [1, 128, ?, 1]> x_per_5_cast_fp16 = transpose(perm = var_109, x = x_5_cast_fp16)[name = tensor<string, []>("transpose_3")];
|
| 73 |
+
tensor<fp16, [1, 128, ?, 1]> y_left_9_cast_fp16 = concat(axis = var_12, interleave = y_left_9_interleave_0, values = (const_0_to_fp16, x_per_5_cast_fp16))[name = tensor<string, []>("y_left_9_cast_fp16")];
|
| 74 |
+
tensor<string, []> y_left_11_pad_type_0 = const()[name = tensor<string, []>("y_left_11_pad_type_0"), val = tensor<string, []>("valid")];
|
| 75 |
+
tensor<int32, []> y_left_11_groups_0 = const()[name = tensor<string, []>("y_left_11_groups_0"), val = tensor<int32, []>(128)];
|
| 76 |
+
tensor<int32, [2]> y_left_11_strides_0 = const()[name = tensor<string, []>("y_left_11_strides_0"), val = tensor<int32, [2]>([1, 1])];
|
| 77 |
+
tensor<int32, [4]> y_left_11_pad_0 = const()[name = tensor<string, []>("y_left_11_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
|
| 78 |
+
tensor<int32, [2]> y_left_11_dilations_0 = const()[name = tensor<string, []>("y_left_11_dilations_0"), val = tensor<int32, [2]>([1, 1])];
|
| 79 |
+
tensor<fp16, [128, 1, 20, 1]> net_fsmn_2_fsmn_block_conv_left_weight_to_fp16 = const()[name = tensor<string, []>("net_fsmn_2_fsmn_block_conv_left_weight_to_fp16"), val = tensor<fp16, [128, 1, 20, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(520256)))];
|
| 80 |
+
tensor<fp16, [1, 128, ?, 1]> y_left_11_cast_fp16 = conv(dilations = y_left_11_dilations_0, groups = y_left_11_groups_0, pad = y_left_11_pad_0, pad_type = y_left_11_pad_type_0, strides = y_left_11_strides_0, weight = net_fsmn_2_fsmn_block_conv_left_weight_to_fp16, x = y_left_9_cast_fp16)[name = tensor<string, []>("y_left_11_cast_fp16")];
|
| 81 |
+
tensor<fp16, [1, 128, ?, 1]> out_5_cast_fp16 = add(x = x_per_5_cast_fp16, y = y_left_11_cast_fp16)[name = tensor<string, []>("out_5_cast_fp16")];
|
| 82 |
+
tensor<int32, [4]> var_121 = const()[name = tensor<string, []>("op_121"), val = tensor<int32, [4]>([0, 3, 2, 1])];
|
| 83 |
+
tensor<int32, [1]> input_19_axes_0 = const()[name = tensor<string, []>("input_19_axes_0"), val = tensor<int32, [1]>([1])];
|
| 84 |
+
tensor<fp16, [1, 1, ?, 128]> out_per_5_cast_fp16 = transpose(perm = var_121, x = out_5_cast_fp16)[name = tensor<string, []>("transpose_2")];
|
| 85 |
+
tensor<fp16, [1, ?, 128]> input_19_cast_fp16 = squeeze(axes = input_19_axes_0, x = out_per_5_cast_fp16)[name = tensor<string, []>("input_19_cast_fp16")];
|
| 86 |
+
tensor<fp16, [250, 128]> net_fsmn_2_affine_linear_weight_to_fp16 = const()[name = tensor<string, []>("net_fsmn_2_affine_linear_weight_to_fp16"), val = tensor<fp16, [250, 128]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(525440)))];
|
| 87 |
+
tensor<fp16, [250]> net_fsmn_2_affine_linear_bias_to_fp16 = const()[name = tensor<string, []>("net_fsmn_2_affine_linear_bias_to_fp16"), val = tensor<fp16, [250]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(589504)))];
|
| 88 |
+
tensor<fp16, [1, ?, 250]> linear_7_cast_fp16 = linear(bias = net_fsmn_2_affine_linear_bias_to_fp16, weight = net_fsmn_2_affine_linear_weight_to_fp16, x = input_19_cast_fp16)[name = tensor<string, []>("linear_7_cast_fp16")];
|
| 89 |
+
tensor<fp16, [1, ?, 250]> input_23_cast_fp16 = relu(x = linear_7_cast_fp16)[name = tensor<string, []>("input_23_cast_fp16")];
|
| 90 |
+
tensor<fp16, [128, 250]> net_fsmn_3_linear_linear_weight_to_fp16 = const()[name = tensor<string, []>("net_fsmn_3_linear_linear_weight_to_fp16"), val = tensor<fp16, [128, 250]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(590080)))];
|
| 91 |
+
tensor<fp16, [1, ?, 128]> linear_8_cast_fp16 = linear(bias = linear_2_bias_0_to_fp16, weight = net_fsmn_3_linear_linear_weight_to_fp16, x = input_23_cast_fp16)[name = tensor<string, []>("linear_8_cast_fp16")];
|
| 92 |
+
tensor<int32, [1]> x_axes_0 = const()[name = tensor<string, []>("x_axes_0"), val = tensor<int32, [1]>([1])];
|
| 93 |
+
tensor<fp16, [1, 1, ?, 128]> x_cast_fp16 = expand_dims(axes = x_axes_0, x = linear_8_cast_fp16)[name = tensor<string, []>("x_cast_fp16")];
|
| 94 |
+
tensor<int32, [4]> var_141 = const()[name = tensor<string, []>("op_141"), val = tensor<int32, [4]>([0, 3, 2, 1])];
|
| 95 |
+
tensor<bool, []> y_left_13_interleave_0 = const()[name = tensor<string, []>("y_left_13_interleave_0"), val = tensor<bool, []>(false)];
|
| 96 |
+
tensor<fp16, [1, 128, ?, 1]> x_per_cast_fp16 = transpose(perm = var_141, x = x_cast_fp16)[name = tensor<string, []>("transpose_1")];
|
| 97 |
+
tensor<fp16, [1, 128, ?, 1]> y_left_13_cast_fp16 = concat(axis = var_12, interleave = y_left_13_interleave_0, values = (const_0_to_fp16, x_per_cast_fp16))[name = tensor<string, []>("y_left_13_cast_fp16")];
|
| 98 |
+
tensor<string, []> y_left_pad_type_0 = const()[name = tensor<string, []>("y_left_pad_type_0"), val = tensor<string, []>("valid")];
|
| 99 |
+
tensor<int32, []> y_left_groups_0 = const()[name = tensor<string, []>("y_left_groups_0"), val = tensor<int32, []>(128)];
|
| 100 |
+
tensor<int32, [2]> y_left_strides_0 = const()[name = tensor<string, []>("y_left_strides_0"), val = tensor<int32, [2]>([1, 1])];
|
| 101 |
+
tensor<int32, [4]> y_left_pad_0 = const()[name = tensor<string, []>("y_left_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
|
| 102 |
+
tensor<int32, [2]> y_left_dilations_0 = const()[name = tensor<string, []>("y_left_dilations_0"), val = tensor<int32, [2]>([1, 1])];
|
| 103 |
+
tensor<fp16, [128, 1, 20, 1]> net_fsmn_3_fsmn_block_conv_left_weight_to_fp16 = const()[name = tensor<string, []>("net_fsmn_3_fsmn_block_conv_left_weight_to_fp16"), val = tensor<fp16, [128, 1, 20, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(654144)))];
|
| 104 |
+
tensor<fp16, [1, 128, ?, 1]> y_left_cast_fp16 = conv(dilations = y_left_dilations_0, groups = y_left_groups_0, pad = y_left_pad_0, pad_type = y_left_pad_type_0, strides = y_left_strides_0, weight = net_fsmn_3_fsmn_block_conv_left_weight_to_fp16, x = y_left_13_cast_fp16)[name = tensor<string, []>("y_left_cast_fp16")];
|
| 105 |
+
tensor<fp16, [1, 128, ?, 1]> out_cast_fp16 = add(x = x_per_cast_fp16, y = y_left_cast_fp16)[name = tensor<string, []>("out_cast_fp16")];
|
| 106 |
+
tensor<int32, [4]> var_153 = const()[name = tensor<string, []>("op_153"), val = tensor<int32, [4]>([0, 3, 2, 1])];
|
| 107 |
+
tensor<int32, [1]> input_25_axes_0 = const()[name = tensor<string, []>("input_25_axes_0"), val = tensor<int32, [1]>([1])];
|
| 108 |
+
tensor<fp16, [1, 1, ?, 128]> out_per_cast_fp16 = transpose(perm = var_153, x = out_cast_fp16)[name = tensor<string, []>("transpose_0")];
|
| 109 |
+
tensor<fp16, [1, ?, 128]> input_25_cast_fp16 = squeeze(axes = input_25_axes_0, x = out_per_cast_fp16)[name = tensor<string, []>("input_25_cast_fp16")];
|
| 110 |
+
tensor<fp16, [250, 128]> net_fsmn_3_affine_linear_weight_to_fp16 = const()[name = tensor<string, []>("net_fsmn_3_affine_linear_weight_to_fp16"), val = tensor<fp16, [250, 128]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(659328)))];
|
| 111 |
+
tensor<fp16, [250]> net_fsmn_3_affine_linear_bias_to_fp16 = const()[name = tensor<string, []>("net_fsmn_3_affine_linear_bias_to_fp16"), val = tensor<fp16, [250]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(723392)))];
|
| 112 |
+
tensor<fp16, [1, ?, 250]> linear_9_cast_fp16 = linear(bias = net_fsmn_3_affine_linear_bias_to_fp16, weight = net_fsmn_3_affine_linear_weight_to_fp16, x = input_25_cast_fp16)[name = tensor<string, []>("linear_9_cast_fp16")];
|
| 113 |
+
tensor<fp16, [1, ?, 250]> input_29_cast_fp16 = relu(x = linear_9_cast_fp16)[name = tensor<string, []>("input_29_cast_fp16")];
|
| 114 |
+
tensor<fp16, [140, 250]> net_out_linear1_linear_weight_to_fp16 = const()[name = tensor<string, []>("net_out_linear1_linear_weight_to_fp16"), val = tensor<fp16, [140, 250]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(723968)))];
|
| 115 |
+
tensor<fp16, [140]> net_out_linear1_linear_bias_to_fp16 = const()[name = tensor<string, []>("net_out_linear1_linear_bias_to_fp16"), val = tensor<fp16, [140]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(794048)))];
|
| 116 |
+
tensor<fp16, [1, ?, 140]> linear_10_cast_fp16 = linear(bias = net_out_linear1_linear_bias_to_fp16, weight = net_out_linear1_linear_weight_to_fp16, x = input_29_cast_fp16)[name = tensor<string, []>("linear_10_cast_fp16")];
|
| 117 |
+
tensor<fp16, [248, 140]> net_out_linear2_linear_weight_to_fp16 = const()[name = tensor<string, []>("net_out_linear2_linear_weight_to_fp16"), val = tensor<fp16, [248, 140]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(794432)))];
|
| 118 |
+
tensor<fp16, [248]> net_out_linear2_linear_bias_to_fp16 = const()[name = tensor<string, []>("net_out_linear2_linear_bias_to_fp16"), val = tensor<fp16, [248]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(863936)))];
|
| 119 |
+
tensor<fp16, [1, ?, 248]> linear_11_cast_fp16 = linear(bias = net_out_linear2_linear_bias_to_fp16, weight = net_out_linear2_linear_weight_to_fp16, x = linear_10_cast_fp16)[name = tensor<string, []>("linear_11_cast_fp16")];
|
| 120 |
+
tensor<fp16, [1, ?, 248]> scores = softmax(axis = var_3, x = linear_11_cast_fp16)[name = tensor<string, []>("op_169_cast_fp16")];
|
| 121 |
+
} -> (scores);
|
| 122 |
+
}
|
FsmnVad.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8b115e3a6ff7b89778fe9c2cd6d65f739ab64438b8ce1eb18de056707898b3ec
|
| 3 |
+
size 864496
|