Sha256: 2524d0b0835c0270194469524eaee40cad34b5b96daeebd441750d77c437a7ee

Contents?: true

Size: 298 Bytes

Versions: 20

Compression:

Stored size: 298 Bytes

Contents

module TensorStream
  # this class represents an evaluator specific native buffer
  class Buffer
    attr_accessor :data_type, :buffer, :dirty, :name

    def initialize(data_type:, buffer:)
      @data_type = data_type
      @buffer = buffer
    end

    def to_ruby
      buffer
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
tensor_stream-1.0.0 lib/tensor_stream/evaluator/buffer.rb
tensor_stream-1.0.0.pre.rc1 lib/tensor_stream/evaluator/buffer.rb
tensor_stream-0.9.10 lib/tensor_stream/evaluator/buffer.rb
tensor_stream-0.9.9 lib/tensor_stream/evaluator/buffer.rb
tensor_stream-0.9.8 lib/tensor_stream/evaluator/buffer.rb
tensor_stream-0.9.7 lib/tensor_stream/evaluator/buffer.rb
tensor_stream-0.9.6 lib/tensor_stream/evaluator/buffer.rb
tensor_stream-0.9.5 lib/tensor_stream/evaluator/buffer.rb
tensor_stream-0.9.2 lib/tensor_stream/evaluator/buffer.rb
tensor_stream-0.9.1 lib/tensor_stream/evaluator/buffer.rb
tensor_stream-0.9.0 lib/tensor_stream/evaluator/buffer.rb
tensor_stream-0.8.6 lib/tensor_stream/evaluator/buffer.rb
tensor_stream-0.8.5 lib/tensor_stream/evaluator/buffer.rb
tensor_stream-0.8.1 lib/tensor_stream/evaluator/buffer.rb
tensor_stream-0.8.0 lib/tensor_stream/evaluator/buffer.rb
tensor_stream-0.7.0 lib/tensor_stream/evaluator/buffer.rb
tensor_stream-0.6.1 lib/tensor_stream/evaluator/buffer.rb
tensor_stream-0.6.0 lib/tensor_stream/evaluator/buffer.rb
tensor_stream-0.5.1 lib/tensor_stream/evaluator/buffer.rb
tensor_stream-0.5.0 lib/tensor_stream/evaluator/buffer.rb