std1.0.0-beta-7 SafeC docs

std :: ml::module

Function std::model_sync

#include <std/ml/module.h> source

generic<M: Parameterized> int model_sync(&M m)

Makes every host copy of the model's state current (after device steps): before reading parameters directly or saving. 1 on success.