适配旧版libax_engine.so没有AX_ENGINE_GetGroupIOInfoCount接口,支持跨线程推理,axcl的typo, 更新了一下日志,更新一下文档 #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Format Code | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "16" | |
- name: Install Prettier | |
run: | | |
npm install --save-dev prettier | |
- name: Format YAML and Markdown files | |
run: | | |
npx prettier --write "**/*.yml" "**/*.md" | |
- name: Check for changes | |
id: check_changes | |
run: | | |
git diff --exit-code || echo "Changes detected" | |
- name: Commit changes | |
if: steps.check_changes.outputs.exit_code != 0 | |
run: | | |
git config --local user.name "github-actions" | |
git config --local user.email "github-actions@github.com" | |
git add . | |
git commit -m "Format YAML and Markdown files with Prettier" || echo "No changes to commit" | |
git push |