mlx.nn.Module.named_modules#

Module.named_modules()#

Return a list with all the modules in this instance and their name with dot notation.

Returns:

A list of tuples (str, mlx.nn.Module).