mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
2. 删除不必要的代码list(numpy_array.tolist())-->numpy_array.tolist() 3. 性能优化:replace没有必要,性能慢,性能为O(nm),n是源字符串长度,m是需要替换的字符串长度,虽然这里的m长度是1,且list转字符串的"[]",只有首尾有,直接拼接即可。 Co-authored-by: tiandiweizun <qq1274949542@163.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| compute_audio_cmvn.py | ||
| export.py | ||
| inference.py | ||
| tokenize_text.py | ||
| train_ds.py | ||
| train.py | ||