Shortcuts

torch.utils.设置模块

torch.utils.set_module(obj, mod)[源代码]

为给定对象的python对象设置模块属性,以获得更好的打印效果