MCPcopy Create free account

hub / github.com/TPCD/LifelongReID / functions

Functions2,488 in github.com/TPCD/LifelongReID

Methodget_lr
(self)
lreid/core/torch16_lr_scheduler.py:305
Methodget_lr
(self)
lreid/core/torch16_lr_scheduler.py:348
Methodget_lr
(self)
lreid/core/torch16_lr_scheduler.py:393
Methodget_lr
(self)
lreid/core/torch16_lr_scheduler.py:423
Methodget_lr
(self)
lreid/core/torch16_lr_scheduler.py:481
Methodget_lr
Calculates the learning rate at batch index. This function treats `self.last_epoch` as the last batch index. If `self.cycle_momentum`
lreid/core/torch16_lr_scheduler.py:855
Methodget_lr
(self)
lreid/core/torch16_lr_scheduler.py:1203
Methodget_lr
(self)
lreid/core/lr_schedulers.py:61
Methodglobal_scale
(self)
apex/apex/contrib/optimizers/distributed_fused_adam_v3.py:274
Methodglobal_scale
(self)
apex/apex/contrib/optimizers/distributed_fused_adam.py:510
Methodglobal_scale
(self)
apex/apex/contrib/optimizers/distributed_fused_adam_v2.py:493
Methodglobal_scale
(self)
apex/apex/contrib/optimizers/distributed_fused_lamb.py:563
Functionhalf_function
(fn)
apex/apex/amp/amp.py:30
Methodhas_cache
(self)
apex/apex/amp/handle.py:239
Methodhas_cache
(self)
apex/apex/amp/handle.py:270
Functionhas_func
(mod, fn)
apex/apex/amp/utils.py:134
Methodhas_overflow
(self)
apex/apex/contrib/optimizers/distributed_fused_adam_v3.py:196
Methodhas_overflow
Check if overflows were detected by any call to step(...) method. Clears the overflow flag.
apex/apex/contrib/optimizers/distributed_fused_adam.py:514
Methodhas_overflow
Check if overflows were detected by any call to step(...) method. Clears the overflow flag.
apex/apex/contrib/optimizers/distributed_fused_adam_v2.py:497
Methodhas_overflow
(self, params)
apex/apex/fp16_utils/loss_scaler.py:26
Methodhas_overflow
(self, params)
apex/apex/fp16_utils/loss_scaler.py:84
Functionhook_adapavgpool1d
(m, x, y)
lreid/utils/model_complexity.py:121
Functionhook_adapavgpool2d
(m, x, y)
lreid/utils/model_complexity.py:130
Functionhook_adapavgpool3d
(m, x, y)
lreid/utils/model_complexity.py:140
Functionhook_adapmaxpool1d
(m, x, y)
lreid/utils/model_complexity.py:92
Functionhook_adapmaxpool2d
(m, x, y)
lreid/utils/model_complexity.py:101
Functionhook_adapmaxpool3d
(m, x, y)
lreid/utils/model_complexity.py:111
Functionhook_avgpool1d
(m, x, y)
lreid/utils/model_complexity.py:70
Functionhook_avgpool2d
(m, x, y)
lreid/utils/model_complexity.py:76
Functionhook_avgpool3d
(m, x, y)
lreid/utils/model_complexity.py:84
Functionhook_convNd
(m, x, y)
lreid/utils/model_complexity.py:32
Functionhook_groupnorm
(m, x, y)
lreid/utils/model_complexity.py:185
Functionhook_instancenormNd
(m, x, y)
lreid/utils/model_complexity.py:181
Functionhook_layernorm
(m, x, y)
lreid/utils/model_complexity.py:189
Functionhook_leakyrelu
(m, x, y)
lreid/utils/model_complexity.py:161
Functionhook_linear
(m, x, y)
lreid/utils/model_complexity.py:202
Functionhook_maxpool1d
(m, x, y)
lreid/utils/model_complexity.py:47
Functionhook_maxpool2d
(m, x, y)
lreid/utils/model_complexity.py:53
Functionhook_maxpool3d
(m, x, y)
lreid/utils/model_complexity.py:62
Functionhook_relu
(m, x, y)
lreid/utils/model_complexity.py:155
Methodimg_grid_many
(self, d)
lreid/visualization/visdom_show.py:76
Methodimg_grid_many
(self, d)
lreid/visualization/logger.py:160
Methodimg_many
(self, d)
lreid/visualization/visdom_show.py:48
Methodin_cooldown
(self)
lreid/core/torch16_lr_scheduler.py:634
Methodincr
apex/apex/contrib/csrc/multihead_attn/philox.h:58
Methodincr_n
apex/apex/contrib/csrc/multihead_attn/philox.h:45
Functioninit
(enabled=True, loss_scale="dynamic", enable_caching=True, verbose=False, allow_banned=False)
apex/apex/amp/amp.py:68
Functioninit
()
apex/apex/pyprof/nvtx/nvmarker.py:206
Methodinit_hidden
init_hidden()
apex/apex/RNN/RNNBackend.py:59
Methodinit_hidden
init_hidden()
apex/apex/RNN/RNNBackend.py:204
Methodinit_inference
init_inference()
apex/apex/RNN/RNNBackend.py:80
Functioninitialize
Initialize your models, optimizers, and the Torch tensor and functional namespace according to the chosen ``opt_level`` and overridden proper
apex/apex/amp/frontend.py:195
Methodinspect_master_grad_data
When running with :class:`FP16_Optimizer`, ``.grad`` attributes of a model's fp16 leaves should not be regarded as truthful,
apex/apex/fp16_utils/fp16_optimizer.py:493
Methodis_active
(self)
apex/apex/amp/handle.py:255
Functionis_cuda_enabled
()
apex/apex/amp/utils.py:8
Functionis_floating_point
(x)
apex/apex/amp/compat.py:24
Methodis_sparsity_enabled
Call this method to determine if sparsity is enabled in the model. The typical use case is right after checkpoint has been loaded.
apex/apex/contrib/sparsity/asp.py:191
Functionis_tensor_like
(x)
apex/apex/amp/compat.py:19
Functionlabel_smoothing_opt_1
(x, target, padding_idx, smoothing)
apex/apex/contrib/test/test_label_smoothing.py:20
Functionlayer_norm
apex/csrc/layer_norm_cuda.cpp:121
Functionlayer_norm_affine
apex/csrc/layer_norm_cuda.cpp:139
Functionlayer_norm_gradient
apex/csrc/layer_norm_cuda.cpp:182
Functionlayer_norm_gradient_affine
apex/csrc/layer_norm_cuda.cpp:205
Functionlazy_init_no_master_weights
(self)
apex/apex/amp/_process_optimizer.py:205
Functionlazy_init_with_master_weights
(self)
apex/apex/amp/_process_optimizer.py:28
Functionln_bwd
apex/apex/contrib/csrc/layer_norm/ln_api.cpp:58
Functionln_fwd
apex/apex/contrib/csrc/layer_norm/ln_api.cpp:15
Functionload_pretrained_weights
r"""Loads pretrianed weights to model. Features:: - Incompatible layers (unmatched in name or size) will be ignored. - Can automa
lreid/utils/torchtools.py:256
Functionload_state_dict
(state_dict)
apex/apex/amp/frontend.py:373
Methodload_state_dict
Loads a state_dict created by an earlier call to state_dict(). If an DistributedFusedAdam instance was constructed from some ``init_o
apex/apex/contrib/optimizers/distributed_fused_adam.py:615
Methodload_state_dict
(self, state_dict)
apex/apex/optimizers/fused_novograd.py:98
Methodload_state_dict
Loads the schedulers state. Arguments: state_dict (dict): scheduler state. Should be an object returned from a ca
lreid/core/torch16_lr_scheduler.py:88
Methodload_state_dict
Loads the schedulers state. Arguments: state_dict (dict): scheduler state. Should be an object returned from a ca
lreid/core/torch16_lr_scheduler.py:288
Methodload_state_dict
(self, state_dict)
lreid/core/torch16_lr_scheduler.py:670
Methodlocal2global
(self, local_dict, concatenate=False)
lreid/data_loader/reid_loaders.py:95
Methodlog
self.log({'loss':1,'lr':0.0001})
lreid/visualization/visdom_show.py:90
Methodlog
(self, *args, **kwargs)
lreid/visualization/logger.py:141
Methodlog
(self, *args, **kwargs)
lreid/visualization/logger.py:202
Methodlog_state
Gathers the stats from self.trainer.stats and passes them into self.log, as a list
lreid/visualization/logger.py:61
Methodloss_fn_fkd
Compute knowledge-distillation (KD) loss given [scores] and [target_scores]. Both [scores] and [target_scores] should be tensors, although [t
lreid/core/base_metagraph_p_s.py:599
Methodloss_scale
(self)
apex/apex/fp16_utils/loss_scaler.py:124
Functionm4n2_1d
(mat, density)
apex/apex/contrib/sparsity/sparse_masklib.py:49
Functionm4n2_2d_best
(mat, density)
apex/apex/contrib/sparsity/sparse_masklib.py:140
Functionm4n2_2d_greedy
(mat, density)
apex/apex/contrib/sparsity/sparse_masklib.py:98
FunctionmLSTM
:class:`mLSTM`
apex/apex/RNN/models.py:47
FunctionmLSTMCell
mLSTMCell
apex/apex/RNN/cells.py:55
Methodmake_onehot
(self, label)
lreid/core/base_metagraph_p_s.py:455
Functionmasked_scale_softmax_warp_backward
apex/apex/contrib/csrc/multihead_attn/softmax.h:1654
Functionmasked_scale_softmax_warp_backward_masked_dgrad
apex/apex/contrib/csrc/multihead_attn/softmax.h:1423
Functionmasked_scale_softmax_warp_backward_recompute
apex/apex/contrib/csrc/multihead_attn/softmax.h:1738
Functionmasked_scale_softmax_warp_backward_recompute_kernel
apex/apex/contrib/csrc/multihead_attn/softmax.h:1922
Functionmasked_softmax_warp_backward
apex/apex/contrib/csrc/multihead_attn/softmax.h:2455
Functionmasked_softmax_warp_forward
apex/apex/contrib/csrc/multihead_attn/softmax.h:947
Functionmaybe_adam_undo
apex/apex/contrib/csrc/optimizers/fused_adam_cuda.cpp:57
Functionmaybe_cast
apex/apex/contrib/csrc/optimizers/fused_adam_cuda.cpp:69
Functionmaybe_float
(x, name='', verbose=False)
apex/apex/amp/utils.py:65
Functionmaybe_half
(x, name='', verbose=False)
apex/apex/amp/utils.py:54
Functionmlp_backward
apex/csrc/mlp.cpp:93
Functionmlp_forward
apex/csrc/mlp.cpp:45
Methodmod
(self)
apex/apex/pyprof/prof/reduction.py:42
← previousnext →1,801–1,900 of 2,488, ranked by callers