loadModel

open override fun <T : InferenceModel, U : InferenceModel> loadModel(modelType: ModelType<T, U>, loadingMode: LoadingMode): T

Loads model configuration without weights.

Return

Raw model without weights. Needs in compilation and weights loading via loadWeights before usage.

Parameters

modelType

This unique identifier defines the way to the S3 bucket with the model and its weights and the local directory for the model and its weights.

loadingMode

Strategy of existing model use-case handling.