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
↓ 42 callers
Function
f
()
3rd_party/flatbuffers/tests/py_test.py:1609
↓ 42 callers
Method
getLocalModels
* you can add ModelItem.fromLocalModel("Qwen-Omni-7B", "/data/local/tmp/omni_test/model") * to load local models */
apps/Android/MnnLlmChat/app/src/main/java/com/alibaba/mnnllm/android/modelist/LocalModelsProvider.kt:12
↓ 42 callers
Function
is_weight_tensor
(tensor)
tools/mnncompress/mnncompress/tensorflow/helpers.py:27
↓ 42 callers
Method
reset
source/core/AutoTime.cpp:29
↓ 42 callers
Method
round
Nearest integer implementation. \param arg value to round \return rounded value
3rd_party/half/half.hpp:1588
↓ 42 callers
Method
seconds
3rd_party/protobuf/src/google/protobuf/duration.pb.h:241
↓ 42 callers
Function
type_name
@brief return the type as string @sa https://json.nlohmann.me/api/basic_json/type_name/
apps/frameworks/3rd_party/include/nlohmann/json.hpp:23459
↓ 42 callers
Function
type_name
@brief return the type as string @sa https://json.nlohmann.me/api/basic_json/type_name/
apps/Android/MnnTaoAvatar/app/src/main/cpp/3rd_party/nlohmann/json.hpp:23328
↓ 41 callers
Method
AsBlob
schema/current/MNN_generated.h:1930
↓ 41 callers
Method
Equal
($result, $expected, $message = "")
3rd_party/flatbuffers/tests/phpTest.php:608
↓ 41 callers
Method
Finish
3rd_party/flatbuffers/samples/monster_generated.h:491
↓ 41 callers
Function
IsBinaryMul
tools/converter/source/optimizer/merge/MergeHelpers.cpp:137
↓ 41 callers
Method
ReadVarint32
3rd_party/protobuf/src/google/protobuf/io/coded_stream.h:1305
↓ 41 callers
Function
_Squeeze
Removes dimensions of size 1 from the shape of a variable. Args: input: A variable. The input to squeeze. axis: A vector, Defaults to {}. If specified
express/NeuralNetWorkOp.cpp:917
↓ 41 callers
Method
add_tile_offset
Advances an iterator along logical dimensions of matrix in units of whole tiles
source/backend/cuda/execution/plugin/FmhaCommon/fused_multi_head_attention/iterators/predicated_tile_access_iterator_residual_last.h:815
↓ 41 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
3rd_party/half/half.hpp:2263
↓ 41 callers
Method
load
transformers/llm/engine/src/llm.cpp:284
↓ 41 callers
Method
parse
apps/Android/MnnLlmChat/app/src/main/java/com/alibaba/mnnllm/android/chat/chatlist/LatexInlineProcessor.kt:31
↓ 41 callers
Function
path
source/core/FileLoader.hpp:40
↓ 41 callers
Method
runSession
source/core/Interpreter.cpp:426
↓ 41 callers
Method
value
3rd_party/protobuf/src/google/protobuf/wrappers.pb.h:1440
↓ 40 callers
Method
FindFieldByName
3rd_party/protobuf/src/google/protobuf/descriptor.cc:2077
↓ 40 callers
Function
InvalidArgumentError
3rd_party/protobuf/src/google/protobuf/stubs/status.cc:223
↓ 40 callers
Method
NumArgs
apps/frameworks/sherpa-mnn/sherpa-mnn/csrc/parse-options.cc:182
↓ 40 callers
Function
SubstituteAndAppend
3rd_party/protobuf/src/google/protobuf/stubs/substitute.cc:67
↓ 40 callers
Function
add
add a character to token_buffer
apps/frameworks/3rd_party/include/nlohmann/json.hpp:8773
↓ 40 callers
Method
clear
apps/Android/MnnTaoAvatar/app/src/main/java/com/k2fsa/sherpa/mnn/Vad.kt:58
↓ 40 callers
Method
is_packed
3rd_party/protobuf/src/google/protobuf/descriptor.cc:3568
↓ 40 callers
Method
load
source/backend/cuda/execution/plugin/FmhaCommon/fused_multi_head_attention/gemm/mma_from_smem.h:292
↓ 40 callers
Method
onCreate
source/backend/cpu/CPUCast.cpp:164
↓ 40 callers
Function
to_string
transformers/llm/engine/app/jsonhpp/json.hpp:5358
↓ 39 callers
Method
AsMatMul
schema/current/MNN_generated.h:2074
↓ 39 callers
Function
FindOrNull
3rd_party/protobuf/src/google/protobuf/stubs/map_util.h:136
↓ 39 callers
Method
Finish
schema/current/TensorflowOp_generated.h:1291
↓ 39 callers
Method
Key
3rd_party/rapidjson/schema.h:251
↓ 39 callers
Method
find_first_of
3rd_party/protobuf/src/google/protobuf/stubs/stringpiece.cc:148
↓ 39 callers
Method
initialize
* Initialize Timber logging based on configuration */
apps/Android/MnnLlmChat/app/src/main/java/com/alibaba/mnnllm/android/utils/TimberConfig.kt:130
↓ 39 callers
Function
internal_default_instance
3rd_party/protobuf/src/google/protobuf/util/json_format.pb.h:242
↓ 39 callers
Method
rbegin
3rd_party/protobuf/src/google/protobuf/repeated_ptr_field.h:615
↓ 39 callers
Method
resolve
apps/frameworks/mnn_tts/demo/android/src/main/java/com/alibaba/mnn/tts/demo/TtsLanguageResolver.kt:4
↓ 39 callers
Function
stbi__get16be
3rd_party/imageHelper/stb_image.h:1532
↓ 38 callers
Method
GetMetadata
tools/converter/source/tensorflow/generated/graph.pb.cc:400
↓ 38 callers
Function
K
(R)
doc/API/html/jquery.js:68
↓ 38 callers
Method
PrintString
3rd_party/protobuf/src/google/protobuf/text_format.cc:1761
↓ 38 callers
Method
PrintUsage
apps/frameworks/sherpa-mnn/sherpa-mnn/csrc/parse-options.cc:366
↓ 38 callers
Method
Read
apps/frameworks/sherpa-mnn/sherpa-mnn/csrc/parse-options.cc:296
↓ 38 callers
Function
ReadTag
Read a tag. This calls ReadVarint32() and returns the result, or returns zero (which is not a valid tag) if ReadVarint32() fails. Also, ReadTag (but
3rd_party/protobuf/src/google/protobuf/io/coded_stream.h:280
↓ 38 callers
Method
SerializeToString
3rd_party/protobuf/src/google/protobuf/message_lite.cc:462
↓ 38 callers
Function
ToUpper
3rd_party/protobuf/src/google/protobuf/stubs/strutil.h:193
↓ 38 callers
Function
_Abs
Computes the absolute value of a variable. Given a variable of integer or floating-point values, this operation returns a variable of the same type, w
express/MathOp.cpp:179
↓ 38 callers
Function
add
add a character to token_buffer
transformers/llm/engine/app/jsonhpp/json.hpp:8329
↓ 38 callers
Function
asserter
An assertion helper that is separated from TestCase classes.
3rd_party/flatbuffers/tests/py_test.py:84
↓ 38 callers
Function
convert
tools/cpp/ConvertToFullQuant.hpp:171
↓ 38 callers
Method
createParamTensor
source/backend/qnn/execution/QNNCommonExecution.cpp:117
↓ 38 callers
Function
genSourceData
test/cv/ImageProcessTest.cpp:21
↓ 38 callers
Method
getInputOps
source/backend/hiai/backend/NPUBackend.cpp:599
↓ 38 callers
Method
getProgram
source/backend/opengl/GLBackend.cpp:401
↓ 38 callers
Method
load
express/Expr.cpp:991
↓ 38 callers
Method
reset
tools/train/source/data/DataLoader.cpp:90
↓ 37 callers
Method
AcceptWaveform
apps/frameworks/sherpa-mnn/sherpa-mnn/csrc/features.cc:249
↓ 37 callers
Method
CopyFrom
3rd_party/protobuf/src/google/protobuf/api.pb.cc:559
↓ 37 callers
Function
HasDescriptorMethods
Do message classes in this file have descriptor and reflection methods?
3rd_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h:407
↓ 37 callers
Method
ParseFromString
3rd_party/protobuf/src/google/protobuf/text_format.cc:1618
↓ 37 callers
Function
Print3D
apps/frameworks/sherpa-mnn/sherpa-mnn/csrc/MNNUtils.cc:167
↓ 37 callers
Function
WriteFieldEnumValueAccessorDocComment
3rd_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc:264
↓ 37 callers
Function
_Minimum
Returns the min of x and y (i.e. x < y ? x : y) element-wise. Args: x: A variable. Must be one of the following types: Halide_Type_Int or Halide_Type_
express/MathOp.cpp:620
↓ 37 callers
Function
basic_json
@brief create an empty value with a given type @sa https://json.nlohmann.me/api/basic_json/basic_json/
apps/frameworks/3rd_party/include/nlohmann/json.hpp:20117
↓ 37 callers
Function
basic_json
@brief create an empty value with a given type @sa https://json.nlohmann.me/api/basic_json/basic_json/
apps/Android/MnnTaoAvatar/app/src/main/cpp/3rd_party/nlohmann/json.hpp:19983
↓ 37 callers
Function
basic_json
@brief create an empty value with a given type @sa https://json.nlohmann.me/api/basic_json/basic_json/
transformers/llm/engine/app/jsonhpp/json.hpp:20734
↓ 37 callers
Method
clamp
tools/train/source/nn/NN.cpp:680
↓ 37 callers
Method
count
3rd_party/protobuf/src/google/protobuf/map.h:1240
↓ 37 callers
Function
delete
(arr, obj, axis=None)
pymnn/pip_package/MNN/numpy/__init__.py:969
↓ 37 callers
Method
getTextrueFormat
source/backend/opengl/GLBackend.cpp:66
↓ 37 callers
Function
isInts
pymnn/src/util.h:436
↓ 37 callers
Method
log
Logarithm implementation. \param arg function argument \return function value stored in single-preicision
3rd_party/half/half.hpp:1342
↓ 37 callers
Method
set
apps/frameworks/model_downloader/android/src/main/java/com/alibaba/mls/api/ApplicationProvider.kt:9
↓ 37 callers
Function
testKernel
test/op/LayerNormTest.cpp:107
↓ 36 callers
Function
Is
3rd_party/rapidjson/document.h:1844
↓ 36 callers
Method
Linear
tools/train/source/nn/NN.cpp:391
↓ 36 callers
Method
MergeFrom
3rd_party/protobuf/src/google/protobuf/descriptor.pb.cc:1414
↓ 36 callers
Function
Unbind
apps/frameworks/sherpa-mnn/sherpa-mnn/csrc/unbind.cc:19
↓ 36 callers
Function
_readElement
─── Byte-aware element access helpers ───
source/backend/cpu/CPULinearAttention.cpp:30
↓ 36 callers
Method
add
test/MNNTestSuite.cpp:31
↓ 36 callers
Method
allocConst
source/geometry/GeometryComputer.cpp:46
↓ 36 callers
Method
error
Error
transformers/llm/engine/src/httplib.h:1356
↓ 36 callers
Function
fill
fill(shape, value) Fill the `value` to a var with `shape`. Parameters ---------- shape : var_like, input value, dtype is int.
pymnn/pip_package/MNN/expr/__init__.py:2696
↓ 36 callers
Function
fmax
Maximum of half expressions. \param x first operand \param y second operand \return maximum of operands template<typename T,typename U> typename resul
3rd_party/half/half.hpp:2226
↓ 36 callers
Method
func
this function is an example to use the lambda transform here we use lambda transform to normalize data from 0~255 to 0~1
tools/train/source/demo/dataLoaderTest.cpp:32
↓ 36 callers
Method
getSessionOutput
source/core/Interpreter.cpp:456
↓ 36 callers
Function
internal_default_instance
3rd_party/protobuf/src/google/protobuf/util/json_format_proto3.pb.h:275
↓ 36 callers
Method
invalid
MemChunk function
source/core/BufferAllocator.cpp:18
↓ 36 callers
Method
push
(&'a self, _dst: &'a mut [u8], _rest: &'a [u8])
3rd_party/flatbuffers/tests/rust_usage_test/tests/integration_test.rs:1604
↓ 36 callers
Method
response
transformers/llm/engine/src/llm.cpp:957
↓ 36 callers
Method
size
3rd_party/flatbuffers/include/flatbuffers/flexbuffers.h:219
↓ 36 callers
Method
store
source/cv/SkNx.h:181
↓ 36 callers
Function
type
include/MNN/expr/Module.hpp:39
↓ 35 callers
Function
CEscape
3rd_party/protobuf/src/google/protobuf/stubs/strutil.cc:595
↓ 35 callers
Method
Finish
schema/current/CaffeOp_generated.h:2221
↓ 35 callers
Function
createDevice
include/MNN/Tensor.hpp:101
↓ 35 callers
Method
ctype
3rd_party/protobuf/src/google/protobuf/descriptor.pb.h:13073
← previous
next →
601–700 of 49,176, ranked by callers