class_docstr: A class to turn legacy mode parameters into hyperparameters.
  
  It also disables the ``model_dir`` hyperparameter, and set the
  image URI when instantiating a TensorFlow estimator.
docstr: Initializes a ``TensorFlowLegacyModeConstructorUpgrader``.
docstr_tok: ["Initializes","a","``","TensorFlowLegacyModeConstructorUpgrader","``","."]
code: def __init__(self):
      """Initializes a ``TensorFlowLegacyModeConstructorUpgrader``."""
      self._region = None
  
imports: from __future__ import absolute_import
  import ast
  import boto3
  import six
  from sagemaker.cli.compatibility.v2.modifiers import framework_version, matching
  from sagemaker.cli.compatibility.v2.modifiers.modifier import Modifier
  from sagemaker import image_uris
label_desc: Use image node_id 1 to create a new TensorFlowLegacyModeConstructorUpgrader object from inherited base classes: Modifier with example: obj = TensorFlowLegacyModeConstructorUpgrader()