mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-10 18:17:31 +08:00
16 lines
252 B
Python
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
|