Thank you too much for you answer! I want to try to implement my own layer in c interface, so I need to know how to visit tensor’s data in c.But I see that its input is const, I am confused if ifs returning pointer can be changed.