DocumentLibrary.loadModelBuffer Method¶
Module: DocumentLibrary
Definition¶
Loads a model into memory from the specified buffer.
static void loadModelBuffer(Uint8List? modelBuffer, DocumentModel documentModel, ProcessingUnit processingUnit)
Parameters
modelBuffer Uint8Listin A buffer containing the AI model to be loaded.
documentModel DocumentModelin Doc model to load.
processingUnit ProcessingUnitin The processing unit to use for the model.
Exceptions
An error has occurred during Document Library execution.