MCPcopy Create free account

hub / github.com/OpenBMB/VisRAG / functions

Functions5,024 in github.com/OpenBMB/VisRAG

↓ 8 callersFunction_cfg_coat
(url='', **kwargs)
timm_modified/timm/models/coat.py:717
↓ 8 callersFunction_create_coat
(variant, pretrained=False, default_cfg=None, **kwargs)
timm_modified/timm/models/coat.py:703
↓ 8 callersFunction_create_mvitv2
(variant, cfg_variant=None, pretrained=False, **kwargs)
timm_modified/timm/models/mvitv2.py:950
↓ 8 callersFunction_create_pit
(variant, pretrained=False, **kwargs)
timm_modified/timm/models/pit.py:306
↓ 8 callersFunction_create_repghostnet
Constructs a RepGhostNet model
timm_modified/timm/models/repghost.py:337
↓ 8 callersFunction_create_repvit
(variant, pretrained=False, **kwargs)
timm_modified/timm/models/repvit.py:431
↓ 8 callersFunction_create_resnest
(variant, pretrained=False, **kwargs)
timm_modified/timm/models/resnest.py:120
↓ 8 callersFunction_create_vgg
(variant: str, pretrained: bool, **kwargs: Any)
timm_modified/timm/models/vgg.py:193
↓ 8 callersFunction_gen_efficientnet_edge
Creates an EfficientNet-EdgeTPU model Ref impl: https://github.com/tensorflow/tpu/tree/master/models/official/efficientnet/edgetpu
timm_modified/timm/models/efficientnet.py:541
↓ 8 callersFunction_get_input_size
(model=None, model_name='', target=None)
timm_modified/tests/test_models.py:88
↓ 8 callersFunction_log_info_if
(msg, condition)
timm_modified/timm/models/_efficientnet_builder.py:67
↓ 8 callersFunctionconv_bn
(in_chs, out_chs, k=3, stride=1, padding=None, dilation=1)
timm_modified/timm/models/selecsls.py:70
↓ 8 callersFunctionis_fast_norm
()
timm_modified/timm/layers/fast_norm.py:31
↓ 8 callersFunctionis_package_available
(name: str)
src/rsgrpo/verl/utils/py_functional.py:54
↓ 8 callersFunctionload_fsdp_model
(model: FSDP, empty_cache: bool = True)
src/rsgrpo/verl/utils/fsdp_utils.py:94
↓ 8 callersFunctionremove_cls
Remove CLS token.
timm_modified/timm/models/coat.py:682
↓ 8 callersMethodto_dtype
(precision: str)
src/rsgrpo/verl/utils/torch_dtypes.py:39
↓ 7 callersMethod__init__
( self, in_chans, num_classes=1000, global_pool='avg',
timm_modified/timm/models/nextvit.py:444
↓ 7 callersMethod__init__
( self, input_size: int, hidden_size: int, num_layers: int = 1
timm_modified/timm/models/sequencer.py:163
↓ 7 callersFunction_cfg
(url='', **kwargs)
timm_modified/timm/models/densenet.py:335
↓ 7 callersFunction_cfg
(url='', **kwargs)
timm_modified/timm/models/pvt_v2.py:440
↓ 7 callersFunction_check_args_tf
(kwargs)
timm_modified/timm/data/auto_augment.py:60
↓ 7 callersFunction_create_beit
(variant, pretrained=False, **kwargs)
timm_modified/timm/models/beit.py:549
↓ 7 callersFunction_create_dpn
(variant, pretrained=False, **kwargs)
timm_modified/timm/models/dpn.py:283
↓ 7 callersFunction_create_fastvit
(variant, pretrained=False, **kwargs)
timm_modified/timm/models/fastvit.py:1324
↓ 7 callersFunction_create_pvt2
(variant, pretrained=False, **kwargs)
timm_modified/timm/models/pvt_v2.py:426
↓ 7 callersFunction_dm_nfnet_cfg
( depths, channels=(256, 512, 1536, 1536), act_layer='gelu', skipinit=True, )
timm_modified/timm/models/nfnet.py:526
↓ 7 callersFunction_gen_mobilenet_v2
Generate MobileNet-V2 network Ref impl: https://github.com/tensorflow/models/blob/master/research/slim/nets/mobilenet/mobilenet_v2.py Paper:
timm_modified/timm/models/efficientnet.py:397
↓ 7 callersFunction_mobilevitv2_cfg
(multiplier=1.0)
timm_modified/timm/models/mobilevit.py:67
↓ 7 callersFunction_next_cfg
( stride_mode='dw', pool_type='avg2', conv_norm_layer='layernorm2d', conv_norm
timm_modified/timm/models/maxxvit.py:1365
↓ 7 callersMethodconcat
Concat a list of DataProto. The batch is concatenated among dim=0. The meta_info is assumed to be identical and will use the first one.
src/rsgrpo/verl/protocol.py:587
↓ 7 callersFunctionconv3x3
3x3 convolution + batch norm
timm_modified/timm/models/xcit.py:67
↓ 7 callersFunctioncreate_attn
(attn_type, channels, **kwargs)
timm_modified/timm/layers/create_attn.py:84
↓ 7 callersMethodget_dicts
return info dicts for specified keys (or all if None) at specified indices (or out_indices if None)
timm_modified/timm/models/_features.py:56
↓ 7 callersFunctionget_padding
(kernel_size: int, stride: int = 1, dilation: int = 1, **_)
timm_modified/timm/layers/padding.py:13
↓ 7 callersFunctionload_class_map
(map_or_filename, root='')
timm_modified/timm/data/readers/class_map.py:5
↓ 7 callersFunctionmerge_pre_bn
Merge pre BN to reduce inference runtime.
timm_modified/timm/models/nextvit.py:23
↓ 7 callersFunctionnum_groups
(group_size, channels)
timm_modified/timm/models/byobnet.py:149
↓ 7 callersFunctionpad_same
( x, kernel_size: List[int], stride: List[int], dilation: List[int] = (1, 1),
timm_modified/timm/layers/padding.py:45
↓ 7 callersMethodprint_rank0
(self, *args, **kwargs)
src/rsgrpo/verl/single_controller/base/worker.py:182
↓ 7 callersFunctionresample_abs_pos_embed
( posemb, new_size: List[int], old_size: Optional[List[int]] = None, num_prefi
timm_modified/timm/layers/pos_embed.py:17
↓ 7 callersMethodreset_parameters
(self)
timm_modified/timm/layers/norm.py:147
↓ 7 callersFunctionstr_to_interp_mode
(mode_str)
timm_modified/timm/data/transforms.py:87
↓ 6 callersMethod__init__
(self, flatten: bool = False, input_fmt: F = 'NCHW')
timm_modified/timm/layers/adaptive_avgmax_pool.py:59
↓ 6 callersMethod__init__
( self, num_channels, num_groups=32, eps=1e-5, aff
timm_modified/timm/layers/norm_act.py:348
↓ 6 callersMethod__init__
( self, in_chs_left, out_chs_left, in_chs_right, o
timm_modified/timm/models/pnasnet.py:172
↓ 6 callersMethod__init__
(self, in_channels, pool_features, conv_block=None)
timm_modified/timm/models/inception_v3.py:24
↓ 6 callersMethod__init__
(self, in_features, out_features=None, act_layer=nn.GELU, kernel_size=3)
timm_modified/timm/models/xcit.py:121
↓ 6 callersMethod__init__
Args: cfg (CspModelCfg): Model architecture configuration in_chans (int): Number of input channels (default: 3)
timm_modified/timm/models/cspnet.py:626
↓ 6 callersMethod__init__
(self, scale=1.0, no_relu=False, conv_block=None)
timm_modified/timm/models/inception_resnet_v2.py:168
↓ 6 callersMethod__init__
( self, dim: int, num_heads: int, mlp_ratio: float = 4.,
timm_modified/timm/models/vision_transformer.py:126
↓ 6 callersFunction_cfg
(url='', **kwargs)
timm_modified/timm/models/edgenext.py:489
↓ 6 callersFunction_cfg
(url='', **kwargs)
timm_modified/timm/models/ghostnet.py:361
↓ 6 callersFunction_cfg
(url='', **kwargs)
timm_modified/timm/models/xception_aligned.py:307
↓ 6 callersFunction_cfg
(url='', **kwargs)
timm_modified/timm/models/davit.py:630
↓ 6 callersFunction_cfg
(url='', **kwargs)
timm_modified/timm/models/nest.py:498
↓ 6 callersFunction_cfg
(url='', **kwargs)
timm_modified/timm/models/efficientvit_msra.py:530
↓ 6 callersFunction_cfg
(url='', **kwargs)
timm_modified/timm/models/hardcorenas.py:55
↓ 6 callersFunction_cfg
(url='', **kwargs)
timm_modified/timm/models/twins.py:439
↓ 6 callersFunction_create_act
(act_layer, act_kwargs=None, inplace=False, apply_act=True)
timm_modified/timm/layers/norm_act.py:27
↓ 6 callersFunction_create_davit
(variant, pretrained=False, **kwargs)
timm_modified/timm/models/davit.py:615
↓ 6 callersFunction_create_densenet
(variant, growth_rate, block_config, pretrained, **kwargs)
timm_modified/timm/models/densenet.py:322
↓ 6 callersFunction_create_efficientvit_msra
(variant, pretrained=False, **kwargs)
timm_modified/timm/models/efficientvit_msra.py:572
↓ 6 callersFunction_create_ghostnet
Constructs a GhostNet model
timm_modified/timm/models/ghostnet.py:316
↓ 6 callersFunction_create_nest
(variant, pretrained=False, **kwargs)
timm_modified/timm/models/nest.py:485
↓ 6 callersFunction_create_resnetv2_bit
(variant, pretrained=False, **kwargs)
timm_modified/timm/models/resnetv2.py:542
↓ 6 callersFunction_create_twins
(variant, pretrained=False, **kwargs)
timm_modified/timm/models/twins.py:431
↓ 6 callersFunction_gen_efficientnet_condconv
Creates an EfficientNet-CondConv model. Ref impl: https://github.com/tensorflow/tpu/tree/master/models/official/efficientnet/condconv
timm_modified/timm/models/efficientnet.py:572
↓ 6 callersFunction_gen_efficientnetv2_s
Creates an EfficientNet-V2 Small model Ref impl: https://github.com/google/automl/tree/master/efficientnetv2 Paper: `EfficientNetV2: Smaller
timm_modified/timm/models/efficientnet.py:673
↓ 6 callersFunction_gen_hardcorenas
Creates a hardcorenas model Ref impl: https://github.com/Alibaba-MIIL/HardCoReNAS Paper: https://arxiv.org/abs/2102.11646
timm_modified/timm/models/hardcorenas.py:16
↓ 6 callersFunction_gen_mixnet_m
Creates a MixNet Medium-Large model. Ref impl: https://github.com/tensorflow/tpu/tree/master/models/official/mnasnet/mixnet Paper: https://ar
timm_modified/timm/models/efficientnet.py:835
↓ 6 callersFunction_nfreg_cfg
(depths, channels=(48, 104, 208, 440))
timm_modified/timm/models/nfnet.py:480
↓ 6 callersFunctioncutmix_bbox_and_lam
Generate bbox and apply lambda correction.
timm_modified/timm/data/mixup.py:77
↓ 6 callersFunctionfunc
(*args, **kwargs)
src/rsgrpo/verl/single_controller/ray/base.py:43
↓ 6 callersMethodfuse
(self)
timm_modified/timm/models/repvit.py:357
↓ 6 callersMethodget_rng_state
()
src/rsgrpo/verl/utils/checkpoint/checkpoint_manager.py:94
↓ 6 callersFunctionget_spatial_dim
(fmt: FormatT)
timm_modified/timm/layers/format.py:17
↓ 6 callersFunctionis_exportable
()
timm_modified/timm/layers/config.py:56
↓ 6 callersFunctionnormalize_answer_qa
(s)
src/rsgrpo/examples/reward_function/evidencecot.py:77
↓ 6 callersMethodpreprocess_data
(self, data: DataProto)
src/rsgrpo/verl/workers/sharding_manager/base.py:28
↓ 6 callersFunctionreduce_metrics
(metrics: Dict[str, List[Any]])
src/rsgrpo/verl/trainer/metrics.py:23
↓ 6 callersFunctionrepeat_kv
This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
src/openmatch/modeling/modeling_minicpmv/modeling_minicpm.py:338
↓ 6 callersFunctionresample_patch_embed
Resample the weights of the patch embedding kernel to target resolution. We resample the patch embedding kernel by approximately inverting the eff
timm_modified/timm/layers/patch_embed.py:139
↓ 6 callersFunctionreshape_post_pool
( x, num_heads: int, cls_tok: Optional[torch.Tensor] = None )
timm_modified/timm/models/mvitv2.py:133
↓ 6 callersFunctionreshape_pre_pool
( x, feat_size: List[int], has_cls_token: bool = True )
timm_modified/timm/models/mvitv2.py:118
↓ 6 callersFunctionresolve_data_config
( args=None, pretrained_cfg=None, model=None, use_test_size=False, ver
timm_modified/timm/data/config.py:8
↓ 6 callersFunctionsplit_model_name_tag
(model_name: str, no_tag: str = '')
timm_modified/timm/models/_registry.py:33
↓ 5 callersMethod__init__
( self, channels, rd_ratio=1./16, rd_channels=None, rd_divisor=1, spatial_kernel_size=
timm_modified/timm/layers/cbam.py:83
↓ 5 callersMethod__init__
(self, channels, eps=1e-6, affine=True, device=None, dtype=None)
timm_modified/timm/layers/norm.py:130
↓ 5 callersMethod__init__
( self, in_features, hidden_features=None, out_features=None,
timm_modified/timm/layers/mlp.py:16
↓ 5 callersMethod__init__
( self, levels, channels, output_stride=32, num_cl
timm_modified/timm/models/dla.py:262
↓ 5 callersMethod__init__
( self, in_chans=3, num_classes=1000, global_pool='avg',
timm_modified/timm/models/edgenext.py:301
↓ 5 callersMethod__init__
Args: layers (List[int]) : number of layers in each block channels (List[int]) : number of channels in each block:
timm_modified/timm/models/resnetv2.py:328
↓ 5 callersMethod__init__
Parameters ---------- block (nn.Module): Bottleneck class. - For SENet154: SEBottleneck - For SE-ResN
timm_modified/timm/models/senet.py:185
↓ 5 callersMethod__init__
( self, in_chs, out_chs, kernel_size, stride=1, dilation=1, group_size=0, pad_type='',
timm_modified/timm/models/_efficientnet_blocks.py:61
↓ 5 callersMethod__init__
( self, img_size=224, patch_size=16, in_chans=3, n
timm_modified/timm/models/coat.py:356
↓ 5 callersMethod__init__
(self, img_size=224, patch_size=16, in_chans=3, embed_dim=768, norm_layer=None)
timm_modified/timm/models/swin_transformer_v2_cr.py:417
↓ 5 callersMethod__init__
( self, in_features, hidden_features=None, out_features=None,
timm_modified/timm/models/inception_next.py:62
↓ 5 callersMethod__init__
( self, dim_in=3, dim_out=768, kernel=(7, 7), stri
timm_modified/timm/models/mvitv2.py:93
↓ 5 callersMethod__init__
(self, dim)
timm_modified/timm/models/mlp_mixer.py:86
← previousnext →201–300 of 5,024, ranked by callers