class_docstr: Handle end-to-end training and deployment of custom RLEstimator code.
class_docstr_tok: ["Handle","end-to-end","training","and","deployment","of","custom","RLEstimator","code","."]
docstr: Return the Docker image to use for training.
  
  The :meth:`~sagemaker.estimator.EstimatorBase.fit` method, which does
  the model training, calls this method to find the image to use for model
  training.
  
  Returns:
      str: The URI of the Docker image.
docstr_tok: ["Return","the","Docker","image","to","use","for","training",".","The",":","meth",":","`","~sagemaker.estimator.EstimatorBase.fit","`","method",",","which","does","the","model","training",",","calls","this","method","to","find","the","image","to","use","for","model","training",".","Returns",":","str",":","The","URI","of","the","Docker","image","."]
code: def training_image_uri(self):
      """Return the Docker image to use for training.
  
      The :meth:`~sagemaker.estimator.EstimatorBase.fit` method, which does
      the model training, calls this method to find the image to use for model
      training.
  
      Returns:
          str: The URI of the Docker image.
      """
      if self.image_uri:
          return self.image_uri
  
      logger.info(
          "image_uri is not presented, retrieving image_uri based on instance_type, "
          "framework etc."
      )
      return image_uris.retrieve(
          self._image_framework(),
          self.sagemaker_session.boto_region_name,
          version=self.toolkit_version,
          instance_type=self.instance_type,
      )
  
imports: from __future__ import absolute_import
  import enum
  import logging
  import re
  from typing import Union, Optional, List, Dict
  from sagemaker import image_uris, fw_utils
  from sagemaker.estimator import Framework, EstimatorBase
  from sagemaker.model import FrameworkModel, SAGEMAKER_OUTPUT_LOCATION
  from sagemaker.mxnet.model import MXNetModel
  from sagemaker.tensorflow.model import TensorFlowModel
  from sagemaker.vpc_utils import VPC_CONFIG_DEFAULT
  from sagemaker.workflow.entities import PipelineVariable
label_desc: Use image node_id 3 for calling the RLEstimator obj's underlying member method code with example usage: obj.training_image_uri() and returns: image_uris, self