xmos-ai-tools 1.3.2.dev166__py3-none-macosx_10_15_universal2.whl → 1.3.2.dev171__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/lib/libhost_xtflitemicro.a +0 -0
- xmos_ai_tools/runtime/lib/libxtflitemicro.a +0 -0
- xmos_ai_tools/xformer/__init__.py +3 -3
- {xmos_ai_tools-1.3.2.dev166.dist-info → xmos_ai_tools-1.3.2.dev171.dist-info}/METADATA +2 -2
- {xmos_ai_tools-1.3.2.dev166.dist-info → xmos_ai_tools-1.3.2.dev171.dist-info}/RECORD +8 -8
- {xmos_ai_tools-1.3.2.dev166.data → xmos_ai_tools-1.3.2.dev171.data}/data/bin/xcore-opt +0 -0
- {xmos_ai_tools-1.3.2.dev166.dist-info → xmos_ai_tools-1.3.2.dev171.dist-info}/WHEEL +0 -0
- {xmos_ai_tools-1.3.2.dev166.dist-info → xmos_ai_tools-1.3.2.dev171.dist-info}/top_level.txt +0 -0
Binary file
|
Binary file
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import subprocess
|
2
2
|
import typing
|
3
3
|
from pathlib import Path
|
4
|
-
from typing import Union, List, Optional
|
4
|
+
from typing import Union, List, Optional, Tuple
|
5
5
|
from .flash import generate_flash
|
6
6
|
import re
|
7
7
|
|
@@ -13,12 +13,12 @@ __arena_size = 0
|
|
13
13
|
def convert(
|
14
14
|
filename: Union[str, Path],
|
15
15
|
outfile: Union[str, Path],
|
16
|
-
params: Optional[
|
16
|
+
params: Optional[List[Tuple[str, Optional[str]]]],
|
17
17
|
) -> int:
|
18
18
|
args: List[str] = ["xcore-opt", "-o", str(outfile)]
|
19
19
|
|
20
20
|
if params is not None:
|
21
|
-
for key, val in params
|
21
|
+
for key, val in params:
|
22
22
|
if len(key) > 1:
|
23
23
|
flag: str = "--" + str(key)
|
24
24
|
else:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: xmos_ai_tools
|
3
|
-
Version: 1.3.2.
|
3
|
+
Version: 1.3.2.dev171
|
4
4
|
Summary: XMOS AI Tools
|
5
5
|
Home-page: https://github.com/xmos/ai_tools
|
6
6
|
Author: XMOS
|
@@ -30,4 +30,4 @@ Requires-Dist: tflite>=2.4.0
|
|
30
30
|
Documentation
|
31
31
|
-------------
|
32
32
|
|
33
|
-
Click [here](https://github.com/xmos/ai_tools/blob/
|
33
|
+
Click [here](https://github.com/xmos/ai_tools/blob/ec3f10e28d539b426f004d92020f68140c69399d/README.md) for documentation on using xmos-ai-tools to deploy AI models on xcore.
|
@@ -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
|
384
|
-
xmos_ai_tools/xformer/__init__.py,sha256=
|
382
|
+
xmos_ai_tools/runtime/lib/libhost_xtflitemicro.a,sha256=AK0699h889AcJYbvNM5Fv2pHHJhPPnAdFl5_TVBFjHg,2456056
|
383
|
+
xmos_ai_tools/runtime/lib/libxtflitemicro.a,sha256=-40MQxXTOKI1l7dQavo2926IuXrM9JJ8bDq7Pmh2i0I,71406492
|
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
389
|
xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.1.0.1.dylib,sha256=StYvfmbui7BuJiJqdEPtEVfFcl5d-dAbDa8OjiXO58A,2356152
|
390
390
|
xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.dylib,sha256=StYvfmbui7BuJiJqdEPtEVfFcl5d-dAbDa8OjiXO58A,2356152
|
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.
|
391
|
+
xmos_ai_tools-1.3.2.dev171.data/data/bin/xcore-opt,sha256=bSU3fXo9SAng5A337D1trF8qQ12PdK6GsFPpM-CCZvk,284220632
|
392
|
+
xmos_ai_tools-1.3.2.dev171.dist-info/METADATA,sha256=uQqJh07wwi1co1Ui0ignuUGhvEiNcr5L0-3848IlIyo,1342
|
393
|
+
xmos_ai_tools-1.3.2.dev171.dist-info/WHEEL,sha256=k5OKkghyzmayaeBChGJITyp38URUgsagFDSxWfgDVa0,112
|
394
|
+
xmos_ai_tools-1.3.2.dev171.dist-info/top_level.txt,sha256=YWegea73ll3tMlRWRdHJemUy2VOuEYDdOIaffxu_eF0,14
|
395
|
+
xmos_ai_tools-1.3.2.dev171.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|