Skip to content

Feedback about NLP From Scratch: Classifying Names with a Character-Level RNN #3646

@mgrynychyn

Description

@mgrynychyn

There is the following issue on this page: https://docs.pytorch.org/tutorials/intermediate/char_rnn_classification_tutorial.html

I think that comment "#Cache the tensor representation of the labels" is a little confusing, especially for those who are just learning PyTorch, because you are just creating numerical representation of unique labels in alphabetical order, while calculating tensor representation of each label on every iteration of data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions