aitune.torch.inspecting.module_info
aitune.torch.inspecting.module_info
Module Info for inspected modules.
Module Contents
Classes
API
Bases: ModuleInfo
Information about a dictionary of PyTorch modules.
Set the wrapped module in a dict under name as key.
Information about inspected modules.
Add a module to the specification.
Parameters:
ModuleInfo object.
Describe the inspected modules specification.
Get the list of modules.
Parameters:
Minimum execution percentage to include a module.
Maximum number of modules to return.
Returns: list[ModuleInfo]
List of ModuleInfo objects.
Bases: ModuleInfo
Information about a list of PyTorch modules.
Set the wrapped module in a list under name as index.
Information about a PyTorch module.
Get average execution time of the forward function.
Get the type of the module.
Get the number of layers in the module.
Get the number of parameters in the module.
Get the layers precisions of the module and return a set of unique precisions.
Set the wrapped module.
Bases: ModuleInfo
Information about a custom object containing PyTorch modules.
Set the wrapped module.