Skip to content

ml_ANN_MLP_load

mlfunctionOpenCV 5.0.0
import { ml_ANN_MLP_load } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSfilepath
FUNCTIONml_ANN_MLP_load
RETURN TYPEml_ANN_MLP | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Loads and creates a serialized ANN from a file

Use ANN::save to serialize and store an ANN to disk. Load the ANN from this file again, by calling this function with the path to the file.

ml_ANN_MLP_load(filepath: EmbindString): ml_ANN_MLP | null;
filepath

path to serialized ANN

Returns

The ml_ANN_MLP | null result.

These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.