/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/reference/ |
A D | transpose.h | 25 template <typename T, int N> 33 TFLITE_DCHECK_LE(unextended_input_size, N); in TransposeImpl() 34 TFLITE_DCHECK_LE(unextended_output_size, N); in TransposeImpl() 38 NdArrayDesc<N> input_desc; in TransposeImpl() 39 NdArrayDesc<N> output_desc; in TransposeImpl() 47 int extended_perm[N]; in TransposeImpl() 48 for (int i = 0; i < N; ++i) { in TransposeImpl() 56 NdArrayDesc<N> perm_input_desc; in TransposeImpl() 57 for (int k = 0; k < N; ++k) { in TransposeImpl() 65 auto tranpose_func = [&](int indexes[N]) { in TransposeImpl() [all …]
|
A D | sub.h | 68 template <int N = 5> 80 NdArrayDesc<N> desc1; in BroadcastSubSlow() 81 NdArrayDesc<N> desc2; in BroadcastSubSlow() 108 template <int N = 5> 120 NdArrayDesc<N> desc1; in BroadcastSubSlow() 121 NdArrayDesc<N> desc2; in BroadcastSubSlow() 165 template <int N = 5> 177 NdArrayDesc<N> desc1; in BroadcastSubSlow() 205 template <int N = 5> 259 template <int N = 5> [all …]
|
A D | broadcast_to.h | 23 template <int N> 24 void BroadcastImpl(const NdArrayDesc<N>& input_desc, const char* input_data, in BroadcastImpl() 25 const NdArrayDesc<N>& output_desc, char* output_data, in BroadcastImpl() 26 int indexes[N], int dim, const int last_broadcasting_dim, in BroadcastImpl() argument 61 template <int N> 66 NdArrayDesc<N> input_desc; in BroadcastTo() 67 NdArrayDesc<N> output_desc; in BroadcastTo() 68 CopyDimsToDesc(RuntimeShape::ExtendedShape(N, unextended_input_shape), in BroadcastTo() 70 CopyDimsToDesc(RuntimeShape::ExtendedShape(N, unextended_output_shape), in BroadcastTo() 76 for (int i = N - 1; i >= 0; --i) { in BroadcastTo() [all …]
|
A D | maximum_minimum.h | 24 template <typename T, typename Op, int N = 5> 40 TFLITE_DCHECK_LE(unextended_input1_shape.DimensionsCount(), N); in MaximumMinimumBroadcastSlow() 41 TFLITE_DCHECK_LE(unextended_input2_shape.DimensionsCount(), N); in MaximumMinimumBroadcastSlow() 42 TFLITE_DCHECK_LE(unextended_output_shape.DimensionsCount(), N); in MaximumMinimumBroadcastSlow() 44 NdArrayDesc<N> desc1; in MaximumMinimumBroadcastSlow() 45 NdArrayDesc<N> desc2; in MaximumMinimumBroadcastSlow() 46 NdArrayDesc<N> output_desc; in MaximumMinimumBroadcastSlow() 49 CopyDimsToDesc(RuntimeShape::ExtendedShape(N, unextended_output_shape), in MaximumMinimumBroadcastSlow() 52 auto maxmin_func = [&](int indexes[N]) { in MaximumMinimumBroadcastSlow() 57 NDOpsHelper<N>(output_desc, maxmin_func); in MaximumMinimumBroadcastSlow()
|
A D | div.h | 98 template <typename T, int N = 5> 108 NdArrayDesc<N> desc1; in BroadcastDivSlowQuantized() 109 NdArrayDesc<N> desc2; in BroadcastDivSlowQuantized() 110 NdArrayDesc<N> output_desc; in BroadcastDivSlowQuantized() 118 auto div_func = [&](int indexes[N]) { in BroadcastDivSlowQuantized() 146 template <int N = 5> 159 template <int N = 5> 176 template <typename T, int N = 5> 192 NdArrayDesc<N> desc1; in BroadcastDivSlow() 193 NdArrayDesc<N> desc2; in BroadcastDivSlow() [all …]
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | ecp_curves.c | 737 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &grp->N, &grp->N, &Ns ) ); in ecp_use_curve448() 910 p = N->p; in ecp_mod_p192() 1041 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_abs( N, C, N ) ); in fix_negative() 1042 N->s = -1; in fix_negative() 1212 MBEDTLS_MPI_CHK( mbedtls_mpi_add_abs( N, N, &M ) ); in ecp_mod_p521() 1261 MBEDTLS_MPI_CHK( mbedtls_mpi_add_abs( N, N, &M ) ); in ecp_mod_p255() 1315 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( N, N, &M ) ); in ecp_mod_p448() 1322 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( N, N, &Q ) ); in ecp_mod_p448() 1332 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( N, N, &M ) ); in ecp_mod_p448() 1389 MBEDTLS_MPI_CHK( mbedtls_mpi_add_abs( N, N, &M ) ); in ecp_mod_koblitz() [all …]
|
A D | rsa_internal.c | 68 int mbedtls_rsa_deduce_primes( mbedtls_mpi const *N, in mbedtls_rsa_deduce_primes() argument 97 if( mbedtls_mpi_cmp_int( N, 0 ) <= 0 || in mbedtls_rsa_deduce_primes() 99 mbedtls_mpi_cmp_mpi( D, N ) >= 0 || in mbedtls_rsa_deduce_primes() 101 mbedtls_mpi_cmp_mpi( E, N ) >= 0 ) in mbedtls_rsa_deduce_primes() 132 if( N->p[0] % 8 == 1 ) in mbedtls_rsa_deduce_primes() 381 if( P != NULL && Q != NULL && N != NULL ) in mbedtls_rsa_validate_params() 384 if( mbedtls_mpi_cmp_int( N, 1 ) <= 0 || in mbedtls_rsa_validate_params() 385 mbedtls_mpi_cmp_mpi( &K, N ) != 0 ) in mbedtls_rsa_validate_params() 396 if( N != NULL && D != NULL && E != NULL ) in mbedtls_rsa_validate_params() 400 mbedtls_mpi_cmp_mpi( D, N ) >= 0 || in mbedtls_rsa_validate_params() [all …]
|
A D | rsa.c | 97 const mbedtls_mpi *N, in mbedtls_rsa_import() argument 104 if( ( N != NULL && ( ret = mbedtls_mpi_copy( &ctx->N, N ) ) != 0 ) || in mbedtls_rsa_import() 113 if( N != NULL ) in mbedtls_rsa_import() 129 if( N != NULL ) in mbedtls_rsa_import_raw() 131 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->N, N, N_len ) ); in mbedtls_rsa_import_raw() 371 if( N != NULL ) in mbedtls_rsa_export_raw() 372 MBEDTLS_MPI_CHK( mbedtls_mpi_write_binary( &ctx->N, N, N_len ) ); in mbedtls_rsa_export_raw() 418 if( ( N != NULL && ( ret = mbedtls_mpi_copy( N, &ctx->N ) ) != 0 ) || in mbedtls_rsa_export() 706 if( mbedtls_mpi_cmp_mpi( &pub->N, &prv->N ) != 0 || in mbedtls_rsa_check_pub_priv() 2449 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->N, &src->N ) ); in mbedtls_rsa_copy() [all …]
|
/AliOS-Things-master/components/amp/jslib/ |
A D | gen_bytecode.bat | 1 .\qjsc.exe -c -m -M GPIO -N jslib_gpio -o bytecode\jslib_gpio.c src\gpio.js 2 .\qjsc.exe -c -m -N jslib_events -o bytecode\jslib_events.c src\events.js 3 .\qjsc.exe -c -m -M events -M CRYPTO -N jslib_crypto -o bytecode\jslib_crypto.c src\crypto.js 5 .\qjsc.exe -c -m -M events -M APPOTA -N jslib_appota -o bytecode\jslib_appota.c src\appota.js 8 .\qjsc.exe -c -m -M REPL -M os -M std -N jslib_repl -o bytecode\jslib_repl.c src\repl.js 9 .\qjsc.exe -c -m -M events -M UART -N jslib_uart -o bytecode\jslib_uart.c src\uart.js 10 .\qjsc.exe -c -m -M events -M FS -N jslib_fs -o bytecode\jslib_fs.c src\fs.js 12 .\qjsc.exe -c -m -M kv -N jslib_device -o bytecode\jslib_device.c src\device.js 13 .\qjsc.exe -c -m -M events -M NETMGR -N jslib_netmgr -o bytecode\jslib_netmgr.c src\netmgr.js 15 .\qjsc.exe -c -m -M events -M MQTT -N jslib_mqtt -o bytecode\jslib_mqtt.c src\mqtt.js [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/TransformFunctions/ |
A D | arm_dct4_q15.c | 85 arm_shift_q15(pInlineBuffer, 1, pInlineBuffer, S->N); in arm_dct4_q15() 97 pS2 = pState + (S->N - 1u); in arm_dct4_q15() 140 i = (uint32_t) S->N >> 2u; in arm_dct4_q15() 170 arm_shift_q15(pState, 2, pState, S->N * 2); in arm_dct4_q15() 179 i = ((uint32_t) S->N - 1u) >> 2u; in arm_dct4_q15() 224 i = ((uint32_t) S->N - 1u) % 0x4u; in arm_dct4_q15() 243 i = (uint32_t) S->N >> 2u; in arm_dct4_q15() 295 i = (uint32_t) S->N; in arm_dct4_q15() 320 arm_shift_q15(pState, 2, pState, S->N * 2); in arm_dct4_q15() 329 i = ((uint32_t) S->N - 1u); in arm_dct4_q15() [all …]
|
A D | arm_dct4_q31.c | 86 arm_shift_q31(pInlineBuffer, 1, pInlineBuffer, S->N); in arm_dct4_q31() 98 pS2 = pState + (S->N - 1u); in arm_dct4_q31() 140 i = S->N >> 2u; in arm_dct4_q31() 170 arm_shift_q31(pState, 2, pState, S->N * 2); in arm_dct4_q31() 179 i = (S->N - 1u) >> 2u; in arm_dct4_q31() 224 i = (S->N - 1u) % 0x4u; in arm_dct4_q31() 243 i = S->N >> 2u; in arm_dct4_q31() 295 i = S->N; in arm_dct4_q31() 320 arm_shift_q31(pState, 2, pState, S->N * 2); in arm_dct4_q31() 343 i = (S->N - 1u); in arm_dct4_q31() [all …]
|
A D | arm_dct4_f32.c | 158 arm_scale_f32(pInlineBuffer, 2.0f, pInlineBuffer, S->N); in arm_dct4_f32() 171 pS2 = pState + (S->N - 1u); in arm_dct4_f32() 213 i = (uint32_t) S->N >> 2u; in arm_dct4_f32() 239 arm_cmplx_mult_cmplx_f32(pState, weights, pState, S->N); in arm_dct4_f32() 248 i = ((uint32_t) S->N - 1u) >> 2u; in arm_dct4_f32() 293 i = ((uint32_t) S->N - 1u) % 0x4u; in arm_dct4_f32() 312 i = (uint32_t) S->N >> 2u; in arm_dct4_f32() 364 i = (uint32_t) S->N; in arm_dct4_f32() 385 arm_cmplx_mult_cmplx_f32(pState, weights, pState, S->N); in arm_dct4_f32() 408 i = ((uint32_t) S->N - 1u); in arm_dct4_f32() [all …]
|
A D | arm_dct4_init_f32.c | 16447 uint16_t N, in arm_dct4_init_f32() argument 16467 S->N = N; in arm_dct4_init_f32() 16481 switch (N) in arm_dct4_init_f32() 16505 arm_rfft_init_f32(S->pRfft, S->pCfft, S->N, 0u, 1u); in arm_dct4_init_f32()
|
/AliOS-Things-master/documentation/yaml/ |
A D | package.yaml_user_manual.md | 25 | keywords | N | 标签,会影响到组件被搜索的效果,合理的标签很重要 | 26 | author | N | 原作者信息和维护人员信息 | 27 | license | N | 源代码的许可证,要确保所有代码、文件的许可证不冲突。 | 28 | homepage | N | 组件的主页 | 46 | arch_name | N | 芯片架构名称 | 47 | flash_program | N | 芯片 FLASH 烧写程序 | 53 | internal_include | N | 组件内部使用的头文件所在的目录 | 54 | cflag | N | 该组件 C 编译器所需要要的编译参数 | 55 | cxxflag | N | 该组件 C++ 编译器所需要要的编译参数 | 56 | asmflag | N | 该组件 汇编 编译器所需要要的编译参数 | [all …]
|
/AliOS-Things-master/components/py_engine/tests/stress/ |
A D | recursive_iternext.py | 17 N = 5000 variable 22 N = 1000 variable 25 N = 100 29 for i in range(N): 37 for i in range(N): 45 for i in range(N): 53 for i in range(N):
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/ |
A D | types.h | 142 template <int N> 144 int sizes[N]; 145 int strides[N]; 448 template <int N> 484 template <int N> 567 template <int N> 575 template <int N> 584 template <int N> 594 template <int N> 608 template <int N> [all …]
|
A D | common.h | 712 template <int N> 716 int extents[N]; 720 int strides[N]; 772 template <int N> 808 template <int N> 819 template <int N> 822 NdArrayDesc<N>* desc0_out, NdArrayDesc<N>* desc1_out) { in NdArrayDescsForElementwiseBroadcast() 852 template <int N> 856 NdArrayDesc<N>* desc1_out, NdArrayDesc<N>* desc2_out) { in NdArrayDescsForElementwiseBroadcast() 917 const NdArrayDesc<N>& output, const Calc& calc, int indexes[N]) { in NDOpsHelperImpl() argument [all …]
|
/AliOS-Things-master/components/mbedtls/platform/yoc/ |
A D | rsa_alt.c | 99 if( ctx->len != mbedtls_mpi_size( &ctx->N ) || in rsa_check_context() 111 if( mbedtls_mpi_cmp_int( &ctx->N, 0 ) <= 0 || in rsa_check_context() 112 mbedtls_mpi_get_bit( &ctx->N, 0 ) == 0 ) in rsa_check_context() 189 if( mbedtls_mpi_bitlen( &ctx->N ) < 128 ) in mbedtls_rsa_check_pubkey() 244 if (mbedtls_mpi_cmp_mpi(&pub->N, &prv->N) != 0 || mbedtls_mpi_cmp_mpi(&pub->E, &prv->E) != 0) { in mbedtls_rsa_check_pub_priv() 573 const mbedtls_mpi *N, in mbedtls_rsa_import() argument 580 if( ( N != NULL && ( ret = mbedtls_mpi_copy( &ctx->N, N ) ) != 0 ) || in mbedtls_rsa_import() 589 if( N != NULL ) in mbedtls_rsa_import() 604 if( N != NULL ) in mbedtls_rsa_import_raw() 606 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->N, N, N_len ) ); in mbedtls_rsa_import_raw() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/test/images/ |
A D | rgb-3c-8b.ppm | 12 …��t�̎�Φ�Ӳ���ª���ֺ�Ϣ�ǎ�ʘ�Œ~���v~�m��d��Upj%i�<u�=m�3��|�ֽ|�QW�-Vk"K' DQNHEJOVYW… 183 …Qc �I#nL!gT'[$?E[ o=*O2*;��;��>��D��R��Z��P��N��L��J��N��P��M��K��N��N��O��Q��S… 225 …{ z sbNZ YBhTa+qA%f1sJ"{]'n,_v5"wg(��C��@��B��U��U��O��P��M��O��\��M��L��M��… 230 …g%o8r< SZ Q ;ei%��F��C��E��Q��S��O��N��Q��O��O��J��K��M��R��S��Q��O��L��L��N��N��O��N��K��… 235 WN@��8��H��C��?��N��U��Q��O��N��P��L��K��I��N��Q��V��V��R��K��N��Q��U��U��N��K��I��H��Ch .?… 250 …6t*u(y'x!sz&|#uM&+7ELWOQ��?��N��X��G��F��J��O��L��K��N��N��J��N��N��O… 252 ^4#5>B<N, 304 …#r^xe!��3��8��6��9��;��>��D��H��H��J��L��O��O��P��Q��R��R��S��T��Y��GCFNRT___Y[… 310 …�E��A��A��=��?��D��G��C��G��K��M��N��S��Q��O��V��9DB?LNLMONNQTQTQS… 312 …J��J��G��H��K��L��O��K��BO+903:68CEHGKMHHONNPPQNST
|
/AliOS-Things-master/components/mbedtls/programs/pkey/ |
A D | mpi_demo.c | 69 mbedtls_mpi E, P, Q, N, H, D, X, Y, Z; in main() local 71 mbedtls_mpi_init( &E ); mbedtls_mpi_init( &P ); mbedtls_mpi_init( &Q ); mbedtls_mpi_init( &N ); in main() 78 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &N, &P, &Q ) ); in main() 81 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( " N = ", &N, 10, NULL ) ); in main() 100 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &Y, &X, &E, &N, NULL ) ); in main() 101 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &Z, &Y, &D, &N, NULL ) ); in main() 112 mbedtls_mpi_free( &E ); mbedtls_mpi_free( &P ); mbedtls_mpi_free( &Q ); mbedtls_mpi_free( &N ); in main()
|
A D | rsa_genkey.c | 86 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local 93 mbedtls_mpi_init( &N ); mbedtls_mpi_init( &P ); mbedtls_mpi_init( &Q ); in main() 122 if( ( ret = mbedtls_rsa_export ( &rsa, &N, &P, &Q, &D, &E ) ) != 0 || in main() 135 if( ( ret = mbedtls_mpi_write_file( "N = ", &N, 16, fpub ) ) != 0 || in main() 151 if( ( ret = mbedtls_mpi_write_file( "N = " , &N , 16, fpriv ) ) != 0 || in main() 188 mbedtls_mpi_free( &N ); mbedtls_mpi_free( &P ); mbedtls_mpi_free( &Q ); in main()
|
/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | uctypes_array_load_store.py | 9 N = 5 variable 13 desc = {"arr": (uctypes.ARRAY | 0, getattr(uctypes, type_) | N)} 17 for i in range(N): 19 print(endian, type_, sz, *(s.arr[i] for i in range(N)))
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | makecompresseddata.py | 113 N = 2 117 if len(line) < N: 119 for i in range(0, len(line) - N, N): 120 topn[line[i : i + N]] += 1 133 for i in range(0, len(line) - N + 1, N): 134 word = line[i : i + N] 139 if len(line) % N != 0: 140 result += line[len(line) - len(line) % N :]
|
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/micro_features/ |
A D | static_alloc.h | 23 #define STATIC_ALLOC_ENSURE_ARRAY_SIZE(A, N) \ argument 25 if (sizeof(A) < (N)) { \ 28 sizeof(A), (N), __FILE__, __LINE__); \
|
/AliOS-Things-master/components/py_engine/tests/basics/ |
A D | set_pop.py | 12 N = 11 variable 13 s = set(range(N)) 16 for i in range(N):
|