Skip to content

replace Reshape layer by torch.nn.UnShuffle for tests #214

replace Reshape layer by torch.nn.UnShuffle for tests

replace Reshape layer by torch.nn.UnShuffle for tests #214

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
checks:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
include:
- python-version: 3.9
pt-version: 1.13.1
- python-version: "3.10"
pt-version: 2.1.2
- python-version: "3.11"
pt-version: 2.4.1
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Test with tox (Python ${{ matrix.python-version }} - Torch ${{ matrix.pt-version }})
run: tox -e py$(echo ${{ matrix.python-version }} | tr -d .)-pt$(echo ${{ matrix.pt-version }})