mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-16 04:43:52 +08:00
Code cleanup (#234)
This commit is contained in:
1 parent
8b414bafab
commit
e35781fe85
14 files changed
+46
-68
No files matched your search
@@ -48,7 +48,7 @@ def test_broadcasting():
|
||||
assert tensor_dataclass.b.shape == (4, 6, 2)
|
||||
|
||||
a = torch.ones((4, 6, 3))
|
||||
b = torch.ones((2))
|
||||
b = torch.ones(2)
|
||||
tensor_dataclass = TestTensorDataclass(a=a, b=b)
|
||||
assert tensor_dataclass.b.shape == (4, 6, 2)
|
||||
|
||||
|
||||
Reference in new issue
Block a user