torch c data structures