@@ -363,14 +363,15 @@ def max(a, axis=None, out=None, keepdims=False, initial=None, where=True):
363
363
364
364
Limitations
365
365
-----------
366
- Input and output arrays are only supported as either :class:`dpnp.ndarray` or :class:`dpctl.tensor.usm_ndarray`.
366
+ Input and output arrays are only supported as either :class:`dpnp.ndarray`
367
+ or :class:`dpctl.tensor.usm_ndarray`.
367
368
Parameters `where`, and `initial` are supported only with their default values.
368
369
Otherwise ``NotImplementedError`` exception will be raised.
369
370
Input array data types are limited by supported DPNP :ref:`Data types`.
370
371
371
372
See Also
372
373
--------
373
- :obj:`dpnp.min` : Return tha minimum of an array.
374
+ :obj:`dpnp.min` : Return the minimum of an array.
374
375
:obj:`dpnp.maximum` : Element-wise maximum of two arrays, propagates NaNs.
375
376
:obj:`dpnp.fmax` : Element-wise maximum of two arrays, ignores NaNs.
376
377
:obj:`dpnp.amax` : The maximum value of an array along a given axis, propagates NaNs.
@@ -400,11 +401,11 @@ def max(a, axis=None, out=None, keepdims=False, initial=None, where=True):
400
401
401
402
if initial is not None :
402
403
raise NotImplementedError (
403
- "initial keyword arguemnt is only supported by its default value."
404
+ "initial keyword argument is only supported by its default value."
404
405
)
405
406
elif where is not True :
406
407
raise NotImplementedError (
407
- "where keyword arguemnt is only supported by its default values."
408
+ "where keyword argument is only supported by its default values."
408
409
)
409
410
else :
410
411
dpt_array = dpnp .get_usm_ndarray (a )
@@ -606,14 +607,15 @@ def min(a, axis=None, out=None, keepdims=False, initial=None, where=True):
606
607
607
608
Limitations
608
609
-----------
609
- Input and output arrays are only supported as either :class:`dpnp.ndarray` or :class:`dpctl.tensor.usm_ndarray`.
610
+ Input and output arrays are only supported as either :class:`dpnp.ndarray`
611
+ or :class:`dpctl.tensor.usm_ndarray`.
610
612
Parameters `where`, and `initial` are supported only with their default values.
611
613
Otherwise ``NotImplementedError`` exception will be raised.
612
614
Input array data types are limited by supported DPNP :ref:`Data types`.
613
615
614
616
See Also
615
617
--------
616
- :obj:`dpnp.max` : Return tha maximum of an array.
618
+ :obj:`dpnp.max` : Return the maximum of an array.
617
619
:obj:`dpnp.minimum` : Element-wise minimum of two arrays, propagates NaNs.
618
620
:obj:`dpnp.fmin` : Element-wise minimum of two arrays, ignores NaNs.
619
621
:obj:`dpnp.amin` : The minimum value of an array along a given axis, propagates NaNs.
@@ -643,11 +645,11 @@ def min(a, axis=None, out=None, keepdims=False, initial=None, where=True):
643
645
644
646
if initial is not None :
645
647
raise NotImplementedError (
646
- "initial keyword arguemnt is only supported by its default value."
648
+ "initial keyword argument is only supported by its default value."
647
649
)
648
650
elif where is not True :
649
651
raise NotImplementedError (
650
- "where keyword arguemnt is only supported by its default values."
652
+ "where keyword argument is only supported by its default values."
651
653
)
652
654
else :
653
655
dpt_array = dpnp .get_usm_ndarray (a )
0 commit comments