Skip to content

Commit

Permalink
Fix typo writting -> writing.
Browse files Browse the repository at this point in the history
  • Loading branch information
faddi authored and kali committed Nov 5, 2023
1 parent 893d3dd commit af0813b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cli/src/dump.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ pub fn handle(
let file = std::fs::File::create(path)?;
let encoder = flate2::write::GzEncoder::new(file, flate2::Compression::default());
nnef.write_to_tar_with_config(&typed, encoder, compress_submodels)
.context("Writting model to tgz")?;
.context("Writing model to tgz")?;
} else {
bail!("Only typed model can be dumped")
}
Expand All @@ -177,7 +177,7 @@ pub fn handle(
rename_outputs(&mut typed, sub_matches)?;
let file = std::fs::File::create(path)?;
nnef.write_to_tar_with_config(&typed, file, compress_submodels)
.context("Writting model to tar")?;
.context("Writing model to tar")?;
} else {
bail!("Only typed model can be dumped")
}
Expand Down Expand Up @@ -227,7 +227,7 @@ pub fn handle(
rename_outputs(&mut typed, sub_matches)?;
let file = std::fs::File::create(path)?;
tflite.write(&typed, file)
.context("Writting model to tflite")?;
.context("Writing model to tflite")?;
} else {
bail!("Only typed model can be dumped")
}
Expand Down
2 changes: 1 addition & 1 deletion doc/cli-recipe.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
interactive usage.

Please do not make assumptions on the exact forms of its outputs. We do not commit on
any form of stability suitable to script writting.
any form of stability suitable to script writing.

We are going to use [ONNX mobilenet](../examples/onnx-mobilenet-v2) as examples in these notes. See its
code and README to download a the model.
Expand Down

0 comments on commit af0813b

Please sign in to comment.