提交 9c0ceaac 编写于 作者: L lym0302

add streaming am infer, test=doc

上级 9d022446
...@@ -52,6 +52,10 @@ def get_chunks(data, block_size, pad_size, step): ...@@ -52,6 +52,10 @@ def get_chunks(data, block_size, pad_size, step):
Returns: Returns:
list: chunks list list: chunks list
""" """
if block_size == -1:
return [data]
if step == "am": if step == "am":
data_len = data.shape[1] data_len = data.shape[1]
elif step == "voc": elif step == "voc":
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册