88########################################################
99
1010"""
11- arrayfire. Array class and helper functions.
11+ Array class and helper functions.
1212"""
1313
1414import inspect
@@ -492,7 +492,7 @@ def device_ptr(self):
492492 Return the device pointer exclusively held by the array.
493493
494494 Returns
495- ------
495+ --------
496496 ptr : int
497497 Contains location of the device pointer
498498
@@ -512,7 +512,7 @@ def raw_ptr(self):
512512 Return the device pointer held by the array.
513513
514514 Returns
515- ------
515+ --------
516516 ptr : int
517517 Contains location of the device pointer
518518
@@ -533,7 +533,7 @@ def offset(self):
533533 Return the offset, of the first element relative to the raw pointer.
534534
535535 Returns
536- ------
536+ --------
537537 offset : int
538538 The offset in number of elements
539539 """
@@ -546,7 +546,7 @@ def strides(self):
546546 Return the distance in bytes between consecutive elements for each dimension.
547547
548548 Returns
549- ------
549+ --------
550550 strides : tuple
551551 The strides for each dimension
552552 """
@@ -1082,7 +1082,7 @@ def to_ctype(self, row_major=False, return_shape=False):
10821082 Return the data as a ctype C array after copying to host memory
10831083
10841084 Parameters
1085- ---------
1085+ -----------
10861086
10871087 row_major: optional: bool. default: False.
10881088 Specifies if a transpose needs to occur before copying to host memory.
@@ -1116,7 +1116,7 @@ def to_array(self, row_major=False, return_shape=False):
11161116 Return the data as array.array
11171117
11181118 Parameters
1119- ---------
1119+ -----------
11201120
11211121 row_major: optional: bool. default: False.
11221122 Specifies if a transpose needs to occur before copying to host memory.
@@ -1151,7 +1151,7 @@ def to_list(self, row_major=False):
11511151 Return the data as list
11521152
11531153 Parameters
1154- ---------
1154+ -----------
11551155
11561156 row_major: optional: bool. default: False.
11571157 Specifies if a transpose needs to occur before copying to host memory.
0 commit comments