Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DingXiaoH/GSM-SGD
/ functions
Functions
233 in github.com/DingXiaoH/GSM-SGD
⨍
Functions
233
◇
Types & classes
28
↓ 1 callers
Function
representsInt
(s)
utils/misc.py:26
↓ 1 callers
Method
reset
(self)
utils/misc.py:100
↓ 1 callers
Method
reset
(self)
utils/timer.py:33
↓ 1 callers
Function
resnet_bottleneck_follow_dict
(res_n)
constants.py:360
↓ 1 callers
Function
resnet_bottleneck_origin_deps_converted
(res_n)
constants.py:273
↓ 1 callers
Function
resnet_bottleneck_origin_deps_flattened
(res_n)
constants.py:302
↓ 1 callers
Function
run_eval
(ds_val, max_iters, net, criterion, discrip_str, dataset_name)
gsm/gsm_train.py:71
↓ 1 callers
Function
sgd_optimizer
(cfg, model, no_l2_keywords, use_nesterov)
ding_train.py:44
↓ 1 callers
Function
sgd_optimizer
(cfg, model, no_l2_keywords, use_nesterov)
gsm/gsm_train.py:112
↓ 1 callers
Function
train_one_step
(net, data, label, optimizer, criterion, if_accum_grad = False, gradient_mask_tensor = None)
ding_train.py:29
↓ 1 callers
Function
train_one_step
(net, data, label, optimizer, criterion, nonzero_ratio)
gsm/gsm_train.py:28
↓ 1 callers
Function
wrn_convert_flattened_deps
(flattened)
constants.py:111
↓ 1 callers
Function
wrn_origin_deps_flattened
(n, k)
constants.py:96
↓ 1 callers
Function
wrn_pacesetter_idxes
(n)
constants.py:105
Method
Avgpool2d
(self, kernel_size, stride=None)
builder.py:96
Method
GAP
(self, kernel_size)
builder.py:102
Method
__call__
(self, input:torch.Tensor, target:torch.Tensor, sample_weight)
utils/loss.py:17
Method
__call__
(self, pred:torch.Tensor, target:torch.Tensor)
utils/loss.py:40
Method
__call__
(self, preds:List[torch.Tensor], target)
utils/loss.py:71
Method
__call__
(self, input:torch.Tensor, target:torch.Tensor)
utils/loss.py:86
Method
__enter__
(self)
utils/engine.py:270
Method
__exit__
(self, type, value, tb)
utils/engine.py:258
Method
__init__
(self, *args, **kwargs)
dataset.py:25
Method
__init__
(self, base_config)
builder.py:8
Method
__init__
(self, )
utils/loss.py:14
Method
__init__
(self, eps = 0.1, class_num = 1000)
utils/loss.py:33
Method
__init__
(self, sigma = 1.0)
utils/loss.py:81
Method
__init__
(self, name='No name', fmt = ':.2f')
utils/misc.py:95
Method
__init__
(self)
utils/timer.py:9
Method
__init__
( self, optimizer, milestones, gamma=0.1, warmup_factor=1.0 / 3,
utils/lr_scheduler.py:11
Method
__init__
(self)
utils/engine.py:24
Method
__init__
(self)
utils/engine.py:39
Method
__init__
(self, input_channels, internal_neurons)
custom_layers/se_block.py:6
Method
__init__
(self)
custom_layers/flatten_layer.py:5
Method
__init__
(self, num_classes, builder:ConvBuilder, deps=None)
base_model/cfqk.py:8
Method
__init__
(self, input_channels, block_channels, stride, projection_shortcut, use_dropout, builder:ConvBuilder)
base_model/wrn.py:7
Method
__init__
(self, builder:ConvBuilder, deps=SIMPLE_ALEXNET_DEPS)
base_model/alexnet.py:8
Method
__init__
(self, builder:ConvBuilder, num_classes)
base_model/mobilenetv1.py:25
Method
__init__
(self, num_classes, builder:ConvBuilder, deps)
base_model/vgg.py:6
Method
__init__
(self, builder:ConvBuilder)
base_model/lenet5.py:36
Method
__init__
(self, builder:ConvBuilder, in_planes, planes, stride=1)
base_model/resnet.py:20
Method
__init__
(self, builder:ConvBuilder, in_planes, planes, stride=1)
base_model/resnet.py:44
Method
__init__
(self, in_channels, conv1_channels, conv2_channels, stride=1, builder=None)
base_model/resnet.py:70
Method
__init__
(self, builder:ConvBuilder, block, num_blocks, num_classes=10)
base_model/resnet.py:154
Method
__next__
(self)
dataset.py:33
Method
__str__
(self)
utils/misc.py:116
Function
add_path
(path)
utils/misc.py:183
Function
all_gather
Run all_gather on arbitrary picklable data (not necessarily tensors) Args: data: any picklable object Returns: list[data]
utils/torch_utils.py:48
Method
average_time
(self)
utils/timer.py:13
Method
avg_time_str
(self)
utils/timer.py:39
Function
convert_flattened_resnet50_deps
(deps)
constants.py:213
Function
convert_resnet_bottleneck_deps
(deps)
constants.py:284
Function
create_CFQKBNC
(cfg, builder)
base_model/cfqk.py:32
Function
create_CFQKBNH
(cfg, builder)
base_model/cfqk.py:35
Function
create_MobileV1CH
(cfg, builder)
base_model/mobilenetv1.py:51
Function
create_MobileV1Cifar
(cfg, builder)
base_model/mobilenetv1.py:49
Function
create_RC110
(cfg, builder)
base_model/resnet.py:135
Function
create_RC164
(cfg, builder)
base_model/resnet.py:138
Function
create_RC56
(cfg, builder)
base_model/resnet.py:132
Function
create_RH110
(cfg, builder)
base_model/resnet.py:144
Function
create_RH164
(cfg, builder)
base_model/resnet.py:147
Function
create_RH56
(cfg, builder)
base_model/resnet.py:141
Function
create_ResNet101
(cfg, builder)
base_model/resnet.py:194
Function
create_ResNet152
(cfg, builder)
base_model/resnet.py:197
Function
create_ResNet18
(cfg, builder)
base_model/resnet.py:185
Function
create_ResNet34
(cfg, builder)
base_model/resnet.py:188
Function
create_ResNet50
(cfg, builder)
base_model/resnet.py:191
Function
create_alexBN
(cfg, builder)
base_model/alexnet.py:67
Function
create_lenet300
(cfg, builder)
base_model/lenet5.py:57
Function
create_lenet5
(cfg, builder)
base_model/lenet5.py:54
Function
create_vc
(cfg, builder)
base_model/vgg.py:43
Function
create_vh
(cfg, builder)
base_model/vgg.py:45
Function
create_wrnc16drop
(cfg, builder)
base_model/wrn.py:83
Function
create_wrnc16plain
(cfg, builder)
base_model/wrn.py:81
Function
create_wrnc28drop
(cfg, builder)
base_model/wrn.py:87
Function
create_wrnc28plain
(cfg, builder)
base_model/wrn.py:85
Function
create_wrnc40drop
(cfg, builder)
base_model/wrn.py:91
Function
create_wrnc40plain
(cfg, builder)
base_model/wrn.py:89
Function
create_wrnh16drop
(cfg, builder)
base_model/wrn.py:96
Function
create_wrnh16plain
(cfg, builder)
base_model/wrn.py:94
Function
create_wrnh28drop
(cfg, builder)
base_model/wrn.py:100
Function
create_wrnh28plain
(cfg, builder)
base_model/wrn.py:98
Function
create_wrnh40drop
(cfg, builder)
base_model/wrn.py:104
Function
create_wrnh40plain
(cfg, builder)
base_model/wrn.py:102
Function
extant_file
'Type' for argparse - checks that file exists but does not open.
utils/pyt_utils.py:12
Function
format_metric_dict_to_line
(metric_dict)
utils/misc.py:188
Method
forward
(self, inputs)
custom_layers/se_block.py:11
Method
forward
(self, inputs)
custom_layers/flatten_layer.py:8
Method
forward
(self, x)
base_model/cfqk.py:19
Method
forward
(self, input)
base_model/wrn.py:26
Method
forward
(self, x)
base_model/wrn.py:68
Method
forward
(self, x)
base_model/alexnet.py:53
Method
forward
(self, x)
base_model/mobilenetv1.py:13
Method
forward
(self, x)
base_model/mobilenetv1.py:41
Method
forward
(self, x)
base_model/vgg.py:34
Method
forward
(self, x)
base_model/lenet5.py:24
Method
forward
(self, x)
base_model/lenet5.py:45
Method
forward
(self, x)
base_model/resnet.py:33
Method
forward
(self, x)
base_model/resnet.py:58
Method
forward
(self, x)
base_model/resnet.py:84
← previous
next →
101–200 of 233, ranked by callers