4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 02:24:38 +08:00
nerfstudio/tests/fields/modules/test_embedding.py
Ethan Weber 457788d689
dataloader logic, new folder structure, flatter configs (#26)
* 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
2022-06-08 09:01:56 -07:00

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