Skip to content

Where is Variable? #44

@yiyuezhuo

Description

@yiyuezhuo

In Reinforcement (Q-)Learning with PyTorch2, the section Training hyperparameters and utilities claim the cell providing Variable which is "a simple wrapper around torch.autograd". But I can't found it in the cell. Then I encounter NameError: name 'Variable' is not defined, anyway I import Variable from torch.autograd instead. So where is Variable? Or how can I implement it by scratch?

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