code: def _load_hyperparameters(self) -> Tuple[dict, Optional[dict]]:
      with self.path.hyperparameters.open() as json_file:
          raw = json.load(json_file)
          decoded = decode_sagemaker_parameters(raw)
  
          nested = decode_nested_parameters(decoded)
          hyperparameters = nested.get("", {})
          env = nested.get("env", None)
          return hyperparameters, env
  
imports: import json
  import shutil
  from pathlib import Path
  from typing import Dict, Optional, Tuple
  from gluonts.pydantic import BaseModel
  from .dyn import install_and_restart
  from .params import decode_sagemaker_parameters
  from .nested_params import decode_nested_parameters
label_desc: Use image node_id 7 for calling the TrainEnv obj's underlying member method code with example usage: obj._load_hyperparameters() and returns: hyperparameters,  env