Skip to content
Snippets Groups Projects
Commit b618d2d5 authored by Augustin Zidek's avatar Augustin Zidek
Browse files

Fix type annotation

PiperOrigin-RevId: 697633892
parent 01b87c24
No related branches found
No related tags found
1 merge request!1Cloned AlphaFold 3 repo into this one
......@@ -232,7 +232,7 @@ class Diffuser(hk.Module):
return sample
def __call__(
self, batch: features.BatchDict, key: bool = None
self, batch: features.BatchDict, key: jax.Array | None = None
) -> base_model.ModelResult:
if key is None:
key = hk.next_rng_key()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment