stability_sdk 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stability_sdk/version.rb +1 -1
- data/lib/tensors_pb.rb +63 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bfbab3c7b0c366f01681d5adf54193d9473741c8616d3417628011f87e60bea
|
4
|
+
data.tar.gz: f30748cc3ddefc1250b286f695cf039d8297970ef8757720620b9cec9d60e0cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f1eab7a664df5a09cd7785f9636e7e7542b87ed3ce475ceb5dd40005ec6ddc2e246346e258225d2e6f04b3472f28a316c91a32b3aa3e069acf031df5db20b82
|
7
|
+
data.tar.gz: c74dffd4dcbffb5d3211d6bc4762d76384badef93c85e33432c93bf7c3b4c1f0eab2b934c8af0f4065f791e1fd3204408cdc50a5c16037c3cc26b44ef6bc449e
|
data/lib/tensors_pb.rb
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: tensors.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("tensors.proto", :syntax => :proto3) do
|
8
|
+
add_message "tensors.Tensor" do
|
9
|
+
optional :dtype, :enum, 1, "tensors.Dtype"
|
10
|
+
repeated :shape, :int64, 2
|
11
|
+
optional :data, :bytes, 3
|
12
|
+
proto3_optional :attr_type, :enum, 4, "tensors.AttributeType"
|
13
|
+
end
|
14
|
+
add_message "tensors.Attribute" do
|
15
|
+
optional :name, :string, 1
|
16
|
+
oneof :value do
|
17
|
+
optional :module, :message, 3, "tensors.Module"
|
18
|
+
optional :tensor, :message, 4, "tensors.Tensor"
|
19
|
+
optional :string, :string, 5
|
20
|
+
optional :int64, :int64, 6
|
21
|
+
optional :float, :float, 7
|
22
|
+
optional :bool, :bool, 8
|
23
|
+
end
|
24
|
+
end
|
25
|
+
add_message "tensors.Module" do
|
26
|
+
optional :name, :string, 1
|
27
|
+
repeated :names, :string, 2
|
28
|
+
repeated :attributes, :message, 3, "tensors.Attribute"
|
29
|
+
end
|
30
|
+
add_enum "tensors.Dtype" do
|
31
|
+
value :DT_INVALID, 0
|
32
|
+
value :DT_FLOAT32, 1
|
33
|
+
value :DT_FLOAT64, 2
|
34
|
+
value :DT_FLOAT16, 3
|
35
|
+
value :DT_BFLOAT16, 4
|
36
|
+
value :DT_COMPLEX32, 5
|
37
|
+
value :DT_COMPLEX64, 6
|
38
|
+
value :DT_COMPLEX128, 7
|
39
|
+
value :DT_UINT8, 8
|
40
|
+
value :DT_INT8, 9
|
41
|
+
value :DT_INT16, 10
|
42
|
+
value :DT_INT32, 11
|
43
|
+
value :DT_INT64, 12
|
44
|
+
value :DT_BOOL, 13
|
45
|
+
value :DT_QUINT8, 14
|
46
|
+
value :DT_QINT8, 15
|
47
|
+
value :DT_QINT32, 16
|
48
|
+
value :DT_QUINT4_2, 17
|
49
|
+
end
|
50
|
+
add_enum "tensors.AttributeType" do
|
51
|
+
value :AT_PARAMETER, 0
|
52
|
+
value :AT_BUFFER, 1
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
module Tensors
|
58
|
+
Tensor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tensors.Tensor").msgclass
|
59
|
+
Attribute = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tensors.Attribute").msgclass
|
60
|
+
Module = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tensors.Module").msgclass
|
61
|
+
Dtype = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tensors.Dtype").enummodule
|
62
|
+
AttributeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tensors.AttributeType").enummodule
|
63
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stability_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kosei Moriyama
|
@@ -116,6 +116,7 @@ files:
|
|
116
116
|
- lib/stability_sdk/client.rb
|
117
117
|
- lib/stability_sdk/dashboard_client.rb
|
118
118
|
- lib/stability_sdk/version.rb
|
119
|
+
- lib/tensors_pb.rb
|
119
120
|
- stability_sdk.gemspec
|
120
121
|
homepage: https://github.com/cou929/stability-sdk-ruby
|
121
122
|
licenses:
|