@@ -533,7 +533,7 @@ def astype(self, dtype, order="K", casting="unsafe", subok=True, copy=True):
533
533
"""
534
534
Copy the array with data type casting.
535
535
536
- For full documentation refer to :obj:`numpy.ndarray. astype`.
536
+ Refer to :obj:`dpnp. astype` for full documentation .
537
537
538
538
Parameters
539
539
----------
@@ -593,7 +593,12 @@ def astype(self, dtype, order="K", casting="unsafe", subok=True, copy=True):
593
593
# 'byteswap',
594
594
595
595
def choose (input , choices , out = None , mode = "raise" ):
596
- """Construct an array from an index array and a set of arrays to choose from."""
596
+ """
597
+ Construct an array from an index array and a set of arrays to choose from.
598
+
599
+ Refer to :obj:`dpnp.choose` for full documentation.
600
+
601
+ """
597
602
598
603
return dpnp .choose (input , choices , out , mode )
599
604
@@ -613,7 +618,7 @@ def conj(self):
613
618
"""
614
619
Complex-conjugate all elements.
615
620
616
- For full documentation refer to :obj:`numpy.ndarray.conj` .
621
+ Refer to :obj:`dpnp.conjugate` for full documentation .
617
622
618
623
"""
619
624
@@ -626,7 +631,7 @@ def conjugate(self):
626
631
"""
627
632
Return the complex conjugate, element-wise.
628
633
629
- For full documentation refer to :obj:`numpy.ndarray. conjugate`.
634
+ Refer to :obj:`dpnp. conjugate` for full documentation .
630
635
631
636
"""
632
637
@@ -683,9 +688,7 @@ def cumsum(self, axis=None, dtype=None, out=None):
683
688
"""
684
689
Return the cumulative sum of the elements along the given axis.
685
690
686
- See Also
687
- --------
688
- :obj:`dpnp.cumsum`
691
+ Refer to :obj:`dpnp.cumsum` for full documentation.
689
692
690
693
"""
691
694
@@ -697,9 +700,7 @@ def diagonal(input, offset=0, axis1=0, axis2=1):
697
700
"""
698
701
Return specified diagonals.
699
702
700
- See Also
701
- --------
702
- :obj:`dpnp.diagonal`
703
+ Refer to :obj:`dpnp.diagonal` for full documentation.
703
704
704
705
"""
705
706
@@ -709,7 +710,7 @@ def dot(self, b, out=None):
709
710
"""
710
711
Dot product of two arrays.
711
712
712
- For full documentation refer to :obj:`dpnp.dot`.
713
+ Refer to :obj:`dpnp.dot` for full documentation .
713
714
714
715
Examples
715
716
--------
@@ -1013,7 +1014,7 @@ def prod(
1013
1014
"""
1014
1015
Returns the prod along a given axis.
1015
1016
1016
- For full documentation refer to :obj:`dpnp.prod`.
1017
+ Refer to :obj:`dpnp.prod` for full documentation .
1017
1018
1018
1019
"""
1019
1020
@@ -1023,7 +1024,7 @@ def put(self, indices, vals, /, *, axis=None, mode="wrap"):
1023
1024
"""
1024
1025
Puts values of an array into another array along a given axis.
1025
1026
1026
- For full documentation refer to :obj:`numpy .put`.
1027
+ Refer to :obj:`dpnp .put` for full documentation .
1027
1028
1028
1029
"""
1029
1030
@@ -1033,7 +1034,7 @@ def ravel(self, order="C"):
1033
1034
"""
1034
1035
Return a contiguous flattened array.
1035
1036
1036
- For full documentation refer to :obj:`dpnp.ravel`.
1037
+ Refer to :obj:`dpnp.ravel` for full documentation .
1037
1038
1038
1039
"""
1039
1040
@@ -1083,7 +1084,7 @@ def repeat(self, repeats, axis=None):
1083
1084
"""
1084
1085
Repeat elements of an array.
1085
1086
1086
- For full documentation refer to :obj:`dpnp.repeat`.
1087
+ Refer to :obj:`dpnp.repeat` for full documentation .
1087
1088
1088
1089
"""
1089
1090
@@ -1093,7 +1094,7 @@ def reshape(self, *sh, **kwargs):
1093
1094
"""
1094
1095
Returns an array containing the same data with a new shape.
1095
1096
1096
- For full documentation refer to :obj:`numpy.ndarray. reshape`.
1097
+ Refer to :obj:`dpnp. reshape` for full documentation .
1097
1098
1098
1099
Returns
1099
1100
-------
@@ -1124,8 +1125,7 @@ def round(self, decimals=0, out=None):
1124
1125
"""
1125
1126
Return array with each element rounded to the given number of decimals.
1126
1127
1127
- .. seealso::
1128
- :obj:`dpnp.around` for full documentation.
1128
+ Refer to :obj:`dpnp.round` for full documentation.
1129
1129
1130
1130
"""
1131
1131
@@ -1271,7 +1271,7 @@ def sum(
1271
1271
"""
1272
1272
Returns the sum along a given axis.
1273
1273
1274
- For full documentation refer to :obj:`dpnp.sum`.
1274
+ Refer to :obj:`dpnp.sum` for full documentation .
1275
1275
1276
1276
"""
1277
1277
@@ -1289,7 +1289,7 @@ def swapaxes(self, axis1, axis2):
1289
1289
"""
1290
1290
Interchange two axes of an array.
1291
1291
1292
- For full documentation refer to :obj:`numpy .swapaxes`.
1292
+ Refer to :obj:`dpnp .swapaxes` for full documentation .
1293
1293
1294
1294
"""
1295
1295
@@ -1299,7 +1299,7 @@ def take(self, indices, /, *, axis=None, out=None, mode="wrap"):
1299
1299
"""
1300
1300
Take elements from an array along an axis.
1301
1301
1302
- For full documentation refer to :obj:`numpy .take`.
1302
+ Refer to :obj:`dpnp .take` for full documentation .
1303
1303
1304
1304
"""
1305
1305
0 commit comments