Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/tvm-ffi
/ functions
Functions
5,333 in github.com/apache/tvm-ffi
⨍
Functions
5,333
◇
Types & classes
1,261
↳
Endpoints
2
↓ 3 callers
Method
size
! \return The size of the sequence */
include/tvm/ffi/container/seq_base.h:64
↓ 3 callers
Method
test_function
tvm_ffi.Function → same as A(Callable).
tests/python/test_type_converter.py:4181
↓ 3 callers
Method
total
addons/tvm_ffi_orcjit/src/ffi/orcjit_slab.h:188
↓ 3 callers
Function
tvm_ffi_nop_autodlpack_from_torch
Measures overhead of running dlpack via auto convert by directly take torch.Tensor as inputs.
tests/scripts/benchmark_dlpack.py:256
↓ 3 callers
Method
values
Return a dynamic view of the dict's values.
python/tvm_ffi/container.py:734
↓ 2 callers
Function
AlignedFree
! * \brief Free aligned memory. * \param data The pointer to the memory to free. */
include/tvm/ffi/memory.h:86
↓ 2 callers
Function
Alloc1DTensor
namespace [main.end] Auxiliary Logics *************/ [aux.begin] ! * \brief Allocate a 1D float32 `tvm::ffi::Tensor` on CPU from an braced initialize
examples/quickstart/load/load_cpp.cc:48
↓ 2 callers
Method
AllocData
src/ffi/tensor.cc:61
↓ 2 callers
Function
Any_AnyView_FromInt
[Any_AnyView.FromInt_Float.begin]
examples/abi_overview/example_code.c:43
↓ 2 callers
Method
Apply
! * \brief Apply the repr flag to the field info. * \param info The field info. */
include/tvm/ffi/reflection/registry.h:270
↓ 2 callers
Function
Array
(*args: Any)
python/tvm_ffi/_ffi_api.py:39
↓ 2 callers
Method
ArrayItemMissing
include/tvm/ffi/reflection/access_path.h:399
↓ 2 callers
Function
ByteSwap
! * \brief A generic inplace byte swapping function. * \param data The data pointer. * \param elem_bytes The number of bytes of the data elements
include/tvm/ffi/endian.h:77
↓ 2 callers
Method
CallPacked
! * \brief Call the function in packed format. * \param args The arguments * \param num_args The number of arguments * \param result The r
include/tvm/ffi/function.h:629
↓ 2 callers
Method
CompareAny
src/ffi/extra/structural_equal.cc:48
↓ 2 callers
Method
CopyAny
src/ffi/object.cc:463
↓ 2 callers
Function
CreateLibraryModule
src/ffi/extra/library_module.cc:199
↓ 2 callers
Function
DLDataTypeCodeGetCustomTypeName
! * \brief Get the custom type name for a given type code. */
src/ffi/dtype.cc:30
↓ 2 callers
Method
DecRef
! \brief decrease strong reference count and delete the object */
include/tvm/ffi/object.h:378
↓ 2 callers
Function
DemangleName
src/ffi/backtrace.cc:58
↓ 2 callers
Function
DetectFFIBoundary
* \brief List frames that should stop the backtrace. * \param filename The filename of the frame. * \param symbol The symbol name of the frame. * \
src/ffi/backtrace_utils.h:114
↓ 2 callers
Function
DeviceToString
! * \brief Format a DLDevice as "device_name:device_id". */
src/ffi/extra/dataclass.cc:591
↓ 2 callers
Function
Empty
! * \brief Allocate a CUDA tensor with the given shape and data type. * \param shape The shape of the tensor. * \param dtype The data type of the t
examples/quickstart/load/load_cuda.cc:74
↓ 2 callers
Function
EmptyStrided
tests/cpp/test_tensor.cc:35
↓ 2 callers
Method
ExceedBacktraceLimit
src/ffi/backtrace_utils.h:172
↓ 2 callers
Function
FastMathSafeIsNaN
tests/cpp/extra/test_json_parser.cc:31
↓ 2 callers
Method
FinalizeErrorMsg
src/ffi/extra/json_parser.cc:262
↓ 2 callers
Method
FindPrev
! \brief Get the previous entry on the linked list */
include/tvm/ffi/container/map_base.h:1015
↓ 2 callers
Function
ForEachFieldInfoWithEarlyStop
include/tvm/ffi/reflection/accessor.h:291
↓ 2 callers
Function
FormatBytes
! * \brief Format raw bytes as a Python-style bytes literal: b"...". */
src/ffi/extra/dataclass.cc:600
↓ 2 callers
Method
Get
src/ffi/function.cc:114
↓ 2 callers
Method
Get
tests/cpp/test_reflection.cc:645
↓ 2 callers
Method
GetBacktrace
get backtrace in the order of most recent call last
src/ffi/backtrace_utils.h:175
↓ 2 callers
Method
GetDLPackManagedTensorAllocator
src/ffi/extra/env_context.cc:58
↓ 2 callers
Function
GetKernel
include/tvm/ffi/extra/cuda/internal/unified_api.h:139
↓ 2 callers
Method
GetMismatchMessage
include/tvm/ffi/reflection/overload.h:136
↓ 2 callers
Method
GetNextEmpty
! \brief Get the next empty jump */
include/tvm/ffi/container/map_base.h:1025
↓ 2 callers
Method
GetParent
include/tvm/ffi/reflection/access_path.h:375
↓ 2 callers
Method
GetSymbol
src/ffi/extra/library_module_system_lib.cc:72
↓ 2 callers
Function
HasCreator
! * \brief Check whether a type supports reflection creation. * * Returns true if the type has a native creator or a ``__ffi_new__`` type attr. *
include/tvm/ffi/reflection/creator.h:77
↓ 2 callers
Method
HasNext
! \brief If the entry has next entry on the linked list */
include/tvm/ffi/container/map_base.h:997
↓ 2 callers
Method
IncRef
! \brief increase strong reference count, the caller must already hold a strong reference */
include/tvm/ffi/object.h:323
↓ 2 callers
Method
InitTypeIndex
include/tvm/ffi/string.h:230
↓ 2 callers
Method
IsEmpty
! \brief If the entry is empty slot */
include/tvm/ffi/container/map_base.h:969
↓ 2 callers
Method
MaterializeAccessPath
Cache invariant maintained jointly with PushStep / PopStep: materialized_paths_[k] (when present) is the AccessPath built from path_steps_[0..k+1] as
src/ffi/extra/visit_error_context.cc:272
↓ 2 callers
Method
MoveToAny
include/tvm/ffi/string.h:232
↓ 2 callers
Method
NewHead
! \brief Construct a head of linked list in-place */
include/tvm/ffi/container/map_base.h:986
↓ 2 callers
Method
NewTail
! \brief Construct a tail of linked list in-place */
include/tvm/ffi/container/map_base.h:991
↓ 2 callers
Method
NextString
* \brief Parse the next strin starting with a double quote. * \param out The output string. * \return Whether the next string parsing is success
src/ffi/extra/json_parser.cc:120
↓ 2 callers
Function
RegisterOrcJITFunctions
addons/tvm_ffi_orcjit/src/ffi/orcjit_dylib.cc:200
↓ 2 callers
Method
Reset
* \brief Reset original small Storage so it can be ready for switch. */
include/tvm/ffi/container/map_base.h:1201
↓ 2 callers
Method
Run
src/ffi/extra/dataclass.cc:641
↓ 2 callers
Method
SetData
include/tvm/ffi/container/variant.h:54
↓ 2 callers
Method
SetErrorExpectingComma
src/ffi/extra/json_parser.cc:299
↓ 2 callers
Method
SetErrorExpectingPropertyName
src/ffi/extra/json_parser.cc:293
↓ 2 callers
Method
SetErrorInvalidUnicodeEscape
src/ffi/extra/json_parser.cc:281
↓ 2 callers
Method
SetErrorUnterminatedString
src/ffi/extra/json_parser.cc:277
↓ 2 callers
Method
SetSlotsAndDenseLayoutTag
! * \brief Set the number of slots and attach tags bit. * \param n The number of slots */
include/tvm/ffi/container/map_base.h:1090
↓ 2 callers
Method
SyncMethodInfo
src/ffi/function.cc:76
↓ 2 callers
Function
TVMFFIAnyViewToOwnedAny
src/ffi/function.cc:154
↓ 2 callers
Function
TVMFFIBytesGetByteArrayPtr
! * \brief Get the data pointer of a bytearray from a string or bytes object. * \param obj The object handle. * \return The data pointer. */
include/tvm/ffi/c_api.h:1456
↓ 2 callers
Function
TVMFFIDataTypeFromString
src/ffi/dtype.cc:360
↓ 2 callers
Function
TVMFFIEnvSetStream
src/ffi/extra/env_context.cc:96
↓ 2 callers
Function
TVMFFIErrorSetRaised
src/ffi/error.cc:92
↓ 2 callers
Function
TVMFFIFunctionCreate
src/ffi/function.cc:146
↓ 2 callers
Function
TVMFFIFunctionGetCellPtr
! * \brief Get the data pointer of a function cell from a function object. * \param obj The object handle. * \return The cell pointer. */
include/tvm/ffi/c_api.h:1474
↓ 2 callers
Function
TVMFFIFunctionSetGlobal
src/ffi/function.cc:161
↓ 2 callers
Function
TVMFFIObjectIncRef
src/ffi/object.cc:526
↓ 2 callers
Function
TVMFFISmallBytesGetContentByteArray
! * \brief Get the content of a small string in bytearray format. * \param value The value to get the content of the small string in bytearray forma
include/tvm/ffi/c_api.h:1447
↓ 2 callers
Function
TVMFFITestingDummyTarget
src/ffi/testing/testing.cc:938
↓ 2 callers
Function
TVMFFITypeRegisterField
src/ffi/object.cc:554
↓ 2 callers
Function
TVMFFITypeRegisterMetadata
src/ffi/object.cc:566
↓ 2 callers
Function
TVMFFITypeRegisterMethod
src/ffi/object.cc:560
↓ 2 callers
Method
ToDLPack
! * \brief Convert the Tensor to a DLPack managed tensor. * \return The converted DLPack managed tensor. */
include/tvm/ffi/container/tensor.h:609
↓ 2 callers
Method
TracebackMostRecentCallLast
! * \brief Get the traceback in the order of most recent call last. * * \return The traceback of the error object. */
include/tvm/ffi/error.h:242
↓ 2 callers
Method
TryCall
include/tvm/ffi/reflection/overload.h:111
↓ 2 callers
Function
TypeKeyToIndex
! * \brief helper function to get type index from key */
include/tvm/ffi/function.h:938
↓ 2 callers
Function
UnloadLibrary
include/tvm/ffi/extra/cuda/internal/unified_api.h:135
↓ 2 callers
Method
Update
src/ffi/function.cc:85
↓ 2 callers
Method
VisitMap
src/ffi/extra/visit_error_context.cc:236
↓ 2 callers
Method
VisitObject
src/ffi/extra/visit_error_context.cc:175
↓ 2 callers
Method
VisitSequence
src/ffi/extra/visit_error_context.cc:225
↓ 2 callers
Method
__enter__
Enter the context and set the current stream.
python/tvm_ffi/stream.py:57
↓ 2 callers
Method
__eq__
Structural equality.
python/tvm_ffi/container.py:238
↓ 2 callers
Method
__eq__
Structural equality.
python/tvm_ffi/container.py:576
↓ 2 callers
Method
__eq__
Structural equality.
python/tvm_ffi/container.py:701
↓ 2 callers
Method
__exit__
Exit the context and restore the previous stream.
python/tvm_ffi/stream.py:64
↓ 2 callers
Method
__hash__
Return cached structural hash.
python/tvm_ffi/structural.py:225
↓ 2 callers
Method
__init_subclass__
( cls, *, type_key: str | None = None, frozen: bool = True, init: bool
python/tvm_ffi/dataclasses/enum.py:445
↓ 2 callers
Method
__post_init__
Validate the code block after initialization.
python/tvm_ffi/stub/file_utils.py:41
↓ 2 callers
Function
__tvm_ffi_helper_add
helper_add: add two integers — used as a dependency by the caller library */
addons/tvm_ffi_orcjit/tests/sources/c/test_link_order_base.c:27
↓ 2 callers
Function
_add_param_with_default
(name: str, default_value: Any)
python/tvm_ffi/utils/kwargs_wrapper.py:172
↓ 2 callers
Function
_asdict_inner
( # noqa: PLR0911, PLR0912 obj: Any, dict_factory: Callable[..., Any] )
python/tvm_ffi/dataclasses/common.py:110
↓ 2 callers
Function
_astuple_inner
(obj: Any, tuple_factory: Callable[..., Any])
python/tvm_ffi/dataclasses/common.py:160
↓ 2 callers
Function
_attrs_dict
(cls: type)
python/tvm_ffi/dataclasses/enum.py:735
↓ 2 callers
Function
_build_impl
Real implementation of build function.
python/tvm_ffi/cpp/extension.py:664
↓ 2 callers
Function
_check_and_update_dlpack_c_exchange_api
Check if the DLPack exchange API is available and update the __dlpack_c_exchange_api__ attribute.
python/tvm_ffi/_optional_torch_c_dlpack.py:84
↓ 2 callers
Function
_check_symbols_in_object
Check if expected symbols exist in the object file using nm.
tests/python/utils/test_embed_cubin.py:108
↓ 2 callers
Function
_check_type
(x: Any)
tests/python/test_object.py:210
↓ 2 callers
Function
_create_dlpack_exchange_api_capsule
Create a PyCapsule wrapping the DLPack exchange API pointer. Parameters ---------- ptr_as_int : int The pointer to the DLPack exc
python/tvm_ffi/_optional_torch_c_dlpack.py:58
← previous
next →
401–500 of 5,333, ranked by callers