Sha256: c37350a319e65f009fae3efbf6a4781ceda93da0b862a7d06fd1138be4ff0126

Contents?: true

Size: 549 Bytes

Versions: 10

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

10 entries across 10 versions & 1 rubygems

Version Path
tensor_stream-1.0.0 lib/tensor_stream/types.rb
tensor_stream-1.0.0.pre.rc1 lib/tensor_stream/types.rb
tensor_stream-0.9.10 lib/tensor_stream/types.rb
tensor_stream-0.9.9 lib/tensor_stream/types.rb
tensor_stream-0.9.8 lib/tensor_stream/types.rb
tensor_stream-0.9.7 lib/tensor_stream/types.rb
tensor_stream-0.9.6 lib/tensor_stream/types.rb
tensor_stream-0.9.5 lib/tensor_stream/types.rb
tensor_stream-0.9.2 lib/tensor_stream/types.rb
tensor_stream-0.9.1 lib/tensor_stream/types.rb