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: Combines and adds the hyperparameters to the ``ast.Call`` node's keywords.
docstr_tok: ["Combines","and","adds","the","hyperparameters","to","the","``","ast.Call","``","node","'s","keywords","."]
code: def _add_updated_hyperparameters(
      self, node, base_hps, additional_hps
  ):
      """Combines and adds the hyperparameters to the ``ast.Call`` node's keywords."""
      base_hps.update(additional_hps)
      updated_hp_keyword = self._to_ast_keyword(base_hps)
  
      if updated_hp_keyword:
          node.keywords.append(updated_hp_keyword)
  
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 8 for calling the TensorFlowLegacyModeConstructorUpgrader obj's underlying member method code with example usage: obj._add_updated_hyperparameters(node, base_hps, additional_hps) without return types