Prevent module instance from modifying global config (#2790)
some of the global config values are reference type, e.g., objects, lists or dicts, if the created module instances modify those values (see FPN and spatial_scale), global config will reflect these changes, and instances of the same class created later will inherit the changed values
Showing
想要评论请 注册 或 登录