Skip to content

Commit

Permalink
fixup! squash! Add trainable theta and discretization options
Browse files Browse the repository at this point in the history
  • Loading branch information
drasmuss committed Jun 22, 2021
1 parent 357044f commit ed73d4b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions keras_lmu/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def _cont2discrete_zoh(A, B):

# slice A/B back out of combined matrix
discrt_A = ms[: A.shape[0], : A.shape[1]]
discrt_B = ms[A.shape[0] :, : A.shape[1] :]
discrt_B = ms[A.shape[0] :, : A.shape[1]]

return discrt_A, discrt_B

Expand Down Expand Up @@ -623,8 +623,7 @@ class LMUFFT(tf.keras.layers.Layer):
step. If this value is smaller than the size of the input sequence, only that
number of steps will be represented at the time of prediction, however the
entire sequence will still be processed in order for information to be
projected to and from the hidden layer. If ``trainable_theta`` is enabled, then
theta will be updated during the course of training.
projected to and from the hidden layer.
hidden_cell : ``tf.keras.layers.Layer``
Keras Layer implementing the hidden component.
input_to_hidden : bool
Expand Down

0 comments on commit ed73d4b

Please sign in to comment.