class_docstr: This module implements the model- and task specific estimator for YOLO v3, v5 object detector models in PyTorch.
  
  | Paper link: https://arxiv.org/abs/1804.02767
class_docstr_tok: ["This","module","implements","the","model-","and","task","specific","estimator","for","YOLO","v3",",","v5","object","detector","models","in","PyTorch",".","|","Paper","link",":","https",":","\/\/arxiv.org\/abs\/1804.02767"]
docstr: Return the optimizer.
  
  :return: The optimizer.
docstr_tok: ["Return","the","optimizer",".",":","return",":","The","optimizer","."]
code: def optimizer(self) -> Optional["torch.optim.Optimizer"]:
      """
      Return the optimizer.
  
      :return: The optimizer.
      """
      return self._optimizer
  
imports: import logging
  from typing import List, Dict, Optional, Tuple, Union, TYPE_CHECKING
  import numpy
  from art.estimators.object_detection.object_detector import ObjectDetectorMixin
  from art.estimators.object_detection.utils import cast_inputs_to_pt
  from art.estimators.pytorch import PyTorchEstimator
label_desc: Use image node_id 5 for calling the PyTorchYolo obj's underlying member method code with example usage: obj.optimizer() and returns: self