Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TencentARC/BrushNet
/ custom_forward
Method
custom_forward
src/diffusers/models/unets/unet_2d_blocks.py:2733–2734 ·
view source on GitHub ↗
(*inputs)
Source
from the content-addressed store, hash-verified
2731
2732
def
create_custom_forward(module):
2733
def
custom_forward(*inputs):
2734
return
module(*inputs)
2735
2736
return
custom_forward
2737
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected