File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ def test_model(
5555 model_rdf : str = typer .Argument (
5656 ..., help = "Path or URL to the model resource description file (rdf.yaml) or zipped model."
5757 ),
58- weight_format : Optional [str ] = typer .Argument (None , help = "The weight format to use." ),
58+ weight_format : Optional [WeightFormatEnum ] = typer .Argument (None , help = "The weight format to use." ),
5959 devices : Optional [List [str ]] = typer .Argument (None , help = "Devices for running the model." ),
6060 decimal : int = typer .Argument (4 , help = "The test precision." ),
6161) -> int :
@@ -80,7 +80,7 @@ def test_resource(
8080 rdf : str = typer .Argument (
8181 ..., help = "Path or URL to the resource description file (rdf.yaml) or zipped resource package."
8282 ),
83- weight_format : Optional [str ] = typer .Argument (None , help = "(for model only) The weight format to use." ),
83+ weight_format : Optional [WeightFormatEnum ] = typer .Argument (None , help = "(for model only) The weight format to use." ),
8484 devices : Optional [List [str ]] = typer .Argument (None , help = "(for model only) Devices for running the model." ),
8585 decimal : int = typer .Argument (4 , help = "(for model only) The test precision." ),
8686) -> int :
You can’t perform that action at this time.
0 commit comments