code: def training_env():  # type: () -> _env.TrainingEnv
      
  
      from sagemaker_containers import _env
  
      return _env.TrainingEnv(
          resource_config=_env.read_resource_config(),
          input_data_config=_env.read_input_data_config(),
          hyperparameters=_env.read_hyperparameters())
docs: Create a TrainingEnv.
  
      Returns:
          TrainingEnv: an instance of TrainingEnv