Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ZPlus gradient_mapper for negative inputs #100

Merged
merged 1 commit into from
Jan 19, 2022
Merged

Conversation

chr5tphr
Copy link
Owner

  • ZPlus rule was wrong for negative inputs: each output partition used its
    own respective sum for the denominator (i.e. like alpha-beta would
    handle positive and negative outputs)
  • for the correct ZPlus the denominator of each (2) output partitions is the sum
    of all positive outputs

- ZPlus rule was wrong for negative inputs: each output partition used its
  own respective sum for the denominator (i.e. like alpha-beta would
  handle positive and negative outputs)
- for the correct ZPlus the denominator of each (2) output partitions is the sum
  of all positive outputs
@chr5tphr chr5tphr merged commit b35b457 into master Jan 19, 2022
@chr5tphr chr5tphr deleted the zplus-negative-fix branch January 19, 2022 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant