Skip to content

Commit

Permalink
Add alias for half-floats
Browse files Browse the repository at this point in the history
  • Loading branch information
emricksinisonos committed Nov 22, 2023
1 parent 889baf2 commit cb5a527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ fn main() -> tract_core::anyhow::Result<()> {
.arg(arg!(--"optimize-step" [STEP] "Stop optimizing process after application of patch number N"))
.arg(arg!(--"extract-decluttered-sub" [SUB] "Zoom on a subgraph after decluttering by parent node name"))

.arg(arg!(--"f32-to-f16" "Convert the decluttered network from f32 to f16"))
.arg(Arg::new("f32-to-f16").long("f32-to-f16").alias("half-floats").long_help("Convert the decluttered network from f32 to f16"))
.arg(arg!(--"f16-to-f32" "Convert the decluttered network from f16 to f32"))
.arg(Arg::new("set").long("set").multiple_occurrences(true).takes_value(true)
.long_help("Set a symbol to a concrete value after decluttering"))
Expand Down

0 comments on commit cb5a527

Please sign in to comment.