MCPcopy Create free account

hub / github.com/apache/tvm-ffi / functions

Functions5,333 in github.com/apache/tvm-ffi

↓ 3 callersMethodsize
! \return The size of the sequence */
include/tvm/ffi/container/seq_base.h:64
↓ 3 callersMethodtest_function
tvm_ffi.Function → same as A(Callable).
tests/python/test_type_converter.py:4181
↓ 3 callersMethodtotal
addons/tvm_ffi_orcjit/src/ffi/orcjit_slab.h:188
↓ 3 callersFunctiontvm_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 callersMethodvalues
Return a dynamic view of the dict's values.
python/tvm_ffi/container.py:734
↓ 2 callersFunctionAlignedFree
! * \brief Free aligned memory. * \param data The pointer to the memory to free. */
include/tvm/ffi/memory.h:86
↓ 2 callersFunctionAlloc1DTensor
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 callersMethodAllocData
src/ffi/tensor.cc:61
↓ 2 callersFunctionAny_AnyView_FromInt
[Any_AnyView.FromInt_Float.begin]
examples/abi_overview/example_code.c:43
↓ 2 callersMethodApply
! * \brief Apply the repr flag to the field info. * \param info The field info. */
include/tvm/ffi/reflection/registry.h:270
↓ 2 callersFunctionArray
(*args: Any)
python/tvm_ffi/_ffi_api.py:39
↓ 2 callersMethodArrayItemMissing
include/tvm/ffi/reflection/access_path.h:399
↓ 2 callersFunctionByteSwap
! * \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 callersMethodCallPacked
! * \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 callersMethodCompareAny
src/ffi/extra/structural_equal.cc:48
↓ 2 callersMethodCopyAny
src/ffi/object.cc:463
↓ 2 callersFunctionCreateLibraryModule
src/ffi/extra/library_module.cc:199
↓ 2 callersFunctionDLDataTypeCodeGetCustomTypeName
! * \brief Get the custom type name for a given type code. */
src/ffi/dtype.cc:30
↓ 2 callersMethodDecRef
! \brief decrease strong reference count and delete the object */
include/tvm/ffi/object.h:378
↓ 2 callersFunctionDemangleName
src/ffi/backtrace.cc:58
↓ 2 callersFunctionDetectFFIBoundary
* \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 callersFunctionDeviceToString
! * \brief Format a DLDevice as "device_name:device_id". */
src/ffi/extra/dataclass.cc:591
↓ 2 callersFunctionEmpty
! * \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 callersFunctionEmptyStrided
tests/cpp/test_tensor.cc:35
↓ 2 callersMethodExceedBacktraceLimit
src/ffi/backtrace_utils.h:172
↓ 2 callersFunctionFastMathSafeIsNaN
tests/cpp/extra/test_json_parser.cc:31
↓ 2 callersMethodFinalizeErrorMsg
src/ffi/extra/json_parser.cc:262
↓ 2 callersMethodFindPrev
! \brief Get the previous entry on the linked list */
include/tvm/ffi/container/map_base.h:1015
↓ 2 callersFunctionForEachFieldInfoWithEarlyStop
include/tvm/ffi/reflection/accessor.h:291
↓ 2 callersFunctionFormatBytes
! * \brief Format raw bytes as a Python-style bytes literal: b"...". */
src/ffi/extra/dataclass.cc:600
↓ 2 callersMethodGet
src/ffi/function.cc:114
↓ 2 callersMethodGet
tests/cpp/test_reflection.cc:645
↓ 2 callersMethodGetBacktrace
get backtrace in the order of most recent call last
src/ffi/backtrace_utils.h:175
↓ 2 callersMethodGetDLPackManagedTensorAllocator
src/ffi/extra/env_context.cc:58
↓ 2 callersFunctionGetKernel
include/tvm/ffi/extra/cuda/internal/unified_api.h:139
↓ 2 callersMethodGetMismatchMessage
include/tvm/ffi/reflection/overload.h:136
↓ 2 callersMethodGetNextEmpty
! \brief Get the next empty jump */
include/tvm/ffi/container/map_base.h:1025
↓ 2 callersMethodGetParent
include/tvm/ffi/reflection/access_path.h:375
↓ 2 callersMethodGetSymbol
src/ffi/extra/library_module_system_lib.cc:72
↓ 2 callersFunctionHasCreator
! * \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 callersMethodHasNext
! \brief If the entry has next entry on the linked list */
include/tvm/ffi/container/map_base.h:997
↓ 2 callersMethodIncRef
! \brief increase strong reference count, the caller must already hold a strong reference */
include/tvm/ffi/object.h:323
↓ 2 callersMethodInitTypeIndex
include/tvm/ffi/string.h:230
↓ 2 callersMethodIsEmpty
! \brief If the entry is empty slot */
include/tvm/ffi/container/map_base.h:969
↓ 2 callersMethodMaterializeAccessPath
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 callersMethodMoveToAny
include/tvm/ffi/string.h:232
↓ 2 callersMethodNewHead
! \brief Construct a head of linked list in-place */
include/tvm/ffi/container/map_base.h:986
↓ 2 callersMethodNewTail
! \brief Construct a tail of linked list in-place */
include/tvm/ffi/container/map_base.h:991
↓ 2 callersMethodNextString
* \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 callersFunctionRegisterOrcJITFunctions
addons/tvm_ffi_orcjit/src/ffi/orcjit_dylib.cc:200
↓ 2 callersMethodReset
* \brief Reset original small Storage so it can be ready for switch. */
include/tvm/ffi/container/map_base.h:1201
↓ 2 callersMethodRun
src/ffi/extra/dataclass.cc:641
↓ 2 callersMethodSetData
include/tvm/ffi/container/variant.h:54
↓ 2 callersMethodSetErrorExpectingComma
src/ffi/extra/json_parser.cc:299
↓ 2 callersMethodSetErrorExpectingPropertyName
src/ffi/extra/json_parser.cc:293
↓ 2 callersMethodSetErrorInvalidUnicodeEscape
src/ffi/extra/json_parser.cc:281
↓ 2 callersMethodSetErrorUnterminatedString
src/ffi/extra/json_parser.cc:277
↓ 2 callersMethodSetSlotsAndDenseLayoutTag
! * \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 callersMethodSyncMethodInfo
src/ffi/function.cc:76
↓ 2 callersFunctionTVMFFIAnyViewToOwnedAny
src/ffi/function.cc:154
↓ 2 callersFunctionTVMFFIBytesGetByteArrayPtr
! * \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 callersFunctionTVMFFIDataTypeFromString
src/ffi/dtype.cc:360
↓ 2 callersFunctionTVMFFIEnvSetStream
src/ffi/extra/env_context.cc:96
↓ 2 callersFunctionTVMFFIErrorSetRaised
src/ffi/error.cc:92
↓ 2 callersFunctionTVMFFIFunctionCreate
src/ffi/function.cc:146
↓ 2 callersFunctionTVMFFIFunctionGetCellPtr
! * \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 callersFunctionTVMFFIFunctionSetGlobal
src/ffi/function.cc:161
↓ 2 callersFunctionTVMFFIObjectIncRef
src/ffi/object.cc:526
↓ 2 callersFunctionTVMFFISmallBytesGetContentByteArray
! * \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 callersFunctionTVMFFITestingDummyTarget
src/ffi/testing/testing.cc:938
↓ 2 callersFunctionTVMFFITypeRegisterField
src/ffi/object.cc:554
↓ 2 callersFunctionTVMFFITypeRegisterMetadata
src/ffi/object.cc:566
↓ 2 callersFunctionTVMFFITypeRegisterMethod
src/ffi/object.cc:560
↓ 2 callersMethodToDLPack
! * \brief Convert the Tensor to a DLPack managed tensor. * \return The converted DLPack managed tensor. */
include/tvm/ffi/container/tensor.h:609
↓ 2 callersMethodTracebackMostRecentCallLast
! * \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 callersMethodTryCall
include/tvm/ffi/reflection/overload.h:111
↓ 2 callersFunctionTypeKeyToIndex
! * \brief helper function to get type index from key */
include/tvm/ffi/function.h:938
↓ 2 callersFunctionUnloadLibrary
include/tvm/ffi/extra/cuda/internal/unified_api.h:135
↓ 2 callersMethodUpdate
src/ffi/function.cc:85
↓ 2 callersMethodVisitMap
src/ffi/extra/visit_error_context.cc:236
↓ 2 callersMethodVisitObject
src/ffi/extra/visit_error_context.cc:175
↓ 2 callersMethodVisitSequence
src/ffi/extra/visit_error_context.cc:225
↓ 2 callersMethod__enter__
Enter the context and set the current stream.
python/tvm_ffi/stream.py:57
↓ 2 callersMethod__eq__
Structural equality.
python/tvm_ffi/container.py:238
↓ 2 callersMethod__eq__
Structural equality.
python/tvm_ffi/container.py:576
↓ 2 callersMethod__eq__
Structural equality.
python/tvm_ffi/container.py:701
↓ 2 callersMethod__exit__
Exit the context and restore the previous stream.
python/tvm_ffi/stream.py:64
↓ 2 callersMethod__hash__
Return cached structural hash.
python/tvm_ffi/structural.py:225
↓ 2 callersMethod__init_subclass__
( cls, *, type_key: str | None = None, frozen: bool = True, init: bool
python/tvm_ffi/dataclasses/enum.py:445
↓ 2 callersMethod__post_init__
Validate the code block after initialization.
python/tvm_ffi/stub/file_utils.py:41
↓ 2 callersFunction__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 callersFunction_add_param_with_default
(name: str, default_value: Any)
python/tvm_ffi/utils/kwargs_wrapper.py:172
↓ 2 callersFunction_asdict_inner
( # noqa: PLR0911, PLR0912 obj: Any, dict_factory: Callable[..., Any] )
python/tvm_ffi/dataclasses/common.py:110
↓ 2 callersFunction_astuple_inner
(obj: Any, tuple_factory: Callable[..., Any])
python/tvm_ffi/dataclasses/common.py:160
↓ 2 callersFunction_attrs_dict
(cls: type)
python/tvm_ffi/dataclasses/enum.py:735
↓ 2 callersFunction_build_impl
Real implementation of build function.
python/tvm_ffi/cpp/extension.py:664
↓ 2 callersFunction_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 callersFunction_check_symbols_in_object
Check if expected symbols exist in the object file using nm.
tests/python/utils/test_embed_cubin.py:108
↓ 2 callersFunction_check_type
(x: Any)
tests/python/test_object.py:210
↓ 2 callersFunction_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
← previousnext →401–500 of 5,333, ranked by callers