Skip to main content
Version: Next

Interface: ClassificationProps

Defined in: packages/react-native-executorch/src/types/classification.ts:12

Props for the useClassification hook.

Properties

model

model: object

Defined in: packages/react-native-executorch/src/types/classification.ts:13

An object containing the model source.

modelSource

modelSource: ResourceSource


preventLoad?

optional preventLoad: boolean

Defined in: packages/react-native-executorch/src/types/classification.ts:14

Boolean that can prevent automatic model loading (and downloading the data if you load it for the first time) after running the hook.

We are Software Mansion.