FfiInferenceModelSession constructor
FfiInferenceModelSession({
- required LiteRtLmFfiClient ffiClient,
- required ModelType modelType,
- required ModelFileType fileType,
- required bool supportImage,
- required bool supportAudio,
- bool enableThinking = false,
- required VoidCallback onClose,
Implementation
FfiInferenceModelSession({
required this.ffiClient,
required this.modelType,
required this.fileType,
required this.supportImage,
required this.supportAudio,
this.enableThinking = false,
required this.onClose,
});