CuPy
v4.5.0
  • Overview
  • Tutorial
  • Reference Manual
    • Multi-Dimensional Array (ndarray)
    • Universal Functions (ufunc)
    • Routines
    • Sparse matrix
    • NumPy-CuPy Generic Code Support
    • Low-Level CUDA Support
    • Kernel binary memoization
    • Custom kernels
    • Testing Modules
    • Profiling
    • Environment variables
    • Difference between CuPy and NumPy

Development

  • API Compatibility Policy
  • Contribution Guide

Misc Notes

  • Installation Guide
  • Upgrade Guide
  • License
CuPy
  • Docs »
  • Reference Manual
  • Edit on GitHub

Reference ManualΒΆ

This is the official reference of CuPy, a multi-dimensional array on CUDA with a subset of NumPy interface.

  • Index
  • Module Index

  • Multi-Dimensional Array (ndarray)
    • cupy.ndarray
    • Code compatibility features
    • Conversion to/from NumPy arrays
  • Universal Functions (ufunc)
    • Ufunc class
    • Available ufuncs
    • ufunc.at
  • Routines
    • Array Creation Routines
    • Array Manipulation Routines
    • Repeating part of arrays along axis
    • Rearranging elements
    • Binary Operations
    • FFT Functions
    • Indexing Routines
    • Input and Output
    • Linear Algebra
    • Logic Functions
    • Mathematical Functions
    • Padding
    • Random Sampling (cupy.random)
    • Sorting, Searching, and Counting
    • Statistics
    • CuPy-specific Functions
  • Sparse matrix
    • Sparse matrix classes
    • Functions
  • NumPy-CuPy Generic Code Support
    • cupy.get_array_module
  • Low-Level CUDA Support
    • Device management
    • Memory management
    • Memory hook
    • Streams and events
    • Profiler
  • Kernel binary memoization
    • cupy.memoize
    • cupy.clear_memo
  • Custom kernels
    • cupy.ElementwiseKernel
    • cupy.ReductionKernel
  • Testing Modules
    • Standard Assertions
    • NumPy-CuPy Consistency Check
    • Parameterized dtype Test
    • Parameterized order Test
  • Profiling
    • time range
  • Environment variables
    • For install
  • Difference between CuPy and NumPy
    • Cast behavior from float to integer
    • Random methods support dtype argument
    • Out-of-bounds indices
    • Duplicate values in indices
    • Zero-dimensional array
    • Data types
    • Array creation from Python objects
    • Universal Functions only work with CuPy array or scalar
Next Previous

© Copyright 2015, Preferred Networks, inc. and Preferred Infrastructure, inc.. Revision 5e17c157.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: v4.5.0
Versions
latest
stable
v5.0.0b3
v5.0.0b2
v5.0.0b1
v5.0.0a1
v4.5.0
v4.4.1
v4.4.0
v4.3.0
v4.2.0
v4.1.0
v4.0.0
v2.5.0
v2.4.0
v2.3.0
v2.2.0
v2.1.0.1
v2.0.0
v1.0.3
v1.0.2
v1.0.1
v1.0.0
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.