feat: torch module output shape calculator #169
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: test | |
on: | |
push: | |
branches: ["master"] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- python: "3.10" | |
torch: "2.0.1" | |
torchvision: "0.15.2" | |
steps: | |
- uses: LutingWang/todd/.github/actions/checkout-todd@master | |
with: | |
lfs: true | |
- uses: actions/setup-python@master | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Test | |
run: | | |
pip install torch==${{ matrix.torch }} torchvision==${{ matrix.torchvision }} | |
pip install .[test] | |
coverage run | |
coverage xml && coverage report -m | |
- uses: codecov/codecov-action@main |