Guest User

Untitled

a guest
Jul 18th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. #change pd model to tflite
  2. bazel-bin/tensorflow/contrib/lite/toco/toco --input_file=model.pb --input_format=TENSORFLOW_GRAPHDEF --output_format=TFLITE --output_file=/tmp/mobile.tflite --inference_type=FLOAT --inference_input_type=FLOAT --input_arrays=input --output_arrays=Reshape --input_shapes=1,224,224,3
  3.  
  4. #build apk
  5. bazel build -c opt --cxxopt='--std=c++11' //tensorflow/examples/tensorflow-android-speech-kws/android:tensorflow_demo
Add Comment
Please, Sign In to add comment