MCPcopy Create free account
hub / github.com/LeapLabTHU/ActiveNeRF / ret

Function ret

run_nerf.py:31–32  ·  view source on GitHub ↗
(inputs)

Source from the content-addressed store, hash-verified

29 if chunk is None:
30 return fn
31 def ret(inputs):
32 return torch.cat([fn(inputs[i:i+chunk]) for i in range(0, inputs.shape[0], chunk)], 0)
33 return ret
34
35

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected