Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Ask a Question
Top 100+ questions in PyTorch
Home
Questions
PyTorch
0
votes
Q: On max pooling image of shape 20 x 20 using filter 4 x 4 and stride = 2, what will be the shape of the output?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
pooling-image
0
votes
Q: While operating on Tensors a function name followed by underscore means ___________.
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
tensor-function
0
votes
Q: Which of the following function is used to move the Tensors from CPU to GPU?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
tensor
cpu
gpu
0
votes
Q: If the shape of the Tensor is 2 x 1 x 3 x 1, performing torch.sqeeze() will output Tensor of shape _______.
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
tensor
shape
0
votes
Q: Computing softmax activation can be skipped when using nn.CrossEntropyLoss.
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
computing-softmax
0
votes
Q: The model.eval() is used to _________.
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
model
eval
0
votes
Q: Which of the following functions is used to reshape the Tensors in PyTorch?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
pytorch-tensors
0
votes
Q: Pre-trained models in PyTorch can be downloaded from which of the following modules?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
pytorch
0
votes
Q: If the model has 10 features, and two hidden layers of 20 nodes and 30 nodes, the network is defined as ___________.
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
model-features
0
votes
Q: Which of the following is used to load the weights into the model from the file?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
model-load
0
votes
Q: For an optimizer defined, which of the following function is used to update the parameters passed to the optimizer?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
optimizer
parameters
0
votes
Q: Which of the following function is used to stop tracking gradients on Tensor?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
tracking-gradients
0
votes
Q: Which of the following function is used to covert NumPy array to Tensor?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
numpy-array
0
votes
Q: Which of the following functions is used to initialize Tensors in PyTorch randomly?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
tensor-pytorch
0
votes
Q: Which of the following is used to load dataset in batches?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
dataset-batches
0
votes
Q: Which of the following functions is used to move the Tensors from CPU to GPU?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
cpu-to-gpu
0
votes
Q: Which of the following constructor is used as an FC layer to the network?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
fc-layer
0
votes
Q: Which of the following is used to convert NumPy array to Tensor?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
numpy-array
0
votes
Q: Which of the following constructor is used to define the layers sequentially?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
constructor-layer
0
votes
Q: The network defined using nn.Module() must have a method named forward().
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
network-model
0
votes
Q: For x = torch.Tensor([1, 2, 3, 4]), after x = torch.unsqueeze(x, 0) x will be of the shape _______.
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
torch-tensor
0
votes
Q: PyTorch requires the graph to be defined before running the model.
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
pytorch-graph
0
votes
Q: Which of the following defines the convolution layer with a 3 input channel, four out channels and a 3 x 3 filter?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
convolution-layer
0
votes
Q: Which of the following function is used to compute the gradients on a loss function?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
gradients
0
votes
Q: Which of the following is the base class for all the neural networks in PyTorch?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
pytorch-networks
0
votes
Q: Which of the following functions is used to save the model parameters to a file?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
model-parameters
0
votes
Q: Once you train model weights, bias can be accessed using ____________.
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
train-model
0
votes
Q: While defining the Tensor, which of the following parameters is used to track the gradients on Tensor?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
tensor
gradient
0
votes
Q: Which of the following is used to view the shape of the Tensor?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
tensor-shape
0
votes
Q: Which of the following function is used to save the model parameters to a file?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
model-parameters
Page:
1
2
next »
...