XMOS AI Tools
Project description
XMOS AI Tools
Usage
Using xformer
from xmos_ai_tools import xformer as xf
xf.convert("source model path", "converted model path", params=None)
Using the xcore tflm host interpreter
from xmos_ai_tools import xcore_tflm_host_interpreter as xtflm
ie = xtflm.XTFLMInterpreter(model_content=xformed_model)
ie.set_input_tensor(0, input_tensor)
ie.invoke()
xformer_outputs = []
for i in range(num_of_outputs):
xformer_outputs.append(ie.get_output_tensor(i))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for xmos_ai_tools-0.1.3-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0d42600b15a1157cb9672388a147444f6a80406a1519b425aa806515c46e167 |
|
MD5 | 3a54f0cadff717a060d0f801525ed37b |
|
BLAKE2b-256 | e0153827a6e37b7d8439bb6af694b618c443caf86e80f062838d928cbd06607b |
Close
Hashes for xmos_ai_tools-0.1.3-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0be5c5b3639820ef6085446ba42e8a9217faae124382661b071e39ce35be8705 |
|
MD5 | 49d07f24c4bc517a9ca8f4b298c0c429 |
|
BLAKE2b-256 | aac15c2a62e4622564eb0b820b20b3c3505307d706f5fc5c9438ea1810bde1ca |
Close
Hashes for xmos_ai_tools-0.1.3-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74f0ad8676d903bb65084254b9fc1fd325e94dc3e9993450a0299c282c9ff25d |
|
MD5 | 865b34dfd3c56df2dd345f9ac4a06d4d |
|
BLAKE2b-256 | 34678e75cf6b2640b78e0b42b9154b22b458f9abf4f131973d3f2d90faf6b968 |