MCPcopy Create free account
hub / github.com/DSL-Lab/StreamSplat / reorder

Method reorder

model/model_utils.py:304–309  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

302 gsparams[key] = fix_v
303
304 def reorder(v):
305 # [B*V, H*W, d*r*r]
306 v = rearrange(v, 'B (h w) D -> B D h w', h=self.actual_h, w=self.actual_w).contiguous()
307 v = self.pixelshuffle(v) # [B*V, d, H*r, W*r]
308 v = rearrange(v, '(b v) d h w -> b (v h w) d', v=input_views)
309 return v
310
311 for key in self.pred_keys:
312 v = feats

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected