MCPcopy Create free account

hub / github.com/LiyuanLucasLiu/RAdam / functions

Functions227 in github.com/LiyuanLucasLiu/RAdam

Method__init__
(self, inplanes, planes, stride=1, downsample=None)
cifar_imagenet/models/cifar/preresnet.py:57
Method__init__
(self, inplanes, planes, stride=1, downsample=None)
cifar_imagenet/models/cifar/resnet.py:25
Method__init__
(self, inplanes, planes, stride=1, downsample=None)
cifar_imagenet/models/cifar/resnet.py:57
Method__init__
(self, unit, unit_number, emb_dim, hid_dim, droprate)
language-model/model_word_ada/ddnet.py:8
Method__init__
(self, params, lr=1e-3, betas=(0.9, 0.999), eps=1e-8, weight_decay=0)
language-model/model_word_ada/radam.py:89
Method__init__
(self, unit, input_dim, increase_rate, droprate)
language-model/model_word_ada/densenet.py:13
Method__init__
(self, unit, input_dim, increase_rate, droprate, layer_drop = 0)
language-model/model_word_ada/ldnet.py:14
Method__init__
(self, root, range_idx, batch_size, sequence_length)
language-model/model_word_ada/dataset.py:97
Method__init__
Most parts are copied from torch.nn.modules.batchnorm._BatchNorm.
language-model/model_word_ada/bnlstm.py:17
Method__init__
(self, input_size, hidden_size, max_length=784, use_bias=True)
language-model/model_word_ada/bnlstm.py:78
Method__init__
(self, rnn, soft_max, w_num, w_dim, droprate, label_dim = -1, add_relu=False)
language-model/model_word_ada/LM.py:8
Method__init__
(self, input_size, cutoff)
language-model/model_word_ada/adaptive.py:8
Method__init__
(self, unit, input_dim, hid_dim, droprate)
language-model/model_word_ada/basic.py:8
Method__init__
(self, args, params)
nmt/my_module/radam.py:24
Method__init__
(self, args, optimizer)
nmt/my_module/linear_schedule.py:31
Method__init__
(self, args, params)
nmt/my_module/adam2.py:25
Method__init__
(self, args, params)
nmt/my_module/novograd.py:22
Method__init__
(self, args, optimizer)
nmt/my_module/poly_schedule.py:31
Method__init__
(self, params, lr=1e-3, betas=(0.9, 0.999), eps=1e-8, weight_decay=0, degenerated_to_sgd=False)
radam/radam.py:98
Method__init__
(self, params, lr=1e-3, betas=(0.9, 0.999), eps=1e-8, weight_decay=0, warmup = 0)
radam/radam.py:175
Method__iter__
(self)
language-model/model_word_ada/dataset.py:121
Method__next__
(self)
language-model/model_word_ada/dataset.py:43
Method__next__
(self)
language-model/model_word_ada/dataset.py:127
Method__repr__
(self)
language-model/model_word_ada/bnlstm.py:69
Method__setstate__
(self, state)
cifar_imagenet/utils/radam.py:89
Method__setstate__
(self, state)
cifar_imagenet/utils/radam.py:181
Method__setstate__
(self, state)
language-model/model_word_ada/radam.py:96
Method__setstate__
(self, state)
radam/radam.py:113
Method__setstate__
(self, state)
radam/radam.py:189
Methodadd_args
Add optimizer-specific arguments to the parser.
nmt/my_module/radam.py:31
Methodadd_args
Add arguments to the parser for this LR scheduler.
nmt/my_module/linear_schedule.py:57
Methodadd_args
Add optimizer-specific arguments to the parser.
nmt/my_module/adam2.py:32
Methodadd_args
Add optimizer-specific arguments to the parser.
nmt/my_module/novograd.py:29
Methodadd_args
Add arguments to the parser for this LR scheduler.
nmt/my_module/poly_schedule.py:50
Functionadjust_learning_rate
shrink learning rate for pytorch
language-model/model_word_ada/utils.py:39
Functionalexnet
r"""AlexNet model architecture from the `"One weird trick..." <https://arxiv.org/abs/1404.5997>`_ paper.
cifar_imagenet/models/cifar/alexnet.py:39
Functioncolorize
Converts a one-channel grayscale image to a color heatmap image
cifar_imagenet/utils/visualize.py:21
Functiondensenet
Constructs a ResNet model.
cifar_imagenet/models/cifar/densenet.py:145
Methodembed_forward
(self, w_in, target)
language-model/model_word_ada/LM.py:69
Methodforward
(self, x)
cifar_imagenet/models/imagenet/resnext.py:47
Methodforward
(self, x)
cifar_imagenet/models/imagenet/resnext.py:136
Methodforward
(self, x)
cifar_imagenet/models/cifar/resnext.py:42
Methodforward
(self, x)
cifar_imagenet/models/cifar/densenet.py:24
Methodforward
(self, x)
cifar_imagenet/models/cifar/densenet.py:49
Methodforward
(self, x)
cifar_imagenet/models/cifar/densenet.py:69
Methodforward
(self, x)
cifar_imagenet/models/cifar/densenet.py:129
Methodforward
(self, x)
cifar_imagenet/models/cifar/wrn.py:23
Methodforward
(self, x)
cifar_imagenet/models/cifar/wrn.py:43
Methodforward
(self, x)
cifar_imagenet/models/cifar/wrn.py:78
Methodforward
(self, x)
cifar_imagenet/models/cifar/alexnet.py:32
Methodforward
(self, x)
cifar_imagenet/models/cifar/vgg.py:31
Methodforward
(self, x)
cifar_imagenet/models/cifar/preresnet.py:35
Methodforward
(self, x)
cifar_imagenet/models/cifar/preresnet.py:70
Methodforward
(self, x)
cifar_imagenet/models/cifar/preresnet.py:144
Methodforward
(self, x)
cifar_imagenet/models/cifar/resnet.py:35
Methodforward
(self, x)
cifar_imagenet/models/cifar/resnet.py:70
Methodforward
(self, x)
cifar_imagenet/models/cifar/resnet.py:146
Methodforward
(self, x)
language-model/model_word_ada/ddnet.py:39
Methodforward
(self, x)
language-model/model_word_ada/ddnet.py:76
Methodforward
(self, x)
language-model/model_word_ada/densenet.py:40
Methodforward
(self, x)
language-model/model_word_ada/densenet.py:75
Methodforward
(self, x, p_out)
language-model/model_word_ada/ldnet.py:43
Methodforward
(self, x)
language-model/model_word_ada/ldnet.py:87
Methodforward
(self, input_, time)
language-model/model_word_ada/bnlstm.py:58
Methodforward
Args: input_: A (batch, input_size) tensor containing input features. hx: A tuple (h_0, c_0), which c
language-model/model_word_ada/bnlstm.py:126
Methodforward
(self, input_, length=None, hx=None)
language-model/model_word_ada/bnlstm.py:202
Methodforward
(self, w_in, target)
language-model/model_word_ada/adaptive.py:62
Methodforward
(self, x)
language-model/model_word_ada/basic.py:31
Methodforward
(self, x)
language-model/model_word_ada/basic.py:62
Functionget_mean_and_std
Compute the mean and std value of dataset.
cifar_imagenet/utils/misc.py:20
Methodget_tqdm
(self)
language-model/model_word_ada/dataset.py:113
Functioninit_embedding
Initialize embedding
language-model/model_word_ada/utils.py:23
Functioninit_linear
Initialize linear transformation
language-model/model_word_ada/utils.py:30
Functioninit_lstm
Initialize lstm
language-model/model_word_ada/utils.py:46
Functioninit_params
Init layer parameters.
cifar_imagenet/utils/misc.py:35
Methodload_embed
(self, origin_lm)
language-model/model_word_ada/LM.py:35
Methodlog_prob
(self, w_in)
language-model/model_word_ada/adaptive.py:41
Methodoptimizer_config
Return a kwarg dictionary that will be used to override optimizer args stored in checkpoints. This allows us to load a checkpoint and
nmt/my_module/radam.py:45
Methodoptimizer_config
Return a kwarg dictionary that will be used to override optimizer args stored in checkpoints. This allows us to load a checkpoint and
nmt/my_module/adam2.py:49
Methodoptimizer_config
Return a kwarg dictionary that will be used to override optimizer args stored in checkpoints. This allows us to load a checkpoint and
nmt/my_module/novograd.py:46
Methodplot
(self, names=None)
cifar_imagenet/utils/logger.py:95
Functionpreresnet
Constructs a ResNet model.
cifar_imagenet/models/cifar/preresnet.py:160
Methodrand_ini
(self)
language-model/model_word_ada/ddnet.py:33
Methodrand_ini
(self)
language-model/model_word_ada/ddnet.py:71
Methodrand_ini
(self)
language-model/model_word_ada/densenet.py:37
Methodrand_ini
(self)
language-model/model_word_ada/densenet.py:70
Methodrand_ini
(self)
language-model/model_word_ada/ldnet.py:40
Methodrand_ini
(self)
language-model/model_word_ada/ldnet.py:82
Methodrand_ini
(self)
language-model/model_word_ada/adaptive.py:33
Methodrand_ini
(self)
language-model/model_word_ada/basic.py:26
Methodrand_ini
(self)
language-model/model_word_ada/basic.py:57
Functionrepackage_hidden
Wraps hidden states in new Variables, to detach them from their history.
language-model/model_word_ada/utils.py:11
Functionresnet
Constructs a ResNet model.
cifar_imagenet/models/cifar/resnet.py:162
Functionresnext
Constructs a ResNeXt.
cifar_imagenet/models/cifar/resnext.py:122
Functionresnext101
Construct ResNeXt-101.
cifar_imagenet/models/imagenet/resnext.py:160
Functionresnext152
Construct ResNeXt-152.
cifar_imagenet/models/imagenet/resnext.py:168
Functionresnext50
Construct ResNeXt-50.
cifar_imagenet/models/imagenet/resnext.py:152
Functionshow_batch
(images, Mean=(2, 2, 2), Std=(0.5,0.5,0.5))
cifar_imagenet/utils/visualize.py:38
Functionshow_mask
(images, masklist, Mean=(2, 2, 2), Std=(0.5,0.5,0.5))
cifar_imagenet/utils/visualize.py:73
Functionshow_mask_single
(images, mask, Mean=(2, 2, 2), Std=(0.5,0.5,0.5))
cifar_imagenet/utils/visualize.py:44
← previousnext →101–200 of 227, ranked by callers