mxnet
Public Attributes | List of all members
DLContext Struct Reference

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

#include <dlpack.h>

Collaboration diagram for DLContext:
Collaboration graph

Public Attributes

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

Detailed Description

A Device context for Tensor and operator.

Member Data Documentation

int DLContext::device_id

The device index.

DLDeviceType DLContext::device_type

The device type used in the device.


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