std :: ml::module
Function std::model_device
generic<M: Parameterized> int model_device(const &M m)Where the model's first tensor lives (DEVICE_CPU for a model without any).
std :: ml::module
generic<M: Parameterized> int model_device(const &M m)Where the model's first tensor lives (DEVICE_CPU for a model without any).