mxnet
|
Definitions and helper macros for IR/AST nodes. More...
#include <mxnet/runtime/c_runtime_api.h>
#include <mxnet/runtime/object.h>
#include <mxnet/runtime/memory.h>
#include <string>
#include <vector>
#include <utility>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
mxnet | |
namespace of mxnet | |
Definitions and helper macros for IR/AST nodes.
The node folder contains base utilities for IR/AST nodes, invariant of which specific language dialect.
We implement AST/IR nodes as sub-classes of runtime::Object. The base class Node is just an alias of runtime::Object.
Besides the runtime type checking provided by Object, node folder contains additional functionalities such as reflection and serialization, which are important features for building a compiler infra.