MCPcopy Create free account
hub / github.com/JasonLSC/GSCodec_Studio / apply

Method apply

gsplat/compression_simulation/mask.py:27–29  ·  view source on GitHub ↗

Return the masked tensor along with optional loss/metrics.

(self, tensor: Tensor, step: int)

Source from the content-addressed store, hash-verified

25 """Observe the current splats before running compression."""
26
27 def apply(self, tensor: Tensor, step: int) -> MaskResult:
28 """Return the masked tensor along with optional loss/metrics."""
29 return MaskResult(value=tensor)
30
31 def step_optimizer(self, step: int) -> None:
32 """Hook for stepping any optimizers the mask may own."""

Callers 15

runMethod · 0.45
runMethod · 0.45
fake_quantize_steFunction · 0.45
forwardMethod · 0.45
lower_boundMethod · 0.45
spherical_harmonicsFunction · 0.45
projFunction · 0.45
world_to_camFunction · 0.45
fully_fused_projectionFunction · 0.45

Calls 1

MaskResultClass · 0.85