Skip to content

Commit

Permalink
Update tutorial_learning2learn.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KetpuntoG committed Sep 13, 2023
1 parent 8a6d7c7 commit 52de7e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions demonstrations/tutorial_learning2learn.py
Original file line number Diff line number Diff line change
Expand Up @@ -896,10 +896,10 @@ def call(self, inputs):
rnn0 = QRNN(graph=_graph)

# Create some input layers to feed the data
inp_cost = tf.keras.layers.Input(shape=(1,), dtype=tf.float64)
inp_params = tf.keras.layers.Input(shape=(2,), dtype=tf.float64)
inp_h = tf.keras.layers.Input(shape=(2,), dtype=tf.float64)
inp_c = tf.keras.layers.Input(shape=(2,), dtype=tf.float64)
inp_cost = tf.keras.layers.Input(shape=(1,))
inp_params = tf.keras.layers.Input(shape=(2,))
inp_h = tf.keras.layers.Input(shape=(2,))
inp_c = tf.keras.layers.Input(shape=(2,))

# Manually creating the recurrent loops. In this case just three iterations are used.
out0 = rnn0([inp_cost, inp_params, inp_h, inp_c])
Expand Down

0 comments on commit 52de7e6

Please sign in to comment.