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
↓ 1 callers
Method
OnFrameComplete
src/ffi/extra/dataclass.cc:741
↓ 1 callers
Method
OnFrameInit
src/ffi/extra/dataclass.cc:656
↓ 1 callers
Function
ParseCustomDataTypeCode
! * \brief Get the custom type name for a given type code. * \param str The string to parse. * \param scan The scan pointer. * \return The custom
src/ffi/dtype.cc:41
↓ 1 callers
Method
ParseTail
src/ffi/extra/json_parser.cc:552
↓ 1 callers
Method
ParseValue
src/ffi/extra/json_parser.cc:562
↓ 1 callers
Function
PrintError
[Error.Print.begin]
examples/abi_overview/example_code.c:254
↓ 1 callers
Function
ProcessLibraryBin
! * \brief Process libary binary to recover binary-serialized modules * \param library_bin The binary embedded in the library. * \param opt_lib The
src/ffi/extra/library_module.cc:109
↓ 1 callers
Method
PushChildFrame
src/ffi/extra/dataclass.cc:667
↓ 1 callers
Method
PyCallback
! * \brief Python Callback function entry * * \param context The TVMFFIPyCallbackClosure* holding the Python callable * and
python/tvm_ffi/cython/tvm_ffi_python_helpers.h:721
↓ 1 callers
Method
PyObjectToFFIAny
python/tvm_ffi/cython/tvm_ffi_python_helpers.h:627
↓ 1 callers
Method
ReadArray
src/ffi/extra/buffer_stream.h:83
↓ 1 callers
Method
Register
register environment(e.g. python) specific api functions
src/ffi/extra/env_c_api.cc:78
↓ 1 callers
Method
Register
src/ffi/extra/library_module.cc:182
↓ 1 callers
Method
Register
include/tvm/ffi/reflection/overload.h:125
↓ 1 callers
Function
RegisterFFIInit
src/ffi/extra/dataclass.cc:2025
↓ 1 callers
Method
RegisterSymbol
src/ffi/extra/library_module_system_lib.cc:40
↓ 1 callers
Method
RegisterTypeAttr
src/ffi/object.cc:292
↓ 1 callers
Method
RegisterTypeField
src/ffi/object.cc:217
↓ 1 callers
Method
RegisterTypeMetadata
src/ffi/object.cc:277
↓ 1 callers
Method
RegisterTypeMethod
src/ffi/object.cc:265
↓ 1 callers
Method
ReleaseMemory
! * \brief Release the memory acquired by the container without deleting its entries stored inside */
include/tvm/ffi/container/map_base.h:730
↓ 1 callers
Method
Remove
src/ffi/function.cc:107
↓ 1 callers
Method
Remove
src/ffi/extra/module.cc:46
↓ 1 callers
Method
RemoveDylib
addons/tvm_ffi_orcjit/src/ffi/orcjit_session.cc:300
↓ 1 callers
Function
Run
! * \brief Main logics of library loading and function calling. * \param x The input tensor. * \param y The output tensor. */
examples/quickstart/load/load_cpp.cc:31
↓ 1 callers
Function
Run
! * \brief Main logics of library loading and function calling with CUDA tensors. * \param x The input tensor on CUDA device. * \param y The output
examples/quickstart/load/load_cuda.cc:31
↓ 1 callers
Method
RunPendingDeinitializers
addons/tvm_ffi_orcjit/src/ffi/orcjit_session.cc:267
↓ 1 callers
Method
RunPendingInitializers
addons/tvm_ffi_orcjit/src/ffi/orcjit_session.cc:253
↓ 1 callers
Method
SetArgument
! * \brief Set an py_arg to out. * \param ctx The call context * \param py_arg The python argument to be set * \param out The output argum
python/tvm_ffi/cython/tvm_ffi_python_helpers.h:648
↓ 1 callers
Method
SetDLPackManagedTensorAllocator
src/ffi/extra/env_context.cc:65
↓ 1 callers
Method
SetErrorExpectingColon
src/ffi/extra/json_parser.cc:297
↓ 1 callers
Method
SetErrorExtraData
src/ffi/extra/json_parser.cc:291
↓ 1 callers
Method
SetErrorInvalidControlCharacter
src/ffi/extra/json_parser.cc:273
↓ 1 callers
Method
SetErrorInvalidEscape
src/ffi/extra/json_parser.cc:289
↓ 1 callers
Method
SetField
python/tvm_ffi/cython/tvm_ffi_python_helpers.h:600
↓ 1 callers
Function
SetKernelMaxDynamicSharedMem
include/tvm/ffi/extra/cuda/internal/unified_api.h:180
↓ 1 callers
Method
SetMaxDynamicSharedMemory
! * \brief Set maximum dynamic shared memory for this kernel across all devices. * * This method configures the maximum dynamic shared memory
include/tvm/ffi/extra/cuda/cubin_launcher.h:549
↓ 1 callers
Method
SetProtected
! \brief Set the entry to be protected */
include/tvm/ffi/container/map_base.h:982
↓ 1 callers
Method
SetRaised
src/ffi/error.cc:34
↓ 1 callers
Method
SetRaisedByCstr
src/ffi/error.cc:39
↓ 1 callers
Method
SetRaisedByCstrParts
src/ffi/error.cc:44
↓ 1 callers
Method
SetSlotsAndSmallLayoutTag
! * \brief Set the number of slots and attach tags bit. * \param n The number of slots */
include/tvm/ffi/container/map_base.h:1197
↓ 1 callers
Method
SetStream
src/ffi/extra/env_context.cc:36
↓ 1 callers
Method
SetTypeIndex
src/ffi/object.cc:487
↓ 1 callers
Method
Slice
! * \brief Slice the arguments * \param begin The begin index * \param end The end index * \return The sliced arguments */
include/tvm/ffi/function.h:282
↓ 1 callers
Method
StepEqual
include/tvm/ffi/reflection/access_path.h:171
↓ 1 callers
Function
StringViewToDLDataType_
! * \brief Parse a string to a DLDataType. * \param str The string to convert. * \return The corresponding DLDataType. */
src/ffi/dtype.cc:196
↓ 1 callers
Function
StructuralKey
(_0: Any, /)
python/tvm_ffi/_ffi_api.py:112
↓ 1 callers
Function
StructuralKeyRegisterReflection
src/ffi/extra/reflection_extra.cc:200
↓ 1 callers
Method
Sum
src/ffi/testing/testing.cc:67
↓ 1 callers
Function
TVMFFIDLDeviceFromIntPair
! * \brief Create a DLDevice from a device type and device id. * \param device_type The device type. * \param device_id The device id. * \return T
include/tvm/ffi/c_api.h:1512
↓ 1 callers
Function
TVMFFIDataTypeToString
src/ffi/dtype.cc:366
↓ 1 callers
Function
TVMFFIEnvCheckSignals
src/ffi/extra/env_c_api.cc:135
↓ 1 callers
Function
TVMFFIEnvModRegisterSystemLibSymbol
src/ffi/extra/library_module_system_lib.cc:141
↓ 1 callers
Function
TVMFFIEnvTensorAlloc
src/ffi/extra/env_context.cc:129
↓ 1 callers
Function
TVMFFIErrorCreate
src/ffi/error.cc:100
↓ 1 callers
Function
TVMFFIErrorSetRaisedFromCStrParts
src/ffi/error.cc:85
↓ 1 callers
Function
TVMFFIFunctionSetGlobalFromMethodInfo
src/ffi/function.cc:170
↓ 1 callers
Function
TVMFFIGetVersion
src/ffi/object.cc:514
↓ 1 callers
Function
TVMFFIObjectCreateOpaque
src/ffi/object.cc:532
↓ 1 callers
Function
TVMFFIObjectGetTypeIndex
! * \brief Get the type index of an object. * \param obj The object handle. * \return The type index. */
include/tvm/ffi/c_api.h:1438
↓ 1 callers
Function
TVMFFIOpaqueObjectGetCellPtr
! * \brief Get the data pointer of a opaque object cell from a opaque object. * \param obj The object handle. * \return The cell pointer. */
include/tvm/ffi/c_api.h:1483
↓ 1 callers
Function
TVMFFITensorCreateUnsafeView
src/ffi/tensor.cc:50
↓ 1 callers
Function
TVMFFITensorFromDLPackVersioned
src/ffi/tensor.cc:88
↓ 1 callers
Function
TVMFFITensorGetDLTensorPtr
! * \brief Get the DLTensor pointer from an Tensor object. * \param obj The object handle. * \return The DLTensor pointer. */
include/tvm/ffi/c_api.h:1502
↓ 1 callers
Function
TVMFFITensorToDLPackVersioned
src/ffi/tensor.cc:105
↓ 1 callers
Function
ThrowRuntimeError
tests/cpp/test_error.cc:28
↓ 1 callers
Method
ToAccessStep
! \brief Materialize the heap-allocated AccessStep. Called only at match time. * The String allocation for fi->name happens HERE, once. *
src/ffi/extra/visit_error_context.cc:128
↓ 1 callers
Method
ToAnyView
include/tvm/ffi/container/variant.h:58
↓ 1 callers
Function
ToJSONGraph
src/ffi/extra/serialization.cc:261
↓ 1 callers
Method
TryInsert
! * \brief Try to insert a key, or do nothing if already exists * \param key The indexing key * \param result The linked-list entry found or
include/tvm/ffi/container/map_base.h:544
↓ 1 callers
Method
TryPromoteWeakPtr
! * \brief Try to lock the object to increase the strong reference count, * the caller must already hold a strong reference. * \return
include/tvm/ffi/object.h:336
↓ 1 callers
Method
TryVisitChild
src/ffi/extra/dataclass.cc:663
↓ 1 callers
Method
TypeKeyToIndex
src/ffi/object.cc:191
↓ 1 callers
Function
Variant
constructor from any
include/tvm/ffi/container/variant.h:216
↓ 1 callers
Function
Visit
tests/cpp/extra/test_visit_error_context.cc:76
↓ 1 callers
Method
VisitChildrenFields
src/ffi/extra/visit_error_context.cc:198
↓ 1 callers
Function
WriteFieldValue
! * \brief Write a converted value to a field of the appropriate C++ type. * * Dispatches on field_type_index to reinterpret the destination addres
src/ffi/extra/dataclass.cc:1789
↓ 1 callers
Method
WriteValue
src/ffi/extra/json_writer.cc:98
↓ 1 callers
Method
__add__
Concatenate two lists.
python/tvm_ffi/container.py:425
↓ 1 callers
Function
__add_one_c_symbol
NOLINTNEXTLINE(bugprone-reserved-identifier)
src/ffi/testing/testing.cc:395
↓ 1 callers
Method
__dlpack_data_type__
(self)
tests/python/test_function.py:335
↓ 1 callers
Method
__dlpack_device__
(self)
tests/python/test_type_converter.py:2627
↓ 1 callers
Method
__eq__
Structural equality.
python/tvm_ffi/container.py:401
↓ 1 callers
Method
__init__
( # noqa: PLR0913 self, name: str | None = None, _ty_schema: TypeSchema | None = None
python/tvm_ffi/dataclasses/field.py:146
↓ 1 callers
Method
__init__
Initialize an `ImportItem` with the given module name and optional alias.
python/tvm_ffi/stub/utils.py:89
↓ 1 callers
Method
__init__
(self, value: Any)
tests/python/test_function.py:218
↓ 1 callers
Function
__main__
Parse CLI args and print build and include configuration paths.
python/tvm_ffi/config.py:32
↓ 1 callers
Function
__main__
Command line entry point for ``tvm-ffi-stubgen``. This generates in-place type stubs inside special ``tvm-ffi-stubgen`` blocks in the given f
python/tvm_ffi/stub/cli.py:40
↓ 1 callers
Method
__new__
(cls, content: tuple[int, ...])
python/tvm_ffi/_tensor.py:65
↓ 1 callers
Method
__radd__
Concatenate two lists.
python/tvm_ffi/container.py:429
↓ 1 callers
Method
__tvm_ffi_object__
Implement __tvm_ffi_object__ protocol.
tests/python/test_tensor.py:150
↓ 1 callers
Function
_annotation_matches_expected
Return True if *annotation* matches the required payload-field type.
python/tvm_ffi/dataclasses/enum.py:1066
↓ 1 callers
Method
_array_item
(self, _1: int, /)
python/tvm_ffi/access_path.py:95
↓ 1 callers
Method
_array_item_missing
(self, _1: int, /)
python/tvm_ffi/access_path.py:98
↓ 1 callers
Function
_assert_any_equal
Recursively compare two tvm_ffi values for equality.
tests/python/test_serialization.py:52
↓ 1 callers
Method
_attr
(self, _1: str, /)
python/tvm_ffi/access_path.py:94
↓ 1 callers
Method
_attr_missing
(self, _1: str, /)
python/tvm_ffi/access_path.py:97
↓ 1 callers
Function
_build_object
Compile the source file to a relocatable object file.
addons/tvm_ffi_orcjit/examples/quick-start/run.py:53
↓ 1 callers
Function
_build_rust_docs
Build Rust documentation using cargo doc.
docs/conf.py:193
← previous
next →
701–800 of 5,333, ranked by callers