Question: Problem 2 ( Practice of vector based backpropagation ) . You are required to calculate the gradients of f ( x , W ) =

Problem 2
(Practice of vectorbased backpropagation).
You are required to calculate the gradients of f(x, W)= Wx, with respect to W and x.
Set w =[
212
131
747
] and x =[
1
0
1
]
(a) Use computational graph for calculation
(b) Based on(a), write a program to implement the computational graph and verify your answer in (a).
You can use vectorized approach to simply your codes.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!