Module: TensorStream::Types

Defined in:
lib/tensor_stream/types.rb

Overview

Convenience class for specifying valid data_types

Class Method Summary collapse

Class Method Details

.booleanObject



26
27
28
# File 'lib/tensor_stream/types.rb', line 26

def self.boolean
  :boolean
end

.float32Object



10
11
12
# File 'lib/tensor_stream/types.rb', line 10

def self.float32
  :float32
end

.float64Object



18
19
20
# File 'lib/tensor_stream/types.rb', line 18

def self.float64
  :float64
end

.int16Object



6
7
8
# File 'lib/tensor_stream/types.rb', line 6

def self.int16
  :int16
end

.int32Object



14
15
16
# File 'lib/tensor_stream/types.rb', line 14

def self.int32
  :int32
end

.stringObject



22
23
24
# File 'lib/tensor_stream/types.rb', line 22

def self.string
  :string
end