model_code_key_prefix: Returns the s3 key prefix for uploading code during model...

View source: R/fw_utils.R

model_code_key_prefixR Documentation

Returns the s3 key prefix for uploading code during model deployment

Description

The location returned is a potential concatenation of 2 parts 1. code_location_key_prefix if it exists 2. model_name or a name derived from the image

Usage

model_code_key_prefix(code_location_key_prefix, model_name, image)

Arguments

code_location_key_prefix

(str): the s3 key prefix from code_location

model_name

(str): the name of the model

image

(str): the image from which a default name can be extracted

Value

str: the key prefix to be used in uploading code


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