DocumentLibrary.loadModel Method

Module: DocumentLibrary

Definition

Loads a model into memory from the specified directory.

static void loadModel(String? modelPath, DocumentModel documentModel, ProcessingUnit processingUnit)

Parameters

modelPath String
in The path to directory containing the AI model files.

documentModel DocumentModel
in The AI model to be loaded.

processingUnit ProcessingUnit
in Processing unit to load the model into.

Exceptions

An error has occurred during Document Library execution.