| Package | Description |
|---|---|
| org.bytedeco.tvm |
| Modifier and Type | Class and Description |
|---|---|
class |
ADT
\brief reference to algebraic data type objects.
|
class |
Closure
\brief reference to closure.
|
class |
Module
\brief Module container of TVM.
|
class |
NDArray
\brief Managed NDArray.
|
class |
PackedFunc
\brief Packed function is a type-erased function.
|
class |
ShapeTuple
\brief Reference to shape tuple objects.
|
class |
TVMString
\brief Reference to string objects.
|
class |
TVMStringOptional
\brief Optional container that to represent to a Nullable variant of T.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectRef |
ArrayNode.at(long i)
\brief Read i-th element from array.
|
ObjectRef |
SmallMapNode.at(ObjectRef key)
\brief Index value associated with a key, throw exception if the key does not exist
|
ObjectRef |
MapNode.at(ObjectRef key)
\brief Index value associated with a key, throw exception if the key does not exist
|
ObjectRef |
DenseMapNode.at(ObjectRef key)
\brief Index value associated with a key, throw exception if the key does not exist
|
ObjectRef |
ArrayNode.begin() |
ObjectRef |
ArrayNode.end() |
ObjectRef |
ArrayNodeBase.get(long idx)
\brief Access element at index
|
ObjectRef |
ADTObjBase.get(long idx)
\brief Access element at index
|
ObjectRef |
ADT.get(long idx)
\brief Access element at index.
|
ObjectRef |
ObjectRef.getPointer(long i) |
ObjectRef |
ObjectRef.position(long position) |
| Modifier and Type | Method and Description |
|---|---|
void |
TVMArgsSetter.apply(long i,
ObjectRef value) |
long |
ObjectPtrHash.apply(ObjectRef a) |
long |
ObjectHash.apply(ObjectRef a)
\brief Calculate the hash code of an ObjectRef
|
boolean |
ObjectPtrEqual.apply(ObjectRef a,
ObjectRef b) |
boolean |
ObjectEqual.apply(ObjectRef a,
ObjectRef b)
\brief Check if the two ObjectRef are equal
|
ObjectRef |
SmallMapNode.at(ObjectRef key)
\brief Index value associated with a key, throw exception if the key does not exist
|
ObjectRef |
MapNode.at(ObjectRef key)
\brief Index value associated with a key, throw exception if the key does not exist
|
ObjectRef |
DenseMapNode.at(ObjectRef key)
\brief Index value associated with a key, throw exception if the key does not exist
|
long |
SmallMapNode.count(ObjectRef key)
\brief Count the number of times a key exists in the SmallMapNode
|
long |
MapNode.count(ObjectRef key)
\brief Count the number of times a key exists in the hash map
|
long |
DenseMapNode.count(ObjectRef key) |
static ArrayNodePtr |
ArrayNode.CreateRepeated(long n,
ObjectRef val)
\brief Constructs a container with n elements.
|
boolean |
ObjectRef.equals(ObjectRef other)
\brief Comparator
|
void |
MapNode.erase(ObjectRef key)
\brief Erase the entry associated with the key, do nothing if not exists
|
Pointer |
SmallMapNode.find(ObjectRef key)
\brief Index value associated with a key
|
Pointer |
MapNode.find(ObjectRef key)
\brief Index value associated with a key
|
Pointer |
DenseMapNode.find(ObjectRef key)
\brief Index value associated with a key
|
boolean |
ObjectRef.lessThan(ObjectRef other)
\brief Comparator
|
boolean |
ObjectRef.notEquals(ObjectRef other)
\brief Comparator
|
boolean |
ObjectRef.same_as(ObjectRef other)
\brief Comparator
|
void |
ArrayNode.SetItem(long i,
ObjectRef item)
\brief Set i-th element of the array in-place
|
| Constructor and Description |
|---|
ADT(int tag,
ObjectRef fields)
\brief construct an ADT object reference.
|
Copyright © 2024. All rights reserved.