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

Allow to slice learning rule error signal input. #1385

Merged
merged 1 commit into from
Apr 16, 2018

Conversation

jgosmann
Copy link
Collaborator

@jgosmann jgosmann commented Nov 17, 2017

Motivation and context:
#1310 added the possibility for error signals of arbitrary size in learning rules. But to combine multiple low-dimensional signal into higher-dimensional error signals, one had to got through a node. This PR adds the possibility to slice into the error signal to make this use case easier to use.

Fixes #1365.

Interactions with other PRs:
none

How has this been tested?
added a test

How long should this take to review?

  • Quick (less than 40 lines changed or changes are straightforward)

Types of changes:

  • Bug fix (non-breaking change which fixes an issue)?
  • New feature (non-breaking change which adds functionality)?

Checklist:

  • I have read the CONTRIBUTING.rst document.
  • [n/a] I have updated the documentation accordingly.
  • I have included a changelog entry.
  • I have added tests to cover my changes.
  • I have run the test suite locally and all tests passed.

@Seanny123
Copy link
Contributor

FYI, one of the Python 2.7 tests are failing because of a test tolerance error. It seems to be minimal, but I figured you'd want to look at it.

Copy link
Member

@drasmuss drasmuss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

This makes it easier to provide multiple error signal inputs.

Fixes #1365.
@tbekolay tbekolay merged commit afe8ccc into master Apr 16, 2018
@tbekolay tbekolay deleted the slice-learning-rule branch April 16, 2018 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Can't slice learning rule input?
4 participants