Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
diffusers
Commits
0c0c2224
Unverified
Commit
0c0c2224
authored
Sep 18, 2022
by
Mishig Davaadorj
Committed by
GitHub
Sep 18, 2022
Browse files
FlaxUNet2DConditionOutput @flax.struct.dataclass (#550)
parent
d09bbae5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/diffusers/models/unet_2d_condition_flax.py
src/diffusers/models/unet_2d_condition_flax.py
+2
-2
No files found.
src/diffusers/models/unet_2d_condition_flax.py
View file @
0c0c2224
from
dataclasses
import
dataclass
from
typing
import
Tuple
,
Union
import
flax
import
flax.linen
as
nn
import
jax
import
jax.numpy
as
jnp
...
...
@@ -19,7 +19,7 @@ from .unet_blocks_flax import (
)
@
dataclass
@
flax
.
struct
.
dataclass
class
FlaxUNet2DConditionOutput
(
BaseOutput
):
"""
Args:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment