From cb5a527bd06fe4fde70e9607857d4f8b52501b28 Mon Sep 17 00:00:00 2001 From: Emrick Sinitambirivoutin Date: Wed, 22 Nov 2023 13:34:56 +0100 Subject: [PATCH] Add alias for half-floats --- cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/main.rs b/cli/src/main.rs index cdf6025c48..0b25fcf23b 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -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"))