Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Which of the following is used to view the shape of the Tensor?
Home
PyTorch
Which of the following is used to view the shape of the Tensor?
0
votes
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
Which of the following is used to view the shape of the Tensor?
Select the best option from below
a) .view_()
b) .view()
c) .size()
d) .get_dimension()
tensor-shape
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 7, 2021
by
sharadyadav1986
b) .view()
Related questions
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: 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: 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 is used to convert NumPy array to Tensor?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
numpy-array
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 function is used to convert NumPy array to Tensor?
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
numpy-array
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
Jan 26, 2021
in
IONIC
by
SakshiSharma
#torch
pytorch
framework
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: Which of the following is used to convert NumPy array to Tensor?
asked
Jan 17, 2021
in
Python
by
SakshiSharma
#numpy
#tensor
Python-questions-answers
...