xmos-ai-tools 1.3.2.dev318__py3-none-macosx_10_15_universal2.whl → 1.4.1.dev1__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.
@@ -1,9 +1,21 @@
1
1
  #ifndef _FAST_FLASH_H_
2
2
  #define _FAST_FLASH_H_
3
3
 
4
+ #include <xcore/chanend.h>
4
5
  #include <quadflash.h>
5
6
 
6
- #ifdef __XC__
7
+ // typedef struct {
8
+ // unsigned qspiCS;
9
+ // unsigned qspiSCLK;
10
+ // unsigned qspiSIO;
11
+ // unsigned qspiClkblk;
12
+ // } fl_QSPIPorts;
13
+
14
+ // typedef struct {
15
+ // unsigned int byte_address; // Address in flash
16
+ // unsigned int byte_count; // Number of bytes to read/write
17
+ // } fl_QuadDeviceSpec;
18
+
7
19
  /** Fast flash library.
8
20
  * Before calling any of the functions in here, lib_quad_flash must be initialised as normal by using
9
21
  * fl_connectToDevice(qspi, flash_spec, n_flash_spec).
@@ -30,7 +42,7 @@
30
42
  * \returns a negative value of -1..-5 if the window is too small (size 0..4)
31
43
  * zero if successful
32
44
  */
33
- int fast_flash_init(fl_QSPIPorts &qspi);
45
+ int fast_flash_init(fl_QSPIPorts *qspi);
34
46
 
35
47
  /** Function that reads a sequential set of bytes from memory.
36
48
  * This function assumes that nibbles have been reversed ((x << 4) & 0xf0 | (x >> 4) & 0x0f)
@@ -43,11 +55,6 @@ int fast_flash_init(fl_QSPIPorts &qspi);
43
55
  * \param read_data array to store data in to.
44
56
  * \param c_out_data optional channel end over which data is out() instead.
45
57
  */
46
- void fast_flash_read(fl_QSPIPorts &qspi, unsigned addr, unsigned word_count, unsigned read_data[], chanend ?c_data_out);
47
-
48
- #else
49
- int fast_flash_init(fl_QSPIPorts *qspi);
50
58
  void fast_flash_read(fl_QSPIPorts *qspi, unsigned addr, unsigned word_count, unsigned read_data[], chanend_t c_data_out);
51
- #endif
52
59
 
53
60
  #endif
@@ -1,7 +1,7 @@
1
1
  #ifndef _flash_server_h_
2
2
  #define _flash_server_h_
3
3
 
4
- #include <quadflash.h>
4
+ #include "fast_flash.h"
5
5
 
6
6
  #ifdef __cplusplus
7
7
  #define EXTERN_C extern "C"
@@ -5,7 +5,7 @@
5
5
  namespace lib_nn {
6
6
 
7
7
  static const unsigned major_version = 0;
8
- static const unsigned minor_version = 4;
8
+ static const unsigned minor_version = 5;
9
9
  static const unsigned patch_version = 0;
10
10
 
11
11
  } // namespace lib_nn
@@ -5,7 +5,7 @@
5
5
  namespace lib_tflite_micro {
6
6
 
7
7
  static const unsigned major_version = 0;
8
- static const unsigned minor_version = 7;
8
+ static const unsigned minor_version = 8;
9
9
  static const unsigned patch_version = 0;
10
10
 
11
11
  } // namespace lib_tflite_micro
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xmos_ai_tools
3
- Version: 1.3.2.dev318
3
+ Version: 1.4.1.dev1
4
4
  Summary: XMOS AI Tools
5
5
  Home-page: https://github.com/xmos/ai_tools
6
6
  Author: XMOS
@@ -41,4 +41,4 @@ Dynamic: summary
41
41
  Documentation
42
42
  -------------
43
43
 
44
- Click [here](https://github.com/xmos/ai_tools/blob/404a2c5f774fc4c1527de9a7df0f99848e789391/README.md) for documentation on using xmos-ai-tools to deploy AI models on xcore.
44
+ Click [here](https://github.com/xmos/ai_tools/blob/3bf7f29189cb2f6744c255892dc6c9cc12c565cf/README.md) for documentation on using xmos-ai-tools to deploy AI models on xcore.
@@ -3,7 +3,8 @@ xmos_ai_tools/io_server/__init__.py,sha256=Wr8MHyIxhY80hnvwUH0AsE3BojqIt-AwbYBj-
3
3
  xmos_ai_tools/runtime/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  xmos_ai_tools/runtime/buildfiles/aitoolslib.cmake,sha256=yxN1_9nhMo2PVQ3A7uroPjBudDB_Kx6_DcJ5eik5W50,525
5
5
  xmos_ai_tools/runtime/buildfiles/aitoolslib.make,sha256=D4GFs74BsWTuQT6R_yxXwR4LLH0pzyFiAXnGpe5hntI,253
6
- xmos_ai_tools/runtime/include/flash_server.h,sha256=wyJYPNBwYkziVtuWTBZTq9gKeFZGlGA-zshTP7U3Vxc,3409
6
+ xmos_ai_tools/runtime/include/fast_flash.h,sha256=SzqbuSk4tTl0dQ59YxA8GA9VNAP8PK2qtQUHnxlAZIo,2311
7
+ xmos_ai_tools/runtime/include/flash_server.h,sha256=sGJGvnbIlPra18p1cbsOg9tRiuwrQbZB5UnBjj7MIYY,3410
7
8
  xmos_ai_tools/runtime/include/ioserver.h,sha256=gEVBhuVLjwi9c00vHUKDEByibl6GVtSUpl5ePAk5GiE,1045
8
9
  xmos_ai_tools/runtime/include/tile_ram_server.h,sha256=Ad3XKz6sihH3Ot40cMAJmbmRlDo_GVbP51tCovYLm7Y,1546
9
10
  xmos_ai_tools/runtime/include/flatbuffers/allocator.h,sha256=7U_8vFjicWgq8yl-VXtF5JGX5mV7lXhS4aXkHI37XjA,2587
@@ -64,7 +65,7 @@ xmos_ai_tools/runtime/include/lib_nn/api/quadratic_approximation.h,sha256=ZyjSZV
64
65
  xmos_ai_tools/runtime/include/lib_nn/api/quadratic_interpolation.h,sha256=qNguTb1oiAJ_n1_wnSFXD4BEE8PTJqePph6FVnkrwac,816
65
66
  xmos_ai_tools/runtime/include/lib_nn/api/quantize_int16.h,sha256=THKX9qg6ob1Cj4LiRmqlogaEAozc2qEIiENBmRS8rgs,736
66
67
  xmos_ai_tools/runtime/include/lib_nn/api/quantize_int16_transform.h,sha256=Rg2XOvVL1P2UneJ33X9b-ATwaCIiNAyp_ipdAu1SXyk,1029
67
- xmos_ai_tools/runtime/include/lib_nn/api/version.h,sha256=e6-GRd2_R0vtq6Jps57nM3F0Zt37ZpClL7u3Er0W1ZI,303
68
+ xmos_ai_tools/runtime/include/lib_nn/api/version.h,sha256=IToqf6oWdUTjnxET418mTcaBGKlxWW5My2wDkREpdmo,303
68
69
  xmos_ai_tools/runtime/include/lib_nn/api/vpu_memmove_word_aligned.h,sha256=-OgMM0JMG1kIlL6YSiEg-6o6t43t1LUDwAS_inW-r_8,579
69
70
  xmos_ai_tools/runtime/include/lib_nn/api/vpu_memset_256.h,sha256=u71fu0EldAXMiMfQ-il9pN9ZXUkrcSp7kiMcJRnESRE,1967
70
71
  xmos_ai_tools/runtime/include/lib_nn/api/vpu_sim.h,sha256=0ujuOUFwKd8YYVgVAvBzFlxLsND_EBLRDhuevrzvU7Y,3833
@@ -72,11 +73,10 @@ xmos_ai_tools/runtime/include/lib_nn/api/xs3_vpu.h,sha256=xuEpNayaSWeEIoL1--EfQA
72
73
  xmos_ai_tools/runtime/include/lib_nn/api/xs3a_registers.h,sha256=5i6Tue1VplRI2VlIes-gaD2BXOKreuUit51OYTsbgFs,139774
73
74
  xmos_ai_tools/runtime/include/lib_nn/src/asm/asm_constants.h,sha256=VB8pk_H4vI4S18xYfPFCOGZoLG6S0FYW5uVfG3u9glU,1018
74
75
  xmos_ai_tools/runtime/include/lib_nn/src/asm/window_op_plan.h,sha256=4I5u3jkbPOXQnj073h24346uJTYApf0A2oegNc0TKjc,704
75
- xmos_ai_tools/runtime/include/lib_tflite_micro/api/fast_flash.h,sha256=ob6pARd2fzBAAvy8oDt8oROHzuL6e8VMoKkxmIxGx-Q,2175
76
76
  xmos_ai_tools/runtime/include/lib_tflite_micro/api/inference_engine.h,sha256=BluOxaYHsrfx0x1j7gbyM989-3Ci4K6uIC0O4Pxrx4o,9204
77
77
  xmos_ai_tools/runtime/include/lib_tflite_micro/api/load_weights.h,sha256=nzQ7lodtCKUpqCKHJ6f15RzaG5T2RO4FmAk_xN2P3js,2309
78
78
  xmos_ai_tools/runtime/include/lib_tflite_micro/api/memory_parallel_transport.h,sha256=P6o4-yWfE3GW_R08zf_kTsg-h4589eAhg9lNvJA7ZCM,1932
79
- xmos_ai_tools/runtime/include/lib_tflite_micro/api/version.h,sha256=ImFxGU2PzLZ3TzGiB1V2Ghgd2yh0qWR7UI7ao-MrG6w,318
79
+ xmos_ai_tools/runtime/include/lib_tflite_micro/api/version.h,sha256=qdQUk1DZ9ymscmKrIvx8Y0y2TX5Q3IdP-7MhEQJxBdQ,318
80
80
  xmos_ai_tools/runtime/include/lib_tflite_micro/api/xcore_config.h,sha256=gywR3hBJe05GTLkcdJss0bmk3dzsWivXK6U9FF7Pfm0,589
81
81
  xmos_ai_tools/runtime/include/lib_tflite_micro/api/xcore_device_memory.h,sha256=bLWcRDNrzClLh8_eR3XRRz3sA2pEAzzxGLDoPTsNp8A,1917
82
82
  xmos_ai_tools/runtime/include/lib_tflite_micro/api/xcore_shared_config.h,sha256=EdqTecMZIdSk1ZWUE7rdl6ilXe4-vbFiwwcf0Y124c4,1562
@@ -380,17 +380,17 @@ xmos_ai_tools/runtime/include/tensorflow/lite/micro/tools/benchmarking/metrics.h
380
380
  xmos_ai_tools/runtime/include/tensorflow/lite/micro/tools/benchmarking/op_resolver.h,sha256=g0dl9tzUqngiINvjBlqDclFqvkC85MC4kbU13vE4OkY,6071
381
381
  xmos_ai_tools/runtime/include/tensorflow/lite/schema/schema_generated.h,sha256=hSumwEqc-LmMHG82KKl1yPLiVMNbLj_q19-VRPCR7ng,1093175
382
382
  xmos_ai_tools/runtime/include/tensorflow/lite/schema/schema_utils.h,sha256=tkHMDPARjIqppYCVInIowwdHxjNP3pfSS9O7vx-ODeo,1333
383
- xmos_ai_tools/runtime/lib/libhost_xtflitemicro.a,sha256=lEKXLwQ9I-HcRsYSttt0fwpuxJwKxhR4PRgR81HhYHc,2479336
384
- xmos_ai_tools/runtime/lib/libxtflitemicro.a,sha256=MP_xwTKuerAoXeK2VMtNRsgDEDgoAxnL9GIf6BfmJcU,72205968
383
+ xmos_ai_tools/runtime/lib/libhost_xtflitemicro.a,sha256=5GruAqexBtTGDkQaZtCXePh4jyDlDRl1TK1e4WzEBXg,2479336
384
+ xmos_ai_tools/runtime/lib/libxtflitemicro.a,sha256=5osmG4BRjFffYku53iIV18-GmJyFLcZTS7LCZALW9bw,72233090
385
385
  xmos_ai_tools/xformer/__init__.py,sha256=a4K06oiSu2TYVwGvzwMDGGejPUYTvW9-5Uw6SfuFCX4,1903
386
386
  xmos_ai_tools/xformer/flash.py,sha256=MG4coi_Lvvg-oQmw1pomJD8eeOH4gAMjixjBFvO2BCk,6376
387
387
  xmos_ai_tools/xinterpreters/__init__.py,sha256=PFRB9VxOLKaA--j2ZvWGcmesv2C6uNYqJ_kBam68aUI,50
388
388
  xmos_ai_tools/xinterpreters/exceptions.py,sha256=HOjADxHYMPI9mN0YIbWxtw9hSeL2B6XWWwqtGtyJdVs,577
389
389
  xmos_ai_tools/xinterpreters/host_interpreter.py,sha256=ZdvzXUnAdnCcSU-dNQvq6ad2MDk9PZqu9UyNoBgBYKI,25755
390
- xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.1.0.1.dylib,sha256=mQp_HoqoSMCxV3Wj1MVVSjtoobePEkDJxgXolJmJsPA,2359560
391
- xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.dylib,sha256=mQp_HoqoSMCxV3Wj1MVVSjtoobePEkDJxgXolJmJsPA,2359560
392
- xmos_ai_tools-1.3.2.dev318.data/data/bin/xcore-opt,sha256=JzENP42wf2ZTZ9DXWZqmgxPYC2BbHEGjKt6CG6vpWLQ,286686440
393
- xmos_ai_tools-1.3.2.dev318.dist-info/METADATA,sha256=U6WW0R6Wd6_-GEKOVtZhi59eT5gvyQhQsRymp1eQxWg,1574
394
- xmos_ai_tools-1.3.2.dev318.dist-info/WHEEL,sha256=3YnSHrJGcsAOZz-zTMMJY8fwyI77ZEUFm02H57sToUk,112
395
- xmos_ai_tools-1.3.2.dev318.dist-info/top_level.txt,sha256=YWegea73ll3tMlRWRdHJemUy2VOuEYDdOIaffxu_eF0,14
396
- xmos_ai_tools-1.3.2.dev318.dist-info/RECORD,,
390
+ xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.1.0.1.dylib,sha256=zIOqClZ44eKTbr9_yDEz6CSn2jIeVHZami0zkv--KAg,2359560
391
+ xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.dylib,sha256=zIOqClZ44eKTbr9_yDEz6CSn2jIeVHZami0zkv--KAg,2359560
392
+ xmos_ai_tools-1.4.1.dev1.data/data/bin/xcore-opt,sha256=geLOTu6qclL6tRdGH0ENdtQZqGM5X4jsBeib0y5x8Yw,286686440
393
+ xmos_ai_tools-1.4.1.dev1.dist-info/METADATA,sha256=MrYGS8CDLl1BEB3YGz_DfMgx8ywXxx5Jmu5OFJZyjWc,1572
394
+ xmos_ai_tools-1.4.1.dev1.dist-info/WHEEL,sha256=yyx1P4GMlu6A5tUMDhWs8PEnY8AIWOWoUTRz8ysfY2E,112
395
+ xmos_ai_tools-1.4.1.dev1.dist-info/top_level.txt,sha256=YWegea73ll3tMlRWRdHJemUy2VOuEYDdOIaffxu_eF0,14
396
+ xmos_ai_tools-1.4.1.dev1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.0.1)
2
+ Generator: setuptools (80.4.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: py3-none-macosx_10_15_universal2
5
5