loadWeights

fun loadWeights(modelType: ModelType<*, *>, loadingMode: LoadingMode = LoadingMode.SKIP_LOADING_IF_EXISTS): HdfFile

Loads model weights.

Return

Compiled model with initialized weights.

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.