Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TPCD/LifelongReID
/ functions
Functions
2,488 in github.com/TPCD/LifelongReID
⨍
Functions
2,488
◇
Types & classes
338
↳
Endpoints
1
Method
classify_latent_codes
(self, latent_codes, current_step)
lreid/models/LwFnet.py:257
Method
clip_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
Method
close_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
Method
close_specific_layers
(self, model_name, layers_list)
lreid/core/base_metagraph_p_s.py:397
Function
collect_env_info
Returns env info as a string. Code source: github.com/facebookresearch/maskrcnn-benchmark
lreid/utils/tools.py:121
Function
collect_fp_tensor_types
(args, kwargs)
apex/apex/amp/utils.py:36
Method
combine_all
(self)
lreid/data/datasets/video/mars.py:129
Method
combine_all
(self)
lreid/datasets/cuhksysu.py:458
Method
commit
(self)
apex/apex/pyprof/parse/db.py:56
Method
complete_reductions
Complete reductions if full pipeline is not selected or overlap is not allowed.
apex/apex/contrib/optimizers/distributed_fused_adam_v3.py:282
Method
complete_reductions
Complete reductions if full pipeline is not selected or overlap is not allowed.
apex/apex/contrib/optimizers/distributed_fused_adam_v2.py:535
Method
complete_reductions
Complete reductions if full pipeline is not selected or overlap is not allowed.
apex/apex/contrib/optimizers/distributed_fused_lamb.py:571
Function
compute_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
Method
compute_weight
Computes weight normalized weight value to assign value to module attribute with name `name`. Arguments: module (
apex/apex/reparameterization/weight_norm.py:39
Method
convert2Tuple
(arg)
apex/apex/pyprof/prof/pooling.py:11
Function
convert_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
Function
copy_vector<__half, 1>
apex/apex/contrib/csrc/multihead_attn/softmax.h:19
Function
copy_vector<__half, 4>
apex/apex/contrib/csrc/multihead_attn/softmax.h:25
Function
copy_vector<float, 1>
apex/apex/contrib/csrc/multihead_attn/softmax.h:22
Function
copy_vector<uint8_t, 1>
apex/apex/contrib/csrc/multihead_attn/softmax.h:27
Function
copy_vector<uint8_t, 4>
apex/apex/contrib/csrc/multihead_attn/softmax.h:30
Function
count_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
Method
createTensorDescriptor
apex/apex/contrib/csrc/groupbn/batch_norm.h:193
Method
createTensorDescriptor
apex/apex/contrib/csrc/groupbn/batch_norm_add_relu.h:197
Method
create_mask_from_pattern
(param)
apex/apex/contrib/sparsity/asp.py:74
Function
create_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
Function
cuApplyLayerNorm
apex/apex/contrib/csrc/multihead_attn/layer_norm.h:276
Function
cuComputeGradGammaBeta
apex/apex/contrib/csrc/multihead_attn/layer_norm.h:468
Function
cuComputeGradInput
apex/apex/contrib/csrc/multihead_attn/layer_norm.h:519
Function
cuComputePartGradGammaBeta
apex/apex/contrib/csrc/multihead_attn/layer_norm.h:400
Method
destroyTensorDescriptor
apex/apex/contrib/csrc/groupbn/batch_norm.h:199
Method
destroyTensorDescriptor
apex/apex/contrib/csrc/groupbn/batch_norm_add_relu.h:203
Method
detach_hidden
detach_hidden()
apex/apex/RNN/RNNBackend.py:66
Method
detach_hidden
detach_hidden()
apex/apex/RNN/RNNBackend.py:211
Method
dgrad
apex/apex/contrib/csrc/groupbn/batch_norm.h:697
Method
dgrad
apex/apex/contrib/csrc/groupbn/batch_norm_add_relu.h:640
Method
die
apex/apex/contrib/csrc/groupbn/batch_norm.h:54
Method
die
apex/apex/contrib/csrc/groupbn/batch_norm_add_relu.h:54
Method
disable_allreduce
(self)
apex/apex/parallel/distributed.py:278
Function
disable_casts
()
apex/apex/amp/handle.py:164
Method
dispatch
apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:629
Method
dispatch
apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:639
Method
dispatch
apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:652
Method
dispatchX
apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:644
Function
dispatch_additive_masked_softmax
apex/apex/contrib/csrc/multihead_attn/softmax.h:877
Function
dispatch_additive_masked_softmax_dropout
apex/apex/contrib/csrc/multihead_attn/softmax.h:644
Function
dispatch_additive_masked_softmax_stream
apex/apex/contrib/csrc/multihead_attn/softmax.h:911
Function
dispatch_masked_scale_softmax_backward_masked_out
apex/apex/contrib/csrc/multihead_attn/softmax.h:1508
Function
dispatch_masked_scale_softmax_backward_masked_out_stream
apex/apex/contrib/csrc/multihead_attn/softmax.h:1583
Function
dispatch_masked_scale_softmax_backward_recompute
apex/apex/contrib/csrc/multihead_attn/softmax.h:1978
Function
dispatch_masked_scale_softmax_backward_stream
apex/apex/contrib/csrc/multihead_attn/softmax.h:2013
Function
dispatch_masked_softmax
apex/apex/contrib/csrc/multihead_attn/softmax.h:1132
Function
dispatch_masked_softmax_backward
apex/apex/contrib/csrc/multihead_attn/softmax.h:2610
Function
dispatch_softmax
apex/apex/contrib/csrc/multihead_attn/softmax.h:240
Function
dispatch_softmax_backward
apex/apex/contrib/csrc/multihead_attn/softmax.h:2392
Function
dispatch_softmax_backward_fused_native
apex/apex/contrib/csrc/multihead_attn/softmax.h:2165
Function
dispatch_softmax_backward_stream
apex/apex/contrib/csrc/multihead_attn/softmax.h:2426
Function
dispatch_time_masked_softmax
apex/apex/contrib/csrc/multihead_attn/softmax.h:1355
Function
docstring_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
Method
enable_allreduce
(self)
apex/apex/parallel/distributed.py:275
Function
err_if_any_half
(mod, fn, handle, custom_err_msg=None)
apex/apex/amp/wrap.py:114
Function
err_if_arg0_half
(mod, fn, handle, verbose=False)
apex/apex/amp/wrap.py:132
Method
evaluate
compute distance matrix
lreid/evaluation/reid.py:142
Method
extra_repr
(self)
apex/apex/normalization/fused_layer_norm.py:163
Function
fast_collate
(batch)
apex/tests/L1/common/main_amp.py:81
Function
fast_test_continual_neck
(config, base, loaders, current_step, if_test_forget=True)
lreid/operation/test_continual_operation_neck.py:10
Function
featuremaps2heatmaps
(original_images, featuremaps, image_paths, if_save=False)
lreid/visualization/visualize_featuremap.py:10
Method
fetch_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
Function
fill
(x)
apex/apex/contrib/sparsity/sparse_masklib.py:9
Method
filterTrace
Filter trace markers to remove certain file names.
apex/apex/pyprof/parse/nvvp.py:194
Function
filter_attrs
(module, attrs)
apex/apex/amp/compat.py:45
Function
flatten
apex/csrc/flatten_unflatten.cpp:5
Function
float_function
(fn)
apex/apex/amp/amp.py:35
Method
flops
(self)
apex/apex/pyprof/prof/reduction.py:54
Method
flops
(self)
apex/apex/pyprof/prof/reduction.py:102
Method
flops
(self)
apex/apex/pyprof/prof/reduction.py:139
Method
flops
(self)
apex/apex/pyprof/prof/loss.py:74
Method
flops
(self)
apex/apex/pyprof/prof/index_slice_join_mutate.py:38
Method
flops
(self)
apex/apex/pyprof/prof/index_slice_join_mutate.py:86
Method
flops
(self)
apex/apex/pyprof/prof/index_slice_join_mutate.py:136
Method
flops
(self)
apex/apex/pyprof/prof/index_slice_join_mutate.py:182
Method
flops
(self)
apex/apex/pyprof/prof/index_slice_join_mutate.py:233
Method
flops
(self)
apex/apex/pyprof/prof/index_slice_join_mutate.py:324
Method
flops
(self)
apex/apex/pyprof/prof/index_slice_join_mutate.py:418
Method
flops
(self)
apex/apex/pyprof/prof/recurrentCell.py:105
Method
flops
(self)
apex/apex/pyprof/prof/optim.py:35
Method
flops
(self)
apex/apex/pyprof/prof/misc.py:44
Method
flops
(self)
apex/apex/pyprof/prof/misc.py:89
Method
flops
(self)
apex/apex/pyprof/prof/misc.py:122
Method
flops
(self)
apex/apex/pyprof/prof/misc.py:164
Method
flops
(self)
apex/apex/pyprof/prof/misc.py:215
Method
flops
(self)
apex/apex/pyprof/prof/linear.py:183
Method
flops
(self)
apex/apex/pyprof/prof/pointwise.py:141
Method
flops
Note that 1 FMA = 2 flops.
apex/apex/pyprof/prof/base.py:25
Method
flops
(self)
apex/apex/pyprof/prof/dropout.py:48
Method
flops
(self)
apex/apex/pyprof/prof/blas.py:73
Method
flops
(self)
apex/apex/pyprof/prof/blas.py:134
Method
flops
(self)
apex/apex/pyprof/prof/blas.py:272
Method
flops
(self)
apex/apex/pyprof/prof/softmax.py:47
Method
flops
(self)
apex/apex/pyprof/prof/softmax.py:107
← previous
next →
1,601–1,700 of 2,488, ranked by callers