Unsqueeze last dimensions of tensor to match another tensor’s number of dimensions.
tensor (torch.Tensor) – tensor to unsqueeze
like (torch.Tensor) – tensor whose dimensions to match
previous
Metrics
next
FAQ