Misc
hardware_supported
-
static vector<string> Tensor::hardware_supported()
Returns a list with hardware accelerators for which this library has been compiled.
- Returns
vector of strings with the supported accelerator
vector<string> = Tensor::hardware_supported();
// {"cpu", "cuda", "cuda", "fpga"}