Skip to content

Commit

Permalink
Merge branch 'main' into kernel_refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
albcab authored Mar 1, 2023
2 parents cf45d3b + 1908453 commit 5c2a920
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions blackjax/types.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
from typing import Any, Iterable, Mapping, Union

import jax
import jax.numpy as jnp
import numpy as np

#: JAX or Numpy array
Array = Union[np.ndarray, jnp.ndarray]
from chex import Array

#: JAX PyTrees
PyTree = Union[Array, Iterable["PyTree"], Mapping[Any, "PyTree"]]
Expand Down

0 comments on commit 5c2a920

Please sign in to comment.