This project has retired. For details please refer to its Attic page.
mxnet: mxnet::ResourceRequest Struct Reference
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, kParallelRandom }
 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.


mshadow::Random<xpu> object


A dynamic temp space that can be arbitrary size.


common::RandGenerator<xpu> object, which can be used in GPU kernel functions

Constructor & Destructor Documentation

mxnet::ResourceRequest::ResourceRequest ( )

default constructor

mxnet::ResourceRequest::ResourceRequest ( Type  type)

constructor, allow implicit conversion

typetype of resources

Member Data Documentation

Type mxnet::ResourceRequest::type

type of resources

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