MCPcopy Create free account

hub / github.com/SLDGroup/MERIT / functions

Functions932 in github.com/SLDGroup/MERIT

↓ 2 callersFunctionget_condconv_initializer
(initializer, num_experts, expert_shape)
lib/models_timm/layers/cond_conv2d.py:21
↓ 2 callersMethodget_dicts
return info dicts for specified keys (or all if None) at specified indices (or out_indices if None)
lib/models_timm/features.py:49
↓ 2 callersMethodget_embed
(self, shape: List[int])
lib/models_timm/layers/pos_embed.py:201
↓ 2 callersFunctionget_same_padding
(x: int, k: int, s: int, d: int)
lib/models_timm/layers/padding.py:18
↓ 2 callersFunctiongrid_partition
(x, grid_size: List[int])
lib/maxxvit_4out.py:1144
↓ 2 callersFunctiongrid_partition
(x, grid_size: List[int])
lib/models_timm/maxxvit.py:1143
↓ 2 callersFunctiongrid_reverse
(windows, grid_size: List[int], img_size: List[int])
lib/maxxvit_4out.py:1154
↓ 2 callersFunctiongrid_reverse
(windows, grid_size: List[int], img_size: List[int])
lib/models_timm/maxxvit.py:1153
↓ 2 callersFunctiongroup_rms
(x, groups: int = 32, eps: float = 1e-5)
lib/models_timm/layers/evo_norm.py:90
↓ 2 callersFunctiongroup_with_matcher
( named_objects, group_matcher: Union[Dict, Callable], output_values: bool = False,
lib/models_timm/helpers.py:641
↓ 2 callersFunctioninference
(args, model, testloader, test_save_path=None)
test_ACDC.py:16
↓ 2 callersMethodinit_weights
(self, scheme='')
lib/maxxvit_4out.py:1578
↓ 2 callersMethodinit_weights
(self, scheme='')
lib/models_timm/maxxvit.py:1577
↓ 2 callersMethodinit_weights
(self, nlhb=False)
lib/models_timm/mlp_mixer.py:286
↓ 2 callersFunctioninplace_abn
(x, weight, bias, running_mean, running_var, training=True, momentum=0.1, eps=1e-05, activ
lib/models_timm/layers/inplace_abn.py:10
↓ 2 callersFunctioninstance_rms
(x, eps: float = 1e-5)
lib/models_timm/layers/evo_norm.py:47
↓ 2 callersFunctioninv_freq_bands
( num_bands: int, temperature: float = 100000., step: int = 2, dtype: torch.dt
lib/models_timm/layers/pos_embed.py:22
↓ 2 callersFunctioninv_instance_rms
(x, eps: float = 1e-5)
lib/models_timm/layers/filter_response_norm.py:14
↓ 2 callersFunctionis_scriptable
()
lib/models_timm/layers/config.py:63
↓ 2 callersFunctionlecun_normal_
(tensor)
lib/models_timm/layers/weight_init.py:124
↓ 2 callersFunctionload_state_dict
(checkpoint_path, use_ema=True)
lib/models_timm/helpers.py:45
↓ 2 callersFunctionload_state_dict_from_hf
(model_id: str, filename: str = 'pytorch_model.bin')
lib/models_timm/hub.py:95
↓ 2 callersFunctionnorm_cdf
(x)
lib/models_timm/layers/weight_init.py:11
↓ 2 callersFunctionparse_model_name
(model_name)
lib/models_timm/factory.py:10
↓ 2 callersFunctionpowerset
Returns all the subsets of this set. This is a generator.
utils/utils.py:21
↓ 2 callersFunctionrel_logits_1d
Compute relative logits along one dimension As per: https://gist.github.com/aravindsrinivas/56359b79f0ce4449bcb04ab4b56a57a2 Originally from
lib/models_timm/layers/bottleneck_attn.py:28
↓ 2 callersFunctionrel_logits_1d
Compute relative logits along one dimension As per: https://gist.github.com/aravindsrinivas/56359b79f0ce4449bcb04ab4b56a57a2 Originally from
lib/models_timm/layers/halo_attn.py:30
↓ 2 callersMethodreset_classifier
(self, num_classes, global_pool=None, distillation=None)
lib/models_timm/levit.py:511
↓ 2 callersMethodresize_mat
(self, x, t: int)
lib/models_timm/layers/non_local_attn.py:85
↓ 2 callersFunctionrun_function
(start, end, functions)
lib/models_timm/helpers.py:766
↓ 2 callersFunctiontest_single_volume
(image, label, net, classes, patch_size=[256, 256], test_save_path=None, case=None, z_spacing=1, class_names=N
utils/utils.py:172
↓ 2 callersFunctionwindow_partition
(x, window_size: List[int])
lib/maxxvit_4out.py:1126
↓ 2 callersFunctionwindow_partition
(x, window_size: List[int])
lib/models_timm/maxxvit.py:1125
↓ 2 callersFunctionwindow_reverse
(windows, window_size: List[int], img_size: List[int])
lib/maxxvit_4out.py:1136
↓ 2 callersFunctionwindow_reverse
(windows, window_size: List[int], img_size: List[int])
lib/models_timm/maxxvit.py:1135
↓ 1 callersMethod__init__
(self, num=40)
utils/utils.py:53
↓ 1 callersMethod__init__
(self, model, out_indices, out_map=None)
lib/models_timm/fx_features.py:69
↓ 1 callersMethod__init__
(self, drop_prob: float = 0., scale_by_keep: bool = True)
lib/models_timm/layers/drop.py:160
↓ 1 callersMethod__init__
(self, feat_size, dim_head, scale)
lib/models_timm/layers/bottleneck_attn.py:61
↓ 1 callersMethod__init__
( self, in_features: int, feat_size: Union[int, Tuple[int, int]],
lib/models_timm/layers/attention_pool2d.py:88
↓ 1 callersMethod__init__
(self, kernel_size: int, stride=None, padding=0, ceil_mode=False, count_include_pad=True)
lib/models_timm/layers/pool2d_same.py:24
↓ 1 callersMethod__init__
(self, in_channels, out_channels, kernel_size=3, stride=1, dilation=1, padding='', bias=False,
lib/models_timm/layers/separable_conv.py:54
↓ 1 callersMethod__init__
(self, max_res: int = 224, num_bands: int = 64, concat_grid=True, keep_spatial=False)
lib/models_timm/layers/pos_embed.py:114
↓ 1 callersMethod__init__
( self, channels=None, kernel_size=3, gamma=2, beta=1, act_layer=None, gate_layer='sigmoid',
lib/models_timm/layers/eca.py:60
↓ 1 callersMethod__init__
( self, in_channels, out_channels, kernel_size=1, stride=1, padding='', dilation=1, groups=1,
lib/models_timm/layers/conv_bn_act.py:13
↓ 1 callersMethod__init__
(self, in_channels, out_channels=None, kernel_size=3, stride=1, padding=None, dilation=1, gro
lib/models_timm/layers/split_attn.py:36
↓ 1 callersMethod__init__
( self, dim, dim_out=None, feat_size=None, stride=1, num_heads=8, dim_head=None, block_size=8, hal
lib/models_timm/layers/halo_attn.py:125
↓ 1 callersMethod__init__
(self, num_features, apply_act=True, eps=1e-5, rms=True, **_)
lib/models_timm/layers/filter_response_norm.py:20
↓ 1 callersMethod__init__
Selective Kernel Convolution Module As described in Selective Kernel Networks (https://arxiv.org/abs/1903.06586) with some modifications.
lib/models_timm/layers/selective_kernel.py:51
↓ 1 callersMethod_dice_loss
(self, score, target)
utils/utils.py:119
↓ 1 callersFunction_get_grouping
(name)
lib/models_timm/helpers.py:662
↓ 1 callersFunction_get_return_layers
(feature_info, out_map)
lib/models_timm/features.py:145
↓ 1 callersFunction_is_contiguous
(tensor: torch.Tensor)
lib/models_timm/layers/norm.py:75
↓ 1 callersFunction_kernel_valid
(k)
lib/models_timm/layers/selective_kernel.py:15
↓ 1 callersFunction_layer_norm_cf
(x: torch.Tensor, weight: torch.Tensor, bias: torch.Tensor, eps: float)
lib/models_timm/layers/norm.py:84
↓ 1 callersFunction_num_groups
(num_channels, num_groups, group_size)
lib/models_timm/layers/norm_act.py:172
↓ 1 callersMethod_one_hot_encoder
(self, input_tensor)
utils/utils.py:111
↓ 1 callersMethod_padding
(self, x)
lib/models_timm/layers/median_pool.py:25
↓ 1 callersMethod_partition_attn
(self, x)
lib/maxxvit_4out.py:1213
↓ 1 callersMethod_partition_attn
(self, x)
lib/maxxvit_4out.py:1286
↓ 1 callersMethod_partition_attn
(self, x)
lib/maxxvit_4out.py:1384
↓ 1 callersMethod_partition_attn
(self, x)
lib/models_timm/maxxvit.py:1212
↓ 1 callersMethod_partition_attn
(self, x)
lib/models_timm/maxxvit.py:1285
↓ 1 callersMethod_partition_attn
(self, x)
lib/models_timm/maxxvit.py:1383
↓ 1 callersFunctionadapt_input_conv
(in_chans, conv_weight)
lib/models_timm/helpers.py:215
↓ 1 callersFunctionadapt_model_from_file
(parent_module, model_variant)
lib/models_timm/helpers.py:422
↓ 1 callersFunctionadapt_model_from_string
(parent_module, model_string)
lib/models_timm/helpers.py:365
↓ 1 callersFunctionadaptive_pool_feat_mult
(pool_type='avg')
lib/models_timm/layers/adaptive_avgmax_pool.py:17
↓ 1 callersFunctionbuild_rotary_pos_embed
NOTE: shape arg should include spatial dim only
lib/models_timm/layers/pos_embed.py:163
↓ 1 callersFunctioncalculate_metric_percase
(pred, gt)
utils/utils.py:146
↓ 1 callersFunctioncfg_window_size
(cfg: MaxxVitTransformerCfg, img_size: Tuple[int, int])
lib/maxxvit_4out.py:1588
↓ 1 callersFunctioncfg_window_size
(cfg: MaxxVitTransformerCfg, img_size: Tuple[int, int])
lib/models_timm/maxxvit.py:1587
↓ 1 callersFunctioncreate_aa
(aa_layer, channels, stride=2, enable=True)
lib/models_timm/layers/conv_bn_act.py:44
↓ 1 callersFunctiondownload_cached_file
(url, check_hash=True, progress=False)
lib/models_timm/hub.py:43
↓ 1 callersFunctiondrop_block_2d
DropBlock. See https://arxiv.org/pdf/1810.12890.pdf DropBlock with an experimental gaussian noise option. This layer has been tested on a few tr
lib/models_timm/layers/drop.py:22
↓ 1 callersFunctiondrop_block_fast_2d
DropBlock. See https://arxiv.org/pdf/1810.12890.pdf DropBlock with an experimental gaussian noise option. Simplied from above without concern fo
lib/models_timm/layers/drop.py:70
↓ 1 callersFunctiondrop_path
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks). This is the same as the DropConnect impl I created for E
lib/models_timm/layers/drop.py:137
↓ 1 callersFunctionextract_layer
(model, layer)
lib/models_timm/helpers.py:323
↓ 1 callersMethodfeat_mult
(self)
lib/models_timm/layers/adaptive_avgmax_pool.py:111
↓ 1 callersFunctionfilter_kwargs
(kwargs, names)
lib/models_timm/helpers.py:457
↓ 1 callersMethodforward
(self, x)
lib/models_timm/layers/norm_act.py:195
↓ 1 callersMethodforward_features
(self, x)
lib/maxxvit_4out.py:1709
↓ 1 callersMethodforward_features
(self, x)
lib/models_timm/convnext.py:396
↓ 1 callersMethodforward_features
(self, x)
lib/models_timm/maxxvit.py:1703
↓ 1 callersMethodforward_features
(self, x)
lib/models_timm/vision_transformer_relpos.py:482
↓ 1 callersMethodforward_features
(self, x)
lib/models_timm/mlp_mixer.py:312
↓ 1 callersMethodforward_head
(self, x, pre_logits: bool = False)
lib/models_timm/levit.py:527
↓ 1 callersMethodforward_head
(self, x, pre_logits: bool = False)
lib/models_timm/convnext.py:402
↓ 1 callersMethodforward_head
(self, x, pre_logits: bool = False)
lib/models_timm/maxxvit.py:1709
↓ 1 callersMethodforward_head
(self, x, pre_logits: bool = False)
lib/models_timm/vision_transformer_relpos.py:496
↓ 1 callersMethodfrom_other
(self, out_indices: Tuple[int])
lib/models_timm/features.py:33
↓ 1 callersFunctiongen_relative_log_coords
( win_size: Tuple[int, int], pretrained_win_size: Tuple[int, int] = (0, 0), mode='swin
lib/models_timm/vision_transformer_relpos.py:100
↓ 1 callersFunctionget_attn
(attn_type)
lib/models_timm/layers/create_attn.py:21
↓ 1 callersMethodget_bias
(self)
lib/models_timm/vision_transformer_relpos.py:227
↓ 1 callersFunctionget_cache_dir
Returns the location of the directory where models are cached (and creates it if necessary).
lib/models_timm/hub.py:28
↓ 1 callersMethodget_classifier
(self)
lib/models_timm/levit.py:508
↓ 1 callersMethodget_output
(self, device)
lib/models_timm/features.py:115
↓ 1 callersFunctionget_pretrained_cfg
(model_name)
lib/models_timm/registry.py:132
↓ 1 callersFunctiongrid_partition_nchw
(x, grid_size: List[int])
lib/maxxvit_4out.py:1323
↓ 1 callersFunctiongrid_partition_nchw
(x, grid_size: List[int])
lib/models_timm/maxxvit.py:1322
← previousnext →101–200 of 932, ranked by callers