MCPcopy Create free account

hub / github.com/cupy/cupy / functions

Functions14,004 in github.com/cupy/cupy

↓ 4 callersMethod_make_matrix
(self, dtype)
tests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py:2071
↓ 4 callersMethod_make_matrix
(self, dtype)
tests/cupyx_tests/scipy_tests/sparse_tests/test_coo.py:1100
↓ 4 callersMethod_make_matrix
(self, dtype, xp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py:341
↓ 4 callersMethod_make_matrix
(self, dtype, xp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py:480
↓ 4 callersMethod_make_matrix
(self, dtype, xp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py:626
↓ 4 callersMethod_make_matrix
(self, dtype, xp, sp, density=None)
tests/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py:1424
↓ 4 callersMethod_make_matrix
(self, dtype, xp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py:1568
↓ 4 callersMethod_make_matrix
(self, xp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py:1707
↓ 4 callersMethod_matmat
Default matrix-matrix multiplication handler.
cupyx/scipy/sparse/linalg/_interface.py:71
↓ 4 callersFunction_output_len
(len_h, in_len, up, down)
cupyx/scipy/signal/_upfirdn.py:319
↓ 4 callersFunction_postprocess_wn
(WN, analog, fs)
cupyx/scipy/signal/_iir_filter_conversions.py:1969
↓ 4 callersMethod_power
(self, fun, x)
cupyx/scipy/sparse/linalg/_interface.py:460
↓ 4 callersFunction_pre_warp
(wp, ws, analog)
cupyx/scipy/signal/_iir_filter_conversions.py:1914
↓ 4 callersFunction_prep_structure
(structure, ndim)
cupyx/scipy/ndimage/_morphology.py:302
↓ 4 callersMethod_prepare_descending
(self, m, xp, scp, rng)
tests/cupyx_tests/scipy_tests/interpolate_tests/test_ppoly.py:693
↓ 4 callersFunction_random_affine_matrix
Generate a random, non-degenerate 2D affine matrix. Composes rotation, scaling, shear, and translation within reasonable ranges for testing w
tests/cupyx_tests/scipy_tests/ndimage_tests/test_interpolation.py:31
↓ 4 callersFunction_real_to_complex
(x)
tests/cupy_tests/linalg_tests/test_eigenvalue.py:20
↓ 4 callersMethod_renew_counters
(self)
cupyx/scipy/spatial/delaunay_2d/_tri.py:70
↓ 4 callersMethod_require_2d
Raise ``ValueError`` if this is not a 2-D array/matrix. Central guard for operations that are only meaningful in 2-D (e.g. ``diagonal
cupyx/scipy/sparse/_base.py:256
↓ 4 callersFunction_reshape_array_with
( arr: _array.DistributedArray, f_shape: Callable[[tuple[int, ...]], tuple[int, ...]], f_idx:
cupyx/distributed/array/_linalg.py:172
↓ 4 callersFunction_reshape_nd
Promote a 1d array to ndim with non-singleton size along axis.
cupyx/scipy/ndimage/_fourier.py:31
↓ 4 callersMethod_reshape_yi
Reshape the updated yi to a 1-D array
cupyx/scipy/interpolate/_polyint.py:101
↓ 4 callersMethod_reuse_between_thread
(self, stream_main, stream_sub)
tests/cupy_tests/cuda_tests/test_memory.py:873
↓ 4 callersMethod_rmatmat
Default implementation of _rmatmat defers to rmatvec or adjoint.
cupyx/scipy/sparse/linalg/_interface.py:163
↓ 4 callersMethod_rotate
(self, xp, scp, a)
tests/cupyx_tests/scipy_tests/ndimage_tests/test_interpolation.py:520
↓ 4 callersMethod_shift
(self, xp, scp, a)
tests/cupyx_tests/scipy_tests/ndimage_tests/test_interpolation.py:661
↓ 4 callersMethod_skip
(self, reason)
tests/cupy_tests/testing_tests/test_loops.py:473
↓ 4 callersMethod_test_can_use
( self, i_shape, o_shape, r_axis, o_axis, order, expected)
tests/cupy_tests/core_tests/test_cub_reduction.py:40
↓ 4 callersMethod_test_load_helper
(self, xp, dtype, fft_func)
tests/cupy_tests/fft_tests/test_callback.py:294
↓ 4 callersMethod_test_load_helper
(self, xp, dtype, fft_func)
tests/cupy_tests/fft_tests/test_callback.py:719
↓ 4 callersMethod_test_load_store_aux_helper
(self, xp, dtype, fft_func)
tests/cupy_tests/fft_tests/test_callback.py:575
↓ 4 callersMethod_test_load_store_aux_helper
(self, xp, dtype, fft_func)
tests/cupy_tests/fft_tests/test_callback.py:970
↓ 4 callersMethod_test_load_store_helper
(self, xp, dtype, fft_func)
tests/cupy_tests/fft_tests/test_callback.py:435
↓ 4 callersMethod_test_load_store_helper
(self, xp, dtype, fft_func)
tests/cupy_tests/fft_tests/test_callback.py:868
↓ 4 callersMethod_test_phaseshift
(self, xp, scp, method, zero_phase)
tests/cupyx_tests/scipy_tests/signal_tests/test_resample.py:327
↓ 4 callersMethod_test_store_helper
(self, xp, dtype, fft_func)
tests/cupy_tests/fft_tests/test_callback.py:359
↓ 4 callersMethod_test_store_helper
(self, xp, dtype, fft_func)
tests/cupy_tests/fft_tests/test_callback.py:788
↓ 4 callersFunction_to_array
Convert a sparse matrix result to the matching array type. When the requested format has no implemented array-side conversion (e.g. CSR -> DI
cupyx/scipy/sparse/_construct.py:759
↓ 4 callersMethod_trans_matrix
(self, a, trans)
tests/cupy_tests/test_cublas.py:426
↓ 4 callersFunction_trans_to_cublas_op
(trans)
cupy/cublas.py:660
↓ 4 callersFunction_transpose_needs_cupy
Whether a CSR<->CSC transpose must use the pure-CuPy fallback. cuSPARSE's ``Csr2cscEx2`` (and legacy ``csr2csc``) support only float/complex
cupyx/cusparse.py:1276
↓ 4 callersFunction_try_convert_to_int
Return an integer for ``5`` and ``array(5)``, fail if not an integer scalar. NB: would be easier if ``operator.index(cupy.array(5))`` work
cupyx/scipy/signal/_filter_design.py:18
↓ 4 callersFunction_validate_wp_ws
(wp, ws, fs, analog)
cupyx/scipy/signal/_iir_filter_conversions.py:1925
↓ 4 callersMethod_verify_workspace_oom_raises
(op)
tests/cupy_tests/sorting_tests/test_sort.py:452
↓ 4 callersMethod_xp_random
(self, xp)
tests/cupy_tests/random_tests/test_permutations.py:19
↓ 4 callersMethod_z_to_zinv
Change a transfer function from the variable `z` to `z**-1`. Parameters ---------- num, den: 1d array_like Sequen
cupyx/scipy/signal/_ltisys.py:523
↓ 4 callersMethod_zoom
(self, xp, scp, a)
tests/cupyx_tests/scipy_tests/ndimage_tests/test_interpolation.py:842
↓ 4 callersMethodantiderivative
Construct a new piecewise polynomial representing the antiderivative. Antiderivative is also the indefinite integral of the function,
cupyx/scipy/interpolate/_interpolate.py:2226
↓ 4 callersMethodchange_mode
Return a view or a copy in the given mode. Args: mode (mode Object): How overlaps of the chunks are interpreted.
cupyx/distributed/array/_array.py:310
↓ 4 callersFunctioncheck
(xp, actual, expected)
tests/cupy_tests/core_tests/fusion_tests/fusion_utils.py:46
↓ 4 callersMethodcheck_binary
(self, name, xp, dtype, no_bool=False)
tests/cupy_tests/math_tests/test_misc.py:22
↓ 4 callersMethodcheck_binary_nan
(self, name, xp, dtype)
tests/cupy_tests/math_tests/test_misc.py:84
↓ 4 callersMethodcheck_call_count
(self, xp, count)
tests/cupy_tests/core_tests/fusion_tests/test_kernel_cache.py:22
↓ 4 callersMethodcheck_casting_dtype
(self, in0_type, in1_type, dtype, casting, xp)
tests/cupy_tests/math_tests/test_arithmetic.py:399
↓ 4 callersMethodcheck_casting_out
(self, in0_type, in1_type, out_type, casting, xp)
tests/cupy_tests/math_tests/test_arithmetic.py:383
↓ 4 callersMethodcheck_eig
(self, ew_gpu, ew_cpu, ev_gpu=None, ev_cpu=None)
tests/cupy_tests/linalg_tests/test_eigenvalue.py:341
↓ 4 callersFunctioncheck_shape_for_pointwise_op
(a_shape, b_shape, allow_broadcasting=True)
cupyx/scipy/sparse/_csr.py:807
↓ 4 callersMethodcheck_unary
(self, name, xp, dtype)
tests/cupy_tests/math_tests/test_hyperbolic.py:12
↓ 4 callersMethodcheck_unary_complex_unsupported
(self, name, dtype)
tests/cupy_tests/math_tests/test_rounding.py:27
↓ 4 callersMethodcheck_unary_negative
(self, name, xp, dtype, no_bool=False)
tests/cupy_tests/math_tests/test_misc.py:31
↓ 4 callersMethodcheck_x
(self, a_shape, rcond, dtype)
tests/cupy_tests/linalg_tests/test_solve.py:189
↓ 4 callersFunctioncollapse_2d
(x, axis)
cupyx/scipy/signal/_iir_utils.py:505
↓ 4 callersFunctionconvert_rocblas_side
cupy_backends/hip/cupy_rocsolver.h:23
↓ 4 callersFunctionconvert_rocblas_svect
cupy_backends/hip/cupy_rocsolver.h:28
↓ 4 callersMethodcopy
(self)
cupyx/scipy/sparse/_data.py:151
↓ 4 callersMethoddata
(self)
tests/cupyx_tests/scipy_tests/sparse_tests/test_construct.py:75
↓ 4 callersMethoddata
(self)
tests/cupyx_tests/scipy_tests/sparse_tests/test_construct.py:174
↓ 4 callersMethodexponential
Returns an array of samples drawn from a exponential distribution. .. warning:: This function may synchronize the device.
cupy/random/_generator.py:182
↓ 4 callersFunctionextract_words
Get two 32 bit ints from a double. */
cupy/_core/include/cupy/complex/math_private.h:120
↓ 4 callersFunctionf
(cls)
cupy/testing/_bundle.py:18
↓ 4 callersFunctionfor_dtypes_combination
Decorator that checks the fixture with a product set of dtypes. Args: types(list of dtypes): dtypes to be tested. names(list of
cupy/testing/_loops.py:1044
↓ 4 callersMethodfrom_power_basis
Construct a piecewise polynomial in Bernstein basis from a power basis polynomial. Parameters ---------- pp
cupyx/scipy/interpolate/_interpolate.py:1710
↓ 4 callersFunctionget_cuda_path
()
cupy/_environment.py:75
↓ 4 callersFunctionifft
Compute the one-dimensional inverse FFT. Args: x (cupy.ndarray): Array to be transformed. n (None or int): Length of the transfor
cupyx/scipy/fft/_fft.py:102
↓ 4 callersFunctioninit_process_group
Start `cupyx.distributed` and obtain a communicator. This call initializes the distributed environment, it needs to be called for every proce
cupyx/distributed/_init.py:14
↓ 4 callersFunctionmap_coordinates
Map the input array to new coordinates by interpolation. The array of coordinates is used to find, for each point in the output, the correspo
cupyx/scipy/ndimage/_interpolation.py:254
↓ 4 callersFunctionmatrix_power
Raise a square matrix to the (integer) power `n`. Args: M (~cupy.ndarray): Matrix to raise by power n. n (~int): Power to raise m
cupy/linalg/_product.py:424
↓ 4 callersMethodmin
(self, axis=None, out=None, keepdims=False)
cupy/_core/_fusion_interface.py:175
↓ 4 callersMethodndim
(self)
cupy/_core/_fusion_interface.py:189
↓ 4 callersMethodpoisson
Returns an array of samples drawn from the poisson distribution. .. seealso:: - :func:`cupy.random.poisson` for full documentatio
cupy/random/_generator.py:569
↓ 4 callersFunctionprepare_input
Prepare input for cubic spline interpolators. All data are converted to numpy arrays and checked for correctness. Axes equal to `axis` of arra
cupyx/scipy/interpolate/_cubic.py:17
↓ 4 callersMethodquery_ball_point
Find all points within distance r of point(s) x. Parameters ---------- x : array_like, shape tuple + (self.m,)
cupyx/scipy/spatial/_kdtree.py:290
↓ 4 callersMethodreduce
Performs a reduce operation. Args: in_array (cupy.ndarray): array to be sent. out_array (cupy.ndarray): array where t
cupyx/distributed/_nccl_comm.py:154
↓ 4 callersMethodreduce
(x, y)
tests/cupyx_tests/jit_tests/test_thrust.py:487
↓ 4 callersMethodrmatmat
Adjoint matrix-matrix multiplication.
cupyx/scipy/sparse/linalg/_interface.py:148
↓ 4 callersFunctionroots
np.roots replacement. XXX: calls into NumPy, then converts back.
cupyx/scipy/signal/_polyutils.py:10
↓ 4 callersFunctionround
(a, decimals=0, out=None)
cupy/_math/rounding.py:34
↓ 4 callersMethodsave
Save a payload to cache. This method may perform I/O asynchronously to avoid blocking kernel execution. Args: na
cupy/cuda/_compiler_cache.py:63
↓ 4 callersMethodset_shape
Set the shape of the matrix in-place.
cupyx/scipy/sparse/_base.py:869
↓ 4 callersMethodset_smoothing_factor
Continue spline computation with the given smoothing factor s and with the knots found at the last call. This routine modifies the s
cupyx/scipy/interpolate/_fitpack_repro.py:1304
↓ 4 callersFunctiontf2zpk
r"""Return zero, pole, gain (z, p, k) representation from a numerator, denominator representation of a linear filter. Parameters --------
cupyx/scipy/signal/_iir_filter_conversions.py:1203
↓ 4 callersFunctionunique
Find the unique elements of an array. Returns the sorted unique elements of an array. There are three optional outputs in addition to the uni
cupy/_manipulation/add_remove.py:196
↓ 4 callersFunctionunique_roots
Determine unique roots and their multiplicities from a list of roots. Parameters ---------- p : array_like The list of roots.
cupyx/scipy/signal/_polyutils.py:70
↓ 4 callersFunctionzpk2tf
Return polynomial transfer function representation from zeros and poles Parameters ---------- z : array_like Zeros of the tr
cupyx/scipy/signal/_iir_filter_conversions.py:1172
↓ 3 callersMethodReduce
(self, env, instance, input, reduction_op)
cupyx/jit/cub.py:75
↓ 3 callersMethod__add__
Adds two systems in the sense of frequency domain addition.
cupyx/scipy/signal/_ltisys.py:1144
↓ 3 callersMethod__init__
(self, x, y, axis=0, bc_type='not-a-knot', extrapolate=None)
cupyx/scipy/interpolate/_cubic.py:603
↓ 3 callersMethod__init__
(self, name)
cupyx/jit/cub.py:115
↓ 3 callersMethod_apply_2d_inplace
Run an in-place structural op on the ``(1, N)`` backing of a 1-D array, then adopt the resulting arrays/flags (keeping the 1-D shape).
cupyx/scipy/sparse/_compressed.py:585
↓ 3 callersFunction_arg_wlen_as_expected
Ensure argument `wlen` is of type `np.intp` and larger than 1. Used in `peak_prominences` and `peak_widths`. Returns ------- value :
cupyx/scipy/signal/_peak_finding.py:715
← previousnext →501–600 of 14,004, ranked by callers