MCPcopy Create free account

hub / github.com/cupy/cupy / functions

Functions14,004 in github.com/cupy/cupy

↓ 3 callersFunction_arg_x_as_expected
Ensure argument `x` is a 1-D C-contiguous array. Returns ------- value : ndarray A 1-D C-contiguous array.
cupyx/scipy/signal/_peak_finding.py:701
↓ 3 callersMethod_as_csr_type
Re-wrap a cuSPARSE CSR result in ``self``'s csr_container. cuSPARSE's gemm helpers always return a ``csr_matrix``; if ``self`` is a s
cupyx/scipy/sparse/_compressed.py:614
↓ 3 callersFunction_assert_pointer_of
(a: _Data, b: _Data)
cupyx/jit/thrust.py:56
↓ 3 callersFunction_atleast_nd_helper
Helper function for atleast_nd functions.
cupy/_manipulation/dims.py:20
↓ 3 callersFunction_binary_erosion
(input, structure, iterations, mask, output, border_value, origin, invert, brute_force=Tru
cupyx/scipy/ndimage/_morphology.py:157
↓ 3 callersFunction_check_A_type
(A)
cupyx/scipy/sparse/_extract.py:82
↓ 3 callersMethod_check_accuracy
(self, xp, scp, func, x=None, tol=1e-6, alternate=False, rescale=False, **kw)
tests/cupyx_tests/scipy_tests/interpolate_tests/test_interpnd.py:164
↓ 3 callersFunction_check_and_get_dtype
(dtype)
cupy/random/_generator.py:1377
↓ 3 callersMethod_check_copyto_where_multigpu_raises
(self, dtype, ngpus)
tests/cupy_tests/manipulation_tests/test_basic.py:114
↓ 3 callersFunction_check_points
(points)
cupyx/scipy/interpolate/_rgi.py:13
↓ 3 callersMethod_check_unary
(self, a, name, scp)
tests/cupyx_tests/scipy_tests/special_tests/test_statistics.py:48
↓ 3 callersMethod_check_unary
(self, a, name, scp)
tests/cupyx_tests/scipy_tests/special_tests/test_statistics.py:122
↓ 3 callersFunction_compat_caster
(a, axes)
cupy/fft/_fft.py:675
↓ 3 callersMethod_compile
(self, arch)
tests/cupy_tests/cuda_tests/test_compiler.py:60
↓ 3 callersFunction_compute_size_by_dict
Copied from _compute_size_by_dict in numpy/core/einsumfunc.py Computes the product of the elements in indices based on the dictionary idx_dic
cupy/linalg/_einsum_opt.py:46
↓ 3 callersMethod_compute_val
(self, xp)
tests/cupy_tests/indexing_tests/test_insert.py:231
↓ 3 callersMethod_coo_container
(self)
cupyx/scipy/sparse/_base.py:344
↓ 3 callersFunction_create_toeplitz_matrix
(c, r, hankel=False)
cupyx/scipy/linalg/_special_matrices.py:92
↓ 3 callersMethod_csc_container
(self)
cupyx/scipy/sparse/_base.py:339
↓ 3 callersMethod_csr_container
(self)
cupyx/scipy/sparse/_base.py:334
↓ 3 callersFunction_decide_ld_and_trans
(a, trans)
cupy/cublas.py:672
↓ 3 callersMethod_expand_copy
(self, in_arr, new_size, zeros=False)
cupyx/scipy/spatial/delaunay_2d/_tri.py:192
↓ 3 callersMethod_filter
(self, func, dtype, xp, scp, **kwargs)
tests/cupyx_tests/scipy_tests/signal_tests/test_signaltools.py:56
↓ 3 callersFunction_find_contraction
Copied from _find_contraction in numpy/core/einsumfunc.py Finds the contraction for a given set of input and output sets. Parameters ---
cupy/linalg/_einsum_opt.py:76
↓ 3 callersFunction_find_initial_cond
(all_valid, cum_poly, n, off=0, axis=-1)
cupyx/scipy/signal/_splines.py:130
↓ 3 callersFunction_flop_count
Copied from _flop_count in numpy/core/einsumfunc.py Computes the number of FLOPS in the contraction. Parameters ---------- idx_contr
cupy/linalg/_einsum_opt.py:6
↓ 3 callersFunction_generate_indices_ops
(ndim, int_type, offsets)
cupyx/scipy/ndimage/_util.py:220
↓ 3 callersFunction_get_env_bool
( name: str, env: Mapping[str, str], *, default: bool = False )
install/cupy_builder/_context.py:17
↓ 3 callersFunction_get_fftn_out_size
(in_shape, s, last_axis, value_type)
cupy/fft/_fft.py:484
↓ 3 callersMethod_get_generator_func
(self, rng, *args, **kwargs)
tests/cupy_tests/random_tests/common_distributions.py:54
↓ 3 callersMethod_get_gufunc
(self, signature)
tests/cupy_tests/core_tests/test_gufuncs.py:47
↓ 3 callersMethod_get_gufunc
(self)
tests/cupy_tests/core_tests/test_gufuncs.py:180
↓ 3 callersMethod_get_index_dtype
Wraps get_index_dtype: arrays never downcast (check_contents is disabled for sparray instances).
cupyx/scipy/sparse/_base.py:353
↓ 3 callersFunction_get_module_func
(module, func_name, *template_args)
cupyx/scipy/spatial/_kdtree_utils.py:707
↓ 3 callersMethod_get_op
(self, op, dtype)
cupyx/distributed/_nccl_comm.py:121
↓ 3 callersMethod_get_preprocess_options
(self, ext: Extension)
install/cupy_builder/_compiler.py:153
↓ 3 callersFunction_get_residuals
(x, y, t, k, w)
cupyx/scipy/interpolate/_fitpack_repro.py:136
↓ 3 callersMethod_get_rng_and_seed
(self)
tests/cupy_tests/random_tests/common_distributions.py:48
↓ 3 callersMethod_getnnz
Number of stored values, including explicit zeros. Subclasses override this to provide format-specific counts. Public access is via :
cupyx/scipy/sparse/_base.py:468
↓ 3 callersMethod_gradient
(self, xp, dtype, shape, spacing, axis, edge_order)
tests/cupy_tests/math_tests/test_sumprod.py:1040
↓ 3 callersMethod_hip_skip_invalid_condition
(self)
tests/cupyx_tests/scipy_tests/signal_tests/test_signaltools.py:64
↓ 3 callersFunction_is_sparray
(A)
cupyx/scipy/sparse/_extract.py:9
↓ 3 callersFunction_make_complex
(xp, sp, dtype)
tests/cupyx_tests/scipy_tests/sparse_tests/test_dia.py:31
↓ 3 callersMethod_make_data_min
(self, xp, sp, dense=False)
tests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py:1393
↓ 3 callersMethod_make_data_min
(self, xp, sp, dense=False)
tests/cupyx_tests/scipy_tests/sparse_tests/test_csc.py:1175
↓ 3 callersFunction_make_int64_coo
(m, n, density=0.2, dtype=numpy.float64)
tests/cupyx_tests/scipy_tests/sparse_tests/test_sparse_int64_indices.py:2926
↓ 3 callersMethod_make_int64_csr
(self, value=1.0+2.0j)
tests/cupyx_tests/scipy_tests/sparse_tests/test_sparse_int64_indices.py:2002
↓ 3 callersMethod_make_int64_csr
(self, col, value=1.0)
tests/cupyx_tests/scipy_tests/sparse_tests/test_sparse_int64_indices.py:2140
↓ 3 callersMethod_make_int64_identity
Small n x n identity with int64 indices.
tests/cupyx_tests/scipy_tests/sparse_tests/test_sparse_int64_indices.py:2301
↓ 3 callersMethod_make_matrix
(self, dtype)
tests/cupyx_tests/scipy_tests/sparse_tests/test_extract.py:27
↓ 3 callersMethod_make_matrix
(self, xp, dtype)
tests/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py:1489
↓ 3 callersMethod_make_normalized_vector
(self, dtype, xp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py:357
↓ 3 callersMethod_make_normalized_vector
(self, dtype, xp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py:496
↓ 3 callersMethod_make_normalized_vector
(self, dtype, xp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py:641
↓ 3 callersMethod_make_normalized_vector
(self, dtype, xp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py:1584
↓ 3 callersMethod_make_normalized_vector
(self, xp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py:1717
↓ 3 callersMethod_matmul_dispatch
Default: convert to CSR. Format subclasses override.
cupyx/scipy/sparse/_base.py:203
↓ 3 callersMethod_matvec
Default matrix-vector multiplication handler.
cupyx/scipy/sparse/linalg/_interface.py:77
↓ 3 callersFunction_min_or_max_filter
(input, size, ftprnt, structure, output, mode, cval, origin, func, axes)
cupyx/scipy/ndimage/_filters.py:900
↓ 3 callersFunction_ndim_coords_from_arrays
Convert a tuple of coordinate arrays to a (..., ndim)-shaped array.
cupyx/scipy/interpolate/_interpnd.py:22
↓ 3 callersFunction_ndim_coords_from_arrays
Convert a tuple of coordinate arrays to a (..., ndim)-shaped array.
cupyx/scipy/interpolate/_interpolate.py:793
↓ 3 callersFunction_normalize_regexp_eol
(pattern)
tests/example_tests/test_finance.py:11
↓ 3 callersMethod_parse_indices
(self, key)
cupyx/scipy/sparse/_index.py:603
↓ 3 callersFunction_peak_prominences
(x, peaks, wlen=None, check=False)
cupyx/scipy/signal/_peak_finding.py:775
↓ 3 callersFunction_polydiv
(u, v)
cupyx/scipy/signal/_polyutils.py:51
↓ 3 callersFunction_prep_fftn_axes
Configure axes argument for an n-dimensional FFT. The axes to be transformed are returned in ascending order.
cupy/fft/_fft.py:266
↓ 3 callersMethod_prepare_x
Reshape input array to 1-D
cupyx/scipy/interpolate/_polyint.py:79
↓ 3 callersMethod_print
(self, msg)
cupy/cuda/memory_hooks/debug_print.py:55
↓ 3 callersMethod_raise_degree
r""" Raise a degree of a polynomial in the Bernstein basis. Given the coefficients of a polynomial degree `k`, return (the co
cupyx/scipy/interpolate/_interpolate.py:1670
↓ 3 callersFunction_rank_filter
(input, get_rank, size=None, footprint=None, output=None, mode="reflect", cval=0.0, origin=0,
cupyx/scipy/ndimage/_filters.py:1183
↓ 3 callersMethod_reset_class
(self)
cupyx/scipy/interpolate/_fitpack_repro.py:1275
↓ 3 callersMethod_rmatvec
Default implementation of _rmatvec; defers to adjoint.
cupyx/scipy/sparse/linalg/_interface.py:123
↓ 3 callersFunction_run_1d_correlates
Enhanced version of _run_1d_filters that uses correlate1d as the filter function. The params are a list of values to pass to the get_weights
cupyx/scipy/ndimage/_filters.py:210
↓ 3 callersFunction_run_cc
(cmd, cwd, backend, log_stream=None)
cupy/cuda/compiler.py:69
↓ 3 callersFunction_run_script
(code)
tests/cupy_tests/test_init.py:20
↓ 3 callersFunction_run_test
(test_name, dtype=None)
tests/cupyx_tests/distributed_tests/test_comm.py:22
↓ 3 callersMethod_send_recv
(self, action)
cupyx/distributed/_store.py:124
↓ 3 callersMethod_set_many
Sets value at each (i, j) to x Here (i,j) index major and minor respectively, and must not contain duplicate entries.
cupyx/scipy/sparse/_compressed.py:1220
↓ 3 callersMethod_skip_noncomplex
(self)
tests/cupyx_tests/scipy_tests/ndimage_tests/test_filters.py:898
↓ 3 callersFunction_spectral_helper
Calculate various forms of windowed FFTs for PSD, CSD, etc. This is a helper function that implements the commonality between the stft,
cupyx/scipy/signal/_spectral_impl.py:212
↓ 3 callersFunction_tempdir
()
install/cupy_builder/install_build.py:44
↓ 3 callersFunction_test_cupy_available
(self)
tests/cupy_tests/test_init.py:38
↓ 3 callersMethod_test_eigsh
(self, a, xp, sp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py:150
↓ 3 callersMethod_test_svds
(self, a, xp, sp)
tests/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py:261
↓ 3 callersFunction_transpile_expr
Transpile the statement. Returns (Data): The CUDA code and its type of the expression.
cupyx/jit/_compile.py:680
↓ 3 callersFunction_validate_inputs
Common input validations for generate_knots and make_splrep.
cupyx/scipy/interpolate/_fitpack_repro.py:220
↓ 3 callersFunction_validate_sizes
(n, m)
cupyx/scipy/signal/_czt.py:42
↓ 3 callersMethod_write_encoded
Atomically write pre-encoded (hash + cubin) data to the cache dir. Unlike :meth:`save`, this method accepts data that is already in the
cupy/cuda/_compiler_cache.py:128
↓ 3 callersMethod_zinv_to_z
Change a transfer function from the variable `z` to `z**-1`. Parameters ---------- num, den: 1d array_like Sequen
cupyx/scipy/signal/_ltisys.py:548
↓ 3 callersMethodadd_update
( self, update: _data_transfer._AsyncData, idx: tuple[slice, ...], )
cupyx/distributed/array/_chunk.py:96
↓ 3 callersFunctionas_strided
Create a view into the array with the given shape and strides. .. warning:: This function has to be used with extreme care, see notes.
cupy/lib/stride_tricks.py:7
↓ 3 callersMethodasfptype
Upcasts matrix to a floating point format. When the matrix has floating point type, the method returns itself. Otherwise it makes a c
cupyx/scipy/sparse/_base.py:879
↓ 3 callersFunctionaxis_assign
Take a slice along axis 'axis' from 'a' and set it to 'b' in-place. Parameters ---------- a : numpy.ndarray The array to be slice
cupyx/scipy/signal/_arraytools.py:49
↓ 3 callersFunctionbmat
Builds a sparse array/matrix from sparse sub-blocks Args: blocks (array_like): Grid of sparse objects with compatible shapes.
cupyx/scipy/sparse/_construct.py:286
↓ 3 callersMethodcheck_array_reversed_op
(self, op, xp, x_type, y_type, no_bool=False)
tests/cupy_tests/core_tests/test_ndarray_elementwise_op.py:454
↓ 3 callersMethodcheck_atleast
(self, func, xp)
tests/cupy_tests/manipulation_tests/test_dims.py:16
↓ 3 callersFunctioncheck_available
(feature)
cupy/testing/_pytest_impl.py:21
↓ 3 callersMethodcheck_binary
(self, name, xp, dtype)
tests/cupy_tests/logic_tests/test_ops.py:18
↓ 3 callersMethodcheck_copy
(self, dtype, src_id, dst_id)
tests/cupy_tests/core_tests/test_elementwise.py:14
↓ 3 callersMethodcheck_eig_for_shape
(self, dtype, shape)
tests/cupy_tests/linalg_tests/test_eigenvalue.py:380
← previousnext →601–700 of 14,004, ranked by callers