Add BatchNorm and LayerNorm to the simple CNN, with explanation. #1
Workflow file for this run
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: Lint | |
on: | |
push: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
ci: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.9", "3.10", "3.11"] | |
# poetry-version: ["1.8.2"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install the latest version of rye | |
uses: eifinger/setup-rye@v2 | |
- name: Use UV instead of pip | |
run: rye config --set-bool behavior.use-uv=true | |
- name: Install dependencies | |
run: | | |
rye sync --no-lock | |
- name: Run the lint | |
run: rye run ruff check pybiscus/ | |
- name: Run the format | |
run: rye run ruff format pybiscus/ |