Full API Index#
This page contains the full API index for the C++ API.
Class Hierarchy#
-
- Namespace tvm
- Namespace tvm::ffi
- Namespace tvm::ffi::reflection
- Struct FieldInfoBuilder
- Struct InfoTrait
- Template Struct init
- Struct MethodInfoBuilder
- Class AccessPath
- Class AccessPathObj
- Class AccessStep
- Class AccessStepObj
- Class AttachFieldFlag
- Class DefaultValue
- Class FieldGetter
- Class FieldSetter
- Class GlobalDef
- Class Metadata
- Class ObjectCreator
- Template Class ObjectDef
- Class TypeAttrColumn
- Template Class TypeAttrDef
- Enum AccessKind
- Struct AnyEqual
- Struct AnyHash
- Struct EnvErrorAlreadySet
- Template Struct FallbackOnlyTraitsBase
- Template Struct is_valid_iterator
- Template Struct is_valid_iterator< Any, IterType >
- Template Struct is_valid_iterator< Optional< T >, IterType >
- Struct ObjectPtrEqual
- Struct ObjectPtrHash
- Template Struct ObjectRefWithFallbackTraitsBase
- Struct StaticTypeKey
- Template Struct TypeToFieldStaticTypeIndex
- Template Struct TypeToRuntimeTypeIndex
- Struct UnsafeInit
- Class Any
- Class AnyView
- Template Class Array
- Class ArrayObj
- Class Bytes
- Class DenseMapObj
- Struct DenseMapObj::Block
- Struct DenseMapObj::ItemType
- Struct DenseMapObj::ListNode
- Class Error
- Class ErrorObj
- Class Function
- Class FunctionObj
- Template Class Map
- Class MapObj
- Class Module
- Class ModuleObj
- Class Object
- Template Class ObjectPtr
- Class ObjectRef
- Template Class Optional
- Class PackedArgs
- Template Class RValueRef
- Class Shape
- Class ShapeObj
- Class ShapeView
- Class SmallMapObj
- Class StrictBool
- Class String
- Class StructuralEqual
- Class StructuralHash
- Class Tensor
- Class TensorObj
- Class TensorView
- Template Class Tuple
- Template Class TypedFunction
- Template Class TypedFunction< R(Args...) >
- Template Class Variant
- Template Class WeakObjectPtr
- Enum DLExtDataTypeCode
- Namespace tvm::ffi::reflection
- Namespace tvm::ffi
- Struct TVMFFIAny
- Struct TVMFFIByteArray
- Struct TVMFFIErrorCell
- Struct TVMFFIFieldInfo
- Struct TVMFFIFunctionCell
- Struct TVMFFIMethodInfo
- Struct TVMFFIObject
- Struct TVMFFIOpaqueObjectCell
- Struct TVMFFIShapeCell
- Struct TVMFFITypeAttrColumn
- Struct TVMFFITypeInfo
- Struct TVMFFITypeMetadata
- Struct TVMFFIVersion
- Enum TVMFFIBacktraceUpdateMode
- Enum TVMFFIFieldFlagBitMask
- Enum TVMFFIObjectDeleterFlagBitMask
- Enum TVMFFISEqHashKind
- Enum TVMFFITypeIndex
- Namespace tvm
File Hierarchy#
-
- Directory tvm
- Directory ffi
- Directory container
- Directory extra
- File base.h
- File base64.h
- File c_env_api.h
- File json.h
- File module.h
- File serialization.h
- File structural_equal.h
- File structural_hash.h
- Directory reflection
- File access_path.h
- File accessor.h
- File creator.h
- File registry.h
- File any.h
- File base_details.h
- File c_api.h
- File cast.h
- File dtype.h
- File endian.h
- File error.h
- File function.h
- File function_details.h
- File memory.h
- File object.h
- File optional.h
- File rvalue_ref.h
- File string.h
- File type_traits.h
- Directory ffi
- Directory tvm
Full API#
Namespaces#
Classes and Structs#
- Struct StaticTypeKey
- Struct Documentation
tvm::ffi::StaticTypeKeykTVMFFIAnykTVMFFINonekTVMFFIBoolkTVMFFIIntkTVMFFIFloatkTVMFFIOpaquePtrkTVMFFIDataTypekTVMFFIDevicekTVMFFIDLTensorPtrkTVMFFIRawStrkTVMFFIByteArrayPtrkTVMFFIObjectRValueRefkTVMFFISmallStrkTVMFFISmallByteskTVMFFIErrorkTVMFFIByteskTVMFFIStrkTVMFFIShapekTVMFFITensorkTVMFFIObjectkTVMFFIFunctionkTVMFFIArraykTVMFFIMapkTVMFFIModulekTVMFFIOpaquePyObject
- Struct Documentation
- Template Class Array
- Inheritance Relationships
- Class Documentation
tvm::ffi::Arrayvalue_typeiteratorreverse_iteratorContainerTypeArray()Array()Array()Array()Array()Array()Array()Array()Array()Array()Array()begin()end()rbegin()rend()size()capacity()empty()front()back()push_back()emplace_back()insert()insert()pop_back()erase()erase()resize()reserve()clear()Set()GetArrayObj()Map()MutateByApply()Assign()CopyOnWrite()Agregate()
- Class Tensor
- Inheritance Relationships
- Class Documentation
tvm::ffi::TensorTensor()Tensor()Tensor()data_ptr()device()ndim()dtype()shape()strides()size()stride()numel()byte_offset()IsContiguous()IsAligned()ToDLPack()ToDLPackVersioned()GetDLTensorPtr()dim()sizes()is_contiguous()FromNDAlloc()FromEnvAlloc()FromDLPack()FromDLPackVersioned()get()get_mutable()
Enums#
- Enum TVMFFITypeIndex
- Enum Documentation
TVMFFITypeIndexkTVMFFIAnykTVMFFINonekTVMFFIIntkTVMFFIBoolkTVMFFIFloatkTVMFFIOpaquePtrkTVMFFIDataTypekTVMFFIDevicekTVMFFIDLTensorPtrkTVMFFIRawStrkTVMFFIByteArrayPtrkTVMFFIObjectRValueRefkTVMFFISmallStrkTVMFFISmallByteskTVMFFIStaticObjectBeginkTVMFFIObjectkTVMFFIStrkTVMFFIByteskTVMFFIErrorkTVMFFIFunctionkTVMFFIShapekTVMFFITensorkTVMFFIArraykTVMFFIMapkTVMFFIModulekTVMFFIOpaquePyObjectkTVMFFIStaticObjectEndkTVMFFIDynObjectBegin
- Enum Documentation