MCPcopy Create free account

hub / github.com/JDAI-CV/DNNLibrary / functions

Functions1,027 in github.com/JDAI-CV/DNNLibrary

↓ 1 callersFunctioncollect_scales_of_features
Collect infos of features by running model in onnxruntime :param model: the model :param image_dir: the directory of images :param fe
quant.py:198
↓ 1 callersFunctioncompile_fbs
()
generate_code.py:20
↓ 1 callersFunctionconvert
(model, output, table_file="")
tools/onnx2daq/python/onnx2daq/convert.py:7
↓ 1 callersFunctionconvert
(onnx2daq, onnx, daq, table_file='')
ci/validate_onnx.py:9
↓ 1 callersMethoddispose
()
ci/android_aar/dnnlibrary/src/main/java/me/daquexian/dnnlibrary/ModelBuilder.java:27
↓ 1 callersMethoddispose
()
ci/android_aar/dnnlibrary/src/main/java/me/daquexian/dnnlibrary/Model.java:35
↓ 1 callersMethodend
include/common/StrKeyMap.h:37
↓ 1 callersFunctionends
include/common/daq_generated.h:2989
↓ 1 callersFunctionexp
include/common/daq_generated.h:4363
↓ 1 callersFunctionexpected
include/common/expected.hpp:1586
↓ 1 callersFunctionfinish
(model)
ci/validate_onnx.py:15
↓ 1 callersFunctionfloat16_data
since flatbuffers doesn't have float16 data type, use uint16 instead
include/common/daq_generated.h:406
↓ 1 callersFunctionfloat32_data
include/common/daq_generated.h:396
↓ 1 callersFunctiongenerate_daq_reader
()
generate_code.py:299
↓ 1 callersFunctiongenerate_fbs
()
generate_code.py:327
↓ 1 callersFunctiongenerate_model_builder
()
generate_code.py:372
↓ 1 callersFunctiongenerate_onnx_converter
()
generate_code.py:214
↓ 1 callersFunctionget_quant_layers_and_tensors
(m, quant_after_tensors, dequant_after_tensors)
quant.py:397
↓ 1 callersFunctionget_quant_list
(m: onnx.ModelProto, quant_layers: List[str])
quant.py:179
↓ 1 callersMethodhas_attr
tools/onnx2daq/NodeAttrHelper.cpp:101
↓ 1 callersMethodinitHandle
()
ci/android_aar/dnnlibrary/src/main/java/me/daquexian/dnnlibrary/ModelBuilder.java:28
↓ 1 callersMethodinitialize
include/common/optional.h:1252
↓ 1 callersFunctionint32_data
include/common/daq_generated.h:412
↓ 1 callersFunctionint8_data
include/common/daq_generated.h:393
↓ 1 callersFunctionmain
()
generate_code.py:456
↓ 1 callersFunctionmain
()
quant.py:324
↓ 1 callersFunctionmain
()
tools/onnx2daq/python/onnx2daq/__main__.py:8
↓ 1 callersFunctionmake_scales_right
There are some requirement for quantization info, we assert and infer them here Some layer sequence need multiple runs to make infos right, l
quant.py:128
↓ 1 callersFunctionmodify_pb
Modify proto buffers when all quantization infos are set correctly :param m: the model :param quant_layers: layers need to be quantized
quant.py:67
↓ 1 callersFunctionmove_raw_to_float
values of initializers may be stored in float_data or raw_data, if in raw_data, we move them to float_data for convenience :param m: the
quant.py:308
↓ 1 callersFunctionoptimize
(m)
quant.py:103
↓ 1 callersFunctionpads
include/common/daq_generated.h:2805
↓ 1 callersMethodpredict_float_float
(float[] input)
ci/android_aar/dnnlibrary/src/main/java/me/daquexian/dnnlibrary/Model.java:31
↓ 1 callersMethodpredict_float_quant8
(float[] input)
ci/android_aar/dnnlibrary/src/main/java/me/daquexian/dnnlibrary/Model.java:33
↓ 1 callersMethodpredict_quant8_float
(byte[] input)
ci/android_aar/dnnlibrary/src/main/java/me/daquexian/dnnlibrary/Model.java:32
↓ 1 callersMethodpredict_quant8_quant8
(byte[] input)
ci/android_aar/dnnlibrary/src/main/java/me/daquexian/dnnlibrary/Model.java:34
↓ 1 callersFunctionquant_weight
quant weights before collecting min and max, for simulating the effect of quantization :param m: the model :param quant_layers: layers ne
quant.py:286
↓ 1 callersFunctionread_img
(path, norm=True)
quant.py:216
↓ 1 callersFunctionrun
(onnx, onnx2daq, dnn_benchmark, output_name, number_running, table_file)
benchmark.py:8
↓ 1 callersFunctionrun
(input_arrs, daq, dnn_retrieve_result, quant_input=False, quant_output=False)
ci/validate_onnx.py:21
↓ 1 callersFunctionscales
a float32 array of scales, the length will be 1 for non per-channel quantization, and be channelDim for per-channel quantization
include/common/daq_generated.h:541
↓ 1 callersFunctionset_quant_info_of_bias
NNAPI requires scales[bias] equals scales[input]*scales[weight] and zps[scale]=0 :param m: the model :param quant_layers: layers need to
quant.py:161
↓ 1 callersFunctionset_scales_of_weight
(m, quant_layers: List[str])
quant.py:110
↓ 1 callersFunctionstarts
include/common/daq_generated.h:2986
↓ 1 callersFunctionstrides
include/common/daq_generated.h:2992
↓ 1 callersFunctionto_underlying
dnnlibrary/ModelBuilder.cpp:88
↓ 1 callersMethoduint8_data
include/tools/onnx2daq/OnnxConverter.h:42
↓ 1 callersFunctionunpack_fbs
dnnlibrary/flatbuffers_helper.h:50
↓ 1 callersFunctionusage
tools/onnx2daq/onnx2daq.cpp:13
↓ 1 callersMethodwhat
include/common/expected.hpp:1193
MethodABSBuilder
include/common/daq_generated.h:5287
MethodABS_InputBuilder
include/common/daq_generated.h:5178
MethodABS_OutputBuilder
include/common/daq_generated.h:5228
MethodADDBuilder
include/common/daq_generated.h:2164
MethodADD_InputBuilder
include/common/daq_generated.h:2046
MethodADD_OutputBuilder
include/common/daq_generated.h:2105
FunctionASharedMemory_create
Add /dev/shm implementation of shared memory for non-Android platforms
dnnlibrary/nnapi_implementation.cc:80
MethodAVERAGE_POOL_2DBuilder
include/common/daq_generated.h:1218
MethodAVERAGE_POOL_2D_InputBuilder
include/common/daq_generated.h:1073
MethodAVERAGE_POOL_2D_OutputBuilder
include/common/daq_generated.h:1159
FunctionAddInitializersFromMmap
TODO: combine it and AddInitializersFromBuffer
dnnlibrary/DaqReader.cpp:175
MethodAddInput
Methods for backward compatibility
dnnlibrary/ModelBuilderImpl.cpp:853
MethodAddLayer_CONV_2D_Impl
ModelBuilder auto generated methods start
dnnlibrary/ModelBuilderImpl.cpp:14
MethodAddLayer_PRELU_Impl
dnnlibrary/ModelBuilderImpl.cpp:582
MethodAddLayer_SUB_Impl
dnnlibrary/ModelBuilderImpl.cpp:750
MethodAddMissingOperand
dnnlibrary/ModelBuilder.cpp:97
MethodAddNewOperand
dnnlibrary/ModelBuilder.cpp:105
MethodAddOperation
dnnlibrary/ModelBuilderImpl.cpp:981
MethodAddScalarOperands
include/dnnlibrary/ModelBuilder.h:277
MethodAddTensorFromPersistentBuffer
* @brief Add NNAPI operand from `buffer`, the memory pointed * by `buffer` should be persistent until the execution finished. * No copying. * * @p
dnnlibrary/ModelBuilder.cpp:172
MethodAffine
common/Shaper.cpp:271
MethodBATCH_TO_SPACE_NDBuilder
include/common/daq_generated.h:2771
MethodBATCH_TO_SPACE_ND_InputBuilder
include/common/daq_generated.h:2657
MethodBATCH_TO_SPACE_ND_OutputBuilder
include/common/daq_generated.h:2712
MethodCONCATENATIONBuilder
include/common/daq_generated.h:2329
MethodCONCATENATION_InputBuilder
include/common/daq_generated.h:2216
MethodCONCATENATION_OutputBuilder
include/common/daq_generated.h:2270
MethodCONV_2DBuilder
include/common/daq_generated.h:958
MethodCONV_2D_InputBuilder
include/common/daq_generated.h:799
MethodCONV_2D_OutputBuilder
include/common/daq_generated.h:899
MethodClear
tools/onnx2daq/OnnxConverter.cpp:1047
MethodConvertFuseCodeType
tools/onnx2daq/OnnxConverter.cpp:33
MethodConvertQuantInfosToFbs
tools/onnx2daq/OnnxConverter.cpp:384
FunctionCreateModelDirect
include/common/daq_generated.h:6076
MethodCreateTensorFb
tools/onnx2daq/OnnxConverter.cpp:75
MethodDEPTHWISE_CONV_2DBuilder
include/common/daq_generated.h:2605
MethodDEPTHWISE_CONV_2D_InputBuilder
include/common/daq_generated.h:2454
MethodDEPTHWISE_CONV_2D_OutputBuilder
include/common/daq_generated.h:2546
MethodDEQUANTIZEBuilder
include/common/daq_generated.h:3511
MethodDEQUANTIZE_InputBuilder
include/common/daq_generated.h:3402
MethodDEQUANTIZE_OutputBuilder
include/common/daq_generated.h:3452
MethodEXPBuilder
include/common/daq_generated.h:5439
MethodEXP_InputBuilder
include/common/daq_generated.h:5330
MethodEXP_OutputBuilder
include/common/daq_generated.h:5380
FunctionEnumNameDataType
include/common/daq_generated.h:232
FunctionEnumNameFuseCode
include/common/daq_generated.h:268
FunctionEnumNameLayerType
include/common/daq_generated.h:373
MethodFLOORBuilder
include/common/daq_generated.h:4015
MethodFLOOR_InputBuilder
include/common/daq_generated.h:3906
MethodFLOOR_OutputBuilder
include/common/daq_generated.h:3956
← previousnext →401–500 of 1,027, ranked by callers