Ruff Docstring formatting (#15793)
Signed-off-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
d27664216b
commit
776ca86369
60 changed files with 241 additions and 309 deletions
|
|
@ -641,8 +641,8 @@ class AutoBackend(nn.Module):
|
|||
@staticmethod
|
||||
def _model_type(p="path/to/model.pt"):
|
||||
"""
|
||||
This function takes a path to a model file and returns the model type. Possibles types are pt, jit, onnx, xml,
|
||||
engine, coreml, saved_model, pb, tflite, edgetpu, tfjs, ncnn or paddle.
|
||||
Takes a path to a model file and returns the model type. Possibles types are pt, jit, onnx, xml, engine, coreml,
|
||||
saved_model, pb, tflite, edgetpu, tfjs, ncnn or paddle.
|
||||
|
||||
Args:
|
||||
p: path to the model file. Defaults to path/to/model.pt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue