MCPcopy Create free account

hub / github.com/NVlabs/CTG / functions

Functions1,831 in github.com/NVlabs/CTG

Methodforward
(self, x, data_batch, agt_mask=None)
tbsim/utils/guidance_loss.py:229
Methodforward
(self, x, data_batch, agt_mask=None)
tbsim/utils/guidance_loss.py:265
Methodforward
(self, x, data_batch, agt_mask=None)
tbsim/utils/guidance_loss.py:339
Methodforward
(self, x, data_batch, agt_mask=None)
tbsim/utils/guidance_loss.py:505
Methodforward
- x : the current trajectory (B, N, T, 6) where N is the number of samples and 6 is (x, y, vel, yaw, acc, yawvel)
tbsim/utils/guidance_loss.py:654
Methodforward
- x : the current trajectory (B, N, T, 6) where N is the number of samples and 6 is (x, y, vel, yaw, acc, yawvel)
tbsim/utils/guidance_loss.py:693
Methodforward
(self, x, data_batch, agt_mask=None)
tbsim/utils/guidance_loss.py:772
Methodforward
- x : the current trajectory (B, N, T, 6) where N is the number of samples and 6 is (x, y, vel, yaw, acc, yawvel)
tbsim/utils/guidance_loss.py:967
Methodforward
- x : the current trajectory (B, N, T, 6) where N is the number of samples and 6 is (x, y, vel, yaw, acc, yawvel)
tbsim/utils/guidance_loss.py:1069
Methodforward
(self, x, data_batch, agt_mask=None)
tbsim/utils/guidance_loss.py:1155
Methodforward
- x : the current trajectory (B, N, T, 6) where N is the number of samples and 6 is (x, y, vel, yaw, acc, yawvel)
tbsim/utils/guidance_loss.py:1281
Methodforward
- x : the current trajectory (B, N, T, 6) where N is the number of samples and 6 is (x, y, vel, yaw, acc, yawvel)
tbsim/utils/guidance_loss.py:1357
Methodforward
- x : the current trajectory (B, N, T, 6) where N is the number of samples and 6 is (x, y, vel, yaw, acc, yawvel) - loss: (B, N)
tbsim/utils/guidance_loss.py:1455
Methodforward
- x : the current trajectory (B, N, T, 6) where N is the number of samples and 6 is (x, y, vel, yaw, acc, yawvel) - loss: (B, N)
tbsim/utils/guidance_loss.py:1520
Methodforward
- x : the current trajectory (B, N, T, 6) where N is the number of samples and 6 is (x, y, vel, yaw, acc, yawvel) - loss: (B, N)
tbsim/utils/guidance_loss.py:1552
Methodforward
(self, x, data_batch, agt_mask=None)
tbsim/utils/guidance_loss.py:1582
Methodforward
(self, x, data_batch, agt_mask=None)
tbsim/utils/guidance_loss.py:1642
Methodforward
(self, x, data_batch, agt_mask=None)
tbsim/utils/guidance_loss.py:1701
Methodforward
(self, x, data_batch, agt_mask=None)
tbsim/utils/guidance_loss.py:1751
Methodforward
(self, x, data_batch, agt_mask=None)
tbsim/utils/guidance_loss.py:1803
Methodforward
(self, x, data_batch, agt_mask=None)
tbsim/utils/guidance_loss.py:1853
Methodforward
(self, x, data_batch, agt_mask=None)
tbsim/utils/guidance_loss.py:1910
Methodforward
(self, x, data_batch, agt_mask=None)
tbsim/utils/guidance_loss.py:1968
Methodforward
(self, x, data_batch, agt_mask=None)
tbsim/utils/guidance_loss.py:2026
Methodforward
(self, obs_dict, plan=None)
tbsim/algos/multiagent_algos.py:201
Methodforward
(self, obs_dict, with_guidance=False)
tbsim/algos/algos.py:74
Methodforward
(self, obs_dict)
tbsim/algos/algos.py:484
Methodforward
(self, obs_dict)
tbsim/algos/algos.py:633
Methodforward
(self, obs_dict)
tbsim/algos/algos.py:806
Methodforward
(self, obs_dict)
tbsim/algos/algos.py:950
Methodforward
(self, obs_dict)
tbsim/algos/algos.py:1086
Methodforward
(self, obs_dict)
tbsim/algos/algos.py:1186
Methodforward
(self, obs_dict)
tbsim/algos/algos.py:1325
Methodforward
(self, obs_dict)
tbsim/algos/algos.py:1477
Methodforward
(self, obs_dict, plan=None, step_index=0, num_samp=1, class_free_guide_w=0.0, guide_as_filter_only=False, guid
tbsim/algos/algos.py:1797
Methodforward
(self, obs_dict)
tbsim/algos/algos.py:2162
Methodforward
(self, obs_dict, plan=None, step_index=0, num_samp=1, class_free_guide_w=0.0, guide_as_filter_only=False, guid
tbsim/algos/algos.py:2497
Methodforward
Take in and process masked src and target sequences.
tbsim/models/Transformer.py:52
Methodforward
(self, x, tgt, type_index)
tbsim/models/Transformer.py:102
Methodforward
Pass the input (and mask) through each layer in turn.
tbsim/models/Transformer.py:124
Methodforward
Pass the input (and mask) through each layer in turn. Args: x:[B,Num_agent,T,d_model] src_mask:[B,Num_agent,T]
tbsim/models/Transformer.py:154
Methodforward
Pass the input (and mask) through each layer in turn. Args: x:[B,Num_agent,T,d_model] src_mask:[B,Num_agent,T]
tbsim/models/Transformer.py:200
Methodforward
(self, x)
tbsim/models/Transformer.py:237
Methodforward
Apply residual connection to any sublayer with the same size.
tbsim/models/Transformer.py:254
Methodforward
self attention followed by feedforward, residual and batch norm in between layers
tbsim/models/Transformer.py:269
Methodforward
cross attention to the embedding generated by the encoder
tbsim/models/Transformer.py:283
Methodforward
Take in and process masked src and target sequences.
tbsim/models/Transformer.py:311
Methodforward
(self, x, mask)
tbsim/models/Transformer.py:348
Methodforward
Pass the input (and mask) through each layer in turn. Args: x (torch.tensor)): [batch,Num_agent,T_tgt,d_model]
tbsim/models/Transformer.py:386
Methodforward
Pass the input (and mask) through each layer in turn. Args: x (torch.tensor)): [batch,Num_agent,T_tgt,d_model]
tbsim/models/Transformer.py:453
Methodforward
self attention followed by cross attention with the encoder output
tbsim/models/Transformer.py:522
Methodforward
Implements Figure 2
tbsim/models/Transformer.py:565
Methodforward
(self, x)
tbsim/models/Transformer.py:613
Methodforward
(self, x)
tbsim/models/Transformer.py:638
Methodforward
(self, x, pos)
tbsim/models/Transformer.py:668
Methodforward
(self, feats, avails, pos)
tbsim/models/Transformer.py:838
Methodforward
(self, x)
tbsim/models/Transformer.py:857
Methodforward
(self, data_batch: Dict[str, torch.Tensor], plan=None, num_samp=1, return_diffusion=False,
tbsim/models/scenediffuser.py:1112
Methodforward
Args: x (torch.tensor): image ROI (list): ROIs Returns: out (list): ROI align result for each R
tbsim/models/cnn_roi_encoder.py:58
Methodforward
(self, data_batch: Dict[str, torch.Tensor])
tbsim/models/learned_metrics.py:45
Methodforward
(self, data_batch: Dict[str, torch.Tensor], with_guidance: bool = False)
tbsim/models/rasterized_models.py:56
Methodforward
(self, data_batch: Dict[str, torch.Tensor])
tbsim/models/rasterized_models.py:230
Methodforward
(self, batch_inputs: dict)
tbsim/models/rasterized_models.py:474
Methodforward
(self, batch_inputs: dict)
tbsim/models/rasterized_models.py:638
Methodforward
(self, data_batch: Dict[str, torch.Tensor])
tbsim/models/rasterized_models.py:792
Methodforward
(self, batch_inputs: dict,sample=False,**kwargs)
tbsim/models/rasterized_models.py:1042
Methodforward
(self, batch_inputs: dict,predict=False,**kwargs)
tbsim/models/rasterized_models.py:1405
Methodforward
:param x: must be (T, B, H) :return:
tbsim/models/scenetemporal.py:30
Methodforward
: param x_noisy: (B, M, T_fut, k_output) : param aux_info: agent_hist_feat mlp:(B, M, 1, d_k), transformer:(B, M, T_hist
tbsim/models/scenetemporal.py:475
Methodforward
(self, tgt, memory, tgt_mask=None, memory_mask=None, tgt_key_padding_mask=None, memory_key_padding_mask=None,
tbsim/models/scenetemporal.py:616
Methodforward
Input: src: (M, B*T_all, d_k) memory: (M, M, B*T_all, d_edge) memory_mask: (B*T_all*num_heads, M, M*M)
tbsim/models/scenetemporal.py:661
Methodforward
(self, continuous_inputs: List[torch.Tensor], categorical_inputs: Optional[Lis
tbsim/models/scenetemporal.py:781
Methodforward
Get a batch of prior parameters. Args: inputs (torch.Tensor): (Optional) A feature vector for priors that are input-cond
tbsim/models/vaes.py:130
Methodforward
Pass the input through encoder and decoder (using posterior parameters) Args: inputs (dict, torch.Tensor): encoder inputs
tbsim/models/vaes.py:432
Methodforward
Pass the input through encoder and decoder (using posterior parameters) Args: inputs (dict, torch.Tensor): encoder inputs
tbsim/models/vaes.py:561
Methodforward
Pass the input through encoder and decoder (using posterior parameters) Args: inputs (dict, torch.Tensor): encoder inputs
tbsim/models/vaes.py:712
Methodforward
Pass the input through encoder and decoder (using posterior parameters) Args: inputs (dict, torch.Tensor): encoder inputs
tbsim/models/vaes.py:915
Methodforward
(self, x)
tbsim/models/diffuser_helpers.py:25
Methodforward
(self, x)
tbsim/models/diffuser_helpers.py:39
Methodforward
(self, x)
tbsim/models/diffuser_helpers.py:47
Methodforward
(self, x)
tbsim/models/diffuser_helpers.py:66
Methodforward
- pos : (B, T, 2) - yaw : (B, T, 1) - speed : (B, T) - extent: (B, 3) - avail: (B, T)
tbsim/models/diffuser_helpers.py:126
Methodforward
- net_in : (B, M, T, 7) - net_out : (B, M, T, d_k)
tbsim/models/diffuser_helpers.py:163
Methodforward
- pos : (B, Q, T, 2) - yaw : (B, Q, T, 1) - speed : (B, Q, T) - extent: (B, Q, 3) - avail: (B, Q, T)
tbsim/models/diffuser_helpers.py:184
Methodforward
-param net_in : (B*N*M*T_fut, Q, K_neigh) -output net_out_pool : (B*N*M*T_fut, K_d)
tbsim/models/diffuser_helpers.py:264
Methodforward
(self, map_inputs, encoder_feats=None)
tbsim/models/diffuser_helpers.py:339
Methodforward
(self, feat_to_decode: torch.Tensor, encoder_feats: List[torch.Tensor])
tbsim/models/diffuser_helpers.py:381
Methodforward
Note: Support both agent-centric and scene-centric (extra dimension for the inputs). pred, targ : tensor
tbsim/models/diffuser_helpers.py:805
Methodforward
Note: Support both agent-centric and scene-centric (extra dimension for the inputs). pred, targ : tensor
tbsim/models/diffuser_helpers.py:870
Methodforward
Forward pass.
tbsim/models/base_models.py:92
Methodforward
(self, inputs)
tbsim/models/base_models.py:166
Methodforward
(self, inputs)
tbsim/models/base_models.py:227
Methodforward
(self, x)
tbsim/models/base_models.py:252
Methodforward
(self, x)
tbsim/models/base_models.py:314
Methodforward
(self, x)
tbsim/models/base_models.py:348
Methodforward
(self, feat_to_decode: torch.Tensor, encoder_feats: List[torch.Tensor], target_hw: tuple)
tbsim/models/base_models.py:403
Methodforward
Forward pass through spatial softmax layer. For each keypoint, a 2D spatial probability distribution is created using a softmax, wher
tbsim/models/base_models.py:501
Methodforward
(self, map_inputs)
tbsim/models/base_models.py:645
Methodforward
(self, feats, list_of_rois)
tbsim/models/base_models.py:659
Methodforward
Args: map_inputs (torch.Tensor): [B, C, H, W] rois (torch.Tensor): [num_boxes, 5] Returns: agen
tbsim/models/base_models.py:723
← previousnext →1,201–1,300 of 1,831, ranked by callers