ACM AI Pytorch Review

ACM AI Pytorch Review

University

11 Qs

quiz-placeholder

Similar activities

Soal LCC 2-Sistem Operasi

Soal LCC 2-Sistem Operasi

10th Grade - University

10 Qs

Persiapan UTS Deep Learning

Persiapan UTS Deep Learning

University

10 Qs

Deep Learning Quiz

Deep Learning Quiz

University

15 Qs

SAP S/4HANA ePPDS Training - Day 2 Review

SAP S/4HANA ePPDS Training - Day 2 Review

University

9 Qs

Deep Learning CNN

Deep Learning CNN

University

10 Qs

Teste de questionário 1 HCIA-AI

Teste de questionário 1 HCIA-AI

University

9 Qs

CSC305: TOPIC 1

CSC305: TOPIC 1

University

11 Qs

Quiz No. 2

Quiz No. 2

University

10 Qs

ACM AI Pytorch Review

ACM AI Pytorch Review

Assessment

Quiz

Computers

University

Hard

Created by

William Zhou

Used 3+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Given the following code, what's the shape of the tensor produced?

[3, 5]

[3, 3]

[5, 5]

[5, 1]

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does this code produce?

[4, 5, 6]

[1, 2, 1]

[4, 5, 1]

[1, 2, 3]

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Is this nn.module constructed correctly?

Yes

No

Answer explanation

Media Image

4.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

Let's say we have a tensor with shape [5, 12, 32, 64]. What command should we use to create a tensor of shape [32, 5, 64, 12]?

Fill in the blank without spaces or negative indices: A._______(_,_,_,_)

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

If we have X = [[1, 2, 3], [4, 5, 6]], what does X[-1,:1] yield?

4

5

2

3

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

I have the following training loop, as well as the following 4 operations. Can you help me order them?

What line comes first?

  1. 1. optimizer.step()

  2. 2. loss = loss_fn(output, target)

  3. 3. output = model(data)

  4. 4. loss.backward()

1

2

3

4

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

I have the following training loop, as well as the following 4 operations. Can you help me order them?

The first line is output = model(data).

What line comes after?

  1. 1. optimizer.step()

  2. 2. loss = loss_fn(output, target)

  3. 4. loss.backward()

1

2

4

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?