From 3f8294b9d7deaa0cbdb0b2ef6f3802d46ae133a9 Mon Sep 17 00:00:00 2001
From: zhifu gao <zhifu.gzf@alibaba-inc.com>
Date: 星期三, 25 十二月 2024 17:16:11 +0800
Subject: [PATCH] Revert "shfit to shift (#2266)" (#2336)

---
 runtime/csharp/AliParaformerAsr/AliParaformerAsr/Model/EncoderConfEntity.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/runtime/csharp/AliParaformerAsr/AliParaformerAsr/Model/EncoderConfEntity.cs b/runtime/csharp/AliParaformerAsr/AliParaformerAsr/Model/EncoderConfEntity.cs
index 5d01266..ffe505e 100644
--- a/runtime/csharp/AliParaformerAsr/AliParaformerAsr/Model/EncoderConfEntity.cs
+++ b/runtime/csharp/AliParaformerAsr/AliParaformerAsr/Model/EncoderConfEntity.cs
@@ -21,7 +21,7 @@
         private string _pos_enc_class = "SinusoidalPositionEncoder";
         private bool _normalize_before = true;
         private int _kernel_size = 11;
-        private int _sanm_shift = 0;
+        private int _sanm_shfit = 0;
         private string _selfattention_layer_type = "sanm";
 
         public int output_size { get => _output_size; set => _output_size = value; }
@@ -35,7 +35,7 @@
         public string pos_enc_class { get => _pos_enc_class; set => _pos_enc_class = value; }
         public bool normalize_before { get => _normalize_before; set => _normalize_before = value; }
         public int kernel_size { get => _kernel_size; set => _kernel_size = value; }
-        public int sanm_shift { get => _sanm_shift; set => _sanm_shift = value; }
+        public int sanm_shfit { get => _sanm_shfit; set => _sanm_shfit = value; }
         public string selfattention_layer_type { get => _selfattention_layer_type; set => _selfattention_layer_type = value; }
     }
 }

--
Gitblit v1.9.1