A thinly veiled wrapper around tflite and libedgetpu from Google
bash
$ git clone https://github.com/hotg-ai/librunecoral
$ cd librunecoral
$ git submodule update --init --recursive
```bash $ make docker-image $ docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE runecoral-cross-debian-stretch latest b431b6fa5895 7 hours ago 2.94GB
```
bash
$ docker run --rm -it -v $PWD:$PWD \
-v $HOME:$HOME \
-v /etc/group:/etc/group:ro \
-v /etc/passwd:/etc/passwd:ro \
-v /etc/localtime:/etc/localtime:ro \
-u $(id -u ${USER}):$(id -g ${USER}) \
-e HOME=$HOME \
-e USER=$USER \
tinyverseml/runecoral-cross-debian-stretch
user@39b50cb9fe24:/src/librunecoral$ CPU=aarch64 make
user@39b50cb9fe24:/src/librunecoral$ ls dist/include
runecoral.h
user@39b50cb9fe24:/src/librunecoral$ ls dist/lib/linux/aarch64
librunecoral.so
Or use this one-liner:
$ docker run --rm -it -v $PWD:$PWD \
-v $HOME:$HOME \
-v /etc/group:/etc/group:ro \
-v /etc/passwd:/etc/passwd:ro \
-v /etc/localtime:/etc/localtime:ro \
-u $(id -u ${USER}):$(id -g ${USER}) \
-e HOME=$HOME \
-e USER=$USER \
-e CPU=k8 \
--workdir $PWD \
tinyverseml/runecoral-cross-debian-stretch \
make