Skip to content

Commit 236dca8

Browse files
MichaelMcCullochMichael McCulloch
and
Michael McCulloch
authored
Add Neural Network Example (#312)
* Add Neural Network Example * reduce the number of samples. this is just an example * correctly output the error * fix warnings Co-authored-by: Michael McCulloch <michael.james.mcculloch@fastmail.com>
1 parent eb0e4e7 commit 236dca8

File tree

2 files changed

+395
-0
lines changed

2 files changed

+395
-0
lines changed

Cargo.toml

+6
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ libc = "0.2"
5353
num = "0.4.0"
5454
lazy_static = "1.0"
5555
half = "1.5.0"
56+
mnist = {version="0.5.0", features = ["download"]}
5657
serde = { version = "1.0", features = ["derive"], optional = true }
5758

5859
[dev-dependencies]
@@ -101,3 +102,8 @@ path = "examples/fft.rs"
101102
[[example]]
102103
name = "using_half"
103104
path = "examples/using_half.rs"
105+
106+
[[example]]
107+
name = "neural_network"
108+
path = "examples/neural_network.rs"
109+

0 commit comments

Comments
 (0)