Recall & Review
beginner
What is a convolution operation in the context of machine learning?
A convolution operation is a way to process data by sliding a small filter (kernel) over input data (like an image) to extract important features such as edges or textures.
Click to reveal answer
beginner
What does a kernel (filter) do in a convolution operation?
A kernel is a small matrix that moves over the input data and multiplies its values with the input values to highlight specific patterns or features.
Click to reveal answer
intermediate
How does stride affect the convolution operation?
Stride controls how many steps the kernel moves each time. A stride of 1 moves the kernel one pixel at a time, while a larger stride skips pixels, making the output smaller.
Click to reveal answer
intermediate
What is padding in convolution and why is it used?
Padding adds extra pixels (usually zeros) around the input edges to control the output size and help the kernel cover edge pixels properly.
Click to reveal answer
beginner
In TensorFlow, which function is commonly used to perform a 2D convolution?
The function tf.nn.conv2d is used to perform 2D convolution on input data like images in TensorFlow.
Click to reveal answer
What does the kernel do during convolution?
✗ Incorrect
The kernel slides over the input and multiplies its values with input values to detect features.
What happens if you increase the stride in a convolution operation?
✗ Incorrect
Increasing stride makes the kernel jump more pixels, reducing the output size.
Why do we use padding in convolution?
✗ Incorrect
Padding adds pixels around input edges to keep output size the same or control it.
Which TensorFlow function performs 2D convolution?
✗ Incorrect
tf.nn.conv2d is the function used for 2D convolution in TensorFlow.
What is the main purpose of convolution in image processing?
✗ Incorrect
Convolution helps extract features such as edges and textures from images.
Explain how a convolution operation works on an image using a kernel.
Think about how a small window moves over a picture to find patterns.
You got /4 concepts.
Describe the roles of stride and padding in convolution operations.
Consider how moving faster or adding borders changes the result.
You got /4 concepts.