Docstrings arguments cleanup (#3229)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
62916b3b0a
commit
bd0f7ecf6f
93 changed files with 1104 additions and 1102 deletions
|
|
@ -54,8 +54,8 @@ class AutoBackend(nn.Module):
|
|||
Args:
|
||||
weights (str): The path to the weights file. Default: 'yolov8n.pt'
|
||||
device (torch.device): The device to run the model on.
|
||||
dnn (bool): Use OpenCV's DNN module for inference if True, defaults to False.
|
||||
data (str), (Path): Additional data.yaml file for class names, optional
|
||||
dnn (bool): Use OpenCV DNN module for inference if True, defaults to False.
|
||||
data (str | Path | optional): Additional data.yaml file for class names.
|
||||
fp16 (bool): If True, use half precision. Default: False
|
||||
fuse (bool): Whether to fuse the model or not. Default: True
|
||||
verbose (bool): Whether to run in verbose mode or not. Default: True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue