I have explored torch.__all__, torch.__dir__ or dir(torch) and torch.__builtins__. I got some feel for the former two, but no idea about the last one.
What torch.__all__, torch.__dir__ or dir(torch) do:
Please correct me if I am wrong:


torch.__all__, torch.__dir__ or dir(torch) are lists of names of attributes, functions and modules defined under torch;
we can use torch.a-name-from-the-list to access and use
the list of torch.__all__ has 156 items, the list of  torch.__dir__ or dir(torch) has 199 items
the later list contains the former list

However, I have no idea the use of the dictionary in torch.__builtins__

there are 151 key:value in the dict
only 12 keys are shared with torch.__dir__ or dir(torch)

we can’t use torch.name to access the keys or values of the list

So, what are the elements of torch.__builtins__ for? How we use them if needed?
Thanks a lot! @Veril @apaszke