Build TensorFlow Lite in Docker

Viewed 60

I am following the tutorial to build TensorFlow Lit from tensorflow website (https://www.tensorflow.org/lite/guide/build_arm). When I am running the following command:

bazel build --config=elinux_aarch64 -c opt //tensorflow/lite/c:libtensorflowlite_c.so

in TensorFlow Docker, I am getting this error:

ERROR: The 'build' command is only supported from within a workspace (below a directory having a WORKSPACE file).

I install Bazel from the following documentation https://docs.bazel.build/versions/4.2.1/install-ubuntu.html.

I google it and can not find any solution for my problem. Thank you for guiding me in solving this problem.

0 Answers
Related