MCPcopy Create free account
hub / github.com/MAC-VO/MAC-VO / __repr__

Method __repr__

Utility/Extensions/TensorExtension.py:191–192  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

189 #
190
191 def __repr__(self) -> str:
192 return f"CircularTensor({self.tensor}, buf_size={self.buf_size}, real_size={len(self)})"
193
194 def __len__(self) -> int:
195 if self.is_full: return self.buf_size

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected