"src/graph/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "7cd531c4d67f8de5c597ae5ad589e6acae36a4c3"
Commit 7ec218dc authored by Stanislav Pidhorskyi's avatar Stanislav Pidhorskyi Committed by Facebook GitHub Bot
Browse files

Fix typo. We import `from torch import Tensor` but then were using `th.Tensor` instead of `Tensor`

Differential Revision: D63440224

fbshipit-source-id: 0a3647fd710f2d980b22f1954e439fa27a1b4864
parent 36eb2e83
...@@ -6,11 +6,11 @@ ...@@ -6,11 +6,11 @@
from torch import Tensor from torch import Tensor
def msi( def msi(
ray_o: th.Tensor, ray_o: Tensor,
ray_d: th.Tensor, ray_d: Tensor,
texture: th.Tensor, texture: Tensor,
sub_step_count: int, sub_step_count: int,
min_inv_r: float, min_inv_r: float,
max_inv_r: float, max_inv_r: float,
stop_thresh: float, stop_thresh: float,
) -> th.Tensor: ... ) -> Tensor: ...
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment