We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb9e4b2 commit 9d2446aCopy full SHA for 9d2446a
flaxdiff/models/simple_vit.py
@@ -127,8 +127,7 @@ def setup(self):
127
128
# --- Conditioning ---
129
self.time_embed = nn.Sequential([
130
- # Fourier often uses float32
131
- FourierEmbedding(features=self.emb_features, dtype=jnp.float32),
+ FourierEmbedding(features=self.emb_features),
132
TimeProjection(features=self.emb_features,
133
dtype=self.dtype, precision=self.precision)
134
], name="time_embed")
0 commit comments