SetModeΒΆ
Sets the execution mode (train/eval) for a module.
Abstract Signature:
SetMode(node, training: bool)
PyTorch
API:
trainStrategy: Plugin (torch_mode_switch)
Sets the execution mode (train/eval) for a module.
Abstract Signature:
SetMode(node, training: bool)
train