std1.0.0-beta-7 SafeC docs

std :: ml::module

Function std::model_device

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

generic<M: Parameterized> int model_device(const &M m)

Where the model's first tensor lives (DEVICE_CPU for a model without any).