MCPcopy Create free account

hub / github.com/Fanziyang-v/FlashVID / functions

Functions6,334 in github.com/Fanziyang-v/FlashVID

Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values: Optional[Tuple[
llava/model/language_model/llava_mpt.py:68
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
llava/model/language_model/llava_mixtral.py:57
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
llava/model/language_model/llava_mistral.py:62
Methodforward
(self, x, *args, **kwargs)
llava/model/multimodal_projector/builder.py:12
Methodforward
(self, x)
llava/model/multimodal_projector/builder.py:27
Methodforward
(self, x, *args, **kwargs)
llava/model/multimodal_projector/pooler_projector.py:22
Methodforward
(self, x)
llava/model/multimodal_encoder/imagebind.py:42
Methodforward
(self, images)
llava/model/multimodal_encoder/mlcd_encoder.py:73
Methodforward
(self, images)
llava/model/multimodal_encoder/mlcd_encoder.py:166
Methodforward
(self, pixel_values: torch.FloatTensor)
llava/model/multimodal_encoder/siglip_encoder.py:169
Methodforward
Input shape: Batch x Time x Channel
llava/model/multimodal_encoder/siglip_encoder.py:197
Methodforward
(self, hidden_states: torch.Tensor)
llava/model/multimodal_encoder/siglip_encoder.py:251
Methodforward
Args: hidden_states (`torch.FloatTensor`): Input to the layer of shape `(batch, seq_len, embed_dim)`.
llava/model/multimodal_encoder/siglip_encoder.py:269
Methodforward
r""" Args: inputs_embeds (`torch.FloatTensor` of shape `(batch_size, sequence_length, hidden_size)`): Optionally,
llava/model/multimodal_encoder/siglip_encoder.py:340
Methodforward
r""" Returns:
llava/model/multimodal_encoder/siglip_encoder.py:419
Methodforward
(self, hidden_state)
llava/model/multimodal_encoder/siglip_encoder.py:470
Methodforward
r""" Returns: Examples: ```python >>> from PIL import Image >>> import requests >>> from transformer
llava/model/multimodal_encoder/siglip_encoder.py:499
Methodforward
(self, images)
llava/model/multimodal_encoder/siglip_encoder.py:576
Methodforward
(self, images)
llava/model/multimodal_encoder/open_clip_encoder.py:105
Methodforward
(self, images)
llava/model/multimodal_encoder/clip_encoder.py:68
Methodforward
(self, images)
llava/model/multimodal_encoder/clip_encoder.py:160
Methodforward
(self, images)
llava/model/multimodal_encoder/hf_vision.py:63
Methodforward
(self, images)
llava/model/multimodal_encoder/dev_eva_clip/eva_vit.py:106
Methodforward
(self, image_features, text_features, logit_scale=1.0)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/loss.py:88
Methodforward
(self, t, start_index=0)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/rope.py:73
Methodforward
(self, t, patch_indices_keep=None)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/rope.py:115
Methodforward
(ctx, tensor, rank, world_size)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/utils.py:309
Methodforward
(self, x: torch.Tensor)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/modified_resnet.py:38
Methodforward
(self, x)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/modified_resnet.py:64
Methodforward
(self, x)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/modified_resnet.py:171
Methodforward
(self, img)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transform.py:23
Methodforward
(self, x)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/timm_model.py:111
Methodforward
(self, x: BaseModelOutput, attention_mask: TensorType)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/hf_model.py:49
Methodforward
(self, x: BaseModelOutput, attention_mask: TensorType)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/hf_model.py:58
Methodforward
(self, x: BaseModelOutput, attention_mask: TensorType)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/hf_model.py:72
Methodforward
(self, x: TensorType)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/hf_model.py:207
Methodforward
(self, x: torch.Tensor)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:43
Methodforward
(self, x: torch.Tensor)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:57
Methodforward
(self, x: torch.Tensor)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:65
Methodforward
(self, x)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:75
Methodforward
(self, x)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:91
Methodforward
(self, x, attn_mask: Optional[torch.Tensor] = None)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:188
Methodforward
(self, query: torch.Tensor, key: torch.Tensor, value: torch.Tensor, attn_mask: Optional[torch.Tensor] = None)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:271
Methodforward
(self, q: torch.Tensor, k: torch.Tensor, v: torch.Tensor, attn_mask: Optional[torch.Tensor] = None)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:352
Methodforward
(self, q: torch.Tensor, k: torch.Tensor = None, v: torch.Tensor = None, attn_mask: Optional[torch.Tensor] = No
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:404
Methodforward
(self, x: torch.Tensor, attn_mask: Optional[torch.Tensor] = None)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:448
Methodforward
(self, x: torch.Tensor, attn_mask: Optional[torch.Tensor] = None)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:476
Methodforward
(self, x: torch.Tensor, return_all_features: bool = False)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:567
Methodforward
(self, text, return_all_features: bool = False)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:668
Methodforward
(self, x)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:40
Methodforward
(self, x)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:69
Methodforward
(self, x)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:96
Methodforward
(self, x, rel_pos_bias=None, attn_mask=None)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:169
Methodforward
(self, x, rel_pos_bias=None, attn_mask=None)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:292
Methodforward
(self, x, **kwargs)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:325
Methodforward
(self)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:360
Methodforward
(self, x, return_all_features=False)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:566
Methodforward
(self, hidden_states)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/model.py:51
Methodforward
(self, image, text)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/model.py:275
Methodforward
(self, image, text)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/model.py:320
Methodforward
(self, seqlen: int)
llava/model/multimodal_encoder/mlcd/vit_rope2d_hf.py:37
Methodforward
(self, pixel_values: torch.FloatTensor)
llava/model/multimodal_encoder/mlcd/vit_rope2d_hf.py:78
Methodforward
Input shape: Batch x Seq x Hidden Size
llava/model/multimodal_encoder/mlcd/vit_rope2d_hf.py:119
Methodforward
Args: hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)` attention_mask (
llava/model/multimodal_encoder/mlcd/vit_rope2d_hf.py:155
Methodforward
r""" Args: inputs_embeds (`torch.FloatTensor` of shape `(batch_size, sequence_length, hidden_size)`): Optionally,
llava/model/multimodal_encoder/mlcd/vit_rope2d_hf.py:203
Methodforward
r""" Returns:
llava/model/multimodal_encoder/mlcd/vit_rope2d_hf.py:310
Methodforward
r""" Returns: Examples: ```python >>> from PIL import Image >>> import requests >>> from transformer
llava/model/multimodal_encoder/mlcd/vit_rope2d_hf.py:416
Methodforward
(self, images)
llava/model/multimodal_encoder/eva_clip/eva_clip_encoder.py:41
Methodforward
(self, t, patch_indices_keep=None)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:69
Methodforward
(self, x: torch.Tensor)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:91
Methodforward
(self, x)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:109
Methodforward
(self, x)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:176
Methodforward
(self, x)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:232
Methodforward
(self, x, rel_pos_bias=None, attn_mask=None)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:305
Methodforward
(self, x, rel_pos_bias=None, attn_mask=None)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:428
Methodforward
(self, x, **kwargs)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:461
Methodforward
(self)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:496
Methodforward
(self, x, return_all_features=False)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:706
Methodforward
(self, image, **kwargs)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:846
Methodforward_feature
(self, images)
llava/model/multimodal_encoder/mlcd_encoder.py:161
Methodforward_feature
(self, images)
llava/model/multimodal_encoder/clip_encoder.py:155
Methodforward_mlm
(self, input_ids, image_embeds, mlm_probability=0.25)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/hf_model.py:172
Methodforward_openclip
(self, x: torch.Tensor)
llava/model/multimodal_encoder/open_clip_encoder.py:80
Methodfrom_string
Initialize the aggregation type from a string.
lmms-eval/lmms_eval/tasks/megabench/metrics/aggregation_type.py:33
Methodfrom_string
Initialize the response parsing type from a string.
lmms-eval/lmms_eval/tasks/megabench/metrics/response_parse_type.py:48
Functionfunqa_BLEU
(results, args)
lmms-eval/lmms_eval/tasks/funqa/utils.py:356
Functionfunqa_BLEURT
(results, args)
lmms-eval/lmms_eval/tasks/funqa/utils.py:364
Functionfunqa_GPT_eval
(results, args)
lmms-eval/lmms_eval/tasks/funqa/utils.py:331
Functionfunqa_ROUGE
(results, args)
lmms-eval/lmms_eval/tasks/funqa/utils.py:360
Functionfunqa_aggregate
(results, args)
lmms-eval/lmms_eval/tasks/funqa/utils.py:351
Functionfunqa_doc_to_answer
(doc)
lmms-eval/lmms_eval/tasks/funqa/utils.py:241
Functionfunqa_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/funqa/utils.py:236
Functionfunqa_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/funqa/utils.py:223
Functionfunqa_process_results
(doc, result)
lmms-eval/lmms_eval/tasks/funqa/utils.py:247
Functionfuzzy_matching
(pred)
lmms-eval/lmms_eval/tasks/sparbench/utils.py:122
Functiongedit_bench_aggregate_cn_fullset_overall
Aggregate Chinese fullset overall scores
lmms-eval/lmms_eval/tasks/gedit_bench/utils.py:361
Functiongedit_bench_aggregate_cn_fullset_quality
Aggregate Chinese fullset quality scores
lmms-eval/lmms_eval/tasks/gedit_bench/utils.py:356
Functiongedit_bench_aggregate_cn_fullset_semantics
Aggregate Chinese fullset semantics scores
lmms-eval/lmms_eval/tasks/gedit_bench/utils.py:351
Functiongedit_bench_aggregate_cn_intersection_overall
Aggregate Chinese intersection overall scores
lmms-eval/lmms_eval/tasks/gedit_bench/utils.py:381
Functiongedit_bench_aggregate_cn_intersection_quality
Aggregate Chinese intersection quality scores
lmms-eval/lmms_eval/tasks/gedit_bench/utils.py:376
← previousnext →3,901–4,000 of 6,334, ranked by callers