stability_sdk 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb4bcef5f20a0b7147814c3c3cd90df2b39a54dc162d207a6c7f91141888cdb3
4
- data.tar.gz: 77aa1b30334169b9437ca8798334fb081b7ff1c4305d09c69128bc5348768ba6
3
+ metadata.gz: 4bfbab3c7b0c366f01681d5adf54193d9473741c8616d3417628011f87e60bea
4
+ data.tar.gz: f30748cc3ddefc1250b286f695cf039d8297970ef8757720620b9cec9d60e0cc
5
5
  SHA512:
6
- metadata.gz: d82e9bd6fdc0cec8b74e6ef774a82bd0d922327d99adae5b8ecccb55e7c7b3111e59d99c46fba8576aacbfd65fd4b3ea0c69a6e691b4b9967319a67b8a778b3f
7
- data.tar.gz: 11ea3112c72f6a4a76fa6cd21457bf3808fddfa6956ffa170e7eebfdbdaca58f2e91dc68accb813b91bda6d82874c73b5d3fc4cf59025acdf96b969f98305904
6
+ metadata.gz: 7f1eab7a664df5a09cd7785f9636e7e7542b87ed3ce475ceb5dd40005ec6ddc2e246346e258225d2e6f04b3472f28a316c91a32b3aa3e069acf031df5db20b82
7
+ data.tar.gz: c74dffd4dcbffb5d3211d6bc4762d76384badef93c85e33432c93bf7c3b4c1f0eab2b934c8af0f4065f791e1fd3204408cdc50a5c16037c3cc26b44ef6bc449e
@@ -1,3 +1,3 @@
1
1
  module StabilitySDK
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
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.1
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: