Skip to content

Commit

Permalink
Fix to_custom_tensor fallback to take two inputs (quic#3552)
Browse files Browse the repository at this point in the history
Signed-off-by: Sai Chaitanya Gajula <quic_gsaichai@quicinc.com>
  • Loading branch information
quic-gsaichai authored Dec 4, 2024
1 parent 86d8b6b commit 0af5b25
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ def to_torch_tensor(tensors):
""" placeholder in case spconv doesn't exist """
return tensors

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

0 comments on commit 0af5b25

Please sign in to comment.