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
get_lr
(self)
lreid/core/torch16_lr_scheduler.py:305
Method
get_lr
(self)
lreid/core/torch16_lr_scheduler.py:348
Method
get_lr
(self)
lreid/core/torch16_lr_scheduler.py:393
Method
get_lr
(self)
lreid/core/torch16_lr_scheduler.py:423
Method
get_lr
(self)
lreid/core/torch16_lr_scheduler.py:481
Method
get_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
Method
get_lr
(self)
lreid/core/torch16_lr_scheduler.py:1203
Method
get_lr
(self)
lreid/core/lr_schedulers.py:61
Method
global_scale
(self)
apex/apex/contrib/optimizers/distributed_fused_adam_v3.py:274
Method
global_scale
(self)
apex/apex/contrib/optimizers/distributed_fused_adam.py:510
Method
global_scale
(self)
apex/apex/contrib/optimizers/distributed_fused_adam_v2.py:493
Method
global_scale
(self)
apex/apex/contrib/optimizers/distributed_fused_lamb.py:563
Function
half_function
(fn)
apex/apex/amp/amp.py:30
Method
has_cache
(self)
apex/apex/amp/handle.py:239
Method
has_cache
(self)
apex/apex/amp/handle.py:270
Function
has_func
(mod, fn)
apex/apex/amp/utils.py:134
Method
has_overflow
(self)
apex/apex/contrib/optimizers/distributed_fused_adam_v3.py:196
Method
has_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
Method
has_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
Method
has_overflow
(self, params)
apex/apex/fp16_utils/loss_scaler.py:26
Method
has_overflow
(self, params)
apex/apex/fp16_utils/loss_scaler.py:84
Function
hook_adapavgpool1d
(m, x, y)
lreid/utils/model_complexity.py:121
Function
hook_adapavgpool2d
(m, x, y)
lreid/utils/model_complexity.py:130
Function
hook_adapavgpool3d
(m, x, y)
lreid/utils/model_complexity.py:140
Function
hook_adapmaxpool1d
(m, x, y)
lreid/utils/model_complexity.py:92
Function
hook_adapmaxpool2d
(m, x, y)
lreid/utils/model_complexity.py:101
Function
hook_adapmaxpool3d
(m, x, y)
lreid/utils/model_complexity.py:111
Function
hook_avgpool1d
(m, x, y)
lreid/utils/model_complexity.py:70
Function
hook_avgpool2d
(m, x, y)
lreid/utils/model_complexity.py:76
Function
hook_avgpool3d
(m, x, y)
lreid/utils/model_complexity.py:84
Function
hook_convNd
(m, x, y)
lreid/utils/model_complexity.py:32
Function
hook_groupnorm
(m, x, y)
lreid/utils/model_complexity.py:185
Function
hook_instancenormNd
(m, x, y)
lreid/utils/model_complexity.py:181
Function
hook_layernorm
(m, x, y)
lreid/utils/model_complexity.py:189
Function
hook_leakyrelu
(m, x, y)
lreid/utils/model_complexity.py:161
Function
hook_linear
(m, x, y)
lreid/utils/model_complexity.py:202
Function
hook_maxpool1d
(m, x, y)
lreid/utils/model_complexity.py:47
Function
hook_maxpool2d
(m, x, y)
lreid/utils/model_complexity.py:53
Function
hook_maxpool3d
(m, x, y)
lreid/utils/model_complexity.py:62
Function
hook_relu
(m, x, y)
lreid/utils/model_complexity.py:155
Method
img_grid_many
(self, d)
lreid/visualization/visdom_show.py:76
Method
img_grid_many
(self, d)
lreid/visualization/logger.py:160
Method
img_many
(self, d)
lreid/visualization/visdom_show.py:48
Method
in_cooldown
(self)
lreid/core/torch16_lr_scheduler.py:634
Method
incr
apex/apex/contrib/csrc/multihead_attn/philox.h:58
Method
incr_n
apex/apex/contrib/csrc/multihead_attn/philox.h:45
Function
init
(enabled=True, loss_scale="dynamic", enable_caching=True, verbose=False, allow_banned=False)
apex/apex/amp/amp.py:68
Function
init
()
apex/apex/pyprof/nvtx/nvmarker.py:206
Method
init_hidden
init_hidden()
apex/apex/RNN/RNNBackend.py:59
Method
init_hidden
init_hidden()
apex/apex/RNN/RNNBackend.py:204
Method
init_inference
init_inference()
apex/apex/RNN/RNNBackend.py:80
Function
initialize
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
Method
inspect_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
Method
is_active
(self)
apex/apex/amp/handle.py:255
Function
is_cuda_enabled
()
apex/apex/amp/utils.py:8
Function
is_floating_point
(x)
apex/apex/amp/compat.py:24
Method
is_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
Function
is_tensor_like
(x)
apex/apex/amp/compat.py:19
Function
label_smoothing_opt_1
(x, target, padding_idx, smoothing)
apex/apex/contrib/test/test_label_smoothing.py:20
Function
layer_norm
apex/csrc/layer_norm_cuda.cpp:121
Function
layer_norm_affine
apex/csrc/layer_norm_cuda.cpp:139
Function
layer_norm_gradient
apex/csrc/layer_norm_cuda.cpp:182
Function
layer_norm_gradient_affine
apex/csrc/layer_norm_cuda.cpp:205
Function
lazy_init_no_master_weights
(self)
apex/apex/amp/_process_optimizer.py:205
Function
lazy_init_with_master_weights
(self)
apex/apex/amp/_process_optimizer.py:28
Function
ln_bwd
apex/apex/contrib/csrc/layer_norm/ln_api.cpp:58
Function
ln_fwd
apex/apex/contrib/csrc/layer_norm/ln_api.cpp:15
Function
load_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
Function
load_state_dict
(state_dict)
apex/apex/amp/frontend.py:373
Method
load_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
Method
load_state_dict
(self, state_dict)
apex/apex/optimizers/fused_novograd.py:98
Method
load_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
Method
load_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
Method
load_state_dict
(self, state_dict)
lreid/core/torch16_lr_scheduler.py:670
Method
local2global
(self, local_dict, concatenate=False)
lreid/data_loader/reid_loaders.py:95
Method
log
self.log({'loss':1,'lr':0.0001})
lreid/visualization/visdom_show.py:90
Method
log
(self, *args, **kwargs)
lreid/visualization/logger.py:141
Method
log
(self, *args, **kwargs)
lreid/visualization/logger.py:202
Method
log_state
Gathers the stats from self.trainer.stats and passes them into self.log, as a list
lreid/visualization/logger.py:61
Method
loss_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
Method
loss_scale
(self)
apex/apex/fp16_utils/loss_scaler.py:124
Function
m4n2_1d
(mat, density)
apex/apex/contrib/sparsity/sparse_masklib.py:49
Function
m4n2_2d_best
(mat, density)
apex/apex/contrib/sparsity/sparse_masklib.py:140
Function
m4n2_2d_greedy
(mat, density)
apex/apex/contrib/sparsity/sparse_masklib.py:98
Function
mLSTM
:class:`mLSTM`
apex/apex/RNN/models.py:47
Function
mLSTMCell
mLSTMCell
apex/apex/RNN/cells.py:55
Method
make_onehot
(self, label)
lreid/core/base_metagraph_p_s.py:455
Function
masked_scale_softmax_warp_backward
apex/apex/contrib/csrc/multihead_attn/softmax.h:1654
Function
masked_scale_softmax_warp_backward_masked_dgrad
apex/apex/contrib/csrc/multihead_attn/softmax.h:1423
Function
masked_scale_softmax_warp_backward_recompute
apex/apex/contrib/csrc/multihead_attn/softmax.h:1738
Function
masked_scale_softmax_warp_backward_recompute_kernel
apex/apex/contrib/csrc/multihead_attn/softmax.h:1922
Function
masked_softmax_warp_backward
apex/apex/contrib/csrc/multihead_attn/softmax.h:2455
Function
masked_softmax_warp_forward
apex/apex/contrib/csrc/multihead_attn/softmax.h:947
Function
maybe_adam_undo
apex/apex/contrib/csrc/optimizers/fused_adam_cuda.cpp:57
Function
maybe_cast
apex/apex/contrib/csrc/optimizers/fused_adam_cuda.cpp:69
Function
maybe_float
(x, name='', verbose=False)
apex/apex/amp/utils.py:65
Function
maybe_half
(x, name='', verbose=False)
apex/apex/amp/utils.py:54
Function
mlp_backward
apex/csrc/mlp.cpp:93
Function
mlp_forward
apex/csrc/mlp.cpp:45
Method
mod
(self)
apex/apex/pyprof/prof/reduction.py:42
← previous
next →
1,801–1,900 of 2,488, ranked by callers