forked from allenai/allennlp
-
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.
Fix ArrayField.to_tensor not working with a scalar (allenai#2008)
* Add test to get tensor of a scalar ArrayField * Fix ArrayField.to_tensor not working with a scalar * Fix line too long * Add assert to test
- Loading branch information
1 parent
be36374
commit 481c181
Showing
2 changed files
with
8 additions
and
1 deletion.
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