mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-07 00:09:14 +08:00
lint (#15)
This commit is contained in:
1 parent
76eac71123
commit
4b131d4358
1 file changed
+1
-3
@@ -116,9 +116,7 @@ def test_ordering():
|
|||||||
}
|
}
|
||||||
test_repeated_graph = Graph(cfg.network)
|
test_repeated_graph = Graph(cfg.network)
|
||||||
order = test_repeated_graph.module_order
|
order = test_repeated_graph.module_order
|
||||||
assert order.index("mlp_0") > order.index("encoder_0") and order.index(
|
assert order.index("mlp_0") > order.index("encoder_0") and order.index("mlp_0") > order.index("encoder_1")
|
||||||
"mlp_0"
|
|
||||||
) > order.index("encoder_1")
|
|
||||||
|
|
||||||
test_complex_graph, _ = instantiate_graph("test_complex_graph")
|
test_complex_graph, _ = instantiate_graph("test_complex_graph")
|
||||||
_ = test_complex_graph.construct_graph()
|
_ = test_complex_graph.construct_graph()
|
||||||
|
|||||||
Reference in new issue
Block a user