SVMSGD.load constructor

SVMSGD.load(
  1. String filepath
)

Loads a model saved with save from filepath. Throws CvException when the file does not hold a valid model.

Implementation

factory SVMSGD.load(String filepath) => using(
  (arena) => SVMSGD._make((p) => cml.cv_ml_SVMSGD_load(filepath.toNativeUtf8(allocator: arena).cast(), p)),
);