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.



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

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

Instance Attribute Details

#tensorObject (readonly)

Returns the value of attribute tensor.



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

def tensor
  @tensor
end

Instance Method Details

#wrapped_exceptionObject



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

def wrapped_exception
  @exception
end