summaryrefslogtreecommitdiff
path: root/candle-book
diff options
context:
space:
mode:
authorEvgeny Igumnov <igumnovnsk@gmail.com>2023-10-03 15:47:04 +0600
committerEvgeny Igumnov <igumnovnsk@gmail.com>2023-10-03 15:47:04 +0600
commitff513314fcd3ffb86e7fba991b39b634efe5eb86 (patch)
tree96c47094bfa7983dd981bfe6a4e37acfc175afa4 /candle-book
parent043cc257665fb2398483bb3fb365a18c2ec1e010 (diff)
downloadcandle-ff513314fcd3ffb86e7fba991b39b634efe5eb86.tar.gz
candle-ff513314fcd3ffb86e7fba991b39b634efe5eb86.tar.bz2
candle-ff513314fcd3ffb86e7fba991b39b634efe5eb86.zip
small misspeling and polish fix
Diffstat (limited to 'candle-book')
-rw-r--r--candle-book/src/simplified.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/candle-book/src/simplified.rs b/candle-book/src/simplified.rs
index 6427563f..6101591d 100644
--- a/candle-book/src/simplified.rs
+++ b/candle-book/src/simplified.rs
@@ -63,8 +63,8 @@ impl MultiLevelPerceptron {
-#[tokio::test]
// ANCHOR: book_training_simplified3
+#[tokio::test]
async fn simplified() -> anyhow::Result<()> {
let dev = Device::cuda_if_available(0)?;
@@ -148,7 +148,7 @@ async fn simplified() -> anyhow::Result<()> {
Ok(())
}
-// ANCHOR_3: book_training_simplified3
+// ANCHOR_END: book_training_simplified3
// ANCHOR: book_training_simplified2
fn train(m: Dataset, dev: &Device) -> anyhow::Result<MultiLevelPerceptron> {