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-0.8.6 lib/tensor_stream/device.rb
tensor_stream-0.8.5 lib/tensor_stream/device.rb
tensor_stream-0.8.1 lib/tensor_stream/device.rb
tensor_stream-0.8.0 lib/tensor_stream/device.rb
tensor_stream-0.7.0 lib/tensor_stream/device.rb