4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 10:34:29 +08:00
nerfstudio/tests/fields/modules/test_embedding.py
Ethan Weber e13d401b16
restructure codebase pre release (#602)
* moving a lot

* building
2022-10-01 16:36:25 -07:00

15 lines
251 B
Python

"""
Embedding tests
"""
from nerfstudio.field_components.embedding import Embedding
def test_indexing():
"""Test embedding indexing"""
in_dim = 100
out_dim = 64
embedding = Embedding(in_dim, out_dim)
assert embedding
# TODO