Comments (2)
@arvoelke does the absence of support for go_backwards
mean that using LMU in Bidirectional manner is not going to perform as expected using the standard keras Bidirectional wrapper, but only if using LMU
layer not LMUCell
?
Is something something like this going to work as expected?
x = layers.Bidirectional(tf.keras.layers.RNN(
keras_lmu.LMUCell(
memory_d=1,
order=64 ,
theta=maxlen,
hidden_cell=tf.keras.layers.SimpleRNNCell(units=64),
hidden_to_memory=False,
memory_to_memory=False,
input_to_hidden=True,
kernel_initializer="ones",
)))(x)
from keras-lmu.
That example should work as expected. If you were to try tf.keras.layers.Bidirectional(keras_lmu.LMU(...))
instead then you should see a KeyError: 'go_backwards'
(at least I do on tensorflow==2.3.1
).
from keras-lmu.
Related Issues (20)
- phased_lstm_keras problem? add_weight () got multiple values for argument 'name' HOT 3
- acc -> accuracy HOT 6
- Support sequences with irregular time-steps
- allow_growth to permit parallel notebook kernels? HOT 2
- The Mackey Glass experiment seems to be predicting the past HOT 1
- Remove/replace LMUCellODE and LMUCellGating HOT 1
- Upgrade to TensorFlow 2 HOT 2
- mackey-glass problem with LMU giving out the error with the recent updates of keras-lmu 0.2.0 and 0.3.0 versions HOT 6
- AttributeError: 'LMUFFT' object has no attribute 'kernel' HOT 2
- Signatures in docs are *args, **kwargs which hides all default values
- LMU allows the input to have ndim>3 (and then fails later)
- Register LMUCell with Keras
- Opting in to supports_masking
- Error when loading model with tf.keras.models.load_model HOT 2
- Feature - parallel training HOT 3
- `LMUFFT` cannot be created if `hidden_cell` is `Dense` HOT 1
- Legendre memory unit (LMU) for normal MNIST
- Please expand time series prediction examples HOT 3
- Paths to DropoutRNNCellMixin and BaseRandomLayer not found (keras-lmu 0.7.0) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keras-lmu.