mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-11 02:24:38 +08:00
* renaming dataloader to data. adding some dataloader classes * restructuring configs * fixed instant ngp tcnn direction rescaling * working through test cases * black and lint and tests
15 lines
244 B
Python
15 lines
244 B
Python
"""
|
|
Embedding tests
|
|
"""
|
|
from pyrad.fields.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
|