Improve results and memory error checking in C wrapper
- Add ctc_check_result function to check the status of CTC library operations
- Rename loop variables to better fit the context
- Change PyExc_ValueError exceptions to PyExc_MemoryError when memory
allocation errors occur
- Add OpenMP verification and usage when setting up ctcOptions
- Add proper freeing of allocated memory when errors occur
Signed-off-by:
João Victor Tozatti Risso <joaovictor.risso@gmail.com>
正在显示
请
注册
或者
登录
后发表评论