tensorflow_serving_client 0.1.0 → 0.2.0
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6666077d36fc2fd9d17be4d87cb6a9bd0245e4ff
|
4
|
+
data.tar.gz: b5f15caf82e37c6d47ec9138f997fa4c88ed1dea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc6ee4317aec45576786e2f1e490e77962801d6eac1fd1e0b77cd6562a222606679ea65b58c129733cbe5dce9196102ba25572a77522a4c776aeabcc393d4eed
|
7
|
+
data.tar.gz: 01165be24d0e852e2250aec4903824f2cd56ea7c6a15e67dda580a13aba416985b519d520c73649dc661a579e2816983b6b0161cb6a0eb888e5fa1eab5dd2d67
|
data/Rakefile
CHANGED
@@ -5,6 +5,7 @@ RSpec::Core::RakeTask.new(:spec)
|
|
5
5
|
|
6
6
|
task :default => :spec
|
7
7
|
|
8
|
+
desc "Compile protobufs"
|
8
9
|
task :protoc do
|
9
10
|
sh 'grpc_tools_ruby_protoc',
|
10
11
|
'-I', 'tensorflow_serving/tensorflow',
|
@@ -12,5 +13,6 @@ task :protoc do
|
|
12
13
|
'--ruby_out=lib',
|
13
14
|
'--grpc_out=lib',
|
14
15
|
*Dir['tensorflow_serving/tensorflow/tensorflow/core/framework/*.proto'],
|
16
|
+
*Dir['tensorflow_serving/tensorflow/tensorflow/core/example/*.proto'],
|
15
17
|
*Dir['tensorflow_serving/tensorflow_serving/apis/*.proto']
|
16
18
|
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: tensorflow/core/example/example_parser_configuration.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'tensorflow/core/framework/tensor_shape_pb'
|
7
|
+
require 'tensorflow/core/framework/tensor_pb'
|
8
|
+
require 'tensorflow/core/framework/types_pb'
|
9
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
+
add_message "tensorflow.VarLenFeatureProto" do
|
11
|
+
optional :dtype, :enum, 1, "tensorflow.DataType"
|
12
|
+
optional :values_output_tensor_name, :string, 2
|
13
|
+
optional :indices_output_tensor_name, :string, 3
|
14
|
+
optional :shapes_output_tensor_name, :string, 4
|
15
|
+
end
|
16
|
+
add_message "tensorflow.FixedLenFeatureProto" do
|
17
|
+
optional :dtype, :enum, 1, "tensorflow.DataType"
|
18
|
+
optional :shape, :message, 2, "tensorflow.TensorShapeProto"
|
19
|
+
optional :default_value, :message, 3, "tensorflow.TensorProto"
|
20
|
+
optional :values_output_tensor_name, :string, 4
|
21
|
+
end
|
22
|
+
add_message "tensorflow.FeatureConfiguration" do
|
23
|
+
oneof :config do
|
24
|
+
optional :fixed_len_feature, :message, 1, "tensorflow.FixedLenFeatureProto"
|
25
|
+
optional :var_len_feature, :message, 2, "tensorflow.VarLenFeatureProto"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
add_message "tensorflow.ExampleParserConfiguration" do
|
29
|
+
map :feature_map, :string, :message, 1, "tensorflow.FeatureConfiguration"
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
module Tensorflow
|
34
|
+
VarLenFeatureProto = Google::Protobuf::DescriptorPool.generated_pool.lookup("tensorflow.VarLenFeatureProto").msgclass
|
35
|
+
FixedLenFeatureProto = Google::Protobuf::DescriptorPool.generated_pool.lookup("tensorflow.FixedLenFeatureProto").msgclass
|
36
|
+
FeatureConfiguration = Google::Protobuf::DescriptorPool.generated_pool.lookup("tensorflow.FeatureConfiguration").msgclass
|
37
|
+
ExampleParserConfiguration = Google::Protobuf::DescriptorPool.generated_pool.lookup("tensorflow.ExampleParserConfiguration").msgclass
|
38
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: tensorflow/core/example/example.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'tensorflow/core/example/feature_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_message "tensorflow.Example" do
|
9
|
+
optional :features, :message, 1, "tensorflow.Features"
|
10
|
+
end
|
11
|
+
add_message "tensorflow.SequenceExample" do
|
12
|
+
optional :context, :message, 1, "tensorflow.Features"
|
13
|
+
optional :feature_lists, :message, 2, "tensorflow.FeatureLists"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
module Tensorflow
|
18
|
+
Example = Google::Protobuf::DescriptorPool.generated_pool.lookup("tensorflow.Example").msgclass
|
19
|
+
SequenceExample = Google::Protobuf::DescriptorPool.generated_pool.lookup("tensorflow.SequenceExample").msgclass
|
20
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: tensorflow/core/example/feature.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_message "tensorflow.BytesList" do
|
8
|
+
repeated :value, :bytes, 1
|
9
|
+
end
|
10
|
+
add_message "tensorflow.FloatList" do
|
11
|
+
repeated :value, :float, 1
|
12
|
+
end
|
13
|
+
add_message "tensorflow.Int64List" do
|
14
|
+
repeated :value, :int64, 1
|
15
|
+
end
|
16
|
+
add_message "tensorflow.Feature" do
|
17
|
+
oneof :kind do
|
18
|
+
optional :bytes_list, :message, 1, "tensorflow.BytesList"
|
19
|
+
optional :float_list, :message, 2, "tensorflow.FloatList"
|
20
|
+
optional :int64_list, :message, 3, "tensorflow.Int64List"
|
21
|
+
end
|
22
|
+
end
|
23
|
+
add_message "tensorflow.Features" do
|
24
|
+
map :feature, :string, :message, 1, "tensorflow.Feature"
|
25
|
+
end
|
26
|
+
add_message "tensorflow.FeatureList" do
|
27
|
+
repeated :feature, :message, 1, "tensorflow.Feature"
|
28
|
+
end
|
29
|
+
add_message "tensorflow.FeatureLists" do
|
30
|
+
map :feature_list, :string, :message, 1, "tensorflow.FeatureList"
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
module Tensorflow
|
35
|
+
BytesList = Google::Protobuf::DescriptorPool.generated_pool.lookup("tensorflow.BytesList").msgclass
|
36
|
+
FloatList = Google::Protobuf::DescriptorPool.generated_pool.lookup("tensorflow.FloatList").msgclass
|
37
|
+
Int64List = Google::Protobuf::DescriptorPool.generated_pool.lookup("tensorflow.Int64List").msgclass
|
38
|
+
Feature = Google::Protobuf::DescriptorPool.generated_pool.lookup("tensorflow.Feature").msgclass
|
39
|
+
Features = Google::Protobuf::DescriptorPool.generated_pool.lookup("tensorflow.Features").msgclass
|
40
|
+
FeatureList = Google::Protobuf::DescriptorPool.generated_pool.lookup("tensorflow.FeatureList").msgclass
|
41
|
+
FeatureLists = Google::Protobuf::DescriptorPool.generated_pool.lookup("tensorflow.FeatureLists").msgclass
|
42
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tensorflow_serving_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominique d’Argent
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -109,6 +109,9 @@ files:
|
|
109
109
|
- Rakefile
|
110
110
|
- bin/console
|
111
111
|
- bin/setup
|
112
|
+
- lib/tensorflow/core/example/example_parser_configuration_pb.rb
|
113
|
+
- lib/tensorflow/core/example/example_pb.rb
|
114
|
+
- lib/tensorflow/core/example/feature_pb.rb
|
112
115
|
- lib/tensorflow/core/framework/allocation_description_pb.rb
|
113
116
|
- lib/tensorflow/core/framework/attr_value_pb.rb
|
114
117
|
- lib/tensorflow/core/framework/cost_graph_pb.rb
|