tensor_stream 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Dockerfile +1 -1
- data/lib/tensor_stream/evaluator/base_evaluator.rb +1 -1
- data/lib/tensor_stream/evaluator/ruby_evaluator.rb +1 -1
- data/lib/tensor_stream/utils.rb +1 -1
- data/lib/tensor_stream/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7efc04eb9823375da0fefce5086213e445c11410964c067ed09adcbddad089d2
|
4
|
+
data.tar.gz: 63edff2f84664c2f86850a41270fb2711e65b8a6d1ebd9f88754b72280c5661a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f80c668f87e41343dc1091379246816989dc5ffbe51e2141f5c35fb021b1f3872ef52bf9bd8d911ced3bd576883401904c250efa2a6aa2e47e60150f7c7821b
|
7
|
+
data.tar.gz: 1bc34e5d8e82a4a9ed325a8fd7f57cc146cdff8879a84cf0d93cde61e574b14641d352c278bf020bfa1a1296af024526027b47b3c30184cb8bef37856d762ca3
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## [1.0.5] - 2019-03-20
|
8
|
+
- [BUG FIX] - Fix not wrapping a stack op on some arrays. Should fix rnn sample
|
9
|
+
|
7
10
|
## [0.9.10] - 2019-01-02
|
8
11
|
- [BUG FIX] - remove pry-byebug include (Thanks @samgooi4189)
|
9
12
|
- Update Changelog for 0.9.9
|
data/Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
FROM circleci/ruby:2.
|
1
|
+
FROM circleci/ruby:2.6.1-node-browsers
|
2
2
|
RUN sudo apt-get update -q && sudo apt-get install --no-install-recommends -yq alien wget unzip clinfo \
|
3
3
|
&& sudo apt-get clean && sudo rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
4
4
|
RUN export DEVEL_URL="https://software.intel.com/file/531197/download" \
|
@@ -131,7 +131,7 @@ module TensorStream
|
|
131
131
|
time.to_i * (10**9) + time.nsec
|
132
132
|
end
|
133
133
|
|
134
|
-
instance_exec(execution_context, tensor, resolved_inputs, &op[:block]).tap do
|
134
|
+
instance_exec(execution_context, tensor, resolved_inputs, &op[:block]).tap do |result|
|
135
135
|
if profile_enabled?
|
136
136
|
time = Time.now
|
137
137
|
end_time = time.to_i * (10**9) + time.nsec
|
data/lib/tensor_stream/utils.rb
CHANGED
@@ -242,7 +242,7 @@ module TensorStream
|
|
242
242
|
return convert_to_tensor(value.call) if value.is_a?(Proc)
|
243
243
|
# raise "Invalid tensor value" if value.nil?
|
244
244
|
|
245
|
-
if value.is_a?(Array) && value
|
245
|
+
if value.is_a?(Array) && value.detect { |v| v.is_a?(Tensor) }
|
246
246
|
return TensorStream.stack(value) if value.size > 1
|
247
247
|
|
248
248
|
return TensorStream.expand_dims(value[0], 0)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tensor_stream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joseph Emmanuel Dayo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -411,8 +411,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
411
411
|
- !ruby/object:Gem::Version
|
412
412
|
version: '0'
|
413
413
|
requirements: []
|
414
|
-
|
415
|
-
rubygems_version: 2.7.7
|
414
|
+
rubygems_version: 3.0.3
|
416
415
|
signing_key:
|
417
416
|
specification_version: 4
|
418
417
|
summary: A Pure ruby tensorflow implementation
|