Embeddings#
Code for embeddings.
- class nerfstudio.field_components.embedding.Embedding(in_dim: int, out_dim: int)[source]#
Bases:
FieldComponent
Index into embeddings. # TODO: add different types of initializations
- Parameters:
in_dim – Number of embeddings
out_dim – Dimension of the embedding vectors
- build_nn_modules() None [source]#
Function instantiates any torch.nn members within the module. If none exist, do nothing.