Exception: TensorStream::Evaluator::UnsupportedOp

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/tensor_stream/evaluator/base_evaluator.rb

Instance Method Summary collapse

Constructor Details

#initialize(tensor) ⇒ UnsupportedOp

Returns a new instance of UnsupportedOp.



19
20
21
# File 'lib/tensor_stream/evaluator/base_evaluator.rb', line 19

def initialize(tensor)
  @tensor = tensor
end

Instance Method Details

#messageObject



23
24
25
# File 'lib/tensor_stream/evaluator/base_evaluator.rb', line 23

def message
  "unsupported op #{@tensor.operation}"
end