Closes / Freezes all layers in this model, e.g., for evaluation.
model – A torch module.
close_all_layers()
dgs.utils.torchtools
dgs.utils.torchtools.close_specified_layers