Exception: TensorStream::Evaluator::EvaluatorExcecutionException

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/tensor_stream/opencl/opencl_evaluator.rb

Overview

Errors during graph evaluation

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(exception, tensor) ⇒ EvaluatorExcecutionException

Returns a new instance of EvaluatorExcecutionException.



27
28
29
30
# File 'lib/tensor_stream/opencl/opencl_evaluator.rb', line 27

def initialize(exception, tensor)
  @exception = exception
  @tensor = tensor
end

Instance Attribute Details

#tensorObject (readonly)

Returns the value of attribute tensor.



25
26
27
# File 'lib/tensor_stream/opencl/opencl_evaluator.rb', line 25

def tensor
  @tensor
end

Instance Method Details

#wrapped_exceptionObject



32
33
34
# File 'lib/tensor_stream/opencl/opencl_evaluator.rb', line 32

def wrapped_exception
  @exception
end