tvm
|
Defines types which can be used in Metadata. More...
#include <tvm/runtime/container/array.h>
#include <tvm/runtime/container/string.h>
#include <tvm/runtime/data_type.h>
#include <tvm/runtime/ndarray.h>
#include <tvm/runtime/object.h>
#include <memory>
#include <string>
#include <utility>
#include <vector>
Go to the source code of this file.
Classes | |
class | tvm::runtime::metadata::MetadataBaseNode |
Common base class for all Metadata. More... | |
class | tvm::runtime::metadata::MetadataBase |
Reference class for the common MetadataBaseNode class. More... | |
class | tvm::runtime::metadata::ArrayIterator< C, Ref > |
An iterator implementation that lazily instantiates the C++ wrapping Metadata class. More... | |
class | tvm::runtime::metadata::ArrayAccessor< C, Ref > |
A span-like class which permits access to Array fields with complex elements. These array fields should be accessed from C++ using the Metadata wrapper classes. This class lazily instantiates those wrappers as they are accessed. More... | |
class | tvm::runtime::metadata::ArrayAccessor< const char *, ::tvm::runtime::String > |
A specialization of ArrayAccessor for String. This class is needed because the String constructor signature is different from the typical Metadata subclass. More... | |
class | tvm::runtime::metadata::MetadataArrayNode |
Container for arrays in the metadata. More... | |
class | tvm::runtime::metadata::MetadataArray |
Reference class for MetadataArray. More... | |
Namespaces | |
tvm | |
runtime implementation for LibTorch/TorchScript. | |
tvm::runtime | |
tvm::runtime::metadata | |
Enumerations | |
enum | tvm::runtime::metadata::MetadataKind : uint8_t { tvm::runtime::metadata::kUint64 = 0 , tvm::runtime::metadata::kInt64 = 1 , tvm::runtime::metadata::kBool = 2 , tvm::runtime::metadata::kString = 3 , tvm::runtime::metadata::kHandle = 4 , tvm::runtime::metadata::kMetadata = 5 } |
Enumerates the primitive types which can be part of a Metadata instance. More... | |
Defines types which can be used in Metadata.