forked from huggingface/transformers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Smarter check for
is_tensor
(huggingface#25871)
* Smarter check for * Use protected functions * Do others too * Apply suggestions from code review Co-authored-by: Arthur <[email protected]> * Address review comments --------- Co-authored-by: Arthur <[email protected]>
- Loading branch information
1 parent
0a298e5
commit 87808fb
Showing
1 changed file
with
80 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters