MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / _indent

Method _indent

tensorpack/models/registry.py:74–75  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

72 self.depth = 0
73
74 def _indent(self):
75 return " " * (self.depth * 2)
76
77 def push_inputs(self, name, message):
78 while len(self.stack):

Callers 2

push_inputsMethod · 0.95
push_outputsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected