class_docstr: A container to hold the result returned by ``_ManualOptimization``.
  
  It is created from the output of :meth:`~lightning.pytorch.core.LightningModule.training_step`.
  
  Attributes:
      extra: Anything returned by the ``training_step``.
class_docstr_tok: ["A","container","to","hold","the","result","returned","by","``","_ManualOptimization","``",".","It","is","created","from","the","output","of",":","meth",":","`","~lightning.pytorch.core.LightningModule.training_step","`",".","Attributes",":","extra",":","Anything","returned","by","the","``","training_step","``","."]
code: def asdict(self) -> Dict[str, Any]:
      return self.extra
  
imports: from collections import OrderedDict
  from contextlib import suppress
  from dataclasses import dataclass, field
  from typing import Any, Dict
  from torch import Tensor
  from typing_extensions import override
  import lightning.pytorch
  from lightning.pytorch.core.optimizer import do_nothing_closure
  from lightning.pytorch.loops import _Loop
  from lightning.pytorch.loops.optimization.closure import OutputResult
  from lightning.pytorch.loops.progress import _Progress, _ReadyCompletedTracker
  from lightning.pytorch.trainer import call
  from lightning.pytorch.utilities.exceptions import MisconfigurationException
  from lightning.pytorch.utilities.types import STEP_OUTPUT
label_desc: Use image node_id 2 for calling the ManualResult obj's underlying member method code with example usage: obj.asdict() and returns: self