Class: TensorStream::Buffer

Inherits:
Object
  • Object
show all
Defined in:
lib/tensor_stream/evaluator/buffer.rb

Overview

this class represents an evaluator specific native buffer

Direct Known Subclasses

OpenCLBuffer

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dirtyObject

Returns the value of attribute dirty.



4
5
6
# File 'lib/tensor_stream/evaluator/buffer.rb', line 4

def dirty
  @dirty
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/tensor_stream/evaluator/buffer.rb', line 4

def name
  @name
end

Instance Method Details

#to_rubyObject



6
7
8
# File 'lib/tensor_stream/evaluator/buffer.rb', line 6

def to_ruby
  raise "not implemented"
end