mirror of
https://github.com/luxfhe/ml-sdk.git
synced 2026-10-30 18:13:04 +00:00
Machine Learning with FHE - fork of Zama Concrete-ML - Built-in FHE-friendly ML models - scikit-learn compatible API - PyTorch model conversion - Quantization-aware training
25 lines
453 B
Bash
Executable File
25 lines
453 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
DIRECTORY=$1
|
|
|
|
FILES=$(find "$DIRECTORY" -name "*.md")
|
|
|
|
for f in ${FILES}
|
|
do
|
|
# sed -i is different on mac and on linux
|
|
# sed -i is different on mac and on linux
|
|
sed "s@\%5C\_@\_@g" "$f" > tmp.file.md
|
|
mv tmp.file.md "$f"
|
|
done
|
|
|
|
FILES=$(find "$DIRECTORY" -name "*.rst")
|
|
|
|
for f in ${FILES}
|
|
do
|
|
# sed -i is different on mac and on linux
|
|
sed "s@\%5C\_@\_@g" "$f" > tmp.file.rst
|
|
mv tmp.file.rst "$f"
|
|
done
|