gated-recurrent-unit Questions

3

Solved

I have a neural network with the following structure: class myNetwork(nn.Module): def __init__(self): super(myNetwork, self).__init__() self.bigru = nn.GRU(input_size=2, hidden_size=100, batch_f...
Voguish asked 28/8, 2020 at 5:32

2

Solved

Why the number of parameters of the GRU layer is 9600? Shouldn't it be ((16+32)*32 + 32) * 3 * 2 = 9,408 ? or, rearranging, 32*(16 + 32 + 1)*3*2 = 9408 model = tf.keras.Sequential([ tf.keras.l...
Bollinger asked 2/8, 2019 at 1:46

1

I have created a stacked keras decoder model using the following loop: # Create the encoder # Define an input sequence. encoder_inputs = keras.layers.Input(shape=(None, num_input_features)) # Cre...

2

i was just testing this model from kaggle post this model suppose to predict 1 day ahead from given set of last stocks. After tweaking few parameters i got surprisingly good result, as you can see....
Maybellemayberry asked 12/10, 2018 at 11:50

1

This is the API I am looking at, https://pytorch.org/docs/stable/nn.html#gru It outputs: output of shape (seq_len, batch, num_directions * hidden_size) h_n of shape (num_layers * num_directions,...

3

Has anyone been able to mix feedforward layers and recurrent layers in Tensorflow? For example: input->conv->GRU->linear->output I can imagine one can define his own cell with feedforward layers ...

1

with tf.variable_scope('forward'): cell_img_fwd = tf.nn.rnn_cell.GRUCell(hidden_state_size, hidden_state_size) img_init_state_fwd = rnn_img_mapped[:, 0, :] img_init_state_fwd = tf.multiply( img...

1

Solved

Binary Classification Problem in Tensorflow: I have gone through the online tutorials and trying to apply it on a real-time problem using gated-recurrent unit (GRU). I have tried all the possibili...

2

Solved

I am trying RNN on a variable length multivariate sequence classification problem. I have defined following function to get the output of the sequence (i.e. the output of RNN cell after the final ...

1

Solved

Is there a canonical way to maintain a stateful LSTM, etc. with Tensorflow Serving? Using the Tensorflow API directly this is straightforward - but I'm not certain how best to accomplish persistin...
Incarnadine asked 30/4, 2017 at 19:53
1

© 2022 - 2024 — McMap. All rights reserved.