Skip to content

Commit 5612001

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 014e5ef commit 5612001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchinfo/torchinfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ def get_total_memory_used(data: CORRECTED_INPUT_DATA_TYPE) -> int:
514514
else sum
515515
),
516516
)
517-
return cast(int, result)
517+
return cast("int", result)
518518

519519

520520
def get_input_tensor(

0 commit comments

Comments
 (0)