Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/TNN
/ functions
Functions
11,148 in github.com/Tencent/TNN
⨍
Functions
11,148
◇
Types & classes
2,592
↓ 1,681 callers
Method
size
source/tnn/device/cpu/acc/compute/normalized_bbox.h:369
↓ 841 callers
Method
GetHandle
Get a copy of the handle of the blob.
source/tnn/core/blob.cc:68
↓ 783 callers
Method
size
Total number of elements
tools/onnx2tnn/onnx-converter/pybind11/include/pybind11/numpy.h:618
↓ 594 callers
Method
end
tools/onnx2tnn/src/onnx-proto3/onnx.proto3.pb.h:4497
↓ 593 callers
Method
find
tools/onnx2tnn/onnx-converter/pybind11/include/pybind11/cast.h:303
↓ 507 callers
Function
Count
tools/converter/source/tflite/tflite_utils.cc:164
↓ 469 callers
Method
get
examples/base/blazepose_landmark.cc:26
↓ 365 callers
Method
release
release the real register
source/tnn/device/x86/acc/compute/jit/kernels/base_jit_kernel.h:103
↓ 348 callers
Method
append
tools/onnx2tnn/onnx-converter/pybind11/include/pybind11/pytypes.h:1265
↓ 318 callers
Function
load
tools/onnx2tnn/onnx-converter/pybind11/include/pybind11/eigen.h:547
↓ 309 callers
Method
data
tools/onnx2tnn/onnx-converter/pybind11/tests/test_buffers.cc:69
↓ 294 callers
Function
print
tools/onnx2tnn/onnx-converter/pybind11/include/pybind11/pybind11.h:1838
↓ 291 callers
Method
ptr
tools/onnx2tnn/onnx-converter/pybind11/tests/test_class.cc:364
↓ 281 callers
Method
GetData
source/tnn/device/opencl/opencl_memory.cc:38
↓ 265 callers
Method
GetMatType
source/tnn/core/mat.cc:31
↓ 255 callers
Method
begin
tools/onnx2tnn/src/onnx-proto3/onnx.proto3.pb.h:4483
↓ 239 callers
Method
attr
tools/onnx2tnn/onnx-converter/pybind11/include/pybind11/pytypes.h:1411
↓ 235 callers
Function
max
tools/converter/source/tflite/tflite-schema/schema_generated.h:3290
↓ 229 callers
Method
resize
Resize array to given shape If refcheck is true and more that one reference exist to this array then resize will succeed only if it makes a reshape, i
tools/onnx2tnn/onnx-converter/pybind11/include/pybind11/numpy.h:747
↓ 213 callers
Method
set_op_type
tools/onnx2tnn/src/onnx-proto3/onnx.proto3.pb.h:3569
↓ 211 callers
Method
GetWidth
source/tnn/core/mat.cc:63
↓ 204 callers
Function
move
tools/onnx2tnn/onnx-converter/pybind11/include/pybind11/cast.h:1714
↓ 199 callers
Function
GetBlobHandlePtr
source/tnn/device/arm/arm_util.cc:294
↓ 186 callers
Method
clear
tools/onnx2tnn/onnx-converter/pybind11/include/pybind11/pytypes.h:1288
↓ 186 callers
Method
name
tools/onnx2tnn/onnx-converter/pybind11/tests/test_class.cc:50
↓ 180 callers
Function
min
tools/converter/source/tflite/tflite-schema/schema_generated.h:3287
↓ 173 callers
Method
aquire
get a real register
source/tnn/device/x86/acc/compute/jit/kernels/base_jit_kernel.h:86
↓ 171 callers
Function
len
\addtogroup python_builtins @{
tools/onnx2tnn/onnx-converter/pybind11/include/pybind11/pytypes.h:1362
↓ 167 callers
Method
GetHeight
source/tnn/core/mat.cc:59
↓ 166 callers
Method
GetDataType
source/tnn/interpreter/raw_buffer.cc:155
↓ 164 callers
Method
array
tools/onnx2tnn/onnx-converter/pybind11/include/pybind11/numpy.h:548
↓ 147 callers
Method
$
(int id)
examples/android/demo/src/main/java/com/tencent/tnn/demo/common/fragment/BaseFragment.java:33
↓ 141 callers
Method
GetData
source/tnn/core/mat.cc:35
↓ 141 callers
Method
empty
tools/onnx2tnn/onnx-converter/pybind11/include/pybind11/pytypes.h:1284
↓ 128 callers
Method
i
tools/onnx2tnn/src/onnx-proto3/onnx.proto3.pb.h:2851
↓ 124 callers
Method
get
tools/converter/source/tflite/tflite_op_converter.cc:21
↓ 123 callers
Method
str
tools/onnx2tnn/onnx-converter/pybind11/include/pybind11/pytypes.h:1001
↓ 122 callers
Function
GetInt
source/tnn/interpreter/ncnn/ncnn_param_utils.cc:27
↓ 120 callers
Method
alive
tools/onnx2tnn/onnx-converter/pybind11/tests/constructor_stats.h:127
↓ 119 callers
Method
GetDataCount
source/tnn/interpreter/raw_buffer.cc:163
↓ 118 callers
Method
format
tools/onnx2tnn/onnx-converter/pybind11/include/pybind11/pytypes.h:928
↓ 116 callers
Method
Finish
tools/converter/source/tflite/tflite-schema/schema_generated.h:11425
↓ 114 callers
Method
GetBytesSize
source/tnn/utils/data_type_utils.cc:21
↓ 114 callers
Method
GetDeviceType
source/tnn/core/mat.cc:27
↓ 104 callers
Function
builtin_options_type
tools/converter/source/tflite/tflite-schema/schema_generated.h:9944
↓ 103 callers
Function
builtin_options
tools/converter/source/tflite/tflite-schema/schema_generated.h:9947
↓ 101 callers
Method
GetDims
source/tnn/core/mat.cc:39
↓ 100 callers
Method
count
* @brief Compute the volume of a slice; i.e., the product of dimensions * among a range of axes. * * @param dimes the dimensions
source/tnn/device/cpu/acc/cpu_permute_layer_acc.h:65
↓ 99 callers
Method
restore
restore the content from stack, then aquire a register
source/tnn/device/x86/acc/compute/jit/kernels/base_jit_kernel.h:135
↓ 97 callers
Function
init
tools/onnx2tnn/onnx-converter/pybind11/include/pybind11/pybind11.h:1378
↓ 93 callers
Method
xmm
source/tnn/device/x86/acc/compute/jit/kernels/base_jit_kernel.h:181
↓ 92 callers
Method
insert
tools/converter/source/onnx/onnx_base_converter.cc:44
↓ 90 callers
Method
input_size
repeated string input = 1;
tools/onnx2tnn/src/onnx-proto3/onnx.proto3.pb.h:3371
↓ 88 callers
Function
CreateExecuteUnit
create execute unit with kernel name and build options.
source/tnn/device/opencl/opencl_utils.cc:513
↓ 87 callers
Method
description
source/tnn/core/blob.cc:23
↓ 85 callers
Function
get_node_attr_ai
tools/onnx2tnn/src/core/onnx_utility.cc:63
↓ 83 callers
Function
fabs
Absolute value. \param arg operand \return absolute value of \a arg template<typename T> typename enable<T,T>::type fabs(T arg) { return unary_special
source/tnn/utils/half.hpp:2973
↓ 83 callers
Function
print_created
tools/onnx2tnn/onnx-converter/pybind11/tests/constructor_stats.h:264
↓ 80 callers
Function
print_destroyed
tools/onnx2tnn/onnx-converter/pybind11/tests/constructor_stats.h:268
↓ 78 callers
Method
GetBatch
source/tnn/core/mat.cc:51
↓ 77 callers
Function
f
(*args, **kwargs)
tools/onnx2tnn/onnx-converter/pybind11/tests/test_callbacks.py:45
↓ 73 callers
Method
validate_and_infer_types
source/tnn/network/openvino/custom_layer/custom_implementation.h:44
↓ 72 callers
Method
value
tools/onnx2tnn/onnx-converter/pybind11/tests/pybind11_tests.h:35
↓ 71 callers
Method
SetDataType
source/tnn/interpreter/raw_buffer.cc:151
↓ 70 callers
Method
GetForeignTensor
@brief get the ForeignTensor
source/tnn/extern_wrapper/foreign_blob.cc:41
↓ 70 callers
Method
Init
examples/android/demo/src/main/jni/cc/tnn_lib.cc:31
↓ 70 callers
Function
get_node_attr_i
tools/onnx2tnn/src/core/onnx_utility.cc:322
↓ 70 callers
Method
shape
Dimensions of the array
tools/onnx2tnn/onnx-converter/pybind11/include/pybind11/numpy.h:643
↓ 69 callers
Function
exp
Exponential function. \param arg function argument \return e raised to \a arg template<typename T> typename enable<expr,T>::type exp(T arg) { return f
source/tnn/utils/half.hpp:3143
↓ 68 callers
Function
make_tuple
tools/onnx2tnn/onnx-converter/pybind11/include/pybind11/cast.h:1782
↓ 67 callers
Function
ToString
source/tnn/utils/string_utils_inner.h:26
↓ 66 callers
Method
size
tools/onnx2tnn/onnx-converter/pybind11/tests/test_sequences_and_iterators.cc:169
↓ 65 callers
Function
cast
tools/onnx2tnn/onnx-converter/pybind11/include/pybind11/cast.h:1688
↓ 65 callers
Function
get_node_attr_f
tools/onnx2tnn/src/core/onnx_utility.cc:332
↓ 63 callers
Function
fdLoadFile
Helper functions
examples/android/demo/src/main/jni/cc/helper_jni.cc:20
↓ 62 callers
Method
get
tools/onnx2tnn/onnx-converter/pybind11/tests/test_smart_ptr.cc:43
↓ 62 callers
Function
sqrt
Square root. \param arg function argument \return square root of \a arg template<typename T> typename enable<expr,T>::type sqrt(T arg) { return functi
source/tnn/utils/half.hpp:3231
↓ 61 callers
Method
GetIntResource
* The resource of Int8Blob stores the quantization scale. * Per-tensor scale and per-channel scale are supported Currently. */
source/tnn/core/blob_int8.cc:33
↓ 61 callers
Function
error_already_set
Constructs a new exception from the current Python error indicator, if any. The current Python error indicator will be cleared.
tools/onnx2tnn/onnx-converter/pybind11/include/pybind11/pytypes.h:326
↓ 61 callers
Method
set_name
tools/onnx2tnn/src/onnx-proto3/onnx.proto3.pb.h:2668
↓ 60 callers
Method
GetOperator
source/tnn/device/huawei_npu/convert/npu_base_layer_convert.cc:31
↓ 60 callers
Method
add_attribute
tools/onnx2tnn/src/onnx-proto3/onnx.proto3.pb.h:3687
↓ 58 callers
Method
Context
source/tnn/device/opencl/opencl_runtime.cc:213
↓ 58 callers
Method
end
(String tag)
examples/android/demo/src/main/java/com/tencent/tnn/demo/FpsCounter.java:7
↓ 55 callers
Method
GetBufferDims
source/tnn/interpreter/raw_buffer.cc:76
↓ 54 callers
Function
Run
test/test.cc:52
↓ 53 callers
Function
GenerateInterpreter
test/unit_test/unit_test_common.cc:92
↓ 53 callers
Function
ceil
Nearest integer not less than half value. \param arg half to round \return nearest integer not less than \a arg template<typename T> typename enable<h
source/tnn/utils/half.hpp:3521
↓ 53 callers
Function
msg
Sanitize messages and add custom failure explanation
tools/onnx2tnn/onnx-converter/pybind11/tests/conftest.py:165
↓ 52 callers
Function
ConvertDeviceType
test/test_utils.cc:25
↓ 52 callers
Method
data_type
tools/onnx2tnn/src/onnx-proto3/onnx.proto3.pb.h:4545
↓ 52 callers
Function
doc
Sanitize docstrings and add custom failure explanation
tools/onnx2tnn/onnx-converter/pybind11/tests/conftest.py:152
↓ 51 callers
Method
PutRaw
source/tnn/interpreter/tnn/objseri.h:49
↓ 50 callers
Method
CommandQueue
source/tnn/device/opencl/opencl_context.cc:52
↓ 50 callers
Method
Swap
tools/onnx2tnn/src/onnx-proto3/onnx.proto3.pb.cc:1736
↓ 49 callers
Method
decode
decodes input (unsigned char) into output (uint4). Assumes len is a multiple of 4.
source/tnn/utils/md5.cc:138
↓ 49 callers
Method
dims
tools/onnx2tnn/src/onnx-proto3/onnx.proto3.pb.h:4518
↓ 48 callers
Method
AddOffset
examples/base/tnn_sdk_sample.cc:119
↓ 47 callers
Method
SetData
source/tnn/device/opencl/opencl_memory.cc:42
↓ 46 callers
Method
add_input
tools/onnx2tnn/src/onnx-proto3/onnx.proto3.pb.h:3405
next →
1–100 of 11,148, ranked by callers