↓ 9 callersFunctionweighted_mean(x: torch.Tensor, w: torch.Tensor = None, dim: Union[int, torch.Size] = None, keepdim: bool = False, eps: floa
oneposeviagen/SpaTrackerV2/models/moge/utils/geometry_torch.py:16
↓ 8 callersFunctionscaled_dot_product_attention Apply scaled dot product attention. Args: qkv (torch.Tensor): A [N, L, 3, H, C] tensor containing Qs, Ks, and Vs.
oneposeviagen/Amodal3R/amodal3r/modules/attention/full_attn.py:39
↓ 7 callersMethod_extract Extract some coefficients at specified timesteps, then reshape to [batch_size, 1, 1, 1, 1, ...] for broadcasting purposes.
oneposeviagen/Amodal3R/dit/diffusion_slat.py:72