Skip to content

Commit

Permalink
Make a number of functions visible.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 576175489
  • Loading branch information
Flax Team committed Oct 24, 2023
1 parent abe205b commit fd8fd76
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions flax/linen/normalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,13 @@
Shape = Tuple[int, ...]
Dtype = Any # this could be a real type?
Axes = Union[int, Sequence[int]]

field = dataclasses.field
canonicalize_dtype = dtypes.canonicalize_dtype
compact = module.compact
Module = module.Module
merge_param = module.merge_param
map_variables = transforms.map_variables


def _canonicalize_axes(rank: int, axes: Axes) -> Tuple[int, ...]:
Expand Down

0 comments on commit fd8fd76

Please sign in to comment.