MCPcopy
hub / github.com/zju3dv/4K4D / to_string

Method to_string

easyvolcap/utils/viewer_utils.py:751–753  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

749 return self
750
751 def to_string(self) -> str:
752 batch = to_list(self.to_batch().meta)
753 return json.dumps(batch)
754
755 def from_string(self, string: str):
756 batch = to_tensor(dotdict(json.loads(string)), ignore_list=True)

Callers 2

glfw_key_callbackMethod · 0.80
websocket_clientFunction · 0.80

Calls 3

to_batchMethod · 0.95
to_listFunction · 0.90
dumpsMethod · 0.80

Tested by

no test coverage detected