4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 02:24:38 +08:00
nerfstudio/tests/field_components/test_embedding.py
Justin Kerr d6df39b70d
Compatibility for numpy 2.0 (#3265)
* compat for numpy 2.0

* lint changes
2024-06-28 08:07:10 +09:00

16 lines
252 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