Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tsoding/nn.h Loading
base: master
Choose a base ref
...
head repository: Synray/nn.h Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Aug 15, 2023

  1. Small backprop optimization, fix gym.h

    Instead of averaging every parameter's gradient at the end, just average
    the output gradient at the start, reducing the number of divisions. This
    is equivalent because the `1/n` term propagates backwards to all the
    gradients.
    Synray committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    5f01934 View commit details
    Browse the repository at this point in the history
Loading