4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 10:34:29 +08:00
nerfstudio/tests/nerf/field_modules/test_embedding.py
2022-05-31 14:15:06 -07:00

15 lines
248 B
Python

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