MCPcopy Create free account

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

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

↓ 8 callersFunctionadd_one
(_0: int, /)
examples/python_packaging/python/my_ffi_extension/_ffi_api.py:36
↓ 8 callersMethodbegin
! \return begin iterator */
include/tvm/ffi/container/array.h:355
↓ 8 callersMethodbyte_offset
! * \brief Get the byte offset of the Tensor. * \return The byte offset of the Tensor. */
include/tvm/ffi/container/tensor.h:367
↓ 8 callersMethoddata
! \return The arguments */
include/tvm/ffi/function.h:274
↓ 8 callersMethodis_prefix_of
Check if this access path is a prefix of another access path. Parameters ---------- other The access path to chec
python/tvm_ffi/access_path.py:137
↓ 8 callersFunctionload_module
Load module from file. Parameters ---------- path The path to the module file. keep_module_alive Whether to keep the
python/tvm_ffi/module.py:438
↓ 8 callersFunctionregister_error
Register an error class so it can be recognized by the ffi error handler. Parameters ---------- name_or_cls The name of the error
python/tvm_ffi/error.py:205
↓ 8 callersMethodsize
! * \brief Return the size of the shape tuple * * \return size_t shape tuple size */
include/tvm/ffi/container/shape.h:268
↓ 8 callersMethodtype_index
! \return the internal type index */
include/tvm/ffi/any.h:255
↓ 7 callersFunctionCallFieldSetter
! * \brief Call the field setter, dispatching between function pointer and FunctionObj. * * When kTVMFFIFieldFlagBitSetterIsFunctionObj is off, inv
include/tvm/ffi/reflection/accessor.h:66
↓ 7 callersMethodCopyString
src/ffi/object.cc:452
↓ 7 callersFunctionEscapeStringJSON
! * \brief Return a JSON-escaped version of the string (RFC 8259). * * Uses ``\\uXXXX`` for control characters, escapes ``\\/``, ``\\b``, ``\\f`` p
include/tvm/ffi/string.h:836
↓ 7 callersMethodGetTypeKeyHash
! * \return A hash value of the return of GetTypeKey. */
include/tvm/ffi/object.h:243
↓ 7 callersMethodIsSmallMap
! * \brief Check if the map is a small map * \return True if the map is a small map */
include/tvm/ffi/container/map_base.h:260
↓ 7 callersMethodMatchLiteral
! * \brief Check if the next characters match the given string. * \param str The string to match. * \param len The length of the string. *
src/ffi/extra/json_parser.cc:103
↓ 7 callersMethodMoveToNext
! \brief Move the entry to the next entry on the linked list */
include/tvm/ffi/container/map_base.h:999
↓ 7 callersMethodProduct
! \return The product of the shape tuple */
include/tvm/ffi/container/shape.h:305
↓ 7 callersFunctionTVMFFIFunctionGetGlobal
src/ffi/function.cc:177
↓ 7 callersFunction_build_variant
Build all test objects for one compiler variant.
addons/tvm_ffi_orcjit/tests/utils.py:95
↓ 7 callersFunction_dev_top_directory
Get the top-level development directory.
python/tvm_ffi/libinfo.py:369
↓ 7 callersFunction_resolve_and_validate
For all paths that resolve properly, find the 1st one that meets the specified condition. M. B. This code path gracefully handles broken paths, s
python/tvm_ffi/libinfo.py:374
↓ 7 callersMethodarray_item
Create an access path to the item of the current array. Parameters ---------- index The index of the item to acce
python/tvm_ffi/access_path.py:185
↓ 7 callersMethodas_slice
Get the shape as a slice
rust/tvm-ffi/src/collections/shape.rs:62
↓ 7 callersMethodas_str
(&self)
rust/tvm-ffi/src/error.rs:33
↓ 7 callersMethodat
! * \brief Read element from map. * \param key The key * \return the corresonding element. */
include/tvm/ffi/container/map.h:197
↓ 7 callersMethodclear_free_slabs
Release drained slabs (no live JIT allocations) back to the OS. Call this after dropping a batch of libraries to reclaim RSS. Fresh s
addons/tvm_ffi_orcjit/python/tvm_ffi_orcjit/session.py:114
↓ 7 callersMethodend
! \return end iterator */
include/tvm/ffi/container/array.h:358
↓ 7 callersMethodfuncs2_obj
Return path prefix for test_funcs2 object.
addons/tvm_ffi_orcjit/tests/test_basic.py:87
↓ 7 callersFunctionget_global_func
(name: str, allow_missing: Literal[True])
python/tvm_ffi/registry.py:177
↓ 7 callersMethodhas_value
include/tvm/ffi/optional.h:320
↓ 7 callersMethodpop
Remove and return item at index (default last).
python/tvm_ffi/container.py:374
↓ 6 callersFunctionAddressStr
! * \brief Format an object address as a hex string. */
src/ffi/extra/dataclass.cc:618
↓ 6 callersMethodGetBlock
include/tvm/ffi/container/map_base.h:446
↓ 6 callersFunctionIsContiguous
! * \brief check if a DLTensor is contiguous. * \param arr The input DLTensor. * \return The check result. */
include/tvm/ffi/container/tensor.h:57
↓ 6 callersFunctionMoveFromSafeCallRaised
! * \brief Move the last raised safe-call error from TLS. * \return The raised error object. */
include/tvm/ffi/error.h:324
↓ 6 callersFunction_is_comparable
Return True if *self* and *other* share a type hierarchy.
python/tvm_ffi/_dunder.py:360
↓ 6 callersFunction_make_nan_from_payload
Create a quiet NaN with a deterministic payload.
tests/python/test_dataclass_hash.py:44
↓ 6 callersFunction_str_seq2list
(seq: Sequence[str] | str | None)
python/tvm_ffi/cpp/extension.py:655
↓ 6 callersMethodas_strided
! * \brief Create a new Tensor as a strided view of the current Tensor. * \param shape The shape of the new Tensor. * \param strides The stri
include/tvm/ffi/container/tensor.h:388
↓ 6 callersFunctionecho
(x: Any)
tests/python/test_function.py:166
↓ 6 callersMethodfrom_begin_line
Parse a line to create a CodeBlock if it contains a stub begin marker.
python/tvm_ffi/stub/file_utils.py:63
↓ 6 callersMethodfrom_schema
Construct a `FuncInfo` from a name and its type schema.
python/tvm_ffi/stub/utils.py:152
↓ 6 callersFunctionget
include/tvm/ffi/object.h:1026
↓ 6 callersMethoditer
(&'_ self)
rust/tvm-ffi/src/collections/array.rs:157
↓ 6 callersMethodoperator->
! * \return The pointer */
include/tvm/ffi/object.h:534
↓ 6 callersFunctionprint_speed
(name: str, speed: float)
tests/scripts/benchmark_kwargs_wrapper.py:28
↓ 6 callersMethodrelease
Releases the lock and closes the file descriptor.
python/tvm_ffi/utils/lockfile.py:148
↓ 6 callersFunctionreplace
Return a copy of ``obj`` with selected fields replaced. Drop-in for :func:`dataclasses.replace` for FFI-backed instances: the call is forward
python/tvm_ffi/dataclasses/common.py:92
↓ 6 callersMethodswap
! * \brief Swap this String with another string * \param other The other string */
include/tvm/ffi/string.h:306
↓ 6 callersMethodto_steps
Convert the access path to a list of access steps. Returns ------- access_steps The list of access steps
python/tvm_ffi/access_path.py:249
↓ 5 callersMethodCompareAny
src/ffi/extra/dataclass.cc:1229
↓ 5 callersFunctionConcat
include/tvm/ffi/container/array.h:859
↓ 5 callersMethodFullMessage
! * \brief Get the full message of the error, including kind, message and traceback. * \return The full message of the error object. */
include/tvm/ffi/error.h:278
↓ 5 callersFunctionGetMethodInfo
! * \brief helper function to get reflection method info by type key and method name * * \param type_key The type key. * \param method_name The na
include/tvm/ffi/reflection/accessor.h:204
↓ 5 callersMethodGetSymbol
src/ffi/extra/library_module_dynamic_lib.cc:52
↓ 5 callersMethodIsContiguous
! * \brief Check if the Tensor is contiguous. * \return True if the Tensor is contiguous, false otherwise. */
include/tvm/ffi/container/tensor.h:372
↓ 5 callersMethodMapItemMissing
include/tvm/ffi/reflection/access_path.h:407
↓ 5 callersFunctionParseMetadataToSchema
tests/cpp/test_metadata.cc:54
↓ 5 callersMethodRead
! * \brief Reads raw from stream. * \param ptr pointer to the data to be read * \param size the size of the data to be read * \return the
src/ffi/extra/buffer_stream.h:56
↓ 5 callersMethodSetItem
! * \brief Set i-th element of the sequence in-place * \param i The index * \param item The value to be set */
include/tvm/ffi/container/seq_base.h:127
↓ 5 callersMethodSplit
! * \brief Split the string by a delimiter character. * \param delim The delimiter character. * \return A vector of string_views pointing int
include/tvm/ffi/string.h:748
↓ 5 callersMethodString
! * \brief avoid misuse of nullptr */
include/tvm/ffi/string.h:407
↓ 5 callersFunctionTVMFFITypeKeyToIndex
src/ffi/object.cc:548
↓ 5 callersMethodTestNonCopyable
src/ffi/testing/testing.cc:270
↓ 5 callersMethod__ffi_init__
(self, x: int)
tests/python/test_dataclass_py_class.py:4873
↓ 5 callersFunction_add_class_attrs
(type_cls: type, type_info: TypeInfo)
python/tvm_ffi/registry.py:399
↓ 5 callersMethod_finalize
Register fields and install class attrs (phase 2 of two-phase).
tests/python/test_dataclass_py_class.py:3133
↓ 5 callersFunction_find_new_mappings
Find mappings present in *after* but not in *before*.
addons/tvm_ffi_orcjit/tests/test_memory_manager.py:227
↓ 5 callersMethod_register_bare
Register a type with no fields (phase 1 of two-phase).
tests/python/test_dataclass_py_class.py:3125
↓ 5 callersFunction_split_env_var
Split an environment variable string. Parameters ---------- env_var Name of environment variable. split String to sp
python/tvm_ffi/libinfo.py:342
↓ 5 callersFunction_transform_expr
(name: str, expr: str)
python/tvm_ffi/utils/kwargs_wrapper.py:167
↓ 5 callersFunction_warn_missing_field_annotations
Emit a warning if any C++ reflected fields lack Python annotations on *cls*. Only checks fields owned by *type_info* (not inherited from parents)
python/tvm_ffi/registry.py:456
↓ 5 callersMethodacquire
Acquire an exclusive, non-blocking lock on the file. Returns ------- ret: bool True if the lock was acquired, Fal
python/tvm_ffi/utils/lockfile.py:73
↓ 5 callersFunctionblock_nearby_va
Block all free VA gaps within *radius* of *center*. Uses MAP_FIXED_NOREPLACE to place PROT_NONE mappings in every free gap within [center - r
addons/tvm_ffi_orcjit/tests/test_memory_manager.py:234
↓ 5 callersFunctionembed_cubin
Embed a CUBIN file into an existing object file. This function takes a CUBIN binary file and merges it into an existing object file that cont
python/tvm_ffi/utils/embed_cubin.py:50
↓ 5 callersFunctionfapply
(f: Any, *args: Any)
tests/python/test_function.py:157
↓ 5 callersFunctionfree_blockers
Free all VA blockers.
addons/tvm_ffi_orcjit/tests/test_memory_manager.py:268
↓ 5 callersMethodgen_fields
Generate field definitions for this object.
python/tvm_ffi/stub/utils.py:269
↓ 5 callersMethodget_function_doc
Get documentation string for a function exported from the module. This retrieves documentation for functions exported via c:macro:`TVM_FFI_DL
python/tvm_ffi/module.py:241
↓ 5 callersFunctionget_global_func_metadata
Get metadata (including type schema) for a global function. Parameters ---------- name The name of the global function. Retu
python/tvm_ffi/registry.py:270
↓ 5 callersMethodis_empty
(&self)
rust/tvm-ffi/src/collections/array.rs:131
↓ 5 callersMethodnumel
(&self)
rust/tvm-ffi/src/collections/tensor.rs:60
↓ 5 callersMethodrbegin
! \return rbegin iterator */
include/tvm/ffi/container/list.h:266
↓ 5 callersMethodrend
! \return rend iterator */
include/tvm/ffi/container/list.h:268
↓ 4 callersMethodAppend
src/ffi/backtrace_utils.h:151
↓ 4 callersMethodBytes
! \brief default constructor */
include/tvm/ffi/string.h:270
↓ 4 callersFunctionCreateEmptyObject
! * \brief Create an empty object via the type's native creator or ``__ffi_new__`` type attr. * * Falls back to the ``__ffi_new__`` type attribute
include/tvm/ffi/reflection/creator.h:43
↓ 4 callersMethodDestructData
! \brief Destruct the item in the entry */
include/tvm/ffi/container/map_base.h:975
↓ 4 callersFunctionDict
(*args: Any)
python/tvm_ffi/_ffi_api.py:46
↓ 4 callersMethodEmplaceInit
include/tvm/ffi/container/seq_base.h:236
↓ 4 callersMethodGetFunction
src/ffi/extra/module.cc:61
↓ 4 callersMethodGetOrAllocTypeIndex
src/ffi/object.cc:122
↓ 4 callersMethodInitData
include/tvm/ffi/string.h:780
↓ 4 callersMethodIsNone
! \brief If the entry is none */
include/tvm/ffi/container/map_base.h:967
↓ 4 callersFunctionRun
examples/stable_c_abi/src/load.c:32
↓ 4 callersFunctionSetFieldToDefault
! * \brief Set a field to its default value, calling the factory if applicable. * * When kTVMFFIFieldFlagBitMaskDefaultFromFactory is set, extracts
include/tvm/ffi/reflection/accessor.h:241
↓ 4 callersMethodSetJump
! \brief Set the entry's jump to its next entry */
include/tvm/ffi/container/map_base.h:984
↓ 4 callersFunctionTVMFFIBacktrace
src/ffi/backtrace.cc:119
↓ 4 callersFunctionTVMFFIErrorMoveFromRaised
src/ffi/error.cc:96
↓ 4 callersMethodToDLPackVersioned
! * \brief Convert the Tensor to a DLPack managed tensor. * \return The converted DLPack managed tensor. */
include/tvm/ffi/container/tensor.h:615
← previousnext →201–300 of 5,333, ranked by callers