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.
- checksums.yaml +4 -4
- data/API-Reference.ja.md +1 -1
- data/LIB-API-Reference.ja.md +97 -0
- data/Rakefile +3 -7
- data/lib/dnn/core/version.rb +1 -1
- data/lib/dnn/ext/dataset_loader/dataset_loader.c +90 -0
- data/lib/dnn/ext/dataset_loader/extconf.rb +3 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/compat.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/extconf.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/intern.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/narray.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/ndloop.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/template.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/bit.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/complex.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/complex_macro.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/dcomplex.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/dfloat.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/float_def.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/float_macro.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/int16.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/int32.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/int64.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/int8.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/int_macro.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/real_accum.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/robj_macro.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/robject.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/scomplex.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/sfloat.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/uint16.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/uint32.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/uint64.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/uint8.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/uint_macro.h +0 -0
- data/lib/dnn/ext/{cifar10 → dataset_loader}/numo/types/xint_macro.h +0 -0
- data/lib/dnn/lib/cifar10.rb +7 -4
- data/lib/dnn/lib/image_io.rb +2 -0
- data/lib/dnn/lib/mnist.rb +1 -1
- data/ruby-dnn.gemspec +1 -1
- metadata +35 -66
- data/lib/dnn/ext/cifar10/cifar10_ext.c +0 -52
- data/lib/dnn/ext/cifar10/extconf.rb +0 -3
- data/lib/dnn/ext/mnist/extconf.rb +0 -3
- data/lib/dnn/ext/mnist/mnist_ext.c +0 -49
- data/lib/dnn/ext/mnist/numo/compat.h +0 -23
- data/lib/dnn/ext/mnist/numo/extconf.h +0 -13
- data/lib/dnn/ext/mnist/numo/intern.h +0 -117
- data/lib/dnn/ext/mnist/numo/narray.h +0 -430
- data/lib/dnn/ext/mnist/numo/ndloop.h +0 -94
- data/lib/dnn/ext/mnist/numo/template.h +0 -149
- data/lib/dnn/ext/mnist/numo/types/bit.h +0 -33
- data/lib/dnn/ext/mnist/numo/types/complex.h +0 -409
- data/lib/dnn/ext/mnist/numo/types/complex_macro.h +0 -377
- data/lib/dnn/ext/mnist/numo/types/dcomplex.h +0 -44
- data/lib/dnn/ext/mnist/numo/types/dfloat.h +0 -42
- data/lib/dnn/ext/mnist/numo/types/float_def.h +0 -34
- data/lib/dnn/ext/mnist/numo/types/float_macro.h +0 -186
- data/lib/dnn/ext/mnist/numo/types/int16.h +0 -24
- data/lib/dnn/ext/mnist/numo/types/int32.h +0 -24
- data/lib/dnn/ext/mnist/numo/types/int64.h +0 -24
- data/lib/dnn/ext/mnist/numo/types/int8.h +0 -24
- data/lib/dnn/ext/mnist/numo/types/int_macro.h +0 -41
- data/lib/dnn/ext/mnist/numo/types/real_accum.h +0 -486
- data/lib/dnn/ext/mnist/numo/types/robj_macro.h +0 -75
- data/lib/dnn/ext/mnist/numo/types/robject.h +0 -27
- data/lib/dnn/ext/mnist/numo/types/scomplex.h +0 -44
- data/lib/dnn/ext/mnist/numo/types/sfloat.h +0 -43
- data/lib/dnn/ext/mnist/numo/types/uint16.h +0 -21
- data/lib/dnn/ext/mnist/numo/types/uint32.h +0 -21
- data/lib/dnn/ext/mnist/numo/types/uint64.h +0 -21
- data/lib/dnn/ext/mnist/numo/types/uint8.h +0 -21
- data/lib/dnn/ext/mnist/numo/types/uint_macro.h +0 -32
- 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d86f8c32dcd08b4a71ae4ce3892e0a4f0677d04ac32c0090b72c8f7fe008b591
|
4
|
+
data.tar.gz: 4003068dfacd2739426e6c8d19411a47b9401aaf2c7c09f214962de3cdf57986
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1699c885afb1494981784e435dd93c5f06c7f2041412eefacf0c2f24e700ab1a134a155dfc3babe6791b15c4936f15083463d32f3bd02f181c0f457273f4d4bd
|
7
|
+
data.tar.gz: '09b397dba80f67bf9dc5a66a557d3e358b11c397776cad73b7cd4d2a1fbe601d93b1df0d5dfa9a3675736e4e3ab7386ad59bf71825689714439c5480c85feb3a'
|
data/API-Reference.ja.md
CHANGED
@@ -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 :
|
11
|
-
sh "cd lib/dnn/ext/
|
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, :
|
18
|
+
task :default => [:test, :build_dataset_loader, :build_image_io]
|
data/lib/dnn/core/version.rb
CHANGED
@@ -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
|
+
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/dnn/lib/cifar10.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
require "dnn"
|
2
|
-
require "dnn/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
|
-
|
25
|
-
|
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)
|
data/lib/dnn/lib/image_io.rb
CHANGED
data/lib/dnn/lib/mnist.rb
CHANGED
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/
|
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.
|
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-
|
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/
|
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/
|
117
|
-
- lib/dnn/ext/
|
118
|
-
- lib/dnn/ext/
|
119
|
-
- lib/dnn/ext/
|
120
|
-
- lib/dnn/ext/
|
121
|
-
- lib/dnn/ext/
|
122
|
-
- lib/dnn/ext/
|
123
|
-
- lib/dnn/ext/
|
124
|
-
- lib/dnn/ext/
|
125
|
-
- lib/dnn/ext/
|
126
|
-
- lib/dnn/ext/
|
127
|
-
- lib/dnn/ext/
|
128
|
-
- lib/dnn/ext/
|
129
|
-
- lib/dnn/ext/
|
130
|
-
- lib/dnn/ext/
|
131
|
-
- lib/dnn/ext/
|
132
|
-
- lib/dnn/ext/
|
133
|
-
- lib/dnn/ext/
|
134
|
-
- lib/dnn/ext/
|
135
|
-
- lib/dnn/ext/
|
136
|
-
- lib/dnn/ext/
|
137
|
-
- lib/dnn/ext/
|
138
|
-
- lib/dnn/ext/
|
139
|
-
- lib/dnn/ext/
|
140
|
-
- lib/dnn/ext/
|
141
|
-
- lib/dnn/ext/
|
142
|
-
- lib/dnn/ext/
|
143
|
-
- lib/dnn/ext/
|
144
|
-
- lib/dnn/ext/
|
145
|
-
- lib/dnn/ext/
|
146
|
-
- lib/dnn/ext/
|
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
|