游雁
2023-03-30 496cd9b6b319988371c1bc0a6db018a23b8549c9
export
1个文件已修改
2 ■■■ 已修改文件
funasr/export/test/test_onnx_punc_vadrealtime.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
funasr/export/test/test_onnx_punc_vadrealtime.py
@@ -12,7 +12,7 @@
        return {'input': np.ones((1, text_length), dtype=np.int64),
                'text_lengths': np.array([text_length,], dtype=np.int32),
                'vad_mask': np.ones((1, 1, text_length, text_length), dtype=np.float32),
                'sub_masks': np.tril(np.ones((text_length, text_length), dtype=np.float32))[None, None, :, :]
                'sub_masks': np.tril(np.ones((text_length, text_length), dtype=np.float32))[None, None, :, :].astype(np.float32)
                }
    def _run(feed_dict):