dot-JumpStartModelsAccessor: JumpStartModelsAccessor class

.JumpStartModelsAccessorR Documentation

JumpStartModelsAccessor class

Description

Static class for storing the JumpStart models cache.

Methods

Public methods


Method get_model_header()

Returns model header from JumpStart models cache.

Usage
.JumpStartModelsAccessor$get_model_header(region, model_id, version)
Arguments
region

(str): region for which to retrieve header.

model_id

(str): model id to retrieve.

version

(str): semantic version to retrieve for the model id.


Method get_model_specs()

Returns model specs from JumpStart models cache.

Usage
.JumpStartModelsAccessor$get_model_specs(region, model_id, version)
Arguments
region

(str): region for which to retrieve header.

model_id

(str): model id to retrieve.

version

(str): semantic version to retrieve for the model id.


Method set_cache_kwargs()

Sets cache kwargs, clears the cache.

Usage
.JumpStartModelsAccessor$set_cache_kwargs(cache_kwargs, region = NULL)
Arguments
cache_kwargs

(str): cache kwargs to validate.

region

(str): Optional. The region to validate along with the kwargs.


Method reset_cache()

Resets cache, optionally allowing cache kwargs to be passed to the new cache.

Usage
.JumpStartModelsAccessor$reset_cache(cache_kwargs = NULL, region = NULL)
Arguments
cache_kwargs

(str): cache kwargs to validate.

region

(str): The region to validate along with the kwargs.


Method get_manifest()

Return entire JumpStart models manifest.

Usage
.JumpStartModelsAccessor$get_manifest(cache_kwargs = NULL, region = NULL)
Arguments
cache_kwargs

(Dict[str, Any]): Optional. Cache kwargs to use. (Default: None).

region

(str): Optional. The region to use for the cache. (Default: None).


Method clone()

The objects of this class are cloneable with this method.

Usage
.JumpStartModelsAccessor$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


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