zero.module¶
functions¶
|
Move arguments to module’s device and call the module with these arguments. |
|
Call the module (torch.no_grad() + module.eval() + input.to(device)). |
|
Context-manager for models evaluation. |
|
Move arguments to module’s device and call the module with these arguments. |
|
Call the module (torch.no_grad() + module.eval() + input.to(device)). |
|
Context-manager for models evaluation. |