mxnet
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Public Attributes | List of all members
mxnet::ResourceRequest Struct Reference

The resources that can be requested by Operator. More...

#include <resource.h>

Collaboration diagram for mxnet::ResourceRequest:
Collaboration graph

Public Types

enum  Type { kRandom, kTempSpace }
 Resource type, indicating what the pointer type is. More...
 

Public Member Functions

 ResourceRequest ()
 default constructor More...
 
 ResourceRequest (Type type)
 constructor, allow implicit conversion More...
 

Public Attributes

Type type
 type of resources More...
 

Detailed Description

The resources that can be requested by Operator.

Member Enumeration Documentation

Resource type, indicating what the pointer type is.

Enumerator
kRandom 

mshadow::Random<xpu> object

kTempSpace 

A dynamic temp space that can be arbitrary size.

Constructor & Destructor Documentation

mxnet::ResourceRequest::ResourceRequest ( )
inline

default constructor

mxnet::ResourceRequest::ResourceRequest ( Type  type)
inline

constructor, allow implicit conversion

Parameters
typetype of resources

Member Data Documentation

Type mxnet::ResourceRequest::type

type of resources


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