xmos-ai-tools 1.3.0__py3-none-macosx_11_0_arm64.whl → 1.3.2.dev19__py3-none-macosx_11_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -295,4 +295,9 @@ void softmax_ref(int8_t *Y, const int8_t *X, const float zero_point,
295
295
  void softmax_single(int8_t *Y, const int8_t *X, const float *lut,
296
296
  const int offset);
297
297
 
298
+ void mean_int8(const int8_t *input, int8_t *output, const int start_dim_size,
299
+ const int mean_dim_size, const int end_dim_size,
300
+ const float in_zero_point, const float out_zero_point,
301
+ const float scale_mul);
302
+
298
303
  #endif // LAYERS_H_
@@ -1,3 +1,5 @@
1
+ #include <stdint.h>
2
+
1
3
  #ifndef _vpu_memset_256_h_
2
4
  #define _vpu_memset_256_h_
3
5
 
@@ -31,6 +31,7 @@ constexpr const char *XC_pad_OpCode = "XC_pad";
31
31
  constexpr const char *XC_concat_OpCode = "XC_concat";
32
32
  constexpr const char *XC_pad_3_to_4_OpCode = "XC_pad_3_to_4";
33
33
  constexpr const char *XC_mul_OpCode = "XC_mul";
34
+ constexpr const char *XC_mean_OpCode = "XC_mean";
34
35
  // Binarized ops
35
36
  constexpr const char *XC_bsign_8_OpCode = "XC_bsign_8";
36
37
 
@@ -56,6 +57,7 @@ TFLMRegistration *Register_XC_pad();
56
57
  TFLMRegistration *Register_XC_concat();
57
58
  TFLMRegistration *Register_XC_pad_3_to_4();
58
59
  TFLMRegistration *Register_XC_mul();
60
+ TFLMRegistration *Register_XC_mean();
59
61
  // Binarized ops
60
62
  TFLMRegistration *Register_XC_bsign_8();
61
63
 
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xmos-ai-tools
3
- Version: 1.3.0
3
+ Version: 1.3.2.dev19
4
4
  Summary: XMOS AI Tools
5
5
  Home-page: https://github.com/xmos/ai_tools
6
6
  Author: XMOS
@@ -25,11 +25,11 @@ Classifier: Topic :: Software Development :: Libraries
25
25
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
26
26
  Requires-Python: >=3.9
27
27
  Description-Content-Type: text/markdown
28
- Requires-Dist: numpy <2.0
29
- Requires-Dist: tflite >=2.4.0
28
+ Requires-Dist: numpy<2.0
29
+ Requires-Dist: tflite>=2.4.0
30
30
 
31
31
  Documentation
32
32
  -------------
33
33
 
34
- Click [here](https://github.com/xmos/ai_tools/blob/de1c819d1109e67ed90a11d3334e851fe97f1361/README.md) for documentation on using xmos-ai-tools to deploy AI models on xcore.
34
+ Click [here](https://github.com/xmos/ai_tools/blob/3777348c01b56e1f3ef1d26527eff2d35aab121c/README.md) for documentation on using xmos-ai-tools to deploy AI models on xcore.
35
35
 
@@ -49,7 +49,7 @@ xmos_ai_tools/runtime/include/lib_nn/api/nn_bin_types.h,sha256=DTFX2ecfzwl-_tHlq
49
49
  xmos_ai_tools/runtime/include/lib_nn/api/nn_config.h,sha256=KFoA5zyOTTHi6x-qDuIWkF8wAz4Gc4BdOBgUzOArOD0,11558
50
50
  xmos_ai_tools/runtime/include/lib_nn/api/nn_conv2d_structs.h,sha256=Kfyq3bD1aLcSnWTB_cijU_D5ThGol5utJ1k-WsjqeMY,2268
51
51
  xmos_ai_tools/runtime/include/lib_nn/api/nn_image.h,sha256=gz7NyxmZACZiDED0wT7px2qjEEMcUwfa5TjeOUmYzL4,514
52
- xmos_ai_tools/runtime/include/lib_nn/api/nn_layers.h,sha256=NJXmlCSXA5UzK0dvJhNADqmrAvmNzvp0kbn9NLQyU_Q,10257
52
+ xmos_ai_tools/runtime/include/lib_nn/api/nn_layers.h,sha256=FqXpBLsch_IDH1ssRsDO4zt3N8L8v-PbMddbiwY6DS4,10509
53
53
  xmos_ai_tools/runtime/include/lib_nn/api/nn_op_helper.h,sha256=VMnBVEcgH0wtiiV91JjtFRG4xkCI0m7WrikEmU6ulss,3716
54
54
  xmos_ai_tools/runtime/include/lib_nn/api/nn_op_utils.h,sha256=iTZcsp941d4fT574C_aUsHDAkLAWYxoFM4EjW7ypm94,4741
55
55
  xmos_ai_tools/runtime/include/lib_nn/api/nn_operator.h,sha256=Nj4jiXVHlnFjVBtV7mCGulTzSyNwCIpitz8Ao9kSIsU,337
@@ -65,7 +65,7 @@ xmos_ai_tools/runtime/include/lib_nn/api/quantize_int16.h,sha256=THKX9qg6ob1Cj4L
65
65
  xmos_ai_tools/runtime/include/lib_nn/api/quantize_int16_transform.h,sha256=Rg2XOvVL1P2UneJ33X9b-ATwaCIiNAyp_ipdAu1SXyk,1029
66
66
  xmos_ai_tools/runtime/include/lib_nn/api/version.h,sha256=P0otpsAVvhiPNpXQu6uJUrjygoOTaHEJlIegIMyj_W4,303
67
67
  xmos_ai_tools/runtime/include/lib_nn/api/vpu_memmove_word_aligned.h,sha256=-OgMM0JMG1kIlL6YSiEg-6o6t43t1LUDwAS_inW-r_8,579
68
- xmos_ai_tools/runtime/include/lib_nn/api/vpu_memset_256.h,sha256=Cb93K-ie4Dp-lqCW0rjzKrIBnEGlKf9xrRPck67sJ1o,1946
68
+ xmos_ai_tools/runtime/include/lib_nn/api/vpu_memset_256.h,sha256=u71fu0EldAXMiMfQ-il9pN9ZXUkrcSp7kiMcJRnESRE,1967
69
69
  xmos_ai_tools/runtime/include/lib_nn/api/vpu_sim.h,sha256=3S1_2eSaEj2q8nhFuRiCefQhwTeYpfothuFu0fC54_s,3811
70
70
  xmos_ai_tools/runtime/include/lib_nn/api/xs3_vpu.h,sha256=xuEpNayaSWeEIoL1--EfQAXkr4TidwDASFYgbshJ-Mw,6227
71
71
  xmos_ai_tools/runtime/include/lib_nn/api/xs3a_registers.h,sha256=5i6Tue1VplRI2VlIes-gaD2BXOKreuUit51OYTsbgFs,139774
@@ -84,7 +84,7 @@ xmos_ai_tools/runtime/include/lib_tflite_micro/src/tflite-xcore-kernels/xcore_co
84
84
  xmos_ai_tools/runtime/include/lib_tflite_micro/src/tflite-xcore-kernels/xcore_custom_options.h,sha256=8iD9kjYqpaGpAUfGzfYk7OaPZo1ewpL5bBnZECE6jEg,618
85
85
  xmos_ai_tools/runtime/include/lib_tflite_micro/src/tflite-xcore-kernels/xcore_error_reporter.h,sha256=fnSTiuJEL5cstbgtiM9rKwpCCNPHFEZr5b_Qu4PY1Yo,794
86
86
  xmos_ai_tools/runtime/include/lib_tflite_micro/src/tflite-xcore-kernels/xcore_interpreter.h,sha256=5-_cbV1uXQDTW51l3F3p06fZB4qx19Z848h9qtoAjE4,1753
87
- xmos_ai_tools/runtime/include/lib_tflite_micro/src/tflite-xcore-kernels/xcore_ops.h,sha256=Po7Im0S-LaasVyFhJuJPieMO6iTdqPROexKODPodjBA,2557
87
+ xmos_ai_tools/runtime/include/lib_tflite_micro/src/tflite-xcore-kernels/xcore_ops.h,sha256=p3h8lDJoflhpT8osJ70k4vetAYNf-TyZsO_RRvUMy7U,2645
88
88
  xmos_ai_tools/runtime/include/lib_tflite_micro/src/tflite-xcore-kernels/xcore_profiler.h,sha256=5wo0BpSfxebxo-NpAoJYsheULF9u_Nz3xbhjUs2K2Hg,1215
89
89
  xmos_ai_tools/runtime/include/lib_tflite_micro/src/tflite-xcore-kernels/xcore_utils.h,sha256=kynLZ8kJMx4sGQNOkIqoF7zjey1mKVeEbgdGS-UAX_o,4717
90
90
  xmos_ai_tools/runtime/include/lib_xud/lib_xud/api/xud.h,sha256=CpBh7idogG_eZXEe29i306iXbz3Jcnvd5CgptIFG8Lo,20680
@@ -379,17 +379,17 @@ xmos_ai_tools/runtime/include/tensorflow/lite/micro/tools/benchmarking/metrics.h
379
379
  xmos_ai_tools/runtime/include/tensorflow/lite/micro/tools/benchmarking/op_resolver.h,sha256=RGL4qxRe7mT-DjxD0NiFhRvVpuDn5xIuwXdrj6I9avs,6053
380
380
  xmos_ai_tools/runtime/include/tensorflow/lite/schema/schema_generated.h,sha256=V6KZsZ1QF0xtjxBnXJbk32hvtWYnaBkuURjk_Hs9ivs,1073395
381
381
  xmos_ai_tools/runtime/include/tensorflow/lite/schema/schema_utils.h,sha256=Iyv5Rn__Q15pfUm-9DvFU_GFF_8rplBNwor-V5TUi_0,1321
382
- xmos_ai_tools/runtime/lib/libhost_xtflitemicro.a,sha256=Llu9vTvZHrV-7BmqkpD0Z-rsj9EQqAzFKpRDizFPJ1M,1057704
383
- xmos_ai_tools/runtime/lib/libxtflitemicro.a,sha256=rYiKTYKeRhGRKX07cmE-HPpOVxWe3zY--DTlqDGXL5s,69456482
382
+ xmos_ai_tools/runtime/lib/libhost_xtflitemicro.a,sha256=auK3YWiuvcRMsl_qKl5MPmWolHOFSeE0cM3gQ_lLNFE,1067344
383
+ xmos_ai_tools/runtime/lib/libxtflitemicro.a,sha256=OjzZkDqYows-YcSq6B9eJYiDywqwMwOZ87XImRhfeIw,69980312
384
384
  xmos_ai_tools/xformer/__init__.py,sha256=jA0xba6ZitK9HwWvDJewM8AMU4IZnx_iB1GSBrRUGvU,1627
385
385
  xmos_ai_tools/xformer/flash.py,sha256=MG4coi_Lvvg-oQmw1pomJD8eeOH4gAMjixjBFvO2BCk,6376
386
386
  xmos_ai_tools/xinterpreters/__init__.py,sha256=PFRB9VxOLKaA--j2ZvWGcmesv2C6uNYqJ_kBam68aUI,50
387
387
  xmos_ai_tools/xinterpreters/exceptions.py,sha256=HOjADxHYMPI9mN0YIbWxtw9hSeL2B6XWWwqtGtyJdVs,577
388
388
  xmos_ai_tools/xinterpreters/host_interpreter.py,sha256=No-g29_twbIaJ4S4fzU5TGpKd4WPVEE0737HtL877sw,25692
389
- xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.1.0.1.dylib,sha256=0xOjM-8fZr333_MACVjIxWcRHqs1MVTDN3svjm2jwpo,1055240
390
- xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.dylib,sha256=0xOjM-8fZr333_MACVjIxWcRHqs1MVTDN3svjm2jwpo,1055240
391
- xmos_ai_tools-1.3.0.data/data/bin/xcore-opt,sha256=EXyY70weFXnRCGDOXxvBgCRiupHPA2IVZLAd08XIDKA,142062968
392
- xmos_ai_tools-1.3.0.dist-info/METADATA,sha256=T2oTA3mLLgPInhVvZfqco9MLtPsr70Y2xvUOV1w-IFo,1356
393
- xmos_ai_tools-1.3.0.dist-info/WHEEL,sha256=mbj6ZioQtbYSI9Enon6Nfaq9PMeblAOX3NoP8Ads9Yw,107
394
- xmos_ai_tools-1.3.0.dist-info/top_level.txt,sha256=YWegea73ll3tMlRWRdHJemUy2VOuEYDdOIaffxu_eF0,14
395
- xmos_ai_tools-1.3.0.dist-info/RECORD,,
389
+ xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.1.0.1.dylib,sha256=NoBiOoW5VWbe77QslbvOBNHSelQKE1acdacVFcJIPI4,1055928
390
+ xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.dylib,sha256=NoBiOoW5VWbe77QslbvOBNHSelQKE1acdacVFcJIPI4,1055928
391
+ xmos_ai_tools-1.3.2.dev19.data/data/bin/xcore-opt,sha256=P8ULijxg8dthiaD_WyNuMGMvmjymj8Xzvj7bDLrqGhc,142244664
392
+ xmos_ai_tools-1.3.2.dev19.dist-info/METADATA,sha256=OlAS94iX3AMSr6UhF5C4-nWqS4wQR1CHSdOC7l-Xi38,1360
393
+ xmos_ai_tools-1.3.2.dev19.dist-info/WHEEL,sha256=AfHOw-mw6t4myGBxFtFe-mEy1T_hh2F11QZECeFgdAo,107
394
+ xmos_ai_tools-1.3.2.dev19.dist-info/top_level.txt,sha256=YWegea73ll3tMlRWRdHJemUy2VOuEYDdOIaffxu_eF0,14
395
+ xmos_ai_tools-1.3.2.dev19.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: bdist_wheel (0.44.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: py3-none-macosx_11_0_arm64
5
5