MCPcopy Create free account
hub / github.com/ActiveVisionLab/DFNet / ret

Function ret

script/models/nerf.py:18–19  ·  view source on GitHub ↗
(inputs)

Source from the content-addressed store, hash-verified

16 if chunk is None:
17 return fn
18 def ret(inputs):
19 return torch.cat([fn(inputs[i:i+chunk]) for i in range(0, inputs.shape[0], chunk)], 0)
20 return ret
21
22

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected