class_docstr: Mocks a mmcv runner and implements the same properties accessed by `LrUpdaterHook`.
  Instead, we get them from the PyTorchTrialContext.
class_docstr_tok: ["Mocks","a","mmcv","runner","and","implements","the","same","properties","accessed","by","`","LrUpdaterHook","`",".","Instead",",","we","get","them","from","the","PyTorchTrialContext","."]
code: def optimizer(self) -> Dict[int, Any]:
      return dict(enumerate(self.context.optimizers))
  
imports: from typing import Any, Dict, Optional, cast
  import mmcv
  import mmcv.runner.hooks
  import determined.pytorch
label_desc: Use image node_id 2 for calling the FakeRunner obj's underlying member method code with example usage: obj.optimizer() and returns: dict