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

FoldLeft Term #133

Open
riedelcastro opened this issue Feb 24, 2015 · 0 comments
Open

FoldLeft Term #133

riedelcastro opened this issue Feb 24, 2015 · 0 comments

Comments

@riedelcastro
Copy link
Contributor

For LSTMs and other RNNs (and possibly more generally) it's necessary to recursively construct terms. This can be done already, but wouldn't be efficient. It would be great to have a term like

class FoldLeft[E<:Dom](elements:Term[VarSeqDom[E]], op: (Term[E],Term[A]) => Term[A] )
  extends Term[A]
@riedelcastro riedelcastro changed the title Reduce Term FoldLeft Term Mar 25, 2015
rockt added a commit that referenced this issue Oct 23, 2015
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

No branches or pull requests

1 participant