Added Create Custom Config Ops Script
Browse files- create-custom-ops-config.sh +12 -0
create-custom-ops-config.sh
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/usr/bin/env bash
|
2 |
+
|
3 |
+
# https://onnxruntime.ai/docs/build/custom.html
|
4 |
+
|
5 |
+
git clone https://huggingface.co/csukuangfj/sherpa-onnx-streaming-zipformer-en-2023-06-26
|
6 |
+
|
7 |
+
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
8 |
+
|
9 |
+
python3 \
|
10 |
+
$DIR/tools/python/create_reduced_build_config.py \
|
11 |
+
sherpa-onnx-streaming-zipformer-en-2023-06-26 \
|
12 |
+
ops.config
|