transformers
Replace assert statements with raise exceptions
#20478
Merged

Replace assert statements with raise exceptions #20478

miyu386
HuggingFaceDocBuilderDev
sgugger
sgugger commented on 2022-11-29
miyu386 replace assert statements with exceptions
50d93875
miyu386 made conditions more readable
38191f3b
miyu386 miyu386 force pushed to 38191f3b 3 years ago
miyu386
sgugger
sgugger approved these changes on 2022-11-29
sgugger sgugger merged 73e2faa6 into main 3 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone