def training_env():  # type: () -> _env.TrainingEnv
    """Create a TrainingEnv.

    Returns:
        TrainingEnv: an instance of 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())
def training_env ( ) : 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 ( ) )
Create a TrainingEnv.

    Returns:
        TrainingEnv: an instance of TrainingEnv