ACM AI Pytorch Review
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
William Zhou
Used 4+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
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
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
Is this nn.module constructed correctly?
Yes
No
Answer explanation
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
I have the following training loop, as well as the following 4 operations. Can you help me order them?
What line comes first?
1. optimizer.step()
2. loss = loss_fn(output, target)
3. output = model(data)
4. loss.backward()
1
2
3
4
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
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. optimizer.step()
2. loss = loss_fn(output, target)
4. loss.backward()
1
2
4
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Logika Fuzzy
Quiz
•
University
10 questions
NEO LMS Training
Quiz
•
University
10 questions
Tree and Planar Graph
Quiz
•
University
13 questions
Processing Quiz
Quiz
•
University
10 questions
Quiz 1
Quiz
•
University
10 questions
Bài 25 tin 10
Quiz
•
9th Grade - University
12 questions
Python Quiz 1.4
Quiz
•
University
15 questions
Sumatif 1 Dampak Sosial Informatika
Quiz
•
9th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
