Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/MNN
/ functions
Functions
49,176 in github.com/alibaba/MNN
⨍
Functions
49,176
◇
Types & classes
11,252
↳
Endpoints
2
↓ 72 callers
Function
a
(e)
doc/API/html/jquery.js:23
↓ 72 callers
Method
kind
3rd_party/protobuf/src/google/protobuf/type.pb.h:1708
↓ 72 callers
Method
setType
source/core/Tensor.cpp:218
↓ 72 callers
Method
type_name
3rd_party/protobuf/src/google/protobuf/descriptor.h:2368
↓ 71 callers
Method
create_stream
(self, keywords: Optional[str] = None)
apps/frameworks/sherpa-mnn/sherpa-mnn/python/sherpa_mnn/keyword_spotter.py:137
↓ 71 callers
Function
swap
3rd_party/protobuf/src/google/protobuf/api.pb.h:128
↓ 70 callers
Method
Clear
3rd_party/protobuf/src/google/protobuf/api.pb.cc:266
↓ 70 callers
Function
_ReduceSum
Computes the sum of elements across dimensions of a variable Reduces input_variable along the dimensions given in axis. Unless keepdims is true, the r
express/MathOp.cpp:829
↓ 70 callers
Method
containing_oneof
3rd_party/protobuf/src/google/protobuf/descriptor.h:2246
↓ 70 callers
Method
insert
tools/converter/source/optimizer/onnxextra/OnnxExtraManager.cpp:31
↓ 70 callers
Function
join
transformers/llm/engine/tools/llm_bench.cpp:155
↓ 69 callers
Method
Lookup
3rd_party/flatbuffers/include/flatbuffers/idl.h:202
↓ 69 callers
Method
begin
return iterator begin (needed for range-based for)
transformers/llm/engine/app/jsonhpp/json.hpp:5516
↓ 69 callers
Method
bytes
Size in bytes for a single element, even if width is not 1, of this type. */
include/MNN/HalideRuntime.h:122
↓ 69 callers
Method
convert
tools/train/source/transformer/OpConverter.cpp:34
↓ 69 callers
Method
is_map
3rd_party/protobuf/src/google/protobuf/descriptor.h:2287
↓ 68 callers
Method
GetMetadata
3rd_party/protobuf/src/google/protobuf/util/json_format.pb.cc:835
↓ 68 callers
Function
transform
schema/current/UserDefine_generated.h:428
↓ 67 callers
Method
TestEq
(T a, T b)
3rd_party/flatbuffers/tests/JavaTest.java:417
↓ 67 callers
Function
_Shape
Returns the shape of a variable. Args: input: A variable. Returns: A variable of Halide_Type_Int. */
express/NeuralNetWorkOp.cpp:789
↓ 67 callers
Function
__not_impl
(*args)
pymnn/pip_package/MNN/numpy/__init__.py:21
↓ 67 callers
Method
empty
transformers/llm/engine/app/jsonhpp/json.hpp:6556
↓ 67 callers
Method
enqueueUnmapMemObject
3rd_party/OpenCLHeaders/CL/cl.hpp:6215
↓ 67 callers
Method
max
source/math/Vec.hpp:174
↓ 67 callers
Method
ok
3rd_party/protobuf/src/google/protobuf/stubs/statusor.h:231
↓ 67 callers
Method
write
source/backend/opengl/GLTexture.cpp:87
↓ 66 callers
Function
GetJavaType
3rd_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc:361
↓ 66 callers
Method
assertBuilderEquals
(self, builder, want_chars_or_ints)
3rd_party/flatbuffers/tests/py_test.py:348
↓ 66 callers
Function
assertFalse
apps/mnncli/test/src/hf_bin_file_verification_test.cpp:34
↓ 66 callers
Function
exists
source/backend/neuropilot/mtk/common/cpp11_compat.h:60
↓ 66 callers
Method
sqrt
source/cv/SkNx.h:226
↓ 65 callers
Function
EnumNameOpType
schema/current/MNN_generated.h:1107
↓ 65 callers
Method
enqueueMapBuffer
3rd_party/OpenCLHeaders/CL/cl.hpp:6154
↓ 65 callers
Function
floor
source/cv/SkNx.h:118
↓ 65 callers
Method
mean
express/Expr.cpp:1413
↓ 64 callers
Method
Register
apps/frameworks/sherpa-mnn/sherpa-mnn/csrc/endpoint.cc:59
↓ 64 callers
Function
array
array(object, dtype=None, copy=True, order='K', subok=False, ndmin=0, like=None) Create an array. Parameters ---------- object :
pymnn/pip_package/MNN/numpy/__init__.py:467
↓ 64 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
3rd_party/half/half.hpp:2488
↓ 64 callers
Method
get
Returns a pointer
source/backend/cuda/execution/plugin/FmhaCommon/fused_multi_head_attention/iterators/predicated_tile_access_iterator_residual_last.h:821
↓ 63 callers
Method
method
3rd_party/flatbuffers/src/idl_gen_grpc.cpp:118
↓ 63 callers
Method
recordKernel2d
source/backend/opencl/core/OpenCLBackend.cpp:1466
↓ 62 callers
Method
begin
return iterator begin (needed for range-based for)
apps/frameworks/3rd_party/include/nlohmann/json.hpp:5326
↓ 62 callers
Method
count
tools/converter/include/cxxopts.hpp:664
↓ 62 callers
Method
getOutput
source/core/Session.cpp:426
↓ 61 callers
Function
FromIntSize
We mainly calculate sizes in terms of size_t, but some functions that compute sizes return "int". These int sizes are expected to always be positive.
3rd_party/protobuf/src/google/protobuf/message_lite.h:119
↓ 61 callers
Method
begin
3rd_party/protobuf/src/google/protobuf/map.h:1200
↓ 61 callers
Method
bytes
source/backend/nnapi/backend/NNAPIBackend.hpp:95
↓ 61 callers
Method
cast
source/backend/cpu/CPUCast.cpp:17
↓ 61 callers
Method
execute
apps/Android/MnnLlmChat/app/src/debug/java/com/alibaba/mnnllm/api/openai/debug/LlmDumperPlugin.kt:233
↓ 61 callers
Method
info
express/module/Module.cpp:301
↓ 61 callers
Method
what
returns the explanatory string
apps/frameworks/3rd_party/include/nlohmann/json.hpp:4375
↓ 60 callers
Method
Add
3rd_party/protobuf/src/google/protobuf/compiler/parser.cc:2426
↓ 60 callers
Method
Offset
Get the error offset, if \ref IsError(), 0 otherwise.
3rd_party/rapidjson/error/error.h:118
↓ 60 callers
Method
Peek
3rd_party/rapidjson/reader.h:1403
↓ 60 callers
Function
T
schema/current/TensorflowOp_generated.h:613
↓ 60 callers
Method
cend
3rd_party/protobuf/src/google/protobuf/map.h:1205
↓ 60 callers
Method
get
pymnn/src/util.h:139
↓ 60 callers
Method
release
transformers/llm/engine/src/httplib.h:482
↓ 59 callers
Function
GetInputNames
apps/frameworks/sherpa-mnn/sherpa-mnn/csrc/MNNUtils.cc:30
↓ 59 callers
Function
GetOutputNames
apps/frameworks/sherpa-mnn/sherpa-mnn/csrc/MNNUtils.cc:42
↓ 59 callers
Method
Vector
3rd_party/flatbuffers/include/flatbuffers/flexbuffers.h:254
↓ 59 callers
Function
c
(g,e)
doc/API/html/jquery.js:32
↓ 59 callers
Method
createStageTensor
source/backend/qnn/execution/QNNCommonExecution.cpp:93
↓ 59 callers
Method
enqueueNDRangeKernel
3rd_party/OpenCLHeaders/CL/cl.hpp:6334
↓ 59 callers
Method
is_string
transformers/llm/engine/src/ujson.hpp:119
↓ 59 callers
Method
pushEvent
source/backend/opencl/core/runtime/OpenCLRuntime.hpp:138
↓ 58 callers
Method
ReleaseNonDefault
3rd_party/protobuf/src/google/protobuf/arenastring.cc:171
↓ 57 callers
Method
ArrayEqual
(T[] expected, T[] actual)
3rd_party/flatbuffers/tests/FlatBuffers.Test/Assert.cs:86
↓ 57 callers
Method
Release
tools/cpp/GpuInterTest.cpp:159
↓ 57 callers
Function
_Add
Returns x + y element-wise. Args: x: A variable. Must be one of the following types: Halide_Type_Int or Halide_Type_Float, Halide_Type_Int64, Halide_T
express/MathOp.cpp:559
↓ 57 callers
Method
buffer
source/core/AutoStorage.h:236
↓ 57 callers
Method
context
source/backend/metal/MetalBackend.hpp:37
↓ 57 callers
Method
set_header
transformers/llm/engine/src/httplib.h:6757
↓ 56 callers
Function
NoError
3rd_party/flatbuffers/src/idl_parser.cpp:122
↓ 56 callers
Function
internal_default_instance
3rd_party/protobuf/src/google/protobuf/api.pb.h:121
↓ 56 callers
Method
method_count
3rd_party/flatbuffers/src/idl_gen_grpc.cpp:114
↓ 56 callers
Method
write
source/core/FileLoader.cpp:103
↓ 55 callers
Method
getDefault
3rd_party/OpenCLHeaders/CL/cl.hpp:2797
↓ 55 callers
Method
invoke
(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver)
3rd_party/flatbuffers/tests/MyGame/Example/MonsterStorageGrpc.java:416
↓ 55 callers
Method
read
source/backend/opengl/GLTexture.cpp:82
↓ 55 callers
Method
setBoolean
apps/Android/MnnLlmChat/app/src/main/java/com/alibaba/mnnllm/android/utils/PreferenceUtils.kt:25
↓ 54 callers
Method
AddMember
3rd_party/rapidjson/document.h:2608
↓ 54 callers
Function
_Square
Computes square of x element-wise. Args: x: A variable. Must be one of the following types: Halide_Type_Int or Halide_Type_Float Returns: A variable.
express/MathOp.cpp:232
↓ 54 callers
Method
alloc
source/backend/cuda/core/runtime/CUDARuntime.cpp:139
↓ 54 callers
Method
build
3rd_party/OpenCLHeaders/CL/cl.hpp:5245
↓ 54 callers
Method
forward
(self, x)
tools/mnncompress/mnncompress/pytorch/LSQ_quantizer.py:39
↓ 54 callers
Method
from
apps/Android/MnnLlmChat/app/src/main/java/com/alibaba/mnnllm/android/modelist/ModelListManager.kt:138
↓ 54 callers
Method
insertTemplate
tools/converter/source/optimizer/TemplateMerge.cpp:191
↓ 54 callers
Function
is_object
@brief return whether value is an object @sa https://json.nlohmann.me/api/basic_json/is_object/
transformers/llm/engine/app/jsonhpp/json.hpp:21300
↓ 54 callers
Function
isnan
Check for NaN. \param arg number to check \retval true for NaNs \retval false else template<typename T> typename enable<bool,T>::type isnan(T arg) { r
3rd_party/half/half.hpp:2681
↓ 54 callers
Method
setText
(String text)
apps/Android/MnnTaoAvatar/app/src/main/java/com/alibaba/mnnllm/android/chat/ChatDataItem.java:47
↓ 54 callers
Function
swap
3rd_party/rapidjson/document.h:920
↓ 54 callers
Method
useFP16
source/backend/vulkan/buffer/backend/VulkanBackend.hpp:137
↓ 53 callers
Function
Clear
Remove all elements in the array. ! This function do not deallocate memory in the array, i.e. the capacity is unchanged. \note Linear time com
3rd_party/rapidjson/document.h:1575
↓ 53 callers
Method
Validate
apps/frameworks/sherpa-mnn/sherpa-mnn/csrc/offline-tts.cc:120
↓ 53 callers
Method
dependency
3rd_party/protobuf/src/google/protobuf/descriptor.cc:7972
↓ 53 callers
Method
f
tools/converter/source/onnx/generated/onnx.pb.h:5443
↓ 53 callers
Method
getInstance
* Get the application instance for accessing Timber configuration */
apps/Android/MnnLlmChat/app/src/main/java/com/alibaba/mnnllm/android/MnnLlmApplication.kt:67
↓ 53 callers
Function
internal_default_instance
tools/converter/source/onnx/generated/onnx.pb.h:352
↓ 53 callers
Method
onCopyBuffer
source/backend/cpu/CPUBackend.cpp:778
← previous
next →
401–500 of 49,176, ranked by callers