4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-10 18:17:31 +08:00
nerfstudio/tests/field_components/test_embedding.py
2022-10-02 10:51:30 -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