Sha256: 59ac3c1c54e054089893f181323a70784f5cee6f6c031c2247e1a2d6d89f2a69

Contents?: true

Size: 273 Bytes

Versions: 25

Compression:

Stored size: 273 Bytes

Contents

# A tensorstream device
module TensorStream
  # Class that describes a supported device
  class Device
    attr_accessor :name, :type, :evaluator
    def initialize(name, type, evaluator)
      @name = name
      @type = type
      @evaluator = evaluator
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
tensor_stream-1.0.9 lib/tensor_stream/device.rb
tensor_stream-1.0.8 lib/tensor_stream/device.rb
tensor_stream-1.0.7 lib/tensor_stream/device.rb
tensor_stream-1.0.6 lib/tensor_stream/device.rb
tensor_stream-1.0.5 lib/tensor_stream/device.rb
tensor_stream-1.0.4 lib/tensor_stream/device.rb
tensor_stream-1.0.3 lib/tensor_stream/device.rb
tensor_stream-1.0.2 lib/tensor_stream/device.rb
tensor_stream-1.0.1 lib/tensor_stream/device.rb
tensor_stream-1.0.0 lib/tensor_stream/device.rb
tensor_stream-1.0.0.pre.rc1 lib/tensor_stream/device.rb
tensor_stream-0.9.10 lib/tensor_stream/device.rb
tensor_stream-0.9.9 lib/tensor_stream/device.rb
tensor_stream-0.9.8 lib/tensor_stream/device.rb
tensor_stream-0.9.7 lib/tensor_stream/device.rb
tensor_stream-0.9.6 lib/tensor_stream/device.rb
tensor_stream-0.9.5 lib/tensor_stream/device.rb
tensor_stream-0.9.2 lib/tensor_stream/device.rb
tensor_stream-0.9.1 lib/tensor_stream/device.rb
tensor_stream-0.9.0 lib/tensor_stream/device.rb