base_from_name: Extract the base name of the resource name (for use with...

View source: R/utils.R

base_from_nameR Documentation

Extract the base name of the resource name (for use with future resource name generation).

Description

This function looks for timestamps that match the ones produced by :func:'~sagemaker.utils.name_from_base'.

Usage

base_from_name(name)

Arguments

name

(str): The resource name.

Value

str: The base name, as extracted from the resource name.

See Also

Other sagemaker_utils: .aws_partition(), .download_files_under_prefix(), base_name_from_image(), build_dict(), common_variables, create_tar_file(), download_file(), download_folder(), get_config_value(), get_short_version(), name_from_base(), name_from_image(), regional_hostname(), repack_model(), retries(), sagemaker_short_timestamp(), sagemaker_timestamp(), secondary_training_status_changed(), secondary_training_status_message(), sts_regional_endpoint(), unique_name_from_base()


DyfanJones/sagemaker-r-local documentation built on June 14, 2022, 10:32 p.m.