mirror of
https://github.com/marian-nmt/marian.git
synced 2024-09-17 09:47:34 +03:00
mnist print to file
This commit is contained in:
parent
94bc099e6b
commit
d24ee0a924
@ -113,7 +113,10 @@ int main(int argc, char** argv) {
|
||||
std::cerr << "Done." << std::endl;
|
||||
|
||||
ExpressionGraph g = build_graph({IMAGE_SIZE, 2048, 2048, LABEL_SIZE});
|
||||
//std::cout << g.graphviz() << std::endl;
|
||||
|
||||
std::ofstream viz("mnist_benchmark.dot");
|
||||
viz << g.graphviz() << std::endl;
|
||||
viz.close();
|
||||
|
||||
Tensor xt({BATCH_SIZE, IMAGE_SIZE});
|
||||
Tensor yt({BATCH_SIZE, LABEL_SIZE});
|
||||
|
Loading…
Reference in New Issue
Block a user