Skip to content

Does it make sense to have this variable in the public scope? #434

@jarlsondre

Description

@jarlsondre

I noticed that the variable _strategy is in the public scope for the TorchTrainer:

Image

However, the variable is prefixed with an underscore, which typically means that it should be private, and thus not public. Why is it then placed in the public scope of the function?

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingClean upRefactoring code or cleaning up files etc.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions