Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TencentARC/BrushNet
/ custom_forward
Method
custom_forward
src/diffusers/models/autoencoders/vae.py:148–149 ·
view source on GitHub ↗
(*inputs)
Source
from the content-addressed store, hash-verified
146
147
def
create_custom_forward(module):
148
def
custom_forward(*inputs):
149
return
module(*inputs)
150
151
return
custom_forward
152
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected