more optimisation and deep learning frameworks Flashcards

(12 cards)

1
Q

What are key hyperparameters in deep learning optimisation?

A

Learning rate, momentum, batch size, optimiser type, learning rate schedule.

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

What is the benefit of using deep learning frameworks?

A

They automate gradient computation, training, and GPU acceleration.

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

What does PyTorch offer as a DL framework?

A

Dynamic computation graphs and Pythonic design for flexibility.

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

What is the purpose of PyTorch’s nn.Module class?

A

To define and organise model architecture and parameters.

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

What is the role of .backward() in PyTorch?

A

It computes gradients via backpropagation.

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

How does TensorFlow compute gradients?

A

Using tf.GradientTape to record and compute derivatives automatically.

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

What is the role of an optimiser in a DL framework?

A

It updates model parameters using computed gradients.

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

What kind of programming style does JAX encourage?

A

Functional programming with pure functions and immutable parameters.

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

What is JAX’s equivalent of automatic differentiation?

A

The grad() function, which returns a function computing gradients.

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

What is the forward pass in a neural network?

A

The computation that produces a prediction from input data.

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

What is the backward pass in training?

A

The computation of gradients with respect to loss using backpropagation.

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

What kind of tasks is Adam especially useful for?

A

Training deep networks on noisy, sparse, or large datasets.

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