Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Elsaam2y/DINet_optimized
/ __setstate__
Method
__setstate__
sync_batchnorm/comm.py:83–84 ·
view source on GitHub ↗
(self, state)
Source
from the content-addressed store, hash-verified
81
return
{
"master_callback"
: self._master_callback}
82
83
def
__setstate__(self, state):
84
self.__init__(state[
"master_callback"
])
85
86
def
register_slave(self, identifier):
87
""
"
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.95
Tested by
no test coverage detected