- #!/bin/bash
- # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
- #
- cd ../src/main/java/com/baidu/paddle/inference
- javac Config.java Predictor.java Tensor.java
- cd ../../../../../../../../
- cd paddle
- cp bulid/libpaddle_inference.so libpaddle_inference.so
- pwd
- jar cvf JavaInference.jar -C ../src/main/java/ .
|