aitune.torch.module.passthrough_module
aitune.torch.module.passthrough_module
Passthrough module.
Module Contents
Classes
API
Module that passes through the original module.
Before passing the data this module moves the data to the same device as the module.
_forward_call
Native inference on wrapped module.
Prepare inputs for inplace inference and place them on the same device if are not.