Skip to content

Commit

Permalink
Fix handling for to_custom_tensor
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Hsieh <[email protected]>
  • Loading branch information
quic-klhsieh committed Dec 27, 2024
1 parent 32f7951 commit d393433
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def to_torch_tensor(tensors):

def to_custom_tensor(original, torch_tensors):
""" placeholder in case spconv doesn't exist """
return original
return torch_tensors
else:
from typing import List, Union, Tuple
import torch
Expand Down

0 comments on commit d393433

Please sign in to comment.