Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 8 [ 4 pts ] : Figure 6 shows a ResNet block where the input a [ l ] is a two - dimensional

Question 8[4 pts]: Figure 6 shows a ResNet block where the input a[l] is a two-dimensional
vector: [0.5,-0.5]. The two layers inside the ResNet block consist of two dense layers, each
having two nodes. The weight values for the first layer are [-0.3,0.7] and [0.5,-0.4], respectively.
The weight values for the second layer are [0.7,-0.3] and [-0.5,-0.3], respectively. Ignore bias
and use ReLu() as the activation functions for all nodes.
Calculate output of the first layer of the ResNet block, i.e., a[l+1](show calculations)[1 pt]
Calculate output of the second layer of the ResNet block, i.e., a[l+2](show calculations)[1 pt]
If the skip connection of the ResNet block does not exist, what is the output of the block, i.e.,
a[l+2](show calculations)[1 pt]
Explain motivation of ResNet block (i.e., what is the learning objective of the ResNet block)[1 pt]
Figure 6
Question 9[4 pts]: Figure 7 shows unfolded LSTM network with two consecutive cells. Using
ht and ct to denote output and cell memory of the cell at time point t. Use ft, it, ot to denote forget
gate, input gate, output gate of the cell at time point t. Use t to denote candidate layer output at
time point t.
1. Use mathematical equations to show the relationship between cell memory at time
point t, with respect to cell memory and output at time point t-5[2 pts]
2. Use
Ct to denote change of network error with respect to cell state at time point t, i.e.,
. Derive relationship between
Ct-5 and
Ct [2 pts]V

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions