@@ -1848,7 +1848,7 @@ def pad(array, pad_width, mode="constant", **kwargs):
18481848 Parameters
18491849 ----------
18501850 array : {dpnp.ndarray, usm_ndarray}
1851- The array to pad.
1851+ The array of rank ``N`` to pad.
18521852 pad_width : {sequence, array_like, int}
18531853 Number of values padded to the edges of each axis.
18541854 ``((before_1, after_1), ... (before_N, after_N))`` unique pad widths
@@ -1893,21 +1893,17 @@ def pad(array, pad_width, mode="constant", **kwargs):
18931893 Padding function, see Notes.
18941894 Default: ``"constant"``.
18951895 stat_length : {None, int, sequence of ints}, optional
1896- Used in "maximum", "mean", and "minimum". Number of
1896+ Used in `` "maximum"``, `` "mean"`` , and `` "minimum"`` . Number of
18971897 values at edge of each axis used to calculate the statistic value.
1898-
18991898 ``((before_1, after_1), ... (before_N, after_N))`` unique statistic
19001899 lengths for each axis.
1901-
19021900 ``(before, after)`` or ``((before, after),)`` yields same before
19031901 and after statistic lengths for each axis.
1904-
19051902 ``(stat_length,)`` or ``int`` is a shortcut for
19061903 ``before = after = statistic`` length for all axes.
1907-
19081904 Default: ``None``, to use the entire axis.
19091905 constant_values : {sequence, scalar}, optional
1910- Used in "constant". The values to set the padded values for each
1906+ Used in `` "constant"`` . The values to set the padded values for each
19111907 axis.
19121908 ``((before_1, after_1), ... (before_N, after_N))`` unique pad constants
19131909 for each axis.
@@ -1917,7 +1913,7 @@ def pad(array, pad_width, mode="constant", **kwargs):
19171913 ``before = after = constant`` for all axes.
19181914 Default: ``0``.
19191915 end_values : {sequence, scalar}, optional
1920- Used in "linear_ramp". The values used for the ending value of the
1916+ Used in `` "linear_ramp"`` . The values used for the ending value of the
19211917 linear_ramp and that will form the edge of the padded array.
19221918 ``((before_1, after_1), ... (before_N, after_N))`` unique end values
19231919 for each axis.
@@ -1927,9 +1923,9 @@ def pad(array, pad_width, mode="constant", **kwargs):
19271923 ``before = after = constant`` for all axes.
19281924 Default: ``0``.
19291925 reflect_type : {"even", "odd"}, optional
1930- Used in "reflect", and "symmetric". The "even" style is the
1926+ Used in `` "reflect"`` , and `` "symmetric"`` . The `` "even"`` style is the
19311927 default with an unaltered reflection around the edge value. For
1932- the "odd" style, the extended part of the array is created by
1928+ the `` "odd"`` style, the extended part of the array is created by
19331929 subtracting the reflected values from two times the edge value.
19341930 Default: ``"even"``.
19351931
0 commit comments