cupy.array_repr#
- cupy.array_repr(arr, max_line_width=None, precision=None, suppress_small=None)[source]#
Returns the string representation of an array.
- Parameters:
arr (array_like) – Input array. It should be able to feed to
cupy.asnumpy()
.max_line_width (int) – The maximum number of line lengths.
precision (int) – Floating point precision. It uses the current printing precision of NumPy.
suppress_small (bool) – If
True
, very small numbers are printed as zeros
- Returns:
The string representation of
arr
.- Return type:
See also