examples/mnist_example.rb in ruby-dnn-0.13.4 vs examples/mnist_example.rb in ruby-dnn-0.14.0
- old
+ new
@@ -1,14 +1,13 @@
require "dnn"
require "dnn/datasets/mnist"
# If you use numo/linalg then please uncomment out.
# require "numo/linalg/autoloader"
+include DNN::Models
include DNN::Layers
-include DNN::Activations
include DNN::Optimizers
include DNN::Losses
-include DNN::Models
MNIST = DNN::MNIST
x_train, y_train = MNIST.load_train
x_test, y_test = MNIST.load_test