docstr: ivy.Array 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 array 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
      Padded array of rank equal to x with shape increased according
      to pad_width.
  
  Examples
  --------
  >>> x = ivy.array([1., 2., 3.])
  >>> y = x.constant_pad(pad_width = [[2, 3]])
  >>> print(y)
  ivy.array([0., 0., 1., 2., 3., 0., 0., 0.])
docstr_tok: ["ivy.Array","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","array","to","pad",".","pad_width","Number","of","values","padded","to","the","edges","of","each","axis",".","Specified","as","(","(","before_1",",","after_1",")",",","\u2026","(","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","Padded","array","of","rank","equal","to","x","with","shape","increased","according","to","pad_width",".","Examples","--","--","--","--",">",">",">","x","=","ivy.array","(","[","1.",",","2.",",","3",".","]",")",">",">",">","y","=","x.constant_pad","(","pad_width","=","[","[","2",",","3","]","]",")",">",">",">","print","(","y",")","ivy.array","(","[","0.",",","0.",",","1.",",","2.",",","3.",",","0.",",","0.",",","0",".","]",")"]
code: def constant_pad(
      self: ivy.Array,
      /,
      pad_width: Iterable[Tuple[int]],
      *,
      value: Number = 0,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """ivy.Array 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 array 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
          Padded array of rank equal to x with shape increased according
          to pad_width.
  
      Examples
      --------
      >>> x = ivy.array([1., 2., 3.])
      >>> y = x.constant_pad(pad_width = [[2, 3]])
      >>> print(y)
      ivy.array([0., 0., 1., 2., 3., 0., 0., 0.])
      """
      return ivy.constant_pad(
          self._data, pad_width=pad_width, value=value, out=out
      )
  
imports: import abc
  from typing import Optional, Union, Tuple, List, Iterable, Sequence
  from numbers import Number
  import ivy
  from ivy import handle_view
label_desc: Use image node_id 11 for calling the _ArrayWithManipulation obj's underlying member method code with example usage: obj.constant_pad(pad_width) and returns: ivy