MCPcopy Create free account

hub / github.com/HumanMLLM/ViSpeak / functions

Functions1,447 in github.com/HumanMLLM/ViSpeak

Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/mmlongbench.py:535
Methodevaluate
(self, eval_file, **kwargs)
VLMEvalKit/vlmeval/dataset/image_caption.py:62
Methodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/text_mcq.py:42
Methodexpand2square
(pil_img, background_color=(122, 116, 104))
vispeak/conversation.py:189
Methodexpand2square
(pil_img, background_color)
vispeak/util/data_utils.py:783
Methodextra_repr
(self)
vispeak/model/multimodal_encoder/eva_clip/eva_vit.py:191
Methodextract_cents
(m: Match)
audio_eval/whisper_normalizer/english.py:427
Functionextract_characters_regex
(s, choices=['(A)', '(B)', '(C)', '(D)', '(E)'])
VLMEvalKit/vlmeval/dataset/utils/multiple_choice.py:446
Functionfeature_loss
(fmap_r, fmap_g)
vispeak/model/vita_tts/decoder/ticodec/models.py:395
Functionforward
( model, input, scales=None, img_sizes=None, max_split_size=None, resize_output_to_idx
vispeak/util/s2wrapper/core.py:17
Methodforward
x: B, T, enc_out_dim mask: (B, T) or (B, 1, T)
vispeak/model/vita_tts/adapter.py:33
Methodforward
(self, x, mask_pad)
vispeak/model/vita_tts/adapter.py:69
Methodforward
x: B, T, enc_out_dim mask: (B, T) or (B, 1, T)
vispeak/model/vita_tts/adapter.py:112
Methodforward
Subsample x. Args: x (torch.Tensor): Input tensor (#batch, time, idim). x_mask (torch.Tensor): Input mask (#batch, 1,
vispeak/model/vita_tts/encoder/subsampling.py:41
Methodforward
(self, xs, ilens, masks)
vispeak/model/vita_tts/encoder/subsampling.py:98
Methodforward
Args: x (torch.Tensor): (batch, max_len, feat_dim) Returns: (torch.Tensor): normalized feature
vispeak/model/vita_tts/encoder/cmvn.py:24
Methodforward
Add positional encoding. Args: x (torch.Tensor): Input. Its shape is (batch, time, ...) offset (int): position offset
vispeak/model/vita_tts/encoder/attention.py:37
Methodforward
Compute positional encoding. Args: x (torch.Tensor): Input tensor (batch, time, `*`). Returns: torch.Tensor: E
vispeak/model/vita_tts/encoder/attention.py:90
Methodforward
Forward funciton.
vispeak/model/vita_tts/encoder/attention.py:137
Methodforward
Calculate forward propagation. Args: x (Tensor): Batch of input tensors (B, ..., in_chans). Returns: Tensor:
vispeak/model/vita_tts/encoder/attention.py:185
Methodforward
Calculate forward propagation. Args: x (Tensor): Batch of input tensors (B, ..., in_chans). Returns: Tensor:
vispeak/model/vita_tts/encoder/attention.py:241
Methodforward
Compute 'Scaled Dot Product Attention'. :param torch.Tensor query: (batch, time1, size) :param torch.Tensor key: (batch, time2, size)
vispeak/model/vita_tts/encoder/attention.py:350
Methodforward
Repeat.
vispeak/model/vita_tts/encoder/transformer.py:29
Methodforward
Compute encoded features. :param torch.Tensor x: encoded source features (batch, max_time_in, size) :param torch.Tensor mask: mask fo
vispeak/model/vita_tts/encoder/transformer.py:75
Methodforward
Embed positions in tensor. :param torch.Tensor xs: input tensor :param torch.Tensor masks: input mask :return: position embed
vispeak/model/vita_tts/encoder/transformer.py:237
Methodforward
Forward pass through the encoder. Parameters: - xs: torch.Tensor, shape (batch_size, sequence_length, input_dim)
vispeak/model/vita_tts/encoder/encoder.py:104
Methodforward
logits: B*T1*D target: B*T2
vispeak/model/vita_tts/decoder/decoder.py:21
Methodforward
(self, batch)
vispeak/model/vita_tts/decoder/decoder.py:190
Methodforward
x --- [B, in_channels, T] out -- [B, out_channels]
vispeak/model/vita_tts/decoder/ticodec/models.py:45
Methodforward
(self, x)
vispeak/model/vita_tts/decoder/ticodec/models.py:117
Methodforward
(self, x)
vispeak/model/vita_tts/decoder/ticodec/models.py:157
Methodforward
Forward pass of the Generator module. Parameters: - x (torch.Tensor): Input tensor of shape [B, C, T], where B is the batch
vispeak/model/vita_tts/decoder/ticodec/models.py:211
Methodforward
(self, x)
vispeak/model/vita_tts/decoder/ticodec/models.py:288
Methodforward
(self, y, y_hat)
vispeak/model/vita_tts/decoder/ticodec/models.py:321
Methodforward
(self, x)
vispeak/model/vita_tts/decoder/ticodec/models.py:352
Methodforward
(self, y, y_hat)
vispeak/model/vita_tts/decoder/ticodec/models.py:376
Methodforward
(self, x, xx=None)
vispeak/model/vita_tts/decoder/ticodec/models.py:475
Methodforward
(self, x)
vispeak/model/vita_tts/decoder/ticodec/models.py:531
Methodforward
(self, xin, global_style)
vispeak/model/vita_tts/decoder/ticodec/models.py:639
Methodforward
(self, wav_path)
vispeak/model/vita_tts/decoder/ticodec/vqvae_tester.py:16
Methodforward
(self, x, global_style_token)
vispeak/model/vita_tts/decoder/ticodec/vqvae.py:37
Methodforward
(self, x, *args, **kwargs)
vispeak/model/multimodal_projector/builder.py:16
Methodforward
(self, x)
vispeak/model/multimodal_projector/builder.py:31
Methodforward
(self, x)
vispeak/model/multimodal_projector/builder.py:54
Methodforward
(self, x)
vispeak/model/multimodal_projector/builder.py:95
Methodforward
(self, x)
vispeak/model/multimodal_projector/builder.py:110
Methodforward
(self, x)
vispeak/model/multimodal_projector/builder.py:129
Methodforward
(self, images)
vispeak/model/multimodal_encoder/clip/clip_encoder.py:35
Methodforward
(self, images)
vispeak/model/multimodal_encoder/siglip/siglip_encoder.py:36
Methodforward
(self, images)
vispeak/model/multimodal_encoder/siglip/siglip_encoder.py:126
Methodforward
( self, speech: torch.Tensor, speech_lengths: torch.Tensor, )
vispeak/model/multimodal_encoder/whale/init_model.py:128
Methodforward
x: B, T, enc_out_dim mask: (B, T) or (B, 1, T)
vispeak/model/multimodal_encoder/whale/adapter.py:27
Methodforward
(self, x, mask_pad)
vispeak/model/multimodal_encoder/whale/adapter.py:64
Methodforward
x: B, T, enc_out_dim mask: (B, T) or (B, 1, T)
vispeak/model/multimodal_encoder/whale/adapter.py:108
Methodforward
Args: x (torch.Tensor): (batch, max_len, feat_dim) Returns: (torch.Tensor): normalized feature
vispeak/model/multimodal_encoder/whale/cmvn.py:21
Methodforward
(self, x: torch.Tensor, x_mask: torch.Tensor)
vispeak/model/multimodal_encoder/whale/module/component/subsampling.py:38
Methodforward
(self, xs, ilens, masks)
vispeak/model/multimodal_encoder/whale/module/component/subsampling.py:71
Methodforward
(self, input)
vispeak/model/multimodal_encoder/whale/module/component/mamba.py:59
Methodforward
Embed positions in tensor. :param torch.Tensor xs: input tensor :param torch.Tensor masks: input mask :return: position embed
vispeak/model/multimodal_encoder/whale/module/component/mamba.py:120
Methodforward
Repeat.
vispeak/model/multimodal_encoder/whale/module/component/transformer.py:38
Methodforward
Compute encoded features. :param torch.Tensor x: encoded source features (batch, max_time_in, size) :param torch.Tensor mask: mask fo
vispeak/model/multimodal_encoder/whale/module/component/transformer.py:100
Methodforward
Embed positions in tensor. :param torch.Tensor xs: input tensor :param torch.Tensor masks: input mask :return: position embed
vispeak/model/multimodal_encoder/whale/module/component/transformer.py:374
Methodforward
Encoder forward :param torch.Tensor xs_pad: batch of padded input sequences (B, Tmax, D) :param torch.Tensor ilens: batch of lengths
vispeak/model/multimodal_encoder/whale/module/encoder/encoder.py:121
Methodforward
(self, x)
vispeak/model/multimodal_encoder/whale/module/layer/conv1d.py:49
Methodforward
(self, x)
vispeak/model/multimodal_encoder/whale/module/layer/dtcblock.py:50
Methodforward
Add positional encoding. Args: x (torch.Tensor): Input. Its shape is (batch, time, ...) offset (int): position offset
vispeak/model/multimodal_encoder/whale/module/layer/attention.py:38
Methodforward
Compute positional encoding. Args: x (torch.Tensor): Input tensor (batch, time, `*`). Returns: torch.Tensor: E
vispeak/model/multimodal_encoder/whale/module/layer/attention.py:100
Methodforward
Forward funciton.
vispeak/model/multimodal_encoder/whale/module/layer/attention.py:145
Methodforward
Calculate forward propagation. Args: x (Tensor): Batch of input tensors (B, ..., in_chans). Returns: Tensor:
vispeak/model/multimodal_encoder/whale/module/layer/attention.py:196
Methodforward
Calculate forward propagation. Args: x (Tensor): Batch of input tensors (B, ..., in_chans). Returns: Tensor:
vispeak/model/multimodal_encoder/whale/module/layer/attention.py:242
Methodforward
Compute 'Scaled Dot Product Attention'. :param torch.Tensor query: (batch, time1, size) :param torch.Tensor key: (batch, time2, size)
vispeak/model/multimodal_encoder/whale/module/layer/attention.py:358
Methodforward
(self, x, mask=None)
vispeak/model/multimodal_encoder/whale/module/layer/attention.py:548
Methodforward
(self, x, hidden=None)
vispeak/model/multimodal_encoder/whale/module/layer/fsmn.py:57
Methodforward
(self, images)
vispeak/model/multimodal_encoder/internvit/internvit_encoder.py:55
Methodforward
(self, hidden_states)
vispeak/model/multimodal_encoder/internvit/modeling_intern_vit.py:40
Methodforward
(self, pixel_values: torch.FloatTensor)
vispeak/model/multimodal_encoder/internvit/modeling_intern_vit.py:107
Methodforward
(self, hidden_states: torch.Tensor)
vispeak/model/multimodal_encoder/internvit/modeling_intern_vit.py:196
Methodforward
(self, hidden_states: torch.Tensor)
vispeak/model/multimodal_encoder/internvit/modeling_intern_vit.py:213
Methodforward
Args: hidden_states (`Tuple[torch.FloatTensor, Optional[torch.FloatTensor]]`): input to the layer of shape `(batch, seq_len, embe
vispeak/model/multimodal_encoder/internvit/modeling_intern_vit.py:237
Methodforward
r""" Args: inputs_embeds (`torch.FloatTensor` of shape `(batch_size, sequence_length, hidden_size)`): Embedded rep
vispeak/model/multimodal_encoder/internvit/modeling_intern_vit.py:276
Methodforward
( self, pixel_values: Optional[torch.FloatTensor] = None, output_hidden_states: Option
vispeak/model/multimodal_encoder/internvit/modeling_intern_vit.py:354
Methodforward
Implements the multihead softmax attention. Arguments --------- qkv: The tensor containing the query, key, and value. (B,
vispeak/model/multimodal_encoder/internvit/flash_attention.py:32
Methodforward
(self, images)
vispeak/model/multimodal_encoder/eva_clip/eva_clip_encoder.py:30
Methodforward
(self, t, patch_indices_keep=None)
vispeak/model/multimodal_encoder/eva_clip/eva_vit.py:95
Methodforward
(self, x: torch.Tensor)
vispeak/model/multimodal_encoder/eva_clip/eva_vit.py:117
Methodforward
(self, x)
vispeak/model/multimodal_encoder/eva_clip/eva_vit.py:135
Methodforward
(self, x)
vispeak/model/multimodal_encoder/eva_clip/eva_vit.py:188
Methodforward
(self, x)
vispeak/model/multimodal_encoder/eva_clip/eva_vit.py:217
Methodforward
(self, x)
vispeak/model/multimodal_encoder/eva_clip/eva_vit.py:253
Methodforward
(self, x, rel_pos_bias=None, attn_mask=None)
vispeak/model/multimodal_encoder/eva_clip/eva_vit.py:346
Methodforward
(self, x, rel_pos_bias=None, attn_mask=None)
vispeak/model/multimodal_encoder/eva_clip/eva_vit.py:497
Methodforward
(self, x, **kwargs)
vispeak/model/multimodal_encoder/eva_clip/eva_vit.py:540
Methodforward
(self)
vispeak/model/multimodal_encoder/eva_clip/eva_vit.py:580
Methodforward
(self, x, return_all_features=False)
vispeak/model/multimodal_encoder/eva_clip/eva_vit.py:806
Methodforward
(self, image, **kwargs)
vispeak/model/multimodal_encoder/eva_clip/eva_vit.py:972
Methodforward_feature
(self, images)
vispeak/model/multimodal_encoder/siglip/siglip_encoder.py:118
Methodgenerate
( self, inputs: Optional[torch.Tensor] = None, user_input_ids: Optional[torch.Tensor]
vispeak/model/language_model/vispeak_qwen2.py:378
Methodgenerate
(self, message, dataset=None)
VLMEvalKit/vlmeval/vlm/qh_360vl.py:34
Methodgenerate
(self, message, dataset=None)
VLMEvalKit/vlmeval/api/claude.py:108
Methodgenerate
(self, message, dataset=None)
VLMEvalKit/vlmeval/api/gemini.py:112
← previousnext →1,101–1,200 of 1,447, ranked by callers