ACM AI Pytorch Review

Quiz
•
Computers
•
University
•
Hard
William Zhou
Used 4+ times
FREE Resource
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
Similar Resources on Wayground
15 questions
AIML

Quiz
•
University
14 questions
Тест. Технології майбутнього. Штучний інтелект.

Quiz
•
University
11 questions
WJEC ICT - Chapter 3 - Data loss, theft and manipulation

Quiz
•
10th Grade - University
10 questions
Cybersecurity Threats Quiz

Quiz
•
University
10 questions
Gradient Descent Method

Quiz
•
University
10 questions
Intro to Deep Learning

Quiz
•
University
10 questions
Linear Regression-1

Quiz
•
University
10 questions
Deep Learning - Q1

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University