↓ 2 callersFunctionsparse_scaled_dot_product_attention Apply scaled dot product attention to a sparse tensor. Args: qkv (SparseTensor): A [N, *, 3, H, C] sparse tensor containing Qs, Ks,
trellis/modules/sparse/attention/full_attn.py:20
↓ 1 callersMethod__init__(self, in_channels, out_channels, kernel_size, stride=1, dilation=1, bias=True, indice_key=None)
trellis/modules/sparse/conv/conv_torchsparse.py:7
↓ 1 callersMethod__init__(self, in_channels, out_channels, kernel_size, stride=1, dilation=1, padding=None, bias=True, indice_key=None)
trellis/modules/sparse/conv/conv_spconv.py:8
↓ 1 callersMethod__init__(self,
roots: str,
*,
latent_model: str,
min_aesthetic_score: float = 5.0,
trellis/datasets/sparse_structure_latent.py:130
↓ 1 callersMethod__init__(self,
roots: str,
*,
latent_model: str,
min_aesthetic_score: float = 5.0,
trellis/datasets/structured_latent.py:110
↓ 1 callersMethodcolor_losses(self, reps, image, alpha, extrinsics, intrinsics)
trellis/trainers/vae/structured_latent_vae_mesh_dec.py:218