RuntimeError: in-place operations can be only used on variables that don’t share storage with any other variables, but detected that there are 3 objects sharing it
I have this problem when I tried to run code below.
        x = coordinates[:, 0, :, :]
        y = coordinates[:, 1, :, :]
        x[x < 0] = 0

I don’t really get wthat  is wrong.Could anybody help me?
]Thanks very much.