Rate this Page
★ ★ ★ ★ ★

torch.unsqueeze_copy#

torch.unsqueeze_copy()#

Performs the same operation as torch.unsqueeze(), but all output tensors are freshly created instead of aliasing the input.