code: def _normalize_axes(axes, ndim):
      # A tuple by convention. len(axes_tuple) then also gives the rank efficiently.
      return tuple(ax if ax >= 0 else ndim + ax for ax in axes)
  
file_path: flax/flax/core/nn/linear.py
imports: from collections.abc import Iterable
  import jax.numpy
  import numpy
  from jax import lax
  from flax import struct
  from flax.core import Scope
  from flax.linen import initializers
label_desc: Use image node_id 1 for calling a global function with example usage: _normalize_axes(axes, ndim) and returns: tuple