MCPcopy Create free account

hub / github.com/cupy/cupy / functions

Functions14,004 in github.com/cupy/cupy

↓ 11 callersMethod_make_sp_matrix
(self, dtype, xp, sp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py:1925
↓ 11 callersMethod_minor_slice
Index along the minor axis where idx is a slice object.
cupyx/scipy/sparse/_compressed.py:1136
↓ 11 callersMethod_run_test
(self, test, dtype)
tests/cupyx_tests/distributed_tests/test_comm.py:60
↓ 11 callersMethodantiderivative
Return a B-spline representing the antiderivative. Parameters ---------- nu : int, optional Antiderivati
cupyx/scipy/interpolate/_bspline.py:800
↓ 11 callersFunctioncheck_should_skip_jit_test
()
tests/cupy_tests/fft_tests/test_callback.py:49
↓ 11 callersMethodconstruct_fast
Construct the piecewise polynomial without making checks. Takes the same parameters as the constructor. Input arguments ``c`
cupyx/scipy/interpolate/_interpolate.py:2029
↓ 11 callersMethodreduce
(self, in_array, out_array, root=0, op='sum', stream=None)
cupyx/distributed/_comm.py:23
↓ 11 callersMethodrun
(self, host=_DEFAULT_HOST, port=_DEFAULT_PORT)
cupyx/distributed/_store.py:98
↓ 10 callersFunction_gen_array
(dtype)
tests/cupy_tests/core_tests/test_dlpack.py:11
↓ 10 callersFunction_is_csr_type
True if x is any CSR sparse (array or matrix).
cupyx/cusparse.py:19
↓ 10 callersMethod_make_sp_matrix
(self, dtype, xp, sp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py:1810
↓ 10 callersFunction_make_sparse
(dtype)
tests/cupyx_tests/distributed_tests/comm_runner.py:323
↓ 10 callersMethod_run_test
(self, test, dtype)
tests/cupyx_tests/distributed_tests/test_comm.py:117
↓ 10 callersFunction_set_load_cb
( code, element, data_type, callback_type, callback_name, aux_type=None, cb_ver='')
tests/cupy_tests/fft_tests/test_callback.py:129
↓ 10 callersMethodchoose
Not supported.
cupyx/distributed/array/_array.py:480
↓ 10 callersFunctioncreate_small_kd_tree
(xp, scp, n_points=1)
tests/cupyx_tests/scipy_tests/spatial_tests/test_kdtree.py:32
↓ 10 callersMethodfrom_derivatives
Construct a piecewise polynomial in the Bernstein basis, compatible with the specified values and derivatives at breakpoints.
cupyx/scipy/interpolate/_interpolate.py:1745
↓ 10 callersMethodmake
(self)
tests/cupyx_tests/scipy_tests/sparse_tests/test_coo.py:486
↓ 10 callersMethodpermutation
Returns a permuted range or a permutation of an array.
cupy/random/_generator.py:1222
↓ 10 callersMethodptp
Not supported.
cupyx/distributed/array/_array.py:611
↓ 10 callersMethodput
Not supported.
cupyx/distributed/array/_array.py:616
↓ 10 callersMethodrandom_sample
Returns an array of random values over the interval ``[0, 1)``. .. seealso:: - :func:`cupy.random.random_sample` for full documen
cupy/random/_generator.py:650
↓ 10 callersMethodreshard
Return a view or a copy having the given index_map. Data transfers across devices are done on separate streams created internally. To
cupyx/distributed/array/_array.py:322
↓ 10 callersMethodshape
(self, instance: Data)
cupyx/jit/_cuda_types.py:144
↓ 10 callersFunctionwrap_take
(array, *args, **kwargs)
tests/cupy_tests/core_tests/test_ndarray.py:21
↓ 9 callersMethod__init__
Initialize this :class:`LinearOperator`
cupyx/scipy/sparse/linalg/_interface.py:51
↓ 9 callersMethod__new__
Create an instance of the appropriate subclass.
cupyx/scipy/signal/_ltisys.py:150
↓ 9 callersMethod_as_2d
Return the ``(1, N)`` 2-D backing of a 1-D array (else self). A 1-D COO array stores ``row`` as an all-zeros vector and ``col`` as th
cupyx/scipy/sparse/_coo.py:376
↓ 9 callersFunction_get_bool_env_variable
(name, default)
cupy/cuda/compiler.py:276
↓ 9 callersFunction_make
(xp, sp, dtype)
tests/cupyx_tests/scipy_tests/sparse_tests/test_dia.py:22
↓ 9 callersFunction_make3
(xp, sp, dtype)
tests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py:56
↓ 9 callersFunction_make3
(xp, sp, dtype)
tests/cupyx_tests/scipy_tests/sparse_tests/test_csc.py:54
↓ 9 callersFunction_make3
(xp, sp, dtype)
tests/cupyx_tests/scipy_tests/sparse_tests/test_coo.py:54
↓ 9 callersMethod_make_csr_int64
Build a CSR with int64 indices whose values fit in int32.
tests/cupyx_tests/scipy_tests/sparse_tests/test_sparse_int64_indices.py:1821
↓ 9 callersFunction_make_csr_sq
3x3 square CSR.
tests/cupyx_tests/scipy_tests/sparse_tests/test_sparray.py:54
↓ 9 callersMethod_make_matrix
(self, sp, dtype)
tests/cupyx_tests/scipy_tests/sparse_tests/test_index.py:340
↓ 9 callersMethod_make_random_vector
(self)
tests/cupy_tests/test_cublas.py:81
↓ 9 callersMethod_recv
(cls, comm, out_array, peer, dtype, count, stream=None)
cupyx/distributed/_nccl_comm.py:381
↓ 9 callersMethod_send
(cls, comm, array, peer, dtype, count, stream=None)
cupyx/distributed/_nccl_comm.py:370
↓ 9 callersFunction_set_store_cb
( code, element, data_type, callback_type, callback_name, aux_type=None, cb_ver='')
tests/cupy_tests/fft_tests/test_callback.py:147
↓ 9 callersMethod_skip
(self, reason)
tests/cupy_tests/testing_tests/test_loops.py:408
↓ 9 callersFunction_small_int64_csr
Diagonal CSR with int64 indices whose values fit in int32.
tests/cupyx_tests/scipy_tests/sparse_tests/test_sparse_int64_indices.py:2735
↓ 9 callersMethodantiderivative
Construct a new piecewise polynomial representing the antiderivative. Antiderivative is also the indefinite integral of the function,
cupyx/scipy/interpolate/_interpolate.py:1132
↓ 9 callersMethodbode
Calculate Bode magnitude and phase data of a continuous-time system. Returns a 3-tuple containing arrays of frequencies [rad/s], mag
cupyx/scipy/signal/_ltisys.py:198
↓ 9 callersMethoddata
(self, xp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_dia.py:182
↓ 9 callersMethodderivative
Construct a new piecewise polynomial representing the derivative. Parameters ---------- nu : int, optional
cupyx/scipy/interpolate/_interpolate.py:1489
↓ 9 callersFunctionissparse
Checks if a given matrix is a sparse matrix or array. Returns: bool: Returns if ``x`` is :class:`cupyx.scipy.sparse.spmatrix` or
cupyx/scipy/sparse/_base.py:933
↓ 9 callersMethodmake
(self)
tests/cupyx_tests/scipy_tests/sparse_tests/test_dia.py:296
↓ 9 callersFunctionmake_result
(xp, np_result, cp_result)
tests/cupy_tests/testing_tests/test_loops.py:268
↓ 9 callersMethodmaximum
(self, other)
cupyx/scipy/sparse/_base.py:493
↓ 9 callersFunctionprod
Returns the product of an array along given axes. Args: a (cupy.ndarray): Array to take product. axis (int or sequence of ints):
cupy/_math/sumprod.py:45
↓ 8 callersFunction_2d_test_function
(x, xp)
tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py:57
↓ 8 callersMethod__dlpack__
(self, *args, **kwargs)
tests/cupy_tests/core_tests/test_dlpack.py:40
↓ 8 callersMethod_cumsum
(self, xp, a, *args, **kwargs)
tests/cupy_tests/math_tests/test_sumprod.py:680
↓ 8 callersFunction_cupy_zero_dev_info
cupy_backends/hip/cupy_rocsolver.h:1737
↓ 8 callersFunction_get_index_combos
(idx)
tests/cupyx_tests/scipy_tests/sparse_tests/test_index.py:20
↓ 8 callersFunction_get_module_func
(module, func_name, *template_args)
cupyx/scipy/interpolate/_bspline.py:213
↓ 8 callersFunction_make_data
(shape, xp, dtype)
tests/cupyx_tests/scipy_tests/stats_tests/test_morestats.py:41
↓ 8 callersMethod_make_int64_csr
Single-entry CSR: row 0 has one nonzero at (0, col).
tests/cupyx_tests/scipy_tests/sparse_tests/test_sparse_int64_indices.py:278
↓ 8 callersFunction_prod
Returns the product of the elements in the sequence `seq`.
tests/cupyx_tests/scipy_tests/signal_tests/mpsig.py:13
↓ 8 callersFunction_promote_dtype
(x)
cupyx/scipy/fft/_realtransforms.py:49
↓ 8 callersFunction_swap_direction
(norm)
cupy/fft/_fft.py:1012
↓ 8 callersMethodcheck_shape
(self, a_shape)
tests/cupy_tests/linalg_tests/test_solve.py:140
↓ 8 callersMethodcheck_usv
(self, shape, dtype)
tests/cupy_tests/linalg_tests/test_decomposition.py:196
↓ 8 callersMethodconstruct_fast
Construct a spline without making checks. Accepts same parameters as the regular constructor. Input arrays `t` and `c` must of correct
cupyx/scipy/interpolate/_bspline.py:566
↓ 8 callersFunctionconvert_hipblasDiagType_t
cupy_backends/hip/cupy_hipblas.h:49
↓ 8 callersFunctionconvert_rocblas_evect
cupy_backends/hip/cupy_rocsolver.h:1375
↓ 8 callersFunctionconvert_rocblas_operation
cupy_backends/hip/cupy_rocsolver.h:19
↓ 8 callersMethodcreate_kernel
(self, input_raw, output_raw)
tests/cupy_tests/core_tests/test_userkernel.py:109
↓ 8 callersFunctionget_window
r""" Return a window of a given length and type. Parameters ---------- window : string, float, or tuple The type of window to
cupyx/scipy/signal/windows/_windows.py:2202
↓ 8 callersMethodmake_3d_case
(self, xp, scp)
tests/cupyx_tests/scipy_tests/interpolate_tests/test_ndbspline.py:191
↓ 8 callersMethodmatvec
Matrix-vector multiplication.
cupyx/scipy/sparse/linalg/_interface.py:82
↓ 8 callersFunctionnormalize
Normalize numerator/denominator of a continuous-time transfer function. If values of `b` are too close to 0, they are removed. In that case, a
cupyx/scipy/signal/_iir_filter_conversions.py:411
↓ 8 callersMethodon_ready
(self)
cupyx/distributed/array/_chunk.py:90
↓ 8 callersFunctionsavgol_coeffs
Compute the coefficients for a 1-D Savitzky-Golay FIR filter. Parameters ---------- window_length : int The length of the filter
cupyx/scipy/signal/_savitzky_golay.py:33
↓ 8 callersMethodset
Not supported.
cupyx/distributed/array/_array.py:666
↓ 8 callersMethodtrace
Returns the sum along diagonals of the sparse matrix. Args: offset (int): Which diagonal to get. Default: 0. Returns:
cupyx/scipy/sparse/_base.py:447
↓ 7 callersMethod__call__
Returns the lane ID of the calling thread, ranging in ``[0, jit.warpsize)``. .. note:: Unlike :obj:`numba.cuda.laneid`, t
cupyx/jit/_builtin_funcs.py:416
↓ 7 callersMethod_assert_warns_efficiency
(self, sp, scalar_rhs=None)
tests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py:1960
↓ 7 callersFunction_capture_output
Capture stdout from running a magic command.
tests/cupyx_tests/profiler_tests/test_timeit_magic.py:34
↓ 7 callersMethod_check_binop_other
(self, other)
cupyx/scipy/signal/_ltisys.py:1058
↓ 7 callersMethod_check_pointer
(self, a, b)
tests/cupy_tests/test_cublas.py:90
↓ 7 callersFunction_check_shares_memory
(xp, sp, x, y)
tests/cupyx_tests/scipy_tests/sparse_tests/test_index.py:28
↓ 7 callersFunction_fix_iir_output_for_newer_scipy
(zpk, N, ftype='ellip')
tests/cupyx_tests/scipy_tests/signal_tests/test_iir_filter_design.py:24
↓ 7 callersMethod_get_internal_arrays
(cls, array)
cupyx/distributed/_nccl_comm.py:499
↓ 7 callersMethod_get_sample_4d
(self)
tests/cupyx_tests/scipy_tests/interpolate_tests/test_rgi.py:22
↓ 7 callersFunction_make_decorator
(check_func, name, type_check, contiguous_check, accept_error, sp_name=None, scipy_name=No
cupy/testing/_loops.py:270
↓ 7 callersMethod_make_int64_csr
4-row CSR: row 0 → col 0 (val=1), row 2 → col _LARGE (val=2), rows 1 and 3 are empty.
tests/cupyx_tests/scipy_tests/sparse_tests/test_sparse_int64_indices.py:500
↓ 7 callersMethod_make_out
(self, dtype)
tests/cupy_tests/test_cublas.py:84
↓ 7 callersFunction_make_sparse_empty
(dtype)
tests/cupyx_tests/distributed_tests/comm_runner.py:330
↓ 7 callersFunction_make_square
(xp, sp, dtype)
tests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py:104
↓ 7 callersFunction_verify_benchmark_output
Verify output contains expected benchmark results.
tests/cupyx_tests/profiler_tests/test_timeit_magic.py:54
↓ 7 callersMethodantiderivative
Construct a new piecewise polynomial representing the antiderivative. Parameters ---------- nu : int, optional
cupyx/scipy/interpolate/_interpolate.py:1541
↓ 7 callersFunctionapply_iir
(x, a, axis=-1, zi=None, dtype=None, block_sz=1024)
cupyx/scipy/signal/_iir_utils.py:534
↓ 7 callersFunctionasarray
Converts an object to array. This is equivalent to ``array(a, dtype, copy=False, order=order)``. Args: a: The source object.
cupy/_creation/from_data.py:59
↓ 7 callersFunctionastype_without_warning
(x, dtype, *args, **kwargs)
tests/cupy_tests/core_tests/test_ndarray_copy_and_view.py:14
↓ 7 callersMethodbasis_element
Return a B-spline basis element ``B(x | t[0], ..., t[k+1])``. Parameters ---------- t : ndarray, shape (k+2,) int
cupyx/scipy/interpolate/_bspline.py:584
↓ 7 callersFunctionbuild_and_run
(compiler, source, libraries=(), include_dirs=(), library_dirs=(), define_macros=None,
install/cupy_builder/install_build.py:790
↓ 7 callersMethodcheck_int8_sum
(self, shape, xp, axis=None, keepdims=False, trans=False)
tests/cupy_tests/core_tests/test_ndarray_cuda_array_interface.py:121
↓ 7 callersMethodcheck_unary
(self, name, xp, dtype)
tests/cupy_tests/math_tests/test_rounding.py:16
← previousnext →201–300 of 14,004, ranked by callers