Solved by David_Harvey in post #2 
              
              
                If what you want is only the list without links. There is a hack way. 
import torch
import importlib
import sys


def traversedir(module, pref=''):
    for attr in dir(module):
        if attr[0] == '_':
            continue
        if attr not in sys.modules:
            fullname = f'{pref}.{attr}'…