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 Uint8List
in A buffer containing the AI model to be loaded.

documentModel DocumentModel
in Doc model to load.

processingUnit ProcessingUnit
in The processing unit to use for the model.

Exceptions

An error has occurred during Document Library execution.