Got it…so the +a
created a tensor with a shape same as the target (3x3), while the other one relies on the expand_as().clone()
to create a tensor of same shape. Thanks for the prompt help
1 Like
Got it…so the +a
created a tensor with a shape same as the target (3x3), while the other one relies on the expand_as().clone()
to create a tensor of same shape. Thanks for the prompt help