|
|
@@ -14,10 +14,16 @@ clean() {
|
|
|
|
|
|
sync() {
|
|
|
bold "mnn sync"
|
|
|
- [ -d "./third_party/source/mnn" ] || git clone --quiet https://github.com/alibaba/MNN.git "./third_party/source/mnn"
|
|
|
- pushd "./third_party/source/mnn" > /dev/null
|
|
|
- git pull --quiet --prune
|
|
|
- popd > /dev/null
|
|
|
+ mkdir -p "./third_party/source/mnn/schema/default"
|
|
|
+ curl --silent --location --output "./third_party/source/mnn/schema/default/BasicOptimizer.fbs" "https://github.com/alibaba/MNN/blob/master/schema/default/BasicOptimizer.fbs?raw=true"
|
|
|
+ curl --silent --location --output "./third_party/source/mnn/schema/default/CaffeOp.fbs" "https://github.com/alibaba/MNN/blob/master/schema/default/CaffeOp.fbs?raw=true"
|
|
|
+ curl --silent --location --output "./third_party/source/mnn/schema/default/GpuLibrary.fbs" "https://github.com/alibaba/MNN/blob/master/schema/default/GpuLibrary.fbs?raw=true"
|
|
|
+ curl --silent --location --output "./third_party/source/mnn/schema/default/MNN.fbs" "https://github.com/alibaba/MNN/blob/master/schema/default/MNN.fbs?raw=true"
|
|
|
+ curl --silent --location --output "./third_party/source/mnn/schema/default/Tensor.fbs" "https://github.com/alibaba/MNN/blob/master/schema/default/Tensor.fbs?raw=true"
|
|
|
+ curl --silent --location --output "./third_party/source/mnn/schema/default/TensorflowOp.fbs" "https://github.com/alibaba/MNN/blob/master/schema/default/TensorflowOp.fbs?raw=true"
|
|
|
+ curl --silent --location --output "./third_party/source/mnn/schema/default/TFQuantizeOp.fbs" "https://github.com/alibaba/MNN/blob/master/schema/default/TFQuantizeOp.fbs?raw=true"
|
|
|
+ curl --silent --location --output "./third_party/source/mnn/schema/default/Type.fbs" "https://github.com/alibaba/MNN/blob/master/schema/default/Type.fbs?raw=true"
|
|
|
+ curl --silent --location --output "./third_party/source/mnn/schema/default/UserDefine.fbs" "https://github.com/alibaba/MNN/blob/master/schema/default/UserDefine.fbs?raw=true"
|
|
|
}
|
|
|
|
|
|
schema() {
|