Convolution Flashcards

1
Q

What is the mathematical operation called convolution?

A

Sliding window dot product between a kernel, a small matrix, and the pixel matrix.
Reminder: dot product is the summation of element-wise multiplication:
a * b = sum(a_i + b_i)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the size of the of the output for convolution between a picture of N pixels and a kernel size of K

A

N - K + 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Feature Map / Activation Map

A

The output of the convolution between an input and a kernel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Convolution Layer

A

a convolution layer computes the convolution between k kernels and its input with optionally a bias, yielding k outputs.
The learned parameters are the kernels and the biases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Pooling Layer

A

Reduces the dimensionality of its input by an unlearned, simple filter.

Max Pooling: take the maximum value from a given window (for example, a 2x2 window from a 4x4 matrix).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Name the components of a CNN

A
  1. Convolution Layers
  2. Pooling Layers
  3. Fully Connected Layer

The fully connected layer is designed to flatten the output to the desired dimensionality. For classification, it will undergo a softmax to get a probablisitic output.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly