tiatoolbox . utils . misc . model_to
tiatoolbox
utils
misc
model_to
Transfers model to cpu/gpu.
on_gpu (bool) – Transfers model to gpu if True otherwise to cpu
model (torch.nn.Module) – PyTorch defined model.
model (torch.nn.Module)