mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-12 03:20:03 +08:00
cleanup redundant edit
This commit is contained in:
parent
d11b29d036
commit
5e83837c01
@ -22,7 +22,7 @@ class FeedForward(nn.Module):
|
|||||||
super().__init__()
|
super().__init__()
|
||||||
inner_dim = int(dim * mult)
|
inner_dim = int(dim * mult)
|
||||||
if not dim_out:
|
if not dim_out:
|
||||||
dim_out = dim() if isfunction(dim) else dim
|
dim_out = dim
|
||||||
project_in = nn.Sequential(
|
project_in = nn.Sequential(
|
||||||
ops.Linear(dim, inner_dim),
|
ops.Linear(dim, inner_dim),
|
||||||
nn.GELU()
|
nn.GELU()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user