8 enum class DeviceType {CPU=0, CUDA=1};
11 Device(
const std::string& spec);
19 template <>
struct hash<
caffe2::onnx::DeviceType> {
20 std::size_t operator()(
const caffe2::onnx::DeviceType &k)
const {
21 return std::hash<int>()(static_cast<int>(k));
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...