MCPcopy Create free account
hub / github.com/tdrussell/diffusion-pipe / reduce_event

Function reduce_event

utils/reduction.py:108–110  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

106
107
108def reduce_event(event):
109 handle = event.ipc_handle()
110 return (rebuild_event, (event.device, handle))
111
112
113def rebuild_tensor(cls, storage, metadata):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected