code: def polymul(
      a1: ArrayLike, a2: ArrayLike, *, trim_leading_zeros: bool = False
  ) -> Array:
      check_arraylike("polymul", a1, a2)
      a1_arr, a2_arr = promote_dtypes_inexact(a1, a2)
      if trim_leading_zeros and (len(a1_arr) > 1 or len(a2_arr) > 1):
          a1_arr, a2_arr = trim_zeros(a1_arr, trim="f"), trim_zeros(
              a2_arr, trim="f"
          )
      if len(a1_arr) == 0:
          a1_arr = asarray([0], dtype=a2_arr.dtype)
      if len(a2_arr) == 0:
          a2_arr = asarray([0], dtype=a1_arr.dtype)
      return convolve(a1_arr, a2_arr, mode="full")
  
imports: from __future__ import annotations
  from functools import partial
  import operator
  import numpy
  from jax import jit
  from jax import lax
  from jax._src import dtypes
  from jax._src import core
  from jax._src.numpy.lax_numpy import arange, argmin, array, asarray, atleast_1d, concatenate, convolve, diag, dot, finfo, full, ones, outer, roll, trim_zeros, trim_zeros_tol, vander, zeros
  from jax._src.numpy.ufuncs import maximum, true_divide, sqrt
  from jax._src.numpy.reductions import all
  from jax._src.numpy import linalg
  from jax._src.numpy.util import check_arraylike, promote_dtypes, promote_dtypes_inexact, _where, _wraps
  from jax._src.typing import Array, ArrayLike
label_desc: Use image node_id 10 for calling a global function with example usage: polymul(a1, a2) and returns: convolve