MCPcopy Create free account

hub / github.com/Tencent/digitalhuman / functions

Functions5,073 in github.com/Tencent/digitalhuman

Methodforward
(self, hidden_states, input_tensor)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:437
Methodforward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:468
Methodforward
( self, hidden_states, attention_mask=None, head_mask=None, encoder_hi
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:561
Methodforward
(self, hidden_states)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:664
Methodforward
(self, hidden_states)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:683
Methodforward
(self, hidden_states)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:704
Methodforward
(self, sequence_output)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:715
Methodforward
r""" encoder_hidden_states (:obj:`torch.FloatTensor` of shape :obj:`(batch_size, sequence_length, hidden_size)`, `optional`): Seq
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:870
Methodforward
r""" encoder_hidden_states (:obj:`torch.FloatTensor` of shape :obj:`(batch_size, sequence_length, hidden_size)`, `optional`): Seq
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:1053
Methodforward
r""" labels (:obj:`torch.LongTensor` of shape :obj:`(batch_size, sequence_length)`, `optional`): Labels for computing the masked l
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:1216
Methodforward
(self, x)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/base.py:28
Methodforward
(self, x)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/resampler.py:33
Methodforward
Args: x (torch.Tensor): image features shape (b, T, n1, D) latent (torch.Tensor): latent features
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/resampler.py:82
Methodforward
(self, x)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/mof_mlp.py:29
Methodforward
(self, x, **kwargs)
VISTA/TinyLLaVA-VISTA/tinyllava/model/vision_tower/base.py:47
Methodforward
(self, x, **kwargs)
VISTA/TinyLLaVA-VISTA/tinyllava/model/vision_tower/mof.py:37
Methodforward
(self, x, **kwargs)
VISTA/TinyLLaVA-VISTA/tinyllava/model/vision_tower/mof.py:91
Methodforward
( ctx: Any, group: dist.ProcessGroup, local_input: Tensor, scatter_dim: int,
RLVER/code/verl/utils/ulysses.py:167
Methodforward
(ctx: Any, group: dist.ProcessGroup, local_tensor: Tensor, gat
RLVER/code/verl/utils/ulysses.py:200
Methodforward
(self, *args, **kwargs)
RLVER/code/verl/utils/model.py:34
Methodforward
(ctx, vocab_parallel_logits: torch.Tensor)
RLVER/code/verl/utils/megatron/tensor_parallel.py:103
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
RLVER/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:174
Methodforward
Args: input_ids: input ids. shape (1, totol_nnz) position_ids: position ids. shape (batch_size, seq_length)
RLVER/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:240
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
RLVER/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:308
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
RLVER/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:384
Methodforward
Args: input_ids: input ids. shape (1, totol_nnz) position_ids: position ids. shape (batch_size, seq_length)
RLVER/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:467
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
RLVER/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:617
Methodforward
( self, *, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.
RLVER/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:698
Methodforward
Args: hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)` attention_mask (
RLVER/code/verl/models/qwen2/megatron/layers/parallel_decoder.py:44
Methodforward
( self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] = None,
RLVER/code/verl/models/qwen2/megatron/layers/parallel_decoder.py:112
Methodforward
(self, x)
RLVER/code/verl/models/qwen2/megatron/layers/parallel_mlp.py:71
Methodforward
(self, x, seq_len=None)
RLVER/code/verl/models/qwen2/megatron/layers/parallel_attention.py:61
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
RLVER/code/verl/models/qwen2/megatron/layers/parallel_attention.py:218
Methodforward
(self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] =
RLVER/code/verl/models/qwen2/megatron/layers/parallel_attention.py:324
Methodforward
(self, hidden_states)
RLVER/code/verl/models/qwen2/megatron/layers/parallel_rmsnorm.py:41
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
RLVER/code/verl/models/llama/megatron/modeling_llama_megatron.py:174
Methodforward
Args: input_ids: input ids. shape (1, totol_nnz) position_ids: position ids. shape (batch_size, seq_length)
RLVER/code/verl/models/llama/megatron/modeling_llama_megatron.py:240
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
RLVER/code/verl/models/llama/megatron/modeling_llama_megatron.py:308
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
RLVER/code/verl/models/llama/megatron/modeling_llama_megatron.py:384
Methodforward
Args: input_ids: input ids. shape (1, totol_nnz) position_ids: position ids. shape (batch_size, seq_length)
RLVER/code/verl/models/llama/megatron/modeling_llama_megatron.py:467
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
RLVER/code/verl/models/llama/megatron/modeling_llama_megatron.py:563
Methodforward
( self, *, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.
RLVER/code/verl/models/llama/megatron/modeling_llama_megatron.py:645
Methodforward
Args: hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)` attention_mask (
RLVER/code/verl/models/llama/megatron/layers/parallel_decoder.py:44
Methodforward
( self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] = None,
RLVER/code/verl/models/llama/megatron/layers/parallel_decoder.py:112
Methodforward
(self, x)
RLVER/code/verl/models/llama/megatron/layers/parallel_mlp.py:71
Methodforward
(self, x, seq_len=None)
RLVER/code/verl/models/llama/megatron/layers/parallel_attention.py:61
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
RLVER/code/verl/models/llama/megatron/layers/parallel_attention.py:234
Methodforward
(self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] =
RLVER/code/verl/models/llama/megatron/layers/parallel_attention.py:340
Methodforward
(self, hidden_states)
RLVER/code/verl/models/llama/megatron/layers/parallel_rmsnorm.py:41
Methodforward
Extract features from video. Args: x: Video tensor of shape (B, C, T, H, W) Returns: Feature
ScriptAgent/code/critic_agent_video.py:512
Methodforward
( ctx: Any, group: dist.ProcessGroup, local_input: Tensor, scatter_dim: int,
RLVMR/code/verl/utils/ulysses.py:167
Methodforward
(ctx: Any, group: dist.ProcessGroup, local_tensor: Tensor, gat
RLVMR/code/verl/utils/ulysses.py:200
Methodforward
(self, *args, **kwargs)
RLVMR/code/verl/utils/model.py:34
Methodforward
(ctx, vocab_parallel_logits: torch.Tensor)
RLVMR/code/verl/utils/megatron/tensor_parallel.py:103
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
RLVMR/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:179
Methodforward
Args: input_ids: input ids. shape (1, totol_nnz) position_ids: position ids. shape (batch_size, seq_length)
RLVMR/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:246
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
RLVMR/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:314
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
RLVMR/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:390
Methodforward
Args: input_ids: input ids. shape (1, totol_nnz) position_ids: position ids. shape (batch_size, seq_length)
RLVMR/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:471
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
RLVMR/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:621
Methodforward
( self, *, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.
RLVMR/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:702
Methodforward
Args: hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)` attention_mask (
RLVMR/code/verl/models/qwen2/megatron/layers/parallel_decoder.py:48
Methodforward
( self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] = None,
RLVMR/code/verl/models/qwen2/megatron/layers/parallel_decoder.py:116
Methodforward
(self, x)
RLVMR/code/verl/models/qwen2/megatron/layers/parallel_mlp.py:71
Methodforward
(self, x, seq_len=None)
RLVMR/code/verl/models/qwen2/megatron/layers/parallel_attention.py:61
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
RLVMR/code/verl/models/qwen2/megatron/layers/parallel_attention.py:218
Methodforward
(self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] =
RLVMR/code/verl/models/qwen2/megatron/layers/parallel_attention.py:324
Methodforward
(self, hidden_states)
RLVMR/code/verl/models/qwen2/megatron/layers/parallel_rmsnorm.py:41
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
RLVMR/code/verl/models/llama/megatron/modeling_llama_megatron.py:179
Methodforward
Args: input_ids: input ids. shape (1, totol_nnz) position_ids: position ids. shape (batch_size, seq_length)
RLVMR/code/verl/models/llama/megatron/modeling_llama_megatron.py:246
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
RLVMR/code/verl/models/llama/megatron/modeling_llama_megatron.py:314
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
RLVMR/code/verl/models/llama/megatron/modeling_llama_megatron.py:390
Methodforward
Args: input_ids: input ids. shape (1, totol_nnz) position_ids: position ids. shape (batch_size, seq_length)
RLVMR/code/verl/models/llama/megatron/modeling_llama_megatron.py:472
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
RLVMR/code/verl/models/llama/megatron/modeling_llama_megatron.py:573
Methodforward
( self, *, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.
RLVMR/code/verl/models/llama/megatron/modeling_llama_megatron.py:655
Methodforward
Args: hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)` attention_mask (
RLVMR/code/verl/models/llama/megatron/layers/parallel_decoder.py:48
Methodforward
( self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] = None,
RLVMR/code/verl/models/llama/megatron/layers/parallel_decoder.py:116
Methodforward
(self, x)
RLVMR/code/verl/models/llama/megatron/layers/parallel_mlp.py:71
Methodforward
(self, x, seq_len=None)
RLVMR/code/verl/models/llama/megatron/layers/parallel_attention.py:61
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
RLVMR/code/verl/models/llama/megatron/layers/parallel_attention.py:274
Methodforward
(self, hidden_states: torch.Tensor, position_ids: Optional[torch.LongTensor] =
RLVMR/code/verl/models/llama/megatron/layers/parallel_attention.py:380
Methodforward
(self, hidden_states)
RLVMR/code/verl/models/llama/megatron/layers/parallel_rmsnorm.py:41
Methodforward
(self, x, mask=None)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:148
Methodforward
(self, x)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:247
Methodforward
(self, x, mask)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:276
Methodforward
(self, x, mask)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:384
Methodforward
Args: input_: A (batch, input_size) tensor containing input features. mask_: (batch) hx:
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:504
Methodforward
(self, input_p, mask_p, input_q, mask_q, h_tm1, depth)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:581
Methodforward
(self, input_p, mask_p, input_q, mask_q)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:636
Methodforward
(self, input_p, mask_p, input_q, mask_q)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:692
Methodforward
(self, H_q)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:730
Methodforward
(self, H_r, mask_r, H_q)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:767
Methodforward
(self, H_r, mask_r, h_tm1)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:812
Methodforward
(self, x, x_mask, h_0)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:854
Methodforward
(self, input)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:910
Methodforward
(self, x, mask)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:946
Methodforward
(self, input, mask)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:963
Methodforward
(self, q, k, v, mask)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:981
Methodforward
(self, q, mask, k, v)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:1011
Methodforward
(self, x, mask, squared_mask, l, blks)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:1054
← previousnext →4,001–4,100 of 5,073, ranked by callers