I am getting this error
error: passing ‘const at::Tensor’ as ‘this’ argument discards qualifiers
while running the following code
input = input.contiguous()

where input is a torch tensor defined as const Tensor& input
Is it because of const?