Skip to content

Commit ded42d2

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neural_compressor/torch/utils/utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ def forward_wrapper(model, input):
713713

714714

715715
def get_model_device(model):
716-
"""Return model device"""
716+
"""Return model device."""
717717
try:
718718
device = next(model.parameters()).device
719719
except:

0 commit comments

Comments
 (0)