torch.utils.set_module

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

为给定对象在Python对象上设置模块属性,以实现更美观的打印效果

本页目录