---
# System prepended metadata

title: Homework 5
tags: [homework, NTHU]

---

# Homework 5

> National Tsing Hua University
> Fall 2022 11110IPT 5530
> Deep Learning in Biomedical Optical Imaging

###### tags: `homework` `NTHU`

:::info
- **Deadline:** ⚠️2022.11.14 23:59
- **Name:** 楊長育
- **Student ID:** 110001601
:::

[ToC]

## 1. Convolutional Neural Networks: Step by Step

### Exercise 1 - zero_pad (9pt)
![](https://i.imgur.com/fJTKhkr.png)
![](https://i.imgur.com/PuQEGQk.png)
![](https://i.imgur.com/b7EoPVA.png)

### Exercise 2 - conv_single_step (9pt)
![](https://i.imgur.com/o8FSIhX.png)

### Exercise 3 - conv_forward (9pt)
![](https://i.imgur.com/3u13NRd.png)
![](https://i.imgur.com/Xr8BHsS.png)

### Exercise 4 - pool_forward (9pt)
![](https://i.imgur.com/e6yR0LN.png)
![](https://i.imgur.com/2jeuzxa.png)
![](https://i.imgur.com/OjuzPyg.png)
![](https://i.imgur.com/CWKVcJP.png)

### Exercise 5 - conv_backward (9pt)
![](https://i.imgur.com/bGoXGfJ.png)
![](https://i.imgur.com/qBSgYDG.png)
![](https://i.imgur.com/u2Ajy2s.png)

### Exercise 6 - create_mask_from_window (9pt)
![](https://i.imgur.com/1t3K6FM.png)
![](https://i.imgur.com/K0gPsaP.png)

### Exercise 7 - distribute_value (9pt)
![](https://i.imgur.com/2muzlaW.png)
![](https://i.imgur.com/a9M90fx.png)

### Exercise 8 - pool_backward (9pt)
![](https://i.imgur.com/WW79F69.png)
![](https://i.imgur.com/5QKA1QE.png)
![](https://i.imgur.com/KT8TgTE.png)


---

## 2. Residual Networks

### Exercise 1 - identity_block (9pt)
![](https://i.imgur.com/m8ennlb.png)
![](https://i.imgur.com/PXZHqD1.png)

### Exercise 2 - convolutional_block (9pt)
![](https://i.imgur.com/DCL1TkB.png)
![](https://i.imgur.com/CcoWWDm.png)
![](https://i.imgur.com/B7iwi4M.png)

### Exercise 3 - ResNet50 (10pt)
![](https://i.imgur.com/EmwhOub.png)
![](https://i.imgur.com/kcEsLuG.png)
![](https://i.imgur.com/iiGMAHg.png)
![](https://i.imgur.com/oNNKWiL.png)
![](https://i.imgur.com/JzfMrzj.png)
![](https://i.imgur.com/KW2U5aH.png)
![](https://i.imgur.com/RT0W9ji.png)
