FunASR/funasr/models/fsmn_vad_streaming
Truco 1a45b647a8
perf(models/FsmnVADStreaming): optimize GetFrameState and PopDataToOutputBuf (#2177)
- In GetFrameState(), pass generator to sum() instead of generating a list, ~10% gain in a 21s sample
- In GetFrameState(), cast `sum_score` (a tensor) to float to reduce calling to tensor lib,
  ~13% gain in a 23s example
- In PopDataToOutputBuf(), remove unused `out_pos` and related calculation, ~10% gain in a 27s sample
2024-10-28 13:41:38 +08:00
..
__init__.py funasr1.0 fsmn-vad streaming 2024-01-12 00:01:25 +08:00
encoder.py Dev kws (#2105) 2024-09-25 15:10:50 +08:00
export_meta.py Dev gzf exp (#1654) 2024-04-24 16:03:38 +08:00
model.py perf(models/FsmnVADStreaming): optimize GetFrameState and PopDataToOutputBuf (#2177) 2024-10-28 13:41:38 +08:00
template.yaml funasr1.0 fsmn-vad streaming 2024-01-12 00:01:25 +08:00