MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / _print_state

Method _print_state

python/oneflow/nn/graph/proxy.py:169–171  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

167 self.__print(0, 1, in_str)
168
169 def _print_state(d):
170 for (_, n) in d.items():
171 self.__print(0, 1, n._shallow_repr())
172
173 _print_state(self._parameters)
174 _print_state(self._buffers)

Callers

nothing calls this directly

Calls 3

__printMethod · 0.95
itemsMethod · 0.45
_shallow_reprMethod · 0.45

Tested by

no test coverage detected