ml_SVMSGD_load
import { ml_SVMSGD_load } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSfilepath, nodeName
FUNCTIONml_SVMSGD_load
RETURN TYPEml_SVMSGD | null
Loads and creates a serialized SVMSGD from a file
Use SVMSGD::save to serialize and store an SVMSGD to disk. Load the SVMSGD from this file again, by calling this function with the path to the file. Optionally specify the node for the file containing the classifier
ml_SVMSGD_load(filepath: EmbindString, nodeName: EmbindString): ml_SVMSGD | null;2 available overloads
ml_SVMSGD_load(filepath: EmbindString): ml_SVMSGD | null;ml_SVMSGD_load(filepath: EmbindString, nodeName: EmbindString): ml_SVMSGD | null;filepathpath to serialized SVMSGD
nodeNamename of node containing the classifier
Returns
The ml_SVMSGD | 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.