code: def strides_from_shape(shape: tuple[int, ...]) -> tuple[int, ...]:
      size = np.prod(shape)
      strides = []
      for s in shape:
          size = size // s
          strides.append(int(size))
      return tuple(strides)
  
file_path: jax/jax/_src/pallas/utils.py
imports: import math
  import numpy
  from jax import lax
  from jax._src import core
  import jax.numpy
label_desc: Use image node_id 3 for calling a global function with example usage: strides_from_shape(shape) and returns: tuple