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:969–970 ·
view source on GitHub ↗
(*inputs)
Source
from the content-addressed store, hash-verified
967
968
def
create_custom_forward(module):
969
def
custom_forward(*inputs):
970
return
module(*inputs)
971
972
return
custom_forward
973
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected