/ohos5.0/docs/zh-cn/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | _o_h___n_n___quant_param.md | 38 …t32_t [quantCount](#quantcount) | 指定numBits、scale和zeroPoint数组的长度。在per-layer量化的场景下,quantCount通常指定为1… 58 ### quantCount subsection 61 uint32_t OH_NN_QuantParam::quantCount 66 …mBits、scale和zeroPoint数组的长度。在per-layer量化的场景下,quantCount通常指定为1,即一个张量所有通道 共享一套量化参数;在per-channel量化场景下,…
|
H A D | neural__network__runtime_8h.md | 29 …runtime.md#nn_quantparam) \*quantParams, const double \*scales, size_t quantCount) | 设置[NN_QuantPa… 30 …me.md#nn_quantparam) \*quantParams, const int32_t \*zeroPoints, size_t quantCount) | 设置[NN_QuantPa… 31 …time.md#nn_quantparam) \*quantParams, const uint32_t \*numBits, size_t quantCount) | 设置[NN_QuantPa…
|
H A D | _neural_network_runtime.md | 130 …antParam](#nn_quantparam) \*quantParams, const double \*scales, size_t quantCount) | 设置[NN_QuantPa… 132 …Param](#nn_quantparam) \*quantParams, const uint32_t \*numBits, size_t quantCount) | 设置[NN_QuantPa… 2389 …H_NNQuantParam_SetNumBits (NN_QuantParam *quantParams, const uint32_t *numBits, size_t quantCount ) 2396 参数**quantCount**是张量中量化参数的数量,例如对于per-channel量化,**quantCount**就是通道数量。 2406 | quantCount | 张量中量化参数的数量。 | 2416 …de OH_NNQuantParam_SetScales (NN_QuantParam *quantParams, const double *scales, size_t quantCount ) 2423 参数**quantCount**是张量中量化参数的数量,例如对于per-channel量化,**quantCount**就是通道数量。 2433 | quantCount | 张量中量化参数的数量。 | 2443 …uantParam_SetZeroPoints (NN_QuantParam *quantParams, const int32_t *zeroPoints, size_t quantCount ) 2450 参数**quantCount**是张量中量化参数的数量,例如对于per-channel量化,**quantCount**就是通道数量。 [all …]
|
H A D | _neural_nework_runtime.md | 130 …antParam](#nn_quantparam) \*quantParams, const double \*scales, size_t quantCount) | 设置[NN_QuantPa… 132 …Param](#nn_quantparam) \*quantParams, const uint32_t \*numBits, size_t quantCount) | 设置[NN_QuantPa… 2389 …H_NNQuantParam_SetNumBits (NN_QuantParam *quantParams, const uint32_t *numBits, size_t quantCount ) 2396 参数**quantCount**是张量中量化参数的数量,例如对于per-channel量化,**quantCount**就是通道数量。 2406 | quantCount | 张量中量化参数的数量。 | 2416 …de OH_NNQuantParam_SetScales (NN_QuantParam *quantParams, const double *scales, size_t quantCount ) 2423 参数**quantCount**是张量中量化参数的数量,例如对于per-channel量化,**quantCount**就是通道数量。 2433 | quantCount | 张量中量化参数的数量。 | 2443 …uantParam_SetZeroPoints (NN_QuantParam *quantParams, const int32_t *zeroPoints, size_t quantCount ) 2450 参数**quantCount**是张量中量化参数的数量,例如对于per-channel量化,**quantCount**就是通道数量。 [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | _o_h___n_n___quant_param.md | 38 …quantCount](#quantcount) | Length of the numBits, scale, and zeroPoint arrays. In the per-layer qu… 58 ### quantCount subsection 61 uint32_t OH_NN_QuantParam::quantCount 66 …quantCount** is usually set to **1**. That is, all channels of a tensor share a set of quantizatio…
|
H A D | neural__network__runtime_8h.md | 29 …runtime.md#nn_quantparam) \*quantParams, const double \*scales, size_t quantCount) | Sets the scal… 30 …me.md#nn_quantparam) \*quantParams, const int32_t \*zeroPoints, size_t quantCount) | Sets the zero… 31 …time.md#nn_quantparam) \*quantParams, const uint32_t \*numBits, size_t quantCount) | Sets the numb…
|
H A D | _neural_network_runtime.md | 130 …antParam](#nn_quantparam) \*quantParams, const double \*scales, size_t quantCount) | Sets the scal… 131 …ram](#nn_quantparam) \*quantParams, const int32_t \*zeroPoints, size_t quantCount) | Sets the zero… 2389 …H_NNQuantParam_SetNumBits (NN_QuantParam *quantParams, const uint32_t *numBits, size_t quantCount ) 2396 **quantCount** is the number of quantization parameters in the tensor. For example, for per-channel… 2406 | quantCount | Number of quantization parameters in a tensor.| 2416 …de OH_NNQuantParam_SetScales (NN_QuantParam *quantParams, const double *scales, size_t quantCount ) 2423 **quantCount** is the number of quantization parameters in the tensor. For example, for per-channel… 2433 | quantCount | Number of quantization parameters in a tensor.| 2443 …uantParam_SetZeroPoints (NN_QuantParam *quantParams, const int32_t *zeroPoints, size_t quantCount ) 2450 **quantCount** is the number of quantization parameters in the tensor. For example, for per-channel… [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/interfaces/kits/c/neural_network_runtime/ |
H A D | neural_network_runtime.h | 81 …ode OH_NNQuantParam_SetScales(NN_QuantParam *quantParams, const double *scales, size_t quantCount); 100 size_t quantCount); 117 …OH_NNQuantParam_SetNumBits(NN_QuantParam *quantParams, const uint32_t *numBits, size_t quantCount);
|
H A D | neural_network_runtime_type.h | 3552 uint32_t quantCount; member
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | quant_param.cpp | 60 size_t quantCount = m_scales.size(); in CopyToCompat() local 61 for (size_t i = 0; i < quantCount; i++) { in CopyToCompat()
|
H A D | nn_tensor.cpp | 300 for (uint32_t i = 0; i < quantParam->quantCount; i++) { in ParseQuantParams()
|
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/ |
H A D | tensor_mapping.h | 114 quantParam.quantCount = number; in ConvertQuantParams() 118 quantParam.quantCount = 0; in ConvertQuantParams()
|
H A D | nnrt_op_builder.h | 160 .quantCount = 1, in AddVectorTensor()
|
H A D | nnrt_op_builder.cpp | 459 nnTensor.quantParam = nnQuantParam.quantCount ? &nnQuantParam : nullptr; in ConstructNNTensor()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/system_test/common/ |
H A D | nnrt_test.cpp | 35 quantParam->quantCount = cppQuantParam.numBits.size(); in TransformQuantParam()
|