Caffe2 - C++ API
A deep learning, cross platform ML framework
Data Fields
DLContext Struct Reference

A Device context for Tensor and operator. More...

#include <dlpack.h>

Data Fields

DLDeviceType device_type
 The device type used in the device.
 
int device_id
 The device index.
 

Detailed Description

A Device context for Tensor and operator.

Definition at line 52 of file dlpack.h.


The documentation for this struct was generated from the following file: