Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion backends/arm/tosa_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ def __init__(self, argument: Any) -> None:
if isinstance(argument, (int, float)):
self.__process_number(argument)
return
if isinstance(argument, torch.dtype):
# Dtype is parsed from fake tensor
return

RuntimeError(
raise RuntimeError(
f"Unhandled node input argument: {argument}, of type {type(argument)}"
)
Loading