Exception: TensorStream::Evaluator::EvaluatorExcecutionException

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/tensor_stream/evaluator/ruby_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.



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

#tensorObject (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_exceptionObject



28
29
30
# File 'lib/tensor_stream/evaluator/ruby_evaluator.rb', line 28

def wrapped_exception
  @exception
end