MCPcopy Create free account
hub / github.com/Elsaam2y/DINet_optimized / __getstate__

Method __getstate__

sync_batchnorm/comm.py:80–81  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

78 self._activated = False
79
80 def __getstate__(self):
81 return {"master_callback": self._master_callback}
82
83 def __setstate__(self, state):
84 self.__init__(state["master_callback"])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected