Intro to PyTorch Flashcards

(20 cards)

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

What is Deep Learning?

A

A type of machine learning that uses neural networks to learn patterns from large datasets.

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

How does Deep Learning differ from traditional programming?

A

In DL, the model learns rules from data and outputs, instead of being given rules.

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

When should you use Deep Learning?

A

When rules are complex, environment is dynamic, and lots of data is available.

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

Name some applications of Deep Learning.

A

Image recognition, speech-to-text, translation, sentiment analysis, recommendation systems.

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

What are the three main learning paradigms?

A

Supervised learning, unsupervised learning, and transfer learning.

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

What is a Neural Network?

A

A layered structure of nodes that learns to map input data to outputs using learned weights.

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

What is PyTorch?

A

An open-source deep learning framework developed by Facebook used for building and training neural networks.

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

Why is PyTorch popular?

A

Pythonic, GPU-compatible, fast, research-friendly, and widely used in industry.

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

What is a GPU?

A

Graphics Processing Unit – it performs fast numerical computations, especially matrix operations.

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

What is a Tensor?

A

A multi-dimensional array used as the basic data structure in PyTorch.

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

What are the dimensions of a tensor used for images?

A

Typically 3D or 4D: [channels, height, width] or [batch, channels, height, width].

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

How is a tensor different from a NumPy array?

A

Tensors can run on GPUs and are used for auto-differentiation in PyTorch.

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

What are the key steps in a PyTorch workflow?

A

Create tensors, preprocess data, build model, train, predict, evaluate, save/load.

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

What Python library do you import to use PyTorch?

A

import torch

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

Which week covers Supervised Learning in PyTorch?

17
Q

Which week includes your Test 2?

18
Q

Where can you run PyTorch online?

A

On Google Colab: colab.google.com

19
Q

What function is used to create a tensor in PyTorch?

A

torch.tensor([…])

20
Q

What makes PyTorch suitable for research?

A

It’s dynamic, easy to debug, and supports fast prototyping.