Skip to main content

get_prebuilt

No overview available.

def get_prebuilt(
model_id: string,
cache_dir: string = null
) - > object

Retrieves a pre-configured model instance based on a specific identifier or configuration name.

Parameters

NameTypeDescription
model_idstringThe unique identifier or name of the pre-built model configuration to load.
cache_dirstring = nullThe local directory path where downloaded model weights and configuration files are stored.

Returns

TypeDescription
objectAn initialized model instance ready for inference or further training.