ruby-dnn 0.10.0 → 0.10.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9fbaca2827a3877b9c215d3a93b7c0e20a4a456471541e3e3f0140a95abf695b
4
- data.tar.gz: 0e57474b603a0ba4d08d66176fea34b77e9dbc0c51639635bb861779a5bd047e
3
+ metadata.gz: 2283358c50e7c60f4f1d67763f16498544a370158c27dd9df4865b8e9e75f2c4
4
+ data.tar.gz: 1d6a2fb9043a7d652906cfd10b8c2301eeb4d110687aef96a62e6ef26e01fed9
5
5
  SHA512:
6
- metadata.gz: e02bcedc98d20dda9c4aae46955af777586cb433ca1d4f479248e56b2ec08a38fbb1b1023c644620664c40fda420a4584d98c1dd0080ab29212c0a0176b669d7
7
- data.tar.gz: bb1486c4a85edbb5b5aed8e8feaffd15937893883d5d31b831427e7bcf663e4157452dd565f0bf4909b444e1241213f8f0a682f56d03d267954e66b9d312e7ab
6
+ metadata.gz: 3827f751e0f7b2ff4f3df5a88d4b768ee986ec4036ec6a3324de52504cbe1324c55c8b6bddfe8f84f4e39d783ed3bfd93b65a8c45947401bf00fb3f34810ac2e
7
+ data.tar.gz: 2292999ec27ba89d23d0f592dc314ee8350caaff164eee8faf5e2e353e1415407af9a793a78c4dfa77aea13f9ed100cb6b25a69a49e93ffcd1dfffe2d28fe4d2
@@ -285,7 +285,7 @@ module DNN
285
285
  sum_loss = 0
286
286
  (x.shape[0].to_f / batch_size).ceil.times do |i|
287
287
  x_batch, y_batch = dataset.next_batch(batch_size)
288
- x_batch, y_batch = before_batch_cbk.call(x_batch, y_batch, true) if before_batch_cbk
288
+ x_batch, y_batch = before_batch_cbk.call(x_batch, y_batch, false) if before_batch_cbk
289
289
  x_batch = forward(x_batch, false)
290
290
  sigmoid = Sigmoid.new
291
291
  batch_size.times do |j|
@@ -1,3 +1,3 @@
1
1
  module DNN
2
- VERSION = "0.10.0"
2
+ VERSION = "0.10.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-dnn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - unagiootoro