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

Extend SliceNdLayer to use a layer as the size argument #670

Merged
merged 5 commits into from
Sep 20, 2021

Conversation

robin-p-schmitt
Copy link
Contributor

Right now, start and size need to have the same shape when they are given as layers. This suffices for my use cases but we can also add support for different shapes if you think we need them.

returnn/tf/layers/basic.py Outdated Show resolved Hide resolved
returnn/tf/layers/basic.py Outdated Show resolved Hide resolved
returnn/tf/layers/basic.py Outdated Show resolved Hide resolved
@albertz

This comment has been minimized.

returnn/tf/layers/basic.py Outdated Show resolved Hide resolved
returnn/tf/layers/basic.py Outdated Show resolved Hide resolved
returnn/tf/layers/basic.py Outdated Show resolved Hide resolved
@albertz

This comment has been minimized.

Copy link
Member

@albertz albertz 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 now

@albertz albertz merged commit 3f1554d into rwth-i6:master Sep 20, 2021
@albertz
Copy link
Member

albertz commented Sep 21, 2021

Just for reference: Related was #661 and #635

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.

2 participants