Rate this Page

torch.utils.set_module#

torch.utils.set_module(obj, mod)[source]#

Set the module attribute on a python object for a given object for nicer printing