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:298–299 ·
view source on GitHub ↗
(*inputs)
Source
from the content-addressed store, hash-verified
296
297
def
create_custom_forward(module):
298
def
custom_forward(*inputs):
299
return
module(*inputs)
300
301
return
custom_forward
302
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected