Skip to content

Commit

Permalink
beartype.typing Callable instead of typing?
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur-Galstyan committed Jan 30, 2024
1 parent 5739146 commit fd98d05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion equinox/nn/_attention.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
import math
import warnings
from functools import partial
from typing import Callable, cast, Optional, Tuple, Union
from typing import cast, Optional, Tuple, Union

import jax
import jax.numpy as jnp
import jax.random as jrandom
from beartype.typing import Callable
from jaxtyping import Array, Bool, Float, PRNGKeyArray

from .._module import field, Module
Expand Down

0 comments on commit fd98d05

Please sign in to comment.