Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xEricCardozo authored Oct 5, 2023
1 parent 4c14144 commit 7e7fd0e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ struct Autoencoder : public net::Model<Autoencoder> {
net::layer::Sequence encoder {
net::layer::Linear(784, 128, net::initializer::He),
net::layer::ReLU(),
net::layer::Linear(128, 64, net::initializer::He),
net::layer::Linear(128, 64), // default initializer He,
};

net::layer::Sequence decoder {
net::layer::Linear(64, 128, net::initializer::He),
net::layer::Linear(64, 128),
net::layer::ReLU(),
net::layer::Linear(128, 784, net::initializer::He),
net::layer::LogSoftmax(1/*axis*/)
net::layer::Linear(128, 784, net::initializer::Xavier),
net::layer::LogSoftmax(1/*axis*/)
};

net::Tensor forward(net::Tensor x) {
Expand Down

0 comments on commit 7e7fd0e

Please sign in to comment.