Dragon - C++ API
A Computation Graph Virtual Machine Based Deep Learning Framework
Public Member Functions | List of all members
dragon::Device Class Reference

#include <dragon.h>

Public Member Functions

 Device ()
 
 Device (std::string device_type)
 
 Device (std::string device_type, int device_id)
 
const int & device_type () const
 
const int device_id () const
 

Constructor & Destructor Documentation

◆ Device() [1/3]

dragon::Device::Device ( )

◆ Device() [2/3]

dragon::Device::Device ( std::string  device_type)
explicit

◆ Device() [3/3]

dragon::Device::Device ( std::string  device_type,
int  device_id 
)

Member Function Documentation

◆ device_id()

const int dragon::Device::device_id ( ) const
inline

◆ device_type()

const int& dragon::Device::device_type ( ) const
inline

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