Exception: TensorStream::Evaluator::EvaluatorExcecutionException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- TensorStream::Evaluator::EvaluatorExcecutionException
- Defined in:
- lib/tensor_stream/evaluator/ruby_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.
23 24 25 26 |
# File 'lib/tensor_stream/evaluator/ruby_evaluator.rb', line 23 def initialize(exception, tensor) @exception = exception @tensor = tensor end |
Instance Attribute Details
#tensor ⇒ Object (readonly)
Returns the value of attribute tensor.
21 22 23 |
# File 'lib/tensor_stream/evaluator/ruby_evaluator.rb', line 21 def tensor @tensor end |
Instance Method Details
#wrapped_exception ⇒ Object
28 29 30 |
# File 'lib/tensor_stream/evaluator/ruby_evaluator.rb', line 28 def wrapped_exception @exception end |