docstr: ivy.Container instance method variant of ivy.constant_pad. This
  method simply wraps the function, and so the docstring for
  ivy.constant_pad also applies to this method with minimal changes.
  
  Parameters
  ----------
  self
      Input container with leaves to pad.
  pad_width
      Number of values padded to the edges of each axis.
      Specified as ((before_1, after_1), … (before_N, after_N)), where N
      is number of axes of x.
  value
      The constant value to pad the array with.
  out
      optional output array, for writing the result to. It must have a
      shape that the inputs broadcast to.
  
  Returns
  -------
  ret
      Output container with padded array leaves of rank equal to x with
      shape increased according to pad_width.
  
  Examples
  --------
  >>> x = ivy.Container(a = ivy.array([1, 2, 3]), b = ivy.array([4, 5, 6]))
  >>> y = x.constant_pad(pad_width = [[2, 3]])
  >>> print(y)
  {
      a: ivy.array([0, 0, 1, 2, 3, 0, 0, 0]),
      b: ivy.array([0, 0, 4, 5, 6, 0, 0, 0])
  }
code: def constant_pad(
      self: ivy.Container,
      /,
      pad_width: Union[Iterable[Tuple[int]], ivy.Container],
      *,
      value: Union[Number, ivy.Container] = 0,
      key_chains: Optional[
          Union[List[str], Dict[str, str], ivy.Container]
      ] = None,
      to_apply: Union[bool, ivy.Container] = True,
      prune_unapplied: Union[bool, ivy.Container] = False,
      map_sequences: Union[bool, ivy.Container] = False,
      out: Optional[ivy.Container] = None,
  ) -> ivy.Container:
      """ivy.Container instance method variant of ivy.constant_pad. This
      method simply wraps the function, and so the docstring for
      ivy.constant_pad also applies to this method with minimal changes.
  
      Parameters
      ----------
      self
          Input container with leaves to pad.
      pad_width
          Number of values padded to the edges of each axis.
          Specified as ((before_1, after_1), … (before_N, after_N)), where N
          is number of axes of x.
      value
          The constant value to pad the array with.
      out
          optional output array, for writing the result to. It must have a
          shape that the inputs broadcast to.
  
      Returns
      -------
      ret
          Output container with padded array leaves of rank equal to x with
          shape increased according to pad_width.
  
      Examples
      --------
      >>> x = ivy.Container(a = ivy.array([1, 2, 3]), b = ivy.array([4, 5, 6]))
      >>> y = x.constant_pad(pad_width = [[2, 3]])
      >>> print(y)
      {
          a: ivy.array([0, 0, 1, 2, 3, 0, 0, 0]),
          b: ivy.array([0, 0, 4, 5, 6, 0, 0, 0])
      }
      """
      return self._static_constant_pad(
          self,
          pad_width,
          value=value,
          key_chains=key_chains,
          to_apply=to_apply,
          prune_unapplied=prune_unapplied,
          map_sequences=map_sequences,
          out=out,
      )
  
imports: from typing import Optional, Union, List, Tuple, Dict, Iterable, Sequence
  from numbers import Number
  import ivy
  from ivy.data_classes.container.base import ContainerBase
label_desc: Use image node_id 24 for calling the _ContainerWithManipulation obj's underlying member method code with example usage: obj.constant_pad(pad_width) and returns: self