ExamGecko
Question list
Search
Search

List of questions

Search

Question 8 - H13-311_V3.5 discussion

Report
Export

In MindSpore, mindspore.nn.Conv2d() is used to create a convolutional layer. Which of the following values can be passed to this API's 'pad_mode' parameter?

A.
pad
Answers
A.
pad
B.
same
Answers
B.
same
C.
valid
Answers
C.
valid
D.
nopadding
Answers
D.
nopadding
Suggested answer: B, C

Explanation:

The pad_mode parameter in mindspore.nn.Conv2d() can take values such as:

same: Ensures the output has the same spatial dimensions as the input.

valid: Performs convolution without padding, resulting in an output smaller than the input.

Other values like 'pad' and 'nopadding' are not valid options for the pad_mode parameter.

asked 26/09/2024
Penny Chang
47 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first