Rate this Page

torch.expand_copy#

torch.expand_copy()#

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