MCPcopy Index your code
hub / github.com/pytorch/pytorch / _pprint_impl

Method _pprint_impl

caffe2/python/schema.py:250–256  ·  view source on GitHub ↗
(self, indent, str_buffer)

Source from the content-addressed store, hash-verified

248 )
249
250 def _pprint_impl(self, indent, str_buffer):
251 str_buffer.write(' ' * indent + "List(\n")
252 str_buffer.write(' ' * (indent + 1) + "lengths=\n")
253 self.lengths._pprint_impl(indent=indent + 2, str_buffer=str_buffer)
254 str_buffer.write(' ' * (indent + 1) + "_items=\n")
255 self._items._pprint_impl(indent=indent + 2, str_buffer=str_buffer)
256 str_buffer.write(' ' * indent + ")\n")
257
258 def __getattr__(self, item):
259 """If the value of this list is a struct,

Callers 2

_pprint_implMethod · 0.45
_pprint_implMethod · 0.45

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected