code: def _zero_from_primal(p):
      assert type(p) is not ad.UndefinedPrimal
      return ad.Zero(jax.core.get_aval(p).at_least_vspace())
  
imports: import functools
  from typing import Any
  import jax
  import jax.core
  import jax.interpreters.ad
  import jax.interpreters.batching
  import jax.interpreters.mlir
  import jax.tree_util
  from jaxtyping import PyTree
  from .._filters import combine, is_array, is_array_like, partition
  from .._tree import tree_equal
label_desc: Use image node_id 4 for calling a global function with example usage: _zero_from_primal(p) and returns: ad