MCPcopy Create free account

hub / github.com/cupy/cupy / functions

Functions14,004 in github.com/cupy/cupy

↓ 21 callersMethodseed
Resets the state of the random number generator with a seed. .. seealso:: - :func:`cupy.random.seed` for full documentation
cupy/random/_generator.py:824
↓ 21 callersMethodsolve
Solves linear system of equations with one or several right-hand sides. Args: rhs (cupy.ndarray): Right-hand side(s) of equation
cupyx/scipy/sparse/linalg/_solve.py:563
↓ 21 callersMethodsort
Not supported.
cupyx/distributed/array/_array.py:671
↓ 21 callersMethodsort_indices
Sorts the indices of this matrix *in place*. .. warning:: Calling this function might synchronize the device.
cupyx/scipy/sparse/_csc.py:230
↓ 20 callersMethodargsort
Not supported.
cupyx/distributed/array/_array.py:470
↓ 20 callersMethodextend
(self, c, x)
cupyx/scipy/interpolate/_interpolate.py:1662
↓ 20 callersMethodflush
Apply all updates in-place.
cupyx/distributed/array/_chunk.py:114
↓ 19 callersMethodcheck_array_array_op
(self, op, xp, x_type, y_type, no_bool=False, no_complex=False)
tests/cupy_tests/core_tests/test_ndarray_elementwise_op.py:182
↓ 19 callersMethodcheck_array_broadcasted_op
(self, op, xp, x_type, y_type, no_bool=False, no_complex=False)
tests/cupy_tests/core_tests/test_ndarray_elementwise_op.py:283
↓ 19 callersMethodderivative
Return a B-spline representing the derivative. Parameters ---------- nu : int, optional Derivative order
cupyx/scipy/interpolate/_bspline.py:772
↓ 19 callersFunctioninterp
One-dimensional linear interpolation. Args: x (cupy.ndarray): a 1D array of points on which the interpolation is performed.
cupy/_math/misc.py:533
↓ 19 callersMethodreplace
(x)
tests/cupyx_tests/jit_tests/test_thrust.py:574
↓ 18 callersMethod_get_seed
(self, size)
cupy/random/_generator.py:90
↓ 18 callersMethod_run
(self, func, xp, dtypes)
tests/cupy_tests/functional_tests/test_vectorize.py:29
↓ 18 callersMethoddata
(self, xp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_coo.py:258
↓ 18 callersFunctionfft
Compute the one-dimensional FFT. Args: a (cupy.ndarray): Array to be transform. n (None or int): Length of the transformed axis o
cupy/fft/_fft.py:682
↓ 18 callersMethodget_xy
(self, xp)
tests/cupyx_tests/scipy_tests/interpolate_tests/test_bspline2.py:23
↓ 18 callersMethodsum
(self, axis=None, dtype=None, out=None, keepdims=False)
cupy/_core/_fusion_interface.py:164
↓ 17 callersFunction_call_cusparse
(name, dtype, *args)
cupyx/cusparse.py:174
↓ 17 callersFunction_make_int64_csr
(m, n, density=0.2, dtype=numpy.float64)
tests/cupyx_tests/scipy_tests/sparse_tests/test_sparse_int64_indices.py:2912
↓ 17 callersMethodcumprod
Not supported.
cupyx/distributed/array/_array.py:500
↓ 17 callersMethodhypergeometric
Returns an array of samples drawn from the hypergeometric distribution. .. seealso:: - :func:`cupy.random.hypergeometric` for ful
cupy/random/_generator.py:248
↓ 17 callersMethodnormal
Returns an array of normally distributed samples. .. seealso:: - :func:`cupy.random.normal` for full documentation -
cupy/random/_generator.py:476
↓ 17 callersMethodreal
(self)
cupyx/scipy/sparse/_data.py:144
↓ 17 callersMethodround
Not supported.
cupyx/distributed/array/_array.py:641
↓ 17 callersMethodtake
Not supported.
cupyx/distributed/array/_array.py:709
↓ 16 callersFunction_extend
Extend window by 1 sample if needed for DFT-even symmetry
cupyx/scipy/signal/windows/_windows.py:43
↓ 16 callersFunction_len_guards
Handle small or incorrect window lengths
cupyx/scipy/signal/windows/_windows.py:36
↓ 16 callersMethod_swap
(self, x, y)
cupyx/scipy/sparse/_compressed.py:637
↓ 16 callersFunction_truncate
Truncate window by 1 sample if needed for DFT-even symmetry
cupyx/scipy/signal/windows/_windows.py:51
↓ 16 callersMethodargpartition
(self, a, kth, axis=-1)
tests/cupy_tests/sorting_tests/test_sort.py:669
↓ 16 callersFunctionconvert_hipDatatype
cupy_backends/hip/cupy_hipsparse.h:11
↓ 16 callersMethodflatten
Not supported.
cupyx/distributed/array/_array.py:535
↓ 16 callersMethodndim
(self, instance: Data)
cupyx/jit/_cuda_types.py:80
↓ 16 callersMethodrow
(self, xp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_coo.py:261
↓ 15 callersFunction_indptr_to_coo
Expand compressed ``indptr`` to per-nnz major-axis indices. Inverse of :func:`_build_indptr`. ``dtype`` defaults to ``indptr.dtype``. Uses
cupyx/cusparse.py:89
↓ 15 callersMethodcol
(self, xp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_coo.py:264
↓ 15 callersMethodcompile
(self, options=(), log_stream=None)
cupy/cuda/compiler.py:855
↓ 15 callersMethodconjugate
(self, copy=True)
cupyx/scipy/sparse/_base.py:414
↓ 15 callersMethodgenerate_many
(self, *args, **kwargs)
tests/cupy_tests/random_tests/common_distributions.py:78
↓ 15 callersMethodpartition
(self, a, kth, axis=-1)
tests/cupy_tests/sorting_tests/test_sort.py:520
↓ 15 callersMethodsize
size() Total number of threads in the group.
cupyx/jit/cg.py:158
↓ 14 callersFunction_get_nccl_dtype_and_count
(array, count=None)
cupyx/distributed/_nccl_comm.py:48
↓ 14 callersFunction_make_small_sparse
Return a small sparse array/matrix with values on the main diagonal.
tests/cupyx_tests/scipy_tests/sparse_tests/test_sparray.py:25
↓ 14 callersFunctionabcd_normalize
Check state-space matrices and ensure they are 2-D. If enough information on the system is provided, that is, enough properly-shaped arrays a
cupyx/scipy/signal/_lti_conversion.py:40
↓ 14 callersMethodcheck_array_doubly_broadcasted_op
(self, op, xp, x_type, y_type, no_bool=False, no_complex=False)
tests/cupy_tests/core_tests/test_ndarray_elementwise_op.py:389
↓ 14 callersFunctioncheck_soft_dependencies
()
cupyx/scipy/spatial/distance.py:116
↓ 14 callersFunctionconvert_hipblasFillMode_t
cupy_backends/hip/cupy_hipblas.h:41
↓ 14 callersMethodeliminate_zeros
Removes zero entories in place.
cupyx/scipy/sparse/_csc.py:210
↓ 14 callersMethodfill
Not supported.
cupyx/distributed/array/_array.py:530
↓ 14 callersFunctionget_fft_plan
Generate a CUDA FFT plan for transforming up to three axes. Args: a (cupy.ndarray): Array to be transform, assumed to be either C- or
cupyx/scipy/fftpack/_fft.py:13
↓ 14 callersMethodinit
(cls, x: Expr, env)
cupyx/jit/_internal_types.py:41
↓ 14 callersFunctioninterpn
Multidimensional interpolation on regular or rectilinear grids. Strictly speaking, not all regular grids are supported - this function w
cupyx/scipy/interpolate/_rgi.py:520
↓ 14 callersFunctionmake_kernel_module
(layout, index_type)
tests/cupy_tests/core_tests/test_mdspan.py:166
↓ 14 callersMethodsetdiag
Set diagonal or off-diagonal elements of the array. Args: values (cupy.ndarray): New values of the diagonal elements.
cupyx/scipy/sparse/_base.py:598
↓ 14 callersMethodstd
Not supported.
cupyx/distributed/array/_array.py:681
↓ 14 callersMethodtolist
Not supported.
cupyx/distributed/array/_array.py:729
↓ 13 callersFunction_assert_same_pointer_type
(a: _Data, b: _Data)
cupyx/jit/thrust.py:46
↓ 13 callersMethod_get_stream
(self, stream)
cupyx/distributed/_nccl_comm.py:116
↓ 13 callersMethod_helper
(self, kernel, dtype)
tests/cupy_tests/core_tests/test_raw.py:502
↓ 13 callersMethod_inplace_op
(self, ufunc, other)
cupy/_core/_fusion_interface.py:238
↓ 13 callersFunctionassert_array_equal
Raises an AssertionError if two array_like objects are not equal. Args: x(numpy.ndarray or cupy.ndarray): The actual object to check.
cupy/testing/_array.py:102
↓ 13 callersFunctionassert_equal
(actual, desired)
tests/cupyx_tests/scipy_tests/signal_tests/test_ltisys.py:19
↓ 13 callersFunctionaxis_slice
Take a slice along axis 'axis' from 'a'. Parameters ---------- a : cupy.ndarray The array to be sliced. start, stop, step : i
cupyx/scipy/signal/_arraytools.py:9
↓ 13 callersMethodindices
(self, xp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_csc.py:309
↓ 13 callersMethodpower
(self, n, dtype=None)
cupyx/scipy/sparse/_base.py:571
↓ 12 callersMethod_check
(a, e)
tests/cupyx_tests/jit_tests/test_raw.py:403
↓ 12 callersMethod_compare
(self, a, b)
tests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py:1939
↓ 12 callersFunction_eigen_vec_transform
Helper to swap sign of each eigen vector based on the first non-zero element. ie, to standardize the first non-zero element of eigen vector as
tests/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py:1070
↓ 12 callersFunction_fft
(a, s, axes, norm, direction, value_type='C2C', overwrite_x=False, plan=None)
cupy/fft/_fft.py:221
↓ 12 callersMethod_make_image
(self, shape, xp, dtype)
tests/cupyx_tests/scipy_tests/ndimage_tests/test_measurements.py:119
↓ 12 callersMethod_with_data
(self, data, copy=True)
cupyx/scipy/sparse/_data.py:29
↓ 12 callersFunctionapply_iir_sos
(x, sos, axis=-1, zi=None, dtype=None, block_sz=1024, apply_fir=True, out=None)
cupyx/scipy/signal/_iir_utils.py:626
↓ 12 callersFunctionbytes
Returns random bytes. .. note:: This function is just a wrapper for :obj:`numpy.random.bytes`. The resulting bytes are generated on the h
cupy/random/__init__.py:9
↓ 12 callersMethodcheck_array_array_op
(self, op, xp, x_type, y_type)
tests/cupy_tests/core_tests/test_ndarray_elementwise_op.py:610
↓ 12 callersMethodcheck_array_broadcasted_op
(self, op, xp, x_type, y_type)
tests/cupy_tests/core_tests/test_ndarray_elementwise_op.py:655
↓ 12 callersMethodcheck_array_scalar_op
(self, op, xp, x_type, y_type, swap=False)
tests/cupy_tests/core_tests/test_ndarray_elementwise_op.py:516
↓ 12 callersMethodcheck_array_scalarzero_op
(self, op, xp, x_type, y_type, swap=False)
tests/cupy_tests/core_tests/test_ndarray_elementwise_op.py:563
↓ 12 callersFunctioncheck_should_skip_legacy_test
()
tests/cupy_tests/fft_tests/test_callback.py:33
↓ 12 callersMethodcheck_unary
(self, name, xp, scp, dtype)
tests/cupyx_tests/scipy_tests/special_tests/test_bessel.py:15
↓ 12 callersMethodcheck_unary
(self, name, xp, scp, dtype)
tests/cupyx_tests/scipy_tests/special_tests/test_bessel.py:73
↓ 12 callersMethodcompress
Not supported.
cupyx/distributed/array/_array.py:490
↓ 12 callersFunctionconvert_hipblasSideMode_t
cupy_backends/hip/cupy_hipblas.h:53
↓ 12 callersFunctioncreate_random_kd_tree
(xp, scp, n, m, n_points=1, x_offset=0, scale=10, leafsize=100)
tests/cupyx_tests/scipy_tests/spatial_tests/test_kdtree.py:23
↓ 12 callersMethoddata
(self, xp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py:350
↓ 12 callersMethoddata
(self, xp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_csc.py:306
↓ 12 callersMethoddump
(self, f)
cupy/cuda/compiler.py:816
↓ 12 callersMethodindptr
(self, xp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py:356
↓ 12 callersMethodindptr
(self, xp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_csc.py:312
↓ 12 callersMethodshuffle
Returns a shuffled array. .. seealso:: - :func:`cupy.random.shuffle` for full documentation - :meth:`numpy.random.shu
cupy/random/_generator.py:1206
↓ 12 callersFunctionsum
Calculates the sum of the values of an n-D image array, optionally at specified sub-regions. Args: input (cupy.ndarray): Nd-image
cupyx/scipy/ndimage/_measurements.py:461
↓ 12 callersMethodvar
Not supported.
cupyx/distributed/array/_array.py:744
↓ 11 callersMethod_binary_image
(self, shape, xp=cupy, pct_true=50)
tests/cupyx_tests/scipy_tests/ndimage_tests/test_distance_transform.py:21
↓ 11 callersFunction_cast_common_type
(*xs)
cupyx/cusparse.py:67
↓ 11 callersMethod_check_contiguous
(self, array)
cupyx/distributed/_nccl_comm.py:111
↓ 11 callersMethod_dispatch_arg_type
(self, function, args)
cupyx/distributed/_nccl_comm.py:129
↓ 11 callersMethod_from_parts
Construct from pre-validated arrays without ``check_contents``. Internal API for building sparse matrices when the caller has already
cupyx/scipy/sparse/_compressed.py:456
↓ 11 callersMethod_major_slice
Index along the major axis where idx is a slice object.
cupyx/scipy/sparse/_compressed.py:1103
↓ 11 callersMethod_make_matrix
(self, xp, dtype, order)
tests/cupyx_tests/scipy_tests/spatial_tests/test_distance.py:153
↓ 11 callersMethod_make_random_spline
(self, xp, scp, n=35, k=3)
tests/cupyx_tests/scipy_tests/interpolate_tests/test_bspline.py:24
← previousnext →101–200 of 14,004, ranked by callers