Exception: TensorStream::Evaluator::EvaluatorExcecutionException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- TensorStream::Evaluator::EvaluatorExcecutionException
- Defined in:
- lib/tensor_stream/opencl/opencl_evaluator.rb
Overview
Errors during graph evaluation
Instance Attribute Summary collapse
-
#tensor ⇒ Object
readonly
Returns the value of attribute tensor.
Instance Method Summary collapse
-
#initialize(exception, tensor) ⇒ EvaluatorExcecutionException
constructor
A new instance of EvaluatorExcecutionException.
- #wrapped_exception ⇒ Object
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
#tensor ⇒ Object (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_exception ⇒ Object
33 34 35 |
# File 'lib/tensor_stream/opencl/opencl_evaluator.rb', line 33 def wrapped_exception @exception end |