I noticed that the variable _strategy is in the public scope for the TorchTrainer:
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?
I noticed that the variable
_strategyis in the public scope for theTorchTrainer: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?