mxnet
Classes | Namespaces | Macros
resource.h File Reference

Global resource allocation handling. More...

#include <dmlc/logging.h>
#include <string>
#include "./base.h"
#include "./engine.h"
#include "./random_generator.h"
Include dependency graph for resource.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mxnet::ResourceRequest
 The resources that can be requested by Operator. More...
 
struct  mxnet::Resource
 Resources used by mxnet operations. A resource is something special other than NDArray, but will still participate. More...
 
class  mxnet::ResourceManager
 Global resource manager. More...
 

Namespaces

 mxnet
 namespace of mxnet
 

Macros

#define MXNET_RESOURCE_DEFAULT_NAME_FARG(tag)   std::string(tag) + " (" + __extract_fname(__FILE__) + " +" + std::to_string(__LINE__) + ")"
 

Detailed Description

Global resource allocation handling.

Macro Definition Documentation

◆ MXNET_RESOURCE_DEFAULT_NAME_FARG

#define MXNET_RESOURCE_DEFAULT_NAME_FARG (   tag)    std::string(tag) + " (" + __extract_fname(__FILE__) + " +" + std::to_string(__LINE__) + ")"