- cupy.delete(arr, indices, axis=None)#
Delete values from an array along the specified axis.
arr (cupy.ndarray) – Values are deleted from a copy of this array.
axis (int or None) – The axis along which indices correspond to values that will be deleted. If axis is not given, arr will be flattened.
A copy of arr with values specified by indices deleted along axis.
- Return type:
This function may synchronize the device.