From 3ec697e4bd7a6e05660b5f62b48cd91aea9e1e84 Mon Sep 17 00:00:00 2001 From: Eric <346428633@qq.com> Date: 星期二, 27 二月 2024 17:08:34 +0800 Subject: [PATCH] Update SDK_advanced_guide_online_zh.md (#1398) --- funasr/models/transducer/beam_search_transducer.py | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/funasr/models/transducer/beam_search_transducer.py b/funasr/models/transducer/beam_search_transducer.py index 04b26b3..f599615 100644 --- a/funasr/models/transducer/beam_search_transducer.py +++ b/funasr/models/transducer/beam_search_transducer.py @@ -1,10 +1,12 @@ -"""Search algorithms for Transducer models.""" +#!/usr/bin/env python3 +# -*- encoding: utf-8 -*- +# Copyright FunASR (https://github.com/alibaba-damo-academy/FunASR). All Rights Reserved. +# MIT License (https://opensource.org/licenses/MIT) +import torch +import numpy as np from dataclasses import dataclass from typing import Any, Dict, List, Optional, Tuple, Union - -import numpy as np -import torch from funasr.models.transducer.joint_network import JointNetwork -- Gitblit v1.9.1