-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
根据新版d2l中class EncoderDecoder的定义[1],其返回值只有一个,因此建议将“_”删除,否则会报错:ValueError: too many values to unpack (expected 2) [1] https://github.com/d2l-ai/d2l-en/blob/master/d2l/torch.py#L951
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 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