MCPcopy Create free account
hub / github.com/Shakker-Labs/RepText / custom_forward

Method custom_forward

controlnet_flux.py:324–328  ·  view source on GitHub ↗
(*inputs)

Source from the content-addressed store, hash-verified

322
323 def create_custom_forward(module, return_dict=None):
324 def custom_forward(*inputs):
325 if return_dict is not None:
326 return module(*inputs, return_dict=return_dict)
327 else:
328 return module(*inputs)
329
330 return custom_forward
331

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected