Sha256: c09d89c678bfe93cd26dba764cbecda6501ddc75ca517d53d6f71180dddefc61

Contents?: true

Size: 549 Bytes

Versions: 9

Compression:

Stored size: 549 Bytes

Contents

require "ostruct"

module TensorStream
  # Convenience class for specifying valid data_types
  module Types
    def self.int16
      :int16
    end

    def self.uint16
      :uint16
    end

    def self.float16
      :float16
    end

    def self.float32
      :float32
    end

    def self.int32
      :int32
    end

    def self.uint32
      :uint32
    end

    def self.uint8
      :uint8
    end

    def self.float64
      :float64
    end

    def self.string
      :string
    end

    def self.boolean
      :boolean
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
tensor_stream-1.0.9 lib/tensor_stream/types.rb
tensor_stream-1.0.8 lib/tensor_stream/types.rb
tensor_stream-1.0.7 lib/tensor_stream/types.rb
tensor_stream-1.0.6 lib/tensor_stream/types.rb
tensor_stream-1.0.5 lib/tensor_stream/types.rb
tensor_stream-1.0.4 lib/tensor_stream/types.rb
tensor_stream-1.0.3 lib/tensor_stream/types.rb
tensor_stream-1.0.2 lib/tensor_stream/types.rb
tensor_stream-1.0.1 lib/tensor_stream/types.rb