Global resource manager.
More...
#include <resource.h>
virtual mxnet::ResourceManager::~ResourceManager |
( |
| ) |
|
|
inlinevirtual |
Get resource of requested type.
- Parameters
-
ctx | the context of the request. |
req | the resource request. |
- Returns
- the requested resource.
- Note
- The returned resource's ownership is still hold by the manager singleton.
virtual void mxnet::ResourceManager::SeedRandom |
( |
uint32_t |
seed | ) |
|
|
pure virtual |
Seed all the allocated random numbers.
- Parameters
-
seed | the seed to the random number generators on all devices. |
The documentation for this class was generated from the following file: