🧠 Quiz: What is the fundamental data structure for all computations in PyTorch?
A) NumPy Array
B) PyTorch Tensor
C) Pandas DataFrame
D) Python List
✅ Correct answer: B
Explanation: PyTorch Tensors are multi-dimensional arrays, similar to NumPy arrays, but with the added ability to run on GPUs for accelerated computation and support for automatic differentiation, which is crucial for neural network training.
#PyTorch #DeepLearning #Tensors
---
By: @DataScienceQ ✨
A) NumPy Array
B) PyTorch Tensor
C) Pandas DataFrame
D) Python List
✅ Correct answer: B
Explanation: PyTorch Tensors are multi-dimensional arrays, similar to NumPy arrays, but with the added ability to run on GPUs for accelerated computation and support for automatic differentiation, which is crucial for neural network training.
#PyTorch #DeepLearning #Tensors
---
By: @DataScienceQ ✨
❤1👏1
❔ Interview question
What is the purpose of a pooling layer in a Convolutional Neural Network (CNN)?
Answer:A pooling layer (like Max Pooling or Average Pooling) is used to progressively reduce the spatial size (width and height) of the feature maps. This serves two main purposes: 1) It reduces the number of parameters and computational complexity, which helps to control overfitting. 2) It introduces a degree of translation invariance, meaning the network becomes more robust to small shifts and distortions in the position of features in the input image.
tags: #interview #cnn #deeplearning
━━━━━━━━━━━━━━━
By: @DataScienceQ ✨
What is the purpose of a pooling layer in a Convolutional Neural Network (CNN)?
Answer:
tags: #interview #cnn #deeplearning
━━━━━━━━━━━━━━━
By: @DataScienceQ ✨