MCPcopy Create free account

hub / github.com/TPCD/LifelongReID / functions

Functions2,488 in github.com/TPCD/LifelongReID

Methodclassify_latent_codes
(self, latent_codes, current_step)
lreid/models/LwFnet.py:257
Methodclip_master_grads
Clips fp32 master gradients via ``torch.nn.utils.clip_grad_norm``. Args: max_norm (float or int): max norm of the gradie
apex/apex/fp16_utils/fp16_optimizer.py:185
Methodclose_all_layers
r"""Opens all layers in model for training. Examples:: >>> from torchreid.utils import open_all_layers >>> open_all_l
lreid/core/base_metagraph_p_s.py:345
Methodclose_specific_layers
(self, model_name, layers_list)
lreid/core/base_metagraph_p_s.py:397
Functioncollect_env_info
Returns env info as a string. Code source: github.com/facebookresearch/maskrcnn-benchmark
lreid/utils/tools.py:121
Functioncollect_fp_tensor_types
(args, kwargs)
apex/apex/amp/utils.py:36
Methodcombine_all
(self)
lreid/data/datasets/video/mars.py:129
Methodcombine_all
(self)
lreid/datasets/cuhksysu.py:458
Methodcommit
(self)
apex/apex/pyprof/parse/db.py:56
Methodcomplete_reductions
Complete reductions if full pipeline is not selected or overlap is not allowed.
apex/apex/contrib/optimizers/distributed_fused_adam_v3.py:282
Methodcomplete_reductions
Complete reductions if full pipeline is not selected or overlap is not allowed.
apex/apex/contrib/optimizers/distributed_fused_adam_v2.py:535
Methodcomplete_reductions
Complete reductions if full pipeline is not selected or overlap is not allowed.
apex/apex/contrib/optimizers/distributed_fused_lamb.py:571
Functioncompute_model_complexity
Returns number of parameters and FLOPs. .. note:: (1) this function only provides an estimate of the theoretical time complexity
lreid/utils/model_complexity.py:261
Methodcompute_weight
Computes weight normalized weight value to assign value to module attribute with name `name`. Arguments: module (
apex/apex/reparameterization/weight_norm.py:39
Methodconvert2Tuple
(arg)
apex/apex/pyprof/prof/pooling.py:11
Functionconvert_syncbn_model
Recursively traverse module and its children to replace all instances of ``torch.nn.modules.batchnorm._BatchNorm`` with :class:`apex.parallel
apex/apex/parallel/__init__.py:21
Functioncopy_vector<__half, 1>
apex/apex/contrib/csrc/multihead_attn/softmax.h:19
Functioncopy_vector<__half, 4>
apex/apex/contrib/csrc/multihead_attn/softmax.h:25
Functioncopy_vector<float, 1>
apex/apex/contrib/csrc/multihead_attn/softmax.h:22
Functioncopy_vector<uint8_t, 1>
apex/apex/contrib/csrc/multihead_attn/softmax.h:27
Functioncopy_vector<uint8_t, 4>
apex/apex/contrib/csrc/multihead_attn/softmax.h:30
Functioncount_num_param
r"""Counts number of parameters in a model while ignoring ``self.classifier``. Args: model (nn.Module): network model. Examples::
lreid/utils/torchtools.py:224
MethodcreateTensorDescriptor
apex/apex/contrib/csrc/groupbn/batch_norm.h:193
MethodcreateTensorDescriptor
apex/apex/contrib/csrc/groupbn/batch_norm_add_relu.h:197
Methodcreate_mask_from_pattern
(param)
apex/apex/contrib/sparsity/asp.py:74
Functioncreate_syncbn_process_group
Creates process groups to be used for syncbn of a give ``group_size`` and returns process group that current GPU participates in. ``grou
apex/apex/parallel/__init__.py:58
FunctioncuApplyLayerNorm
apex/apex/contrib/csrc/multihead_attn/layer_norm.h:276
FunctioncuComputeGradGammaBeta
apex/apex/contrib/csrc/multihead_attn/layer_norm.h:468
FunctioncuComputeGradInput
apex/apex/contrib/csrc/multihead_attn/layer_norm.h:519
FunctioncuComputePartGradGammaBeta
apex/apex/contrib/csrc/multihead_attn/layer_norm.h:400
MethoddestroyTensorDescriptor
apex/apex/contrib/csrc/groupbn/batch_norm.h:199
MethoddestroyTensorDescriptor
apex/apex/contrib/csrc/groupbn/batch_norm_add_relu.h:203
Methoddetach_hidden
detach_hidden()
apex/apex/RNN/RNNBackend.py:66
Methoddetach_hidden
detach_hidden()
apex/apex/RNN/RNNBackend.py:211
Methoddgrad
apex/apex/contrib/csrc/groupbn/batch_norm.h:697
Methoddgrad
apex/apex/contrib/csrc/groupbn/batch_norm_add_relu.h:640
Methoddie
apex/apex/contrib/csrc/groupbn/batch_norm.h:54
Methoddie
apex/apex/contrib/csrc/groupbn/batch_norm_add_relu.h:54
Methoddisable_allreduce
(self)
apex/apex/parallel/distributed.py:278
Functiondisable_casts
()
apex/apex/amp/handle.py:164
Methoddispatch
apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:629
Methoddispatch
apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:639
Methoddispatch
apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:652
MethoddispatchX
apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:644
Functiondispatch_additive_masked_softmax
apex/apex/contrib/csrc/multihead_attn/softmax.h:877
Functiondispatch_additive_masked_softmax_dropout
apex/apex/contrib/csrc/multihead_attn/softmax.h:644
Functiondispatch_additive_masked_softmax_stream
apex/apex/contrib/csrc/multihead_attn/softmax.h:911
Functiondispatch_masked_scale_softmax_backward_masked_out
apex/apex/contrib/csrc/multihead_attn/softmax.h:1508
Functiondispatch_masked_scale_softmax_backward_masked_out_stream
apex/apex/contrib/csrc/multihead_attn/softmax.h:1583
Functiondispatch_masked_scale_softmax_backward_recompute
apex/apex/contrib/csrc/multihead_attn/softmax.h:1978
Functiondispatch_masked_scale_softmax_backward_stream
apex/apex/contrib/csrc/multihead_attn/softmax.h:2013
Functiondispatch_masked_softmax
apex/apex/contrib/csrc/multihead_attn/softmax.h:1132
Functiondispatch_masked_softmax_backward
apex/apex/contrib/csrc/multihead_attn/softmax.h:2610
Functiondispatch_softmax
apex/apex/contrib/csrc/multihead_attn/softmax.h:240
Functiondispatch_softmax_backward
apex/apex/contrib/csrc/multihead_attn/softmax.h:2392
Functiondispatch_softmax_backward_fused_native
apex/apex/contrib/csrc/multihead_attn/softmax.h:2165
Functiondispatch_softmax_backward_stream
apex/apex/contrib/csrc/multihead_attn/softmax.h:2426
Functiondispatch_time_masked_softmax
apex/apex/contrib/csrc/multihead_attn/softmax.h:1355
Functiondocstring_hack
Multiproc file which will launch a set of processes locally for multi-gpu usage: python -m apex.parallel.multiproc main.py ...
apex/apex/parallel/multiproc.py:5
Methodenable_allreduce
(self)
apex/apex/parallel/distributed.py:275
Functionerr_if_any_half
(mod, fn, handle, custom_err_msg=None)
apex/apex/amp/wrap.py:114
Functionerr_if_arg0_half
(mod, fn, handle, verbose=False)
apex/apex/amp/wrap.py:132
Methodevaluate
compute distance matrix
lreid/evaluation/reid.py:142
Methodextra_repr
(self)
apex/apex/normalization/fused_layer_norm.py:163
Functionfast_collate
(batch)
apex/tests/L1/common/main_amp.py:81
Functionfast_test_continual_neck
(config, base, loaders, current_step, if_test_forget=True)
lreid/operation/test_continual_operation_neck.py:10
Functionfeaturemaps2heatmaps
(original_images, featuremaps, image_paths, if_save=False)
lreid/visualization/visualize_featuremap.py:10
Methodfetch_test_loaders
Returns query and gallery of a test dataset, each containing tuples of (img_path(s), pid, camid). Args: name (str): datas
lreid/data/datamanager.py:73
Functionfill
(x)
apex/apex/contrib/sparsity/sparse_masklib.py:9
MethodfilterTrace
Filter trace markers to remove certain file names.
apex/apex/pyprof/parse/nvvp.py:194
Functionfilter_attrs
(module, attrs)
apex/apex/amp/compat.py:45
Functionflatten
apex/csrc/flatten_unflatten.cpp:5
Functionfloat_function
(fn)
apex/apex/amp/amp.py:35
Methodflops
(self)
apex/apex/pyprof/prof/reduction.py:54
Methodflops
(self)
apex/apex/pyprof/prof/reduction.py:102
Methodflops
(self)
apex/apex/pyprof/prof/reduction.py:139
Methodflops
(self)
apex/apex/pyprof/prof/loss.py:74
Methodflops
(self)
apex/apex/pyprof/prof/index_slice_join_mutate.py:38
Methodflops
(self)
apex/apex/pyprof/prof/index_slice_join_mutate.py:86
Methodflops
(self)
apex/apex/pyprof/prof/index_slice_join_mutate.py:136
Methodflops
(self)
apex/apex/pyprof/prof/index_slice_join_mutate.py:182
Methodflops
(self)
apex/apex/pyprof/prof/index_slice_join_mutate.py:233
Methodflops
(self)
apex/apex/pyprof/prof/index_slice_join_mutate.py:324
Methodflops
(self)
apex/apex/pyprof/prof/index_slice_join_mutate.py:418
Methodflops
(self)
apex/apex/pyprof/prof/recurrentCell.py:105
Methodflops
(self)
apex/apex/pyprof/prof/optim.py:35
Methodflops
(self)
apex/apex/pyprof/prof/misc.py:44
Methodflops
(self)
apex/apex/pyprof/prof/misc.py:89
Methodflops
(self)
apex/apex/pyprof/prof/misc.py:122
Methodflops
(self)
apex/apex/pyprof/prof/misc.py:164
Methodflops
(self)
apex/apex/pyprof/prof/misc.py:215
Methodflops
(self)
apex/apex/pyprof/prof/linear.py:183
Methodflops
(self)
apex/apex/pyprof/prof/pointwise.py:141
Methodflops
Note that 1 FMA = 2 flops.
apex/apex/pyprof/prof/base.py:25
Methodflops
(self)
apex/apex/pyprof/prof/dropout.py:48
Methodflops
(self)
apex/apex/pyprof/prof/blas.py:73
Methodflops
(self)
apex/apex/pyprof/prof/blas.py:134
Methodflops
(self)
apex/apex/pyprof/prof/blas.py:272
Methodflops
(self)
apex/apex/pyprof/prof/softmax.py:47
Methodflops
(self)
apex/apex/pyprof/prof/softmax.py:107
← previousnext →1,601–1,700 of 2,488, ranked by callers