examples/cifar100_example.rb in ruby-dnn-0.13.4 vs examples/cifar100_example.rb in ruby-dnn-0.14.0
- old
+ new
@@ -1,14 +1,13 @@
require "dnn"
require "dnn/datasets/cifar100"
# 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
CIFAR100 = DNN::CIFAR100
x_train, y_train = CIFAR100.load_train
x_test, y_test = CIFAR100.load_test