Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NumpyOps: Better type-casting in
asarray
(#656)
* `NumpyOps`: Better type-casting in `asarray` * Simplify `dtype` check * Update thinc/backends/numpy_ops.pyx Co-authored-by: Adriane Boyd <[email protected]> * Simplify casting further, avoid copies if possible * Remove no-op Co-authored-by: Adriane Boyd <[email protected]>
- Loading branch information