@richard So is it faster and more memory efficient to use torch.empty()
instead of torch.Tensor()
, when defining empty tensors in a class initialization function?
@richard So is it faster and more memory efficient to use torch.empty()
instead of torch.Tensor()
, when defining empty tensors in a class initialization function?