@@ -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 value."
408
+ "where keyword argument is only supported by its default value."
408
409
)
409
410
else :
410
411
dpt_array = dpnp .get_usm_ndarray (a )
@@ -607,14 +608,15 @@ def min(a, axis=None, out=None, keepdims=False, initial=None, where=True):
607
608
608
609
Limitations
609
610
-----------
610
- Input and output arrays are only supported as either :class:`dpnp.ndarray` or :class:`dpctl.tensor.usm_ndarray`.
611
+ Input and output arrays are only supported as either :class:`dpnp.ndarray`
612
+ or :class:`dpctl.tensor.usm_ndarray`.
611
613
Parameters `where`, and `initial` are supported only with their default values.
612
614
Otherwise ``NotImplementedError`` exception will be raised.
613
615
Input array data types are limited by supported DPNP :ref:`Data types`.
614
616
615
617
See Also
616
618
--------
617
- :obj:`dpnp.max` : Return tha maximum of an array.
619
+ :obj:`dpnp.max` : Return the maximum of an array.
618
620
:obj:`dpnp.minimum` : Element-wise minimum of two arrays, propagates NaNs.
619
621
:obj:`dpnp.fmin` : Element-wise minimum of two arrays, ignores NaNs.
620
622
:obj:`dpnp.amin` : The minimum value of an array along a given axis, propagates NaNs.
@@ -644,11 +646,11 @@ def min(a, axis=None, out=None, keepdims=False, initial=None, where=True):
644
646
645
647
if initial is not None :
646
648
raise NotImplementedError (
647
- "initial keyword arguemnt is only supported by its default value."
649
+ "initial keyword argument is only supported by its default value."
648
650
)
649
651
elif where is not True :
650
652
raise NotImplementedError (
651
- "where keyword arguemnt is only supported by its default values."
653
+ "where keyword argument is only supported by its default values."
652
654
)
653
655
else :
654
656
dpt_array = dpnp .get_usm_ndarray (a )
0 commit comments