Various minor fixes for typos and types (#105)

* minor fixes for typos and types

* run isort
This commit is contained in:
Brent Yi authored and GitHub committed 2022-07-07 23:31:56 -07:00
1 parent 74280110ce
commit 14d030ff6f
6 files changed
+22 -20

No files matched your search

+1 -1
View File
@@ -140,7 +140,7 @@ class Graph(AbstractGraph):
"""Run forward starting with a ray bundle."""
intersected_ray_bundle = self.collider(ray_bundle)
if isinstance(batch, type(None)):
if batch is None:
# during inference, keep all rays
outputs = self.get_outputs(intersected_ray_bundle)
return outputs