You can get attributes via print(dir(torch._C.Graph)), but note that torch._C is an internal function and thus there is no guarantee it won’t break or attributes will be added or removed without any warning.