Optimise BPTT sequence batching inside NeuralNetwork training loop an… #34
This file contains hidden or 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: Python Binding CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build-and-verify-python: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python 3.12 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install pybind11 dependency | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install pybind11 | |
| - name: Add MSBuild to PATH | |
| uses: microsoft/setup-msbuild@v2 | |
| - name: Build Python Binding Module | |
| run: msbuild python/neuralnetwork_py.sln /p:Configuration=Release /p:Platform=x64 | |
| env: | |
| PYTHON_HOME: ${{ env.pythonLocation }} | |
| - name: Verify Module Import and Functionality | |
| run: python python/import_check.py |