Committed by
GitHub
Fix GigaAM transducer encoder output length data type (#2426)
This PR fixes a data type compatibility issue in the GigaAM transducer encoder where the output length tensor could be either int32 or int64, but the code only handled int32. The fix adds runtime type checking and supports both data types. - Adds runtime detection of encoder output length tensor data type (int32 vs int64) - Implements conditional data access based on the detected type - Adds error handling for unsupported data types
正在显示
1 个修改的文件
包含
39 行增加
和
29 行删除
-
请 注册 或 登录 后发表评论