MCPcopy Create free account
hub / github.com/apple/ml-sharp / add_frame

Method add_frame

src/sharp/utils/io.py:173–175  ·  view source on GitHub ↗

Add a single frame to output.

(self, image: torch.Tensor, depth: torch.Tensor)

Source from the content-addressed store, hash-verified

171 """Protocol for writing output to disk."""
172
173 def add_frame(self, image: torch.Tensor, depth: torch.Tensor) -> None:
174 """Add a single frame to output."""
175 ...
176
177 def close(self) -> None:
178 """Finish writing."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected