Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

LSTM Calculations 1 point possible ( graded ) Let all the neural network's weight matrices, the hidden state, and the memory cell be a scalar

LSTM Calculations
1 point possible (graded)
Let all the neural network's weight matrices, the hidden state, and the memory cell be a scalar 1. Let the new
x-value be 5. Calculate the value of the new hidden state. Round sigmoid to 1 or 0, and round tanh to -1 or
1.
ft=sigmoid(Wf,hht-1+Wf,xxt) forget gate
it=sigmoid(Wi,hht-1+Wi,xxt) input gate
ot=sigmoid(Wo,hht-1+Wo,xxt) output gate
ct=fto.ct-1+ito.tanh(Wc,hht-1+Wc,xxt) memory
ht=oto.tanh(ct) visible state
-1
1
0
5
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Select Healthcare Classification Systems And Databases

Authors: Katherine S. Rowell, Ann Cutrell

1st Edition

0615909760, 978-0615909769

More Books

Students also viewed these Databases questions