xmos-ai-tools 1.2.1.dev18__py3-none-macosx_11_0_arm64.whl → 1.2.1.dev24__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.
@@ -29,7 +29,8 @@
29
29
  C_API int add_int16_tensor_blob(void *output,
30
30
  float input1_scaler,
31
31
  float input2_scaler,
32
- float output_scaler);
32
+ float output_scaler,
33
+ char *err_msg);
33
34
 
34
35
  /**
35
36
  * Macro that calculates the number of int16_t that should be allocated to
@@ -21,7 +21,8 @@
21
21
  * @returns 1 on success, 0 on fail (fallback required)
22
22
  */
23
23
  C_API int dequantize_int16_tensor_blob(void *output,
24
- float input_scaler);
24
+ float input_scaler,
25
+ char *err_msg);
25
26
 
26
27
  /**
27
28
  * Macro that calculates the number of int16_t that should be allocated to
@@ -25,7 +25,8 @@
25
25
  */
26
26
  C_API int requantize_int16_tensor_blob(void *output,
27
27
  float input_scaler,
28
- float output_scaler);
28
+ float output_scaler,
29
+ char *err_msg);
29
30
  /**
30
31
  * Macro that calculates the number of int16_t that should be allocated to
31
32
  * store the output of ``quantise_int16_tensor_blob()``
@@ -56,7 +57,8 @@ C_API int requantize_int16_tensor_blob(void *output,
56
57
  C_API int multiply_int16_tensor_blob(void *output,
57
58
  float input1_scaler,
58
59
  float input2_scaler,
59
- float output_scaler);
60
+ float output_scaler,
61
+ char *err_msg);
60
62
 
61
63
  /**
62
64
  * Macro that calculates the number of int16_t that should be allocated to
@@ -8,6 +8,8 @@
8
8
 
9
9
  #define C_API EXTERN_C
10
10
 
11
+ #define ERR_MSG_DESCRIPTOR_FAIL_BYTES() (128)
12
+
11
13
  #ifndef __has_builtin
12
14
  #define __has_builtin(x) 0
13
15
  #endif
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xmos-ai-tools
3
- Version: 1.2.1.dev18
3
+ Version: 1.2.1.dev24
4
4
  Summary: XMOS AI Tools
5
5
  Home-page: https://github.com/xmos/ai_tools
6
6
  Author: XMOS
@@ -31,5 +31,5 @@ Requires-Dist: tflite >=2.4.0
31
31
  Documentation
32
32
  -------------
33
33
 
34
- Click [here](https://github.com/xmos/ai_tools/blob/101dc612469d65038eca327324ce7667d20ec78e/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/28b6228b76e38a2fc78c9741d323d656083dca6f/README.md) for documentation on using xmos-ai-tools to deploy AI models on xcore.
35
35
 
@@ -38,13 +38,13 @@ xmos_ai_tools/runtime/include/flatbuffers/pch/flatc_pch.h,sha256=NxlfeyZtf-PCL0y
38
38
  xmos_ai_tools/runtime/include/flatbuffers/pch/pch.h,sha256=XV11Mx5VHBJUdvDufl3rdZUng7UELFIBFsQzqNnY-tw,995
39
39
  xmos_ai_tools/runtime/include/lib_nn/api/TransposeConv.h,sha256=dGSevVX6WC_MBMsghBxZoJ0Zf9KkUMkQ9WGZr5FpfJI,663
40
40
  xmos_ai_tools/runtime/include/lib_nn/api/add_int16.h,sha256=OlmGl-hRSmxAnmg05dT2xGFHm2tRjN0uquegROqZTMs,875
41
- xmos_ai_tools/runtime/include/lib_nn/api/add_int16_transform.h,sha256=BGzmNqotj_hbbAQwa0jjTIhNeg2RfuyadBK03rasMgE,1336
41
+ xmos_ai_tools/runtime/include/lib_nn/api/add_int16_transform.h,sha256=ETslzKHYjDqy3B59HLCi9xdv66PRvHBp5xRPMqYHg2U,1377
42
42
  xmos_ai_tools/runtime/include/lib_nn/api/dequantize_int16.h,sha256=qojIhBFX2zgj5cYxNhS3riH2NniJPlj9D2wSRf8djQY,753
43
- xmos_ai_tools/runtime/include/lib_nn/api/dequantize_int16_transform.h,sha256=XmGgVqHweYIXeisI9Xh2urHL4nZWZoyimYFhT-a7cQY,1040
43
+ xmos_ai_tools/runtime/include/lib_nn/api/dequantize_int16_transform.h,sha256=CtIQPYiUWN7PcbPit-HoSMab_1gAT4NUcIRUs-lcjuA,1088
44
44
  xmos_ai_tools/runtime/include/lib_nn/api/expand_8_to_16.h,sha256=7-HFoUFgiOjgyGluHoBrIPbLPChGmkkzcMKW3teXMh0,145
45
45
  xmos_ai_tools/runtime/include/lib_nn/api/multiply_int16.h,sha256=gBgXPvMYhZ9ZIqKthWKSeWmLPwhFCy6eKKmj0f1M2JQ,1551
46
- xmos_ai_tools/runtime/include/lib_nn/api/multiply_int16_transform.h,sha256=RWvjLZcY2vyhYTCGVqlpOwwN2el3BWybYlYfOlOeguM,2360
47
- xmos_ai_tools/runtime/include/lib_nn/api/nn_api.h,sha256=WckI8IecZUiJOTCxkQUjXMIlkOUHuhk7OGYdElPhU4c,172
46
+ xmos_ai_tools/runtime/include/lib_nn/api/multiply_int16_transform.h,sha256=Vaycg971CZkR9wHO1k3-DxHxp026hgDYqyfZI_YNSy4,2454
47
+ xmos_ai_tools/runtime/include/lib_nn/api/nn_api.h,sha256=UhLAFqf245v5XdcAohZOInOcbsRqJSHGCGqI1iBmu3U,219
48
48
  xmos_ai_tools/runtime/include/lib_nn/api/nn_bin_types.h,sha256=DTFX2ecfzwl-_tHlqTR2xypgK7oxmvVWc58eJqJK2rE,325
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
@@ -377,17 +377,17 @@ xmos_ai_tools/runtime/include/tensorflow/lite/micro/tools/benchmarking/metrics.h
377
377
  xmos_ai_tools/runtime/include/tensorflow/lite/micro/tools/benchmarking/op_resolver.h,sha256=RGL4qxRe7mT-DjxD0NiFhRvVpuDn5xIuwXdrj6I9avs,6053
378
378
  xmos_ai_tools/runtime/include/tensorflow/lite/schema/schema_generated.h,sha256=V6KZsZ1QF0xtjxBnXJbk32hvtWYnaBkuURjk_Hs9ivs,1073395
379
379
  xmos_ai_tools/runtime/include/tensorflow/lite/schema/schema_utils.h,sha256=Iyv5Rn__Q15pfUm-9DvFU_GFF_8rplBNwor-V5TUi_0,1321
380
- xmos_ai_tools/runtime/lib/libhost_xtflitemicro.a,sha256=_m4Yd1hIMF0tECsnjK147nSMvYWNgqy2m-rW3KrpP2E,984704
381
- xmos_ai_tools/runtime/lib/libxtflitemicro.a,sha256=9kuW8TRSuJbwoysIa8gFV--0NH8-Vpg8ty5MmnTSeL8,68869144
380
+ xmos_ai_tools/runtime/lib/libhost_xtflitemicro.a,sha256=OS9Ri-QlojRkRKjjb4OfjDX0tRO1sF8-wblt3Ng-sN8,985832
381
+ xmos_ai_tools/runtime/lib/libxtflitemicro.a,sha256=eRwbQz7UZ8Npo1SDbvpdSyxCRCnAZ0iC-D9cSdOrxsc,68882352
382
382
  xmos_ai_tools/xformer/__init__.py,sha256=jA0xba6ZitK9HwWvDJewM8AMU4IZnx_iB1GSBrRUGvU,1627
383
383
  xmos_ai_tools/xformer/flash.py,sha256=MG4coi_Lvvg-oQmw1pomJD8eeOH4gAMjixjBFvO2BCk,6376
384
384
  xmos_ai_tools/xinterpreters/__init__.py,sha256=PFRB9VxOLKaA--j2ZvWGcmesv2C6uNYqJ_kBam68aUI,50
385
385
  xmos_ai_tools/xinterpreters/exceptions.py,sha256=HOjADxHYMPI9mN0YIbWxtw9hSeL2B6XWWwqtGtyJdVs,577
386
386
  xmos_ai_tools/xinterpreters/host_interpreter.py,sha256=No-g29_twbIaJ4S4fzU5TGpKd4WPVEE0737HtL877sw,25692
387
- xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.1.0.1.dylib,sha256=bx_79xjZ8B0Hg3IiDjIoDMySq5T40mCzxWuX6zjxfAE,965861
388
- xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.dylib,sha256=bx_79xjZ8B0Hg3IiDjIoDMySq5T40mCzxWuX6zjxfAE,965861
389
- xmos_ai_tools-1.2.1.dev18.data/data/bin/xcore-opt,sha256=qtwB86nUZPMo6Rj9aixmEzvxOqTzVU4ONUdbRKFgBIw,144895814
390
- xmos_ai_tools-1.2.1.dev18.dist-info/METADATA,sha256=clrbf666aaZYAyTNzMuhUG3Uk1apleRLjAuPyEdD8qk,1362
391
- xmos_ai_tools-1.2.1.dev18.dist-info/WHEEL,sha256=IPDqJGqJLX0u0WXkppbx2qlPtK5mpK7tD_Q6j3xfzzw,107
392
- xmos_ai_tools-1.2.1.dev18.dist-info/top_level.txt,sha256=YWegea73ll3tMlRWRdHJemUy2VOuEYDdOIaffxu_eF0,14
393
- xmos_ai_tools-1.2.1.dev18.dist-info/RECORD,,
387
+ xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.1.0.1.dylib,sha256=IBVBusDfGIhGQnVkQRhS9e7EVGd-WN1lVJeLnSbau1I,965909
388
+ xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.dylib,sha256=IBVBusDfGIhGQnVkQRhS9e7EVGd-WN1lVJeLnSbau1I,965909
389
+ xmos_ai_tools-1.2.1.dev24.data/data/bin/xcore-opt,sha256=2zLQrLVZDIgJ8r6Shl0WcMpEY1qPxaqi7wywSYKWX5w,144896582
390
+ xmos_ai_tools-1.2.1.dev24.dist-info/METADATA,sha256=sziCvDgvhrNqNwl_EHoISq7pMgI8NnqGPziAQcMIOs0,1362
391
+ xmos_ai_tools-1.2.1.dev24.dist-info/WHEEL,sha256=mbj6ZioQtbYSI9Enon6Nfaq9PMeblAOX3NoP8Ads9Yw,107
392
+ xmos_ai_tools-1.2.1.dev24.dist-info/top_level.txt,sha256=YWegea73ll3tMlRWRdHJemUy2VOuEYDdOIaffxu_eF0,14
393
+ xmos_ai_tools-1.2.1.dev24.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.42.0)
2
+ Generator: bdist_wheel (0.43.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: py3-none-macosx_11_0_arm64
5
5