ruby-dnn 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/API-Reference.ja.md +1 -1
  3. data/LIB-API-Reference.ja.md +97 -0
  4. data/Rakefile +3 -7
  5. data/lib/dnn/core/version.rb +1 -1
  6. data/lib/dnn/ext/dataset_loader/dataset_loader.c +90 -0
  7. data/lib/dnn/ext/dataset_loader/extconf.rb +3 -0
  8. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/compat.h +0 -0
  9. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/extconf.h +0 -0
  10. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/intern.h +0 -0
  11. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/narray.h +0 -0
  12. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/ndloop.h +0 -0
  13. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/template.h +0 -0
  14. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/bit.h +0 -0
  15. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/complex.h +0 -0
  16. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/complex_macro.h +0 -0
  17. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/dcomplex.h +0 -0
  18. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/dfloat.h +0 -0
  19. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/float_def.h +0 -0
  20. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/float_macro.h +0 -0
  21. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/int16.h +0 -0
  22. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/int32.h +0 -0
  23. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/int64.h +0 -0
  24. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/int8.h +0 -0
  25. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/int_macro.h +0 -0
  26. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/real_accum.h +0 -0
  27. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/robj_macro.h +0 -0
  28. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/robject.h +0 -0
  29. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/scomplex.h +0 -0
  30. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/sfloat.h +0 -0
  31. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/uint16.h +0 -0
  32. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/uint32.h +0 -0
  33. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/uint64.h +0 -0
  34. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/uint8.h +0 -0
  35. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/uint_macro.h +0 -0
  36. data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/xint_macro.h +0 -0
  37. data/lib/dnn/lib/cifar10.rb +7 -4
  38. data/lib/dnn/lib/image_io.rb +2 -0
  39. data/lib/dnn/lib/mnist.rb +1 -1
  40. data/ruby-dnn.gemspec +1 -1
  41. metadata +35 -66
  42. data/lib/dnn/ext/cifar10/cifar10_ext.c +0 -52
  43. data/lib/dnn/ext/cifar10/extconf.rb +0 -3
  44. data/lib/dnn/ext/mnist/extconf.rb +0 -3
  45. data/lib/dnn/ext/mnist/mnist_ext.c +0 -49
  46. data/lib/dnn/ext/mnist/numo/compat.h +0 -23
  47. data/lib/dnn/ext/mnist/numo/extconf.h +0 -13
  48. data/lib/dnn/ext/mnist/numo/intern.h +0 -117
  49. data/lib/dnn/ext/mnist/numo/narray.h +0 -430
  50. data/lib/dnn/ext/mnist/numo/ndloop.h +0 -94
  51. data/lib/dnn/ext/mnist/numo/template.h +0 -149
  52. data/lib/dnn/ext/mnist/numo/types/bit.h +0 -33
  53. data/lib/dnn/ext/mnist/numo/types/complex.h +0 -409
  54. data/lib/dnn/ext/mnist/numo/types/complex_macro.h +0 -377
  55. data/lib/dnn/ext/mnist/numo/types/dcomplex.h +0 -44
  56. data/lib/dnn/ext/mnist/numo/types/dfloat.h +0 -42
  57. data/lib/dnn/ext/mnist/numo/types/float_def.h +0 -34
  58. data/lib/dnn/ext/mnist/numo/types/float_macro.h +0 -186
  59. data/lib/dnn/ext/mnist/numo/types/int16.h +0 -24
  60. data/lib/dnn/ext/mnist/numo/types/int32.h +0 -24
  61. data/lib/dnn/ext/mnist/numo/types/int64.h +0 -24
  62. data/lib/dnn/ext/mnist/numo/types/int8.h +0 -24
  63. data/lib/dnn/ext/mnist/numo/types/int_macro.h +0 -41
  64. data/lib/dnn/ext/mnist/numo/types/real_accum.h +0 -486
  65. data/lib/dnn/ext/mnist/numo/types/robj_macro.h +0 -75
  66. data/lib/dnn/ext/mnist/numo/types/robject.h +0 -27
  67. data/lib/dnn/ext/mnist/numo/types/scomplex.h +0 -44
  68. data/lib/dnn/ext/mnist/numo/types/sfloat.h +0 -43
  69. data/lib/dnn/ext/mnist/numo/types/uint16.h +0 -21
  70. data/lib/dnn/ext/mnist/numo/types/uint32.h +0 -21
  71. data/lib/dnn/ext/mnist/numo/types/uint64.h +0 -21
  72. data/lib/dnn/ext/mnist/numo/types/uint8.h +0 -21
  73. data/lib/dnn/ext/mnist/numo/types/uint_macro.h +0 -32
  74. data/lib/dnn/ext/mnist/numo/types/xint_macro.h +0 -189
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 634ecbbfbad30f1660a3f04adc9e3a3835d54b93dc84eb765962406111243f46
4
- data.tar.gz: 7b00ad63ddf17e95df2e852b29005fdb35671b2bed12e951d8c54fcc3415abe7
3
+ metadata.gz: d86f8c32dcd08b4a71ae4ce3892e0a4f0677d04ac32c0090b72c8f7fe008b591
4
+ data.tar.gz: 4003068dfacd2739426e6c8d19411a47b9401aaf2c7c09f214962de3cdf57986
5
5
  SHA512:
6
- metadata.gz: fba18cc2365d798e27fc3fa8be1f296664d23ef2b04d0e6d8db635189b4cf591675e29c8314437b00e8dc122d143ec956486915ed84a37e8b19b0952687a6467
7
- data.tar.gz: f2d7f67c6331db0d58a01b3dbbc3f9b136fc692900811e88251e0a6865a0b0790e4291621296155f3f7778051ac0323a727ae6d1e812baebf76096a25b9ee0d9
6
+ metadata.gz: 1699c885afb1494981784e435dd93c5f06c7f2041412eefacf0c2f24e700ab1a134a155dfc3babe6791b15c4936f15083463d32f3bd02f181c0f457273f4d4bd
7
+ data.tar.gz: '09b397dba80f67bf9dc5a66a557d3e358b11c397776cad73b7cd4d2a1fbe601d93b1df0d5dfa9a3675736e4e3ab7386ad59bf71825689714439c5480c85feb3a'
data/API-Reference.ja.md CHANGED
@@ -2,7 +2,7 @@
2
2
  ruby-dnnのAPIリファレンスです。このリファレンスでは、APIを利用するうえで必要となるクラスとメソッドしか記載していません。
3
3
  そのため、プログラムの詳細が必要な場合は、ソースコードを参照してください。
4
4
 
5
- 対応バージョン:0.1.6
5
+ 対応バージョン:0.1.7
6
6
 
7
7
  # module DNN
8
8
  ruby-dnnの名前空間をなすモジュールです。
@@ -0,0 +1,97 @@
1
+ # LIB-APIリファレンス
2
+ ruby-dnnの付属ライブラリのリファレンスです。
3
+ 対応バージョン:0.1.6
4
+
5
+
6
+ # dnn/lib/mnist
7
+ MNISTデータセットを扱うライブラリです。初回利用時は、データセットのダウンロードを行うため、時間がかかります。
8
+
9
+
10
+ # module MNIST
11
+ MNISTを扱うモジュールです。
12
+
13
+ ## 【Singleton methods】
14
+
15
+ ## def self.load_train
16
+ トレーニング用データを取得します。
17
+ ### arguments
18
+ なし。
19
+ ### return
20
+ Array
21
+ [イメージデータ, ラベルデータ]の形式で取得します。
22
+ * イメージデータ
23
+ UInt8の[60000, 28, 28]の形式
24
+ * テストデータ
25
+ UInt8の[60000]の形式
26
+
27
+ ## def self.load_test
28
+ テスト用データを取得します。
29
+ ### arguments
30
+ なし。
31
+ ### return
32
+ Array
33
+ [イメージデータ, ラベルデータ]の形式で取得します。
34
+ * イメージデータ
35
+ UInt8の[10000, 28, 28]の形式
36
+ * テストデータ
37
+ UInt8の[10000]の形式
38
+
39
+
40
+ # dnn/lib/cifar10
41
+ CIFAR-10データセットを扱うライブラリです。初回利用時は、データセットのダウンロードを行うため、時間がかかります。
42
+
43
+
44
+ # module CIFAR10
45
+ CIFAR-10を扱うモジュールです。
46
+
47
+ ## 【Singleton methods】
48
+
49
+ ## def self.load_train
50
+ トレーニング用データを取得します。
51
+ ### arguments
52
+ なし。
53
+ ### return
54
+ Array
55
+ [イメージデータ, ラベルデータ]の形式で取得します。
56
+ * イメージデータ
57
+ UInt8の[50000, 32, 32, 3]の形式
58
+ * テストデータ
59
+ UInt8の[50000]の形式
60
+
61
+ ## def self.load_test
62
+ テスト用データを取得します。
63
+ ### arguments
64
+ なし。
65
+ ### return
66
+ Array
67
+ [イメージデータ, ラベルデータ]の形式で取得します。
68
+ * イメージデータ
69
+ UInt8の[10000, 32, 32, 3]の形式
70
+ * テストデータ
71
+ UInt8の[10000]の形式
72
+
73
+
74
+ # dnn/lib/image_io
75
+ 画像のin/outを行うライブラリです。内部でstb_imageとstb_image_writeを使用しています。
76
+
77
+
78
+ # module ImageIO
79
+
80
+ ## def self.read(file_name)
81
+ 画像をNumo::UInt8形式で読み込みます。
82
+ ### arguments
83
+ * String file_name
84
+ 読み込む画像のファイル名。
85
+ ### return
86
+ Numo::UInt8
87
+ [width, height, rgb]のNumo::UInt8配列。
88
+
89
+ ## def self.write(file_name, nary, quality: 100)
90
+ Numo::UInt8形式の画像を書き込みます。
91
+ ### arguments
92
+ * String file_name
93
+ 書き込む画像のファイル名。
94
+ * Numo::UInt8
95
+ [width, height, rgb]のNumo::UInt8配列。
96
+ * Integer quality: 100
97
+ 画像をJPEGで書き込む場合のクオリティ。
data/Rakefile CHANGED
@@ -7,16 +7,12 @@ Rake::TestTask.new(:test) do |t|
7
7
  t.test_files = FileList["test/**/*_test.rb"]
8
8
  end
9
9
 
10
- task :build_mnist do
11
- sh "cd lib/dnn/ext/mnist; ruby extconf.rb; make"
12
- end
13
-
14
- task :build_cifar10 do
15
- sh "cd lib/dnn/ext/cifar10; ruby extconf.rb; make"
10
+ task :build_dataset_loader do
11
+ sh "cd lib/dnn/ext/dataset_loader; ruby extconf.rb; make"
16
12
  end
17
13
 
18
14
  task :build_image_io do
19
15
  sh "cd lib/dnn/ext/image_io; ruby extconf.rb; make"
20
16
  end
21
17
 
22
- task :default => [:test, :build_mnist, :build_cifar10, :build_image_io]
18
+ task :default => [:test, :build_dataset_loader, :build_image_io]
@@ -1,3 +1,3 @@
1
1
  module DNN
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
@@ -0,0 +1,90 @@
1
+ #include <ruby.h>
2
+ #include <stdlib.h>
3
+ #include "numo/narray.h"
4
+
5
+ #define CIFAR10_WIDTH 32
6
+ #define CIFAR10_HEIGHT 32
7
+ #define CIFAR10_CHANNEL 3
8
+
9
+ VALUE mnist_load_images(VALUE self, VALUE rb_bin, VALUE rb_num_images, VALUE rb_cols, VALUE rb_rows) {
10
+ char* bin = StringValuePtr(rb_bin);
11
+ int num_images = FIX2INT(rb_num_images);
12
+ int cols = FIX2INT(rb_cols);
13
+ int rows = FIX2INT(rb_rows);
14
+ int i;
15
+ int j;
16
+ char script[64];
17
+ VALUE rb_na;
18
+ narray_data_t* na_data;
19
+
20
+ sprintf(script, "Numo::UInt8.zeros(%d, %d, %d)", num_images, cols, rows);
21
+ rb_na = rb_eval_string(&script[0]);
22
+ na_data = RNARRAY_DATA(rb_na);
23
+
24
+ for (i = 0; i < num_images; i++) {
25
+ j = i * cols * rows;
26
+ memcpy(&na_data->ptr[j], &bin[j], cols * rows);
27
+ }
28
+ return rb_na;
29
+ }
30
+
31
+ VALUE mnist_load_labels(VALUE self, VALUE rb_bin, VALUE rb_num_labels) {
32
+ char* bin = StringValuePtr(rb_bin);
33
+ int num_labels = FIX2INT(rb_num_labels);
34
+ char script[64];
35
+ VALUE rb_na;
36
+ narray_data_t* na_data;
37
+
38
+ sprintf(script, "Numo::UInt8.zeros(%d)", num_labels);
39
+ rb_na = rb_eval_string(&script[0]);
40
+ na_data = RNARRAY_DATA(rb_na);
41
+
42
+ memcpy(na_data->ptr, bin, num_labels);
43
+ return rb_na;
44
+ }
45
+
46
+ VALUE cifar10_load(VALUE self, VALUE rb_bin, VALUE rb_num_datas) {
47
+ char* bin = StringValuePtr(rb_bin);
48
+ int num_datas = FIX2INT(rb_num_datas);
49
+ char script[64];
50
+ VALUE rb_na_x;
51
+ VALUE rb_na_y;
52
+ VALUE rb_xy;
53
+ narray_data_t* na_data_x;
54
+ narray_data_t* na_data_y;
55
+ int i;
56
+ int j = 0;
57
+ int k = 0;
58
+ int size = CIFAR10_WIDTH * CIFAR10_HEIGHT * CIFAR10_CHANNEL;
59
+
60
+ sprintf(script, "Numo::UInt8.zeros(%d, %d, %d, %d)", num_datas, CIFAR10_CHANNEL, CIFAR10_WIDTH, CIFAR10_HEIGHT);
61
+ rb_na_x = rb_eval_string(&script[0]);
62
+ na_data_x = RNARRAY_DATA(rb_na_x);
63
+ for(i = 0; i < 64; i++) {
64
+ script[i] = 0;
65
+ }
66
+ sprintf(script, "Numo::UInt8.zeros(%d)", num_datas);
67
+ rb_na_y = rb_eval_string(&script[0]);
68
+ na_data_y = RNARRAY_DATA(rb_na_y);
69
+
70
+ for (i = 0; i < num_datas; i++) {
71
+ na_data_y->ptr[i] = bin[j];
72
+ j++;
73
+ memcpy(&na_data_x->ptr[k], &bin[j], size);
74
+ j += size;
75
+ k += size;
76
+ }
77
+
78
+ rb_xy = rb_ary_new3(2, rb_na_x, rb_na_y);
79
+ return rb_xy;
80
+ }
81
+
82
+ void Init_dataset_loader() {
83
+ VALUE rb_dnn = rb_define_module("DNN");
84
+ VALUE rb_mnist = rb_define_module_under(rb_dnn, "MNIST");
85
+ VALUE rb_cifar10 = rb_define_module_under(rb_dnn, "CIFAR10");
86
+
87
+ rb_define_singleton_method(rb_mnist, "_mnist_load_images", mnist_load_images, 4);
88
+ rb_define_singleton_method(rb_mnist, "_mnist_load_labels", mnist_load_labels, 2);
89
+ rb_define_singleton_method(rb_cifar10, "_cifar10_load", cifar10_load, 2);
90
+ }
@@ -0,0 +1,3 @@
1
+ require "mkmf"
2
+
3
+ create_makefile("dataset_loader")
@@ -1,5 +1,5 @@
1
1
  require "dnn"
2
- require "dnn/ext/cifar10/cifar10_ext"
2
+ require "dnn/ext/dataset_loader/dataset_loader"
3
3
  require "open-uri"
4
4
  require "zlib"
5
5
  require "archive/tar/minitar"
@@ -21,11 +21,14 @@ module DNN
21
21
  puts "Now downloading..."
22
22
  open(URL_CIFAR10, "rb") do |f|
23
23
  File.binwrite(cifar10_binary_file_name, f.read)
24
- Zlib::GzipReader.open(cifar10_binary_file_name) do |gz|
25
- Archive::Tar::Minitar::unpack(gz, __dir__)
24
+ begin
25
+ Zlib::GzipReader.open(cifar10_binary_file_name) do |gz|
26
+ Archive::Tar::Minitar::unpack(gz, __dir__)
27
+ end
28
+ ensure
29
+ File.unlink(cifar10_binary_file_name)
26
30
  end
27
31
  end
28
- File.delete(cifar10_binary_file_name)
29
32
  puts "The download has ended."
30
33
  rescue => ex
31
34
  raise DNN_CIFAR10_DownloadError.new(ex.message)
@@ -22,6 +22,8 @@ module DNN
22
22
  when /\.jpg$/
23
23
  _write_jpg(file_name, nary, quality)
24
24
  end
25
+ rescue => ex
26
+ raise ImageIO::WriteError.new(ex.message)
25
27
  end
26
28
  end
27
29
 
data/lib/dnn/lib/mnist.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require "open-uri"
2
2
  require "zlib"
3
3
  require "dnn/core/error"
4
- require "dnn/ext/mnist/mnist_ext"
4
+ require "dnn/ext/dataset_loader/dataset_loader"
5
5
 
6
6
  module DNN
7
7
  module MNIST
data/ruby-dnn.gemspec CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
13
13
  spec.description = %q{ruby-dnn is a ruby deep learning library.}
14
14
  spec.homepage = "https://github.com/unagiootoro/ruby-dnn.git"
15
15
  spec.license = "MIT"
16
- spec.extensions = ["lib/dnn/ext/mnist/extconf.rb", "lib/dnn/ext/cifar10/extconf.rb", "lib/dnn/ext/image_io/extconf.rb"]
16
+ spec.extensions = ["lib/dnn/ext/dataset_loader/extconf.rb", "lib/dnn/ext/image_io/extconf.rb"]
17
17
 
18
18
  spec.add_dependency "numo-narray"
19
19
  spec.add_dependency "archive-tar-minitar"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-dnn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - unagiootoro
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-07 00:00:00.000000000 Z
11
+ date: 2018-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: numo-narray
@@ -85,8 +85,7 @@ email:
85
85
  - ootoro838861@outlook.jp
86
86
  executables: []
87
87
  extensions:
88
- - lib/dnn/ext/mnist/extconf.rb
89
- - lib/dnn/ext/cifar10/extconf.rb
88
+ - lib/dnn/ext/dataset_loader/extconf.rb
90
89
  - lib/dnn/ext/image_io/extconf.rb
91
90
  extra_rdoc_files: []
92
91
  files:
@@ -95,6 +94,7 @@ files:
95
94
  - API-Reference.ja.md
96
95
  - CODE_OF_CONDUCT.md
97
96
  - Gemfile
97
+ - LIB-API-Reference.ja.md
98
98
  - LICENSE.txt
99
99
  - README.md
100
100
  - Rakefile
@@ -113,37 +113,37 @@ files:
113
113
  - lib/dnn/core/optimizers.rb
114
114
  - lib/dnn/core/util.rb
115
115
  - lib/dnn/core/version.rb
116
- - lib/dnn/ext/cifar10/cifar10_ext.c
117
- - lib/dnn/ext/cifar10/extconf.rb
118
- - lib/dnn/ext/cifar10/numo/compat.h
119
- - lib/dnn/ext/cifar10/numo/extconf.h
120
- - lib/dnn/ext/cifar10/numo/intern.h
121
- - lib/dnn/ext/cifar10/numo/narray.h
122
- - lib/dnn/ext/cifar10/numo/ndloop.h
123
- - lib/dnn/ext/cifar10/numo/template.h
124
- - lib/dnn/ext/cifar10/numo/types/bit.h
125
- - lib/dnn/ext/cifar10/numo/types/complex.h
126
- - lib/dnn/ext/cifar10/numo/types/complex_macro.h
127
- - lib/dnn/ext/cifar10/numo/types/dcomplex.h
128
- - lib/dnn/ext/cifar10/numo/types/dfloat.h
129
- - lib/dnn/ext/cifar10/numo/types/float_def.h
130
- - lib/dnn/ext/cifar10/numo/types/float_macro.h
131
- - lib/dnn/ext/cifar10/numo/types/int16.h
132
- - lib/dnn/ext/cifar10/numo/types/int32.h
133
- - lib/dnn/ext/cifar10/numo/types/int64.h
134
- - lib/dnn/ext/cifar10/numo/types/int8.h
135
- - lib/dnn/ext/cifar10/numo/types/int_macro.h
136
- - lib/dnn/ext/cifar10/numo/types/real_accum.h
137
- - lib/dnn/ext/cifar10/numo/types/robj_macro.h
138
- - lib/dnn/ext/cifar10/numo/types/robject.h
139
- - lib/dnn/ext/cifar10/numo/types/scomplex.h
140
- - lib/dnn/ext/cifar10/numo/types/sfloat.h
141
- - lib/dnn/ext/cifar10/numo/types/uint16.h
142
- - lib/dnn/ext/cifar10/numo/types/uint32.h
143
- - lib/dnn/ext/cifar10/numo/types/uint64.h
144
- - lib/dnn/ext/cifar10/numo/types/uint8.h
145
- - lib/dnn/ext/cifar10/numo/types/uint_macro.h
146
- - lib/dnn/ext/cifar10/numo/types/xint_macro.h
116
+ - lib/dnn/ext/dataset_loader/dataset_loader.c
117
+ - lib/dnn/ext/dataset_loader/extconf.rb
118
+ - lib/dnn/ext/dataset_loader/numo/compat.h
119
+ - lib/dnn/ext/dataset_loader/numo/extconf.h
120
+ - lib/dnn/ext/dataset_loader/numo/intern.h
121
+ - lib/dnn/ext/dataset_loader/numo/narray.h
122
+ - lib/dnn/ext/dataset_loader/numo/ndloop.h
123
+ - lib/dnn/ext/dataset_loader/numo/template.h
124
+ - lib/dnn/ext/dataset_loader/numo/types/bit.h
125
+ - lib/dnn/ext/dataset_loader/numo/types/complex.h
126
+ - lib/dnn/ext/dataset_loader/numo/types/complex_macro.h
127
+ - lib/dnn/ext/dataset_loader/numo/types/dcomplex.h
128
+ - lib/dnn/ext/dataset_loader/numo/types/dfloat.h
129
+ - lib/dnn/ext/dataset_loader/numo/types/float_def.h
130
+ - lib/dnn/ext/dataset_loader/numo/types/float_macro.h
131
+ - lib/dnn/ext/dataset_loader/numo/types/int16.h
132
+ - lib/dnn/ext/dataset_loader/numo/types/int32.h
133
+ - lib/dnn/ext/dataset_loader/numo/types/int64.h
134
+ - lib/dnn/ext/dataset_loader/numo/types/int8.h
135
+ - lib/dnn/ext/dataset_loader/numo/types/int_macro.h
136
+ - lib/dnn/ext/dataset_loader/numo/types/real_accum.h
137
+ - lib/dnn/ext/dataset_loader/numo/types/robj_macro.h
138
+ - lib/dnn/ext/dataset_loader/numo/types/robject.h
139
+ - lib/dnn/ext/dataset_loader/numo/types/scomplex.h
140
+ - lib/dnn/ext/dataset_loader/numo/types/sfloat.h
141
+ - lib/dnn/ext/dataset_loader/numo/types/uint16.h
142
+ - lib/dnn/ext/dataset_loader/numo/types/uint32.h
143
+ - lib/dnn/ext/dataset_loader/numo/types/uint64.h
144
+ - lib/dnn/ext/dataset_loader/numo/types/uint8.h
145
+ - lib/dnn/ext/dataset_loader/numo/types/uint_macro.h
146
+ - lib/dnn/ext/dataset_loader/numo/types/xint_macro.h
147
147
  - lib/dnn/ext/image_io/extconf.rb
148
148
  - lib/dnn/ext/image_io/image_io_ext.c
149
149
  - lib/dnn/ext/image_io/numo/compat.h
@@ -177,37 +177,6 @@ files:
177
177
  - lib/dnn/ext/image_io/numo/types/xint_macro.h
178
178
  - lib/dnn/ext/image_io/stb_image.h
179
179
  - lib/dnn/ext/image_io/stb_image_write.h
180
- - lib/dnn/ext/mnist/extconf.rb
181
- - lib/dnn/ext/mnist/mnist_ext.c
182
- - lib/dnn/ext/mnist/numo/compat.h
183
- - lib/dnn/ext/mnist/numo/extconf.h
184
- - lib/dnn/ext/mnist/numo/intern.h
185
- - lib/dnn/ext/mnist/numo/narray.h
186
- - lib/dnn/ext/mnist/numo/ndloop.h
187
- - lib/dnn/ext/mnist/numo/template.h
188
- - lib/dnn/ext/mnist/numo/types/bit.h
189
- - lib/dnn/ext/mnist/numo/types/complex.h
190
- - lib/dnn/ext/mnist/numo/types/complex_macro.h
191
- - lib/dnn/ext/mnist/numo/types/dcomplex.h
192
- - lib/dnn/ext/mnist/numo/types/dfloat.h
193
- - lib/dnn/ext/mnist/numo/types/float_def.h
194
- - lib/dnn/ext/mnist/numo/types/float_macro.h
195
- - lib/dnn/ext/mnist/numo/types/int16.h
196
- - lib/dnn/ext/mnist/numo/types/int32.h
197
- - lib/dnn/ext/mnist/numo/types/int64.h
198
- - lib/dnn/ext/mnist/numo/types/int8.h
199
- - lib/dnn/ext/mnist/numo/types/int_macro.h
200
- - lib/dnn/ext/mnist/numo/types/real_accum.h
201
- - lib/dnn/ext/mnist/numo/types/robj_macro.h
202
- - lib/dnn/ext/mnist/numo/types/robject.h
203
- - lib/dnn/ext/mnist/numo/types/scomplex.h
204
- - lib/dnn/ext/mnist/numo/types/sfloat.h
205
- - lib/dnn/ext/mnist/numo/types/uint16.h
206
- - lib/dnn/ext/mnist/numo/types/uint32.h
207
- - lib/dnn/ext/mnist/numo/types/uint64.h
208
- - lib/dnn/ext/mnist/numo/types/uint8.h
209
- - lib/dnn/ext/mnist/numo/types/uint_macro.h
210
- - lib/dnn/ext/mnist/numo/types/xint_macro.h
211
180
  - lib/dnn/lib/cifar10.rb
212
181
  - lib/dnn/lib/image_io.rb
213
182
  - lib/dnn/lib/mnist.rb