Skip to content

Commit

Permalink
Add GPUArray.squeeze to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Aug 18, 2015
1 parent 54a9075 commit 4660145
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/source/array.rst
Expand Up @@ -103,6 +103,12 @@ The :class:`GPUArray` Array Class
Returns view of array with the same data. If *dtype* is different from
current dtype, the actual bytes of memory will be reinterpreted.
.. method :: squeeze(dtype=None)
Returns a view of the array with dimensions of length 1 removed.
.. versionadded: 2015.1.4
.. method :: set(ary)
Transfer the contents the :class:`numpy.ndarray` object *ary*
Expand Down

0 comments on commit 4660145

Please sign in to comment.