std :: ml::module
Function std::model_save_file
generic<M: Parameterized> int model_save_file(const &M m, const &char path)The state (collect_state) to a file in tensors_save's format, and back into a model built with the same shapes. 1 on success.
std :: ml::module
generic<M: Parameterized> int model_save_file(const &M m, const &char path)The state (collect_state) to a file in tensors_save's format, and back into a model built with the same shapes. 1 on success.