transformers
d1eafe8d - Optimize `to_py_obj` for python-native numeric lists and scalars (#36885)

Commit
264 days ago
Optimize `to_py_obj` for python-native numeric lists and scalars (#36885) * Optimize to_py_obj for python-native numeric lists and scalars * Fix bug that tuple is not converted to list * Try np.array for more robust type checking * Apply review and add tests for to_py_obj
Author
Parents
Loading