From 508e2fd946ea8936c3f1fe4a8d1629454b813e5f Mon Sep 17 00:00:00 2001 From: tianhao zhang <15600919271@163.com> Date: Mon, 31 Oct 2022 07:15:52 +0000 Subject: [PATCH] update wav2vec2 license --- paddlespeech/s2t/models/wav2vec2/modules/containers.py | 1 + paddlespeech/s2t/models/wav2vec2/modules/linear.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/paddlespeech/s2t/models/wav2vec2/modules/containers.py b/paddlespeech/s2t/models/wav2vec2/modules/containers.py index 4fb0a8c3e..180d0bd32 100644 --- a/paddlespeech/s2t/models/wav2vec2/modules/containers.py +++ b/paddlespeech/s2t/models/wav2vec2/modules/containers.py @@ -18,6 +18,7 @@ import inspect import paddle + class Sequential(paddle.nn.LayerDict): """A sequence of modules with potentially inferring shape on construction. If layers are passed with names, these can be referenced with dot notation. diff --git a/paddlespeech/s2t/models/wav2vec2/modules/linear.py b/paddlespeech/s2t/models/wav2vec2/modules/linear.py index 14c7b33f3..adae4514a 100644 --- a/paddlespeech/s2t/models/wav2vec2/modules/linear.py +++ b/paddlespeech/s2t/models/wav2vec2/modules/linear.py @@ -15,7 +15,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # Modified from speechbrain(https://github.com/speechbrain/speechbrain/blob/develop/speechbrain/nnet/linear.py). - import logging import paddle