module TensorStream::Types

Convenience class for specifying valid data_types

Public Class Methods

boolean() click to toggle source
# File lib/tensor_stream/types.rb, line 42
def self.boolean
  :boolean
end
float16() click to toggle source
# File lib/tensor_stream/types.rb, line 14
def self.float16
  :float16
end
float32() click to toggle source
# File lib/tensor_stream/types.rb, line 18
def self.float32
  :float32
end
float64() click to toggle source
# File lib/tensor_stream/types.rb, line 34
def self.float64
  :float64
end
int16() click to toggle source
# File lib/tensor_stream/types.rb, line 6
def self.int16
  :int16
end
int32() click to toggle source
# File lib/tensor_stream/types.rb, line 22
def self.int32
  :int32
end
string() click to toggle source
# File lib/tensor_stream/types.rb, line 38
def self.string
  :string
end
uint16() click to toggle source
# File lib/tensor_stream/types.rb, line 10
def self.uint16
  :uint16
end
uint32() click to toggle source
# File lib/tensor_stream/types.rb, line 26
def self.uint32
  :uint32
end
uint8() click to toggle source
# File lib/tensor_stream/types.rb, line 30
def self.uint8
  :uint8
end