xmos-ai-tools 1.3.2.dev189__py3-none-macosx_10_15_universal2.whl → 1.3.2.dev213__py3-none-macosx_10_15_universal2.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.
- xmos_ai_tools/runtime/include/lib_nn/api/nn_layers.h +4 -0
- xmos_ai_tools/runtime/include/lib_nn/api/nn_op_helper.h +1 -1
- xmos_ai_tools/runtime/include/lib_tflite_micro/src/tflite-xcore-kernels/xcore_ops.h +2 -0
- xmos_ai_tools/runtime/lib/libhost_xtflitemicro.a +0 -0
- xmos_ai_tools/runtime/lib/libxtflitemicro.a +0 -0
- xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.1.0.1.dylib +0 -0
- xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.dylib +0 -0
- {xmos_ai_tools-1.3.2.dev189.data → xmos_ai_tools-1.3.2.dev213.data}/data/bin/xcore-opt +0 -0
- {xmos_ai_tools-1.3.2.dev189.dist-info → xmos_ai_tools-1.3.2.dev213.dist-info}/METADATA +14 -3
- {xmos_ai_tools-1.3.2.dev189.dist-info → xmos_ai_tools-1.3.2.dev213.dist-info}/RECORD +12 -12
- {xmos_ai_tools-1.3.2.dev189.dist-info → xmos_ai_tools-1.3.2.dev213.dist-info}/WHEEL +1 -1
- {xmos_ai_tools-1.3.2.dev189.dist-info → xmos_ai_tools-1.3.2.dev213.dist-info}/top_level.txt +0 -0
@@ -130,6 +130,10 @@ extern void pad_3_to_4_run(int8_t outputs[], int8_t inputs[], uint32_t N_3,
|
|
130
130
|
extern void pad_3_to_4_ref(int8_t outputs[], int8_t inputs[], uint32_t N_3,
|
131
131
|
uint32_t pad_val);
|
132
132
|
|
133
|
+
|
134
|
+
extern void pad_1_to_4_run(int8_t outputs[], int8_t inputs[], uint32_t N,
|
135
|
+
uint32_t pad_val);
|
136
|
+
|
133
137
|
typedef struct nn_mul_params_t {
|
134
138
|
int8_t in1_zero_point;
|
135
139
|
int8_t in2_zero_point;
|
@@ -106,7 +106,7 @@ static inline unsigned smin(const unsigned a, const unsigned b) {
|
|
106
106
|
|
107
107
|
static inline int ceil_log2(uint32_t a) {
|
108
108
|
if (a == 0) return -1;
|
109
|
-
#
|
109
|
+
#if defined(__XS3A__)
|
110
110
|
unsigned x;
|
111
111
|
asm("clz %0, %1" : "=r"(x) : "r"(a));
|
112
112
|
unsigned y = 31 - x;
|
@@ -32,6 +32,7 @@ constexpr const char *XC_pad_OpCode = "XC_pad";
|
|
32
32
|
constexpr const char *XC_concat_OpCode = "XC_concat";
|
33
33
|
constexpr const char *XC_transpose_OpCode = "XC_transpose";
|
34
34
|
constexpr const char *XC_pad_3_to_4_OpCode = "XC_pad_3_to_4";
|
35
|
+
constexpr const char *XC_pad_1_to_4_OpCode = "XC_pad_1_to_4";
|
35
36
|
constexpr const char *XC_mul_OpCode = "XC_mul";
|
36
37
|
constexpr const char *XC_mean_OpCode = "XC_mean";
|
37
38
|
constexpr const char *XC_meani16_OpCode = "XC_meani16";
|
@@ -63,6 +64,7 @@ TFLMRegistration *Register_XC_pad();
|
|
63
64
|
TFLMRegistration *Register_XC_concat();
|
64
65
|
TFLMRegistration *Register_XC_transpose();
|
65
66
|
TFLMRegistration *Register_XC_pad_3_to_4();
|
67
|
+
TFLMRegistration *Register_XC_pad_1_to_4();
|
66
68
|
TFLMRegistration *Register_XC_mul();
|
67
69
|
TFLMRegistration *Register_XC_mean();
|
68
70
|
TFLMRegistration *Register_XC_meani16();
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: xmos_ai_tools
|
3
|
-
Version: 1.3.2.
|
3
|
+
Version: 1.3.2.dev213
|
4
4
|
Summary: XMOS AI Tools
|
5
5
|
Home-page: https://github.com/xmos/ai_tools
|
6
6
|
Author: XMOS
|
@@ -26,8 +26,19 @@ Requires-Python: >=3.9
|
|
26
26
|
Description-Content-Type: text/markdown
|
27
27
|
Requires-Dist: numpy<2.0
|
28
28
|
Requires-Dist: tflite>=2.4.0
|
29
|
+
Dynamic: author
|
30
|
+
Dynamic: author-email
|
31
|
+
Dynamic: classifier
|
32
|
+
Dynamic: description
|
33
|
+
Dynamic: description-content-type
|
34
|
+
Dynamic: home-page
|
35
|
+
Dynamic: keywords
|
36
|
+
Dynamic: license
|
37
|
+
Dynamic: requires-dist
|
38
|
+
Dynamic: requires-python
|
39
|
+
Dynamic: summary
|
29
40
|
|
30
41
|
Documentation
|
31
42
|
-------------
|
32
43
|
|
33
|
-
Click [here](https://github.com/xmos/ai_tools/blob/
|
44
|
+
Click [here](https://github.com/xmos/ai_tools/blob/a7702f071fc2738e6f26eb570e946089b3306c3c/README.md) for documentation on using xmos-ai-tools to deploy AI models on xcore.
|
@@ -49,8 +49,8 @@ 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=
|
53
|
-
xmos_ai_tools/runtime/include/lib_nn/api/nn_op_helper.h,sha256=
|
52
|
+
xmos_ai_tools/runtime/include/lib_nn/api/nn_layers.h,sha256=iM2hvfUp_yPK0cp0Bt0heRK97moepModnsNIbTsu4-s,10817
|
53
|
+
xmos_ai_tools/runtime/include/lib_nn/api/nn_op_helper.h,sha256=r8FexVvHL0MGjZl8hnshO42pS3PlWk-tTuxA14FoGvY,3722
|
54
54
|
xmos_ai_tools/runtime/include/lib_nn/api/nn_op_utils.h,sha256=zdCGBeyiHx4-T1hZ4Cjf-QTtXwIyWp4xzuI1dfOjHPA,4948
|
55
55
|
xmos_ai_tools/runtime/include/lib_nn/api/nn_operator.h,sha256=Nj4jiXVHlnFjVBtV7mCGulTzSyNwCIpitz8Ao9kSIsU,337
|
56
56
|
xmos_ai_tools/runtime/include/lib_nn/api/nn_pooling.h,sha256=DUJNIhtabaMJvP4m46BICDNY2nCSXWKdfE0AUu7VhaY,24456
|
@@ -84,7 +84,7 @@ xmos_ai_tools/runtime/include/lib_tflite_micro/src/tflite-xcore-kernels/conv2d_f
|
|
84
84
|
xmos_ai_tools/runtime/include/lib_tflite_micro/src/tflite-xcore-kernels/xcore_custom_options.h,sha256=lC4Tw1Pxxg3zOXRdqNNtokuU-_cX9TTkYmGLe47-9dQ,630
|
85
85
|
xmos_ai_tools/runtime/include/lib_tflite_micro/src/tflite-xcore-kernels/xcore_error_reporter.h,sha256=_NIzvBYMqlwJexYESP5t5JXpxYTt-ZKq-1AdqAB9-Sc,812
|
86
86
|
xmos_ai_tools/runtime/include/lib_tflite_micro/src/tflite-xcore-kernels/xcore_interpreter.h,sha256=-0BNn65tzxWgNnHLolCYyUYhboL9nN3ksKni3BjH6QU,1801
|
87
|
-
xmos_ai_tools/runtime/include/lib_tflite_micro/src/tflite-xcore-kernels/xcore_ops.h,sha256=
|
87
|
+
xmos_ai_tools/runtime/include/lib_tflite_micro/src/tflite-xcore-kernels/xcore_ops.h,sha256=sT8EJUFD_R57wpOEWcVD10xxvmmTcGuGWH61SzfGwoY,3299
|
88
88
|
xmos_ai_tools/runtime/include/lib_tflite_micro/src/tflite-xcore-kernels/xcore_profiler.h,sha256=Ytqbj4TsbhZrtl42I2dgLyeloLi-1vZwjysIoOkgX9s,1239
|
89
89
|
xmos_ai_tools/runtime/include/lib_tflite_micro/src/tflite-xcore-kernels/xcore_utils.h,sha256=CkxEhyN7i2rmlk_ua18XH1XDV_E4mS2u3Ph48mIhN7M,4747
|
90
90
|
xmos_ai_tools/runtime/include/lib_xud/lib_xud/api/xud.h,sha256=aQNbN6EvpVQm-OkgE_JGn2SeqYE_sKtwWZebu50IwnE,20701
|
@@ -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=g0dl9tzUqngiINvjBlqDclFqvkC85MC4kbU13vE4OkY,6071
|
380
380
|
xmos_ai_tools/runtime/include/tensorflow/lite/schema/schema_generated.h,sha256=OzGCvswrW_FArm-HxD70BExn0PVtBbHAFPDO6ZZOFtc,1093177
|
381
381
|
xmos_ai_tools/runtime/include/tensorflow/lite/schema/schema_utils.h,sha256=tkHMDPARjIqppYCVInIowwdHxjNP3pfSS9O7vx-ODeo,1333
|
382
|
-
xmos_ai_tools/runtime/lib/libhost_xtflitemicro.a,sha256=
|
383
|
-
xmos_ai_tools/runtime/lib/libxtflitemicro.a,sha256=
|
382
|
+
xmos_ai_tools/runtime/lib/libhost_xtflitemicro.a,sha256=qchUREM_VBx0q_Is_JuenmCCCVL0NtIhhvO0xpwPed8,2463016
|
383
|
+
xmos_ai_tools/runtime/lib/libxtflitemicro.a,sha256=6E27PKKB1hjYb80BPEC9cAD05Kj9IlcuIIERxSCfAj4,71502254
|
384
384
|
xmos_ai_tools/xformer/__init__.py,sha256=a4K06oiSu2TYVwGvzwMDGGejPUYTvW9-5Uw6SfuFCX4,1903
|
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=rqoTcSWK7O9eboMsg0o2UYWapWTE5xiki7XTJZ_JbwQ,25664
|
389
|
-
xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.1.0.1.dylib,sha256=
|
390
|
-
xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.dylib,sha256=
|
391
|
-
xmos_ai_tools-1.3.2.
|
392
|
-
xmos_ai_tools-1.3.2.
|
393
|
-
xmos_ai_tools-1.3.2.
|
394
|
-
xmos_ai_tools-1.3.2.
|
395
|
-
xmos_ai_tools-1.3.2.
|
389
|
+
xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.1.0.1.dylib,sha256=B19AOHjt8IxbZsg_f6idjbWllNHGCv6rrD3TSi9zFuk,2356904
|
390
|
+
xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.dylib,sha256=B19AOHjt8IxbZsg_f6idjbWllNHGCv6rrD3TSi9zFuk,2356904
|
391
|
+
xmos_ai_tools-1.3.2.dev213.data/data/bin/xcore-opt,sha256=lihZetZGOatjzkjSTwPSJgxHPDXytwqjaObZbOd9U4A,285409352
|
392
|
+
xmos_ai_tools-1.3.2.dev213.dist-info/METADATA,sha256=iq6kYYd5wgP_U4xcRpA5Ep-mu2WwEI931SnSnjPXK0Y,1574
|
393
|
+
xmos_ai_tools-1.3.2.dev213.dist-info/WHEEL,sha256=d1tw4CznjypCP7WIuu-X_VtKtms3NEdUd9Roh13sxAM,112
|
394
|
+
xmos_ai_tools-1.3.2.dev213.dist-info/top_level.txt,sha256=YWegea73ll3tMlRWRdHJemUy2VOuEYDdOIaffxu_eF0,14
|
395
|
+
xmos_ai_tools-1.3.2.dev213.dist-info/RECORD,,
|
File without changes
|