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...
Clarethaclaretta asked 7/2, 2019 at 6:41
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,...
Armenian asked 17/1, 2019 at 18:28
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 ...
Selfdrive asked 5/4, 2016 at 15:23
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...
Ridglea asked 14/3, 2017 at 2:57
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...
Patin asked 10/7, 2017 at 16:4
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 ...
Butter asked 22/7, 2016 at 10:59
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.