MCPcopy Create free account

hub / github.com/Meshcapade/difflocks / functions

Functions981 in github.com/Meshcapade/difflocks

↓ 66 callersMethodsetRawCoeff
extensions/include/cuMat/src/MatrixBlock.h:137
↓ 59 callersMethodcoeff
extensions/include/cuMat/src/DenseLinAlgOps.h:593
↓ 48 callersFunctionrows
extensions/include/cuMat/src/Matrix.h:563
↓ 47 callersMethodstream
* \brief Returns the cuda stream accociated with this context * \return the cuda stream */
extensions/include/cuMat/src/Context.h:220
↓ 43 callersMethodrows
extensions/include/cuMat/src/UnaryOps.h:61
↓ 42 callersMethoddata
extensions/include/cuMat/src/Matrix.h:61
↓ 41 callersFunctioncols
extensions/include/cuMat/src/Matrix.h:569
↓ 38 callersMethodcols
extensions/include/cuMat/src/UnaryOps.h:62
↓ 34 callersMethodbatches
extensions/include/cuMat/src/UnaryOps.h:63
↓ 32 callersFunctioneval
* \brief Evaluates this into a matrix. * This evaluates any expression template. If this is already a matrix, it is returned unchanged. * \return
extensions/include/cuMat/src/MatrixBase.h:71
↓ 29 callersFunctionassign
extensions/include/cuMat/src/CwiseOp.h:32
↓ 29 callersMethodsigma
(self, t)
k_diffusion/sampling.py:346
↓ 28 callersFunctionbatches
extensions/include/cuMat/src/Matrix.h:575
↓ 27 callersMethodcoeff
extensions/include/cuMat/src/UnaryOps.h:65
↓ 26 callersMethodcols
extensions/include/cuMat/src/ReductionOps.h:817
↓ 26 callersMethodrows
extensions/include/cuMat/src/ReductionOps.h:813
↓ 26 callersMethodsize
extensions/include/cuMat/src/SparseMatrixBase.h:447
↓ 25 callersMethodcreateLaunchConfig1D
extensions/include/cuMat/src/Context.h:366
↓ 23 callersMethodload
extensions/include/cuMat/src/DenseLinAlgOps.h:35
↓ 22 callersFunctionswap
extensions/include/cuMat/src/DevicePointer.h:124
↓ 20 callersMethodgetRawCoeff
extensions/include/cuMat/src/MatrixBlock.h:153
↓ 20 callersMethodtranspose
extensions/include/cuMat/src/ProductOp.h:243
↓ 18 callersMethod__init__
(self, shape, eps=1e-6)
k_diffusion/models/modules.py:166
↓ 18 callersFunctionapply_wd
(module)
k_diffusion/models/modules.py:77
↓ 18 callersMethodbatches
extensions/include/cuMat/src/ReductionOps.h:821
↓ 18 callersMethodbatches
extensions/include/cuMat/src/DenseLinAlgOps.h:633
↓ 15 callersMethodrows
extensions/include/cuMat/src/Matrix.h:58
↓ 14 callersMethodbatches
extensions/include/cuMat/src/Matrix.h:60
↓ 14 callersMethodcols
extensions/include/cuMat/src/Matrix.h:59
↓ 14 callersMethodload_state_dict
Loads the class's state. Args: state_dict (dict): scaler state. Should be an object returned from a call to :meth:
k_diffusion/utils.py:137
↓ 12 callersFunctionapply_rotary_emb_
(x, theta)
k_diffusion/models/modules.py:244
↓ 12 callersMethodeval
extensions/include/cuMat/src/SimpleRandom.h:37
↓ 12 callersMethodinvoke
(self, method, **kwargs)
callbacks/callback.py:88
↓ 12 callersFunctionto_d
Converts a denoiser output to a Karras ODE derivative.
k_diffusion/sampling.py:46
↓ 12 callersMethodwrite
(self, *args)
k_diffusion/utils.py:425
↓ 11 callersMethodmax
extensions/include/cuMat/src/SimpleRandom.h:132
↓ 10 callersMethod__init__
(self, d_blocks, u_blocks, skip_stages=0)
k_diffusion/layers.py:436
↓ 10 callersMethodcols
extensions/include/cuMat/src/ProductOp.h:207
↓ 10 callersFunctioncompute_dirs
(strand_positions, append_last_dir=True)
utils/strand_util.py:506
↓ 10 callersMethodrows
extensions/include/cuMat/src/ProductOp.h:200
↓ 9 callersMethodformat
extensions/include/cuMat/src/Errors.h:73
↓ 9 callersMethodmin
extensions/include/cuMat/src/SimpleRandom.h:131
↓ 9 callersFunctionsize
* \brief Returns the total number of entries in this matrix. * This value is computed as \code rows()*cols()*batches()* \endcode * \return the total
extensions/include/cuMat/src/MatrixBase.h:54
↓ 9 callersMethodstate_dict
Returns the state of the class as a :class:`dict`.
k_diffusion/utils.py:133
↓ 8 callersMethodbatches
extensions/include/cuMat/src/SparseMatrix.h:572
↓ 8 callersMethodcols
extensions/include/cuMat/src/TransposeOp.h:137
↓ 8 callersMethoddeepClone
* \return a deep clone of this sparsity pattern */
extensions/include/cuMat/src/SparseMatrixBase.h:137
↓ 8 callersMethodeps
(self, eps_cache, key, x, t, *args, **kwargs)
k_diffusion/sampling.py:349
↓ 8 callersMethodindex
extensions/include/cuMat/src/MatrixBlock.h:85
↓ 8 callersMethodop
(self, op, *args, **kwargs)
k_diffusion/models/flops.py:24
↓ 8 callersMethodrows
extensions/include/cuMat/src/TransposeOp.h:136
↓ 8 callersMethodrows
extensions/include/cuMat/src/DenseLinAlgOps.h:631
↓ 8 callersMethodsave
(self, root_folder, experiment_name, hyperparams, iter_nr, info=None)
models/strand_codec.py:401
↓ 7 callersMethodbatches
extensions/include/cuMat/src/ProductOp.h:214
↓ 7 callersFunctioncheckpoint
(function, *args, **kwargs)
k_diffusion/models/modules.py:48
↓ 7 callersMethodgetSparseCoeff
extensions/include/cuMat/src/SparseExpressionOp.h:68
↓ 7 callersFunctionget_ancestral_step
Calculates the noise level (sigma_down) to step down to and the amount of noise to add (sigma_up) when doing an ancestral sampling step.
k_diffusion/sampling.py:51
↓ 7 callersMethodstep
Updates the step count.
k_diffusion/utils.py:151
↓ 7 callersMethodt
(self, sigma)
k_diffusion/sampling.py:343
↓ 6 callersMethodbatches
extensions/include/cuMat/src/TransposeOp.h:138
↓ 6 callersMethodcols
extensions/include/cuMat/src/SparseMatrix.h:571
↓ 6 callersMethodcols
extensions/include/cuMat/src/DenseLinAlgOps.h:632
↓ 6 callersFunctionkaiming_init
(m, is_linear, nonlinearity="silu")
modules/networks.py:129
↓ 6 callersFunctionrelease
extensions/include/cuMat/src/DevicePointer.h:9
↓ 6 callersMethodrows
extensions/include/cuMat/src/SparseMatrix.h:570
↓ 6 callersFunctionzero_init
(layer)
k_diffusion/models/modules.py:41
↓ 5 callersFunction_check_optimizer
(optimizer)
schedulers/pytorch_warmup/base.py:8
↓ 5 callersFunctiondefault_noise_sampler
(x)
k_diffusion/sampling.py:61
↓ 5 callersFunctionindex
extensions/include/cuMat/src/Matrix.h:587
↓ 5 callersFunctionop
(op, *args, **kwargs)
k_diffusion/models/flops.py:35
↓ 5 callersFunctionrun
()
inference/img2hair.py:403
↓ 5 callersFunctionscale_for_cosine_sim
(q, k, scale, eps)
k_diffusion/models/modules.py:111
↓ 5 callersFunctionset_framework_dependencies
(x)
utils/resize_right/interp_methods.py:17
↓ 5 callersFunctionstratified_with_settings
Draws stratified samples from a uniform distribution, using settings from a context manager.
k_diffusion/utils.py:314
↓ 4 callersMethod__init__
(self, inv_gamma=1., power=1., min_value=0., max_value=1., start_at=0, last_epoch=0)
k_diffusion/utils.py:124
↓ 4 callersFunctionappend_zero
(x)
k_diffusion/sampling.py:13
↓ 4 callersMethodcols
extensions/include/cuMat/src/LUDecomposition.h:127
↓ 4 callersFunctiondata
extensions/include/cuMat/src/Matrix.h:713
↓ 4 callersFunctiondir_empty
(dir_path)
data_loader/dataloader.py:21
↓ 4 callersMethodevent
extensions/include/cuMat/src/Context.h:522
↓ 4 callersFunctionfilter_params
(function, module)
k_diffusion/models/modules.py:84
↓ 4 callersFunctionfromLinear
extensions/include/cuMat/src/Iterator.h:63
↓ 4 callersFunctionfw_swapaxes
(x, ax_1, ax_2, fw)
utils/resize_right/resize_right.py:379
↓ 4 callersMethodget_normalization_data
()
data_loader/dataloader.py:653
↓ 4 callersFunctionmult
extensions/include/cuMat/src/ProductOp.h:55
↓ 4 callersMethodrows
extensions/include/cuMat/src/IterativeSolverBase.h:206
↓ 4 callersMethodrows
extensions/include/cuMat/src/CholeskyDecomposition.h:113
↓ 4 callersMethodrows
extensions/include/cuMat/src/LUDecomposition.h:126
↓ 4 callersFunctionuse_flash_2
(x)
k_diffusion/models/modules.py:357
↓ 3 callersMethod__init__
(self, in_channels, out_channels, use_bias=True, is_first_layer=False, scale_init=1.0)
modules/networks.py:22
↓ 3 callersFunctionassign
extensions/include/cuMat/src/SparseProductEvaluation.h:116
↓ 3 callersMethodbackward
(ctx, grad_output)
k_diffusion/models/modules.py:238
↓ 3 callersMethodbatches
extensions/include/cuMat/src/IterativeSolverBase.h:208
↓ 3 callersMethodbatches
extensions/include/cuMat/src/CholeskyDecomposition.h:115
↓ 3 callersMethodbatches
extensions/include/cuMat/src/LUDecomposition.h:128
↓ 3 callersFunctionclosest_point_barycentrics
Given a 3D mesh and a set of query points, return closest point barycentrics Args: query_points: np.array (float) [Q, 3] query poi
data_loader/mesh_utils.py:9
↓ 3 callersFunctioncoeff
extensions/include/cuMat/src/Matrix.h:655
↓ 3 callersMethodcols
extensions/include/cuMat/src/IterativeSolverBase.h:207
↓ 3 callersMethodcreateLaunchConfig2D
extensions/include/cuMat/src/Context.h:405
↓ 3 callersMethoddpm_solver_2_step
(self, x, t, t_next, r1=1 / 2, eps_cache=None)
k_diffusion/sampling.py:365
next →1–100 of 981, ranked by callers