-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds infer_spec_for_func() to lit_nlp.api.types, with tests.
This function attempts to infer a Spec describing the arguments of a given function for a class. It will be used in subsequent enhancements in an attempt to automatically infer an init_spec() for lit_nlp.api.dataset.Dataset and lit_nlp.api.model.Model sub-classes. PiperOrigin-RevId: 499348089
- Loading branch information
1 parent
1590a19
commit d28eec3
Showing
3 changed files
with
342 additions
and
2 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
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
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