Module: TensorStream::Types
- Defined in:
- lib/tensor_stream/types.rb
Overview
Convenience class for specifying valid data_types
Class Method Summary collapse
- .boolean ⇒ Object
- .float16 ⇒ Object
- .float32 ⇒ Object
- .float64 ⇒ Object
- .int16 ⇒ Object
- .int32 ⇒ Object
- .string ⇒ Object
- .uint16 ⇒ Object
- .uint32 ⇒ Object
- .uint8 ⇒ Object
Class Method Details
.boolean ⇒ Object
42 43 44 |
# File 'lib/tensor_stream/types.rb', line 42 def self.boolean :boolean end |
.float16 ⇒ Object
14 15 16 |
# File 'lib/tensor_stream/types.rb', line 14 def self.float16 :float16 end |
.float32 ⇒ Object
18 19 20 |
# File 'lib/tensor_stream/types.rb', line 18 def self.float32 :float32 end |
.float64 ⇒ Object
34 35 36 |
# File 'lib/tensor_stream/types.rb', line 34 def self.float64 :float64 end |
.int16 ⇒ Object
6 7 8 |
# File 'lib/tensor_stream/types.rb', line 6 def self.int16 :int16 end |
.int32 ⇒ Object
22 23 24 |
# File 'lib/tensor_stream/types.rb', line 22 def self.int32 :int32 end |
.string ⇒ Object
38 39 40 |
# File 'lib/tensor_stream/types.rb', line 38 def self.string :string end |
.uint16 ⇒ Object
10 11 12 |
# File 'lib/tensor_stream/types.rb', line 10 def self.uint16 :uint16 end |
.uint32 ⇒ Object
26 27 28 |
# File 'lib/tensor_stream/types.rb', line 26 def self.uint32 :uint32 end |
.uint8 ⇒ Object
30 31 32 |
# File 'lib/tensor_stream/types.rb', line 30 def self.uint8 :uint8 end |