Refactor cross_entropy
using log_softmax
and nll_loss
reference…
#13
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: Label merge conflicts | |
on: | |
push: | |
branches: ["main"] | |
pull_request_target: | |
types: ["synchronize", "reopened", "opened"] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
triage-conflicts: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: mschilde/auto-label-merge-conflicts@591722e97f3c4142df3eca156ed0dcf2bcd362bd | |
with: | |
CONFLICT_LABEL_NAME: "has conflicts" | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
MAX_RETRIES: 3 | |
WAIT_MS: 5000 |