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
If the shape of the Tensor is 2 x 1 x 3 x 1, performing torch.sqeeze() will output Tensor of shape _______.
Home
Framework
IONIC
If the shape of the Tensor is 2 x 1 x 3 x 1, performing torch.sqeeze() will output Tensor of shape...
0
votes
asked
Jan 26, 2021
in
IONIC
by
SakshiSharma
If the shape of the Tensor is 2 x 1 x 3 x 1, performing torch.sqeeze() will output Tensor of shape _______.
(i)3 x 2
(ii)2 x 3
(iii)1 x 6
(iv)6 x 1
#torch
pytorch
framework
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 26, 2021
by
SakshiSharma
(ii)2 x 3
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
+3
votes
Q: Two vectors X and Y are defined as follows – X <- c(3, 2, 4) and Y <- c(1, 2). What will be output of vector Z that is defined as Z <- X*Y.
asked
Jul 28, 2019
in
R Language
by
Aarav2017
#r-language
#r-programming
#r-course
#r-tutorial
#r-question-answer
#r-interview-question
#r-basics
#r-test
#what-is-r
#learn-r
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: What's the output? [1, 2, 3, 4].reduce((x, y) => console.log(x, y));
asked
Mar 10
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What will the following lines of code return x <- matrix(1:18, 6, 3) apply(x, 2, sum)
asked
May 27, 2019
in
Data Handling
by
tempuser
#datahandling
DataHandling-questions-answers
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: What's the output? [1, 2, 3].map(num => { if (typeof num === 'number') return; return num * 2; });
asked
Mar 7
in
JavaScript
by
DavidAnderson
javascript-interview-questions-answers
0
votes
Q: What is the output of print tuple[1:3] if tuple = ( 'abcd', 786 , 2.23, 'john', 70.2 )?
asked
May 16, 2020
by
AdilsonLima
#python
+1
vote
Q: A 4-input neuron has weights 1, 2, 3 and 4. The transfer function is linear with the constant of proportionality being equal to 2. The inputs are 4, 10, 5 and 20 respectively. What will be the output?
asked
Oct 22, 2021
in
Artificial Intelligence
by
DavidAnderson
artificial-intelligence
other-ai-algorithms-&-statistics-artificial
intelligence-algorithms
...