cpu

UNet.cpu() torch.nn.modules.module.T

Moves all model parameters and buffers to the CPU.

Note

This method modifies the module in-place.

Returns

self

Return type

Module