Skip to content

Commit 0ba35ba

Browse files
authored
Typo (#230)
1 parent 38d1161 commit 0ba35ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functorch/_src/eager_transforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def unwrap_tensors(x):
4242
if isinstance(x, tuple):
4343
return tree_map(unwrap_tensors, tuple(x))
4444

45-
raise RuntimeError("Expected tensors, got unsupported type {type(x)}")
45+
raise RuntimeError(f"Expected tensors, got unsupported type {type(x)}")
4646

4747
return tree_map(unwrap_tensors, inps)
4848

0 commit comments

Comments
 (0)