Method: TensorStream::OpPatch#-
- Defined in:
- lib/tensor_stream/monkey_patches/op_patch.rb
#-(other) ⇒ Object
24 25 26 27 28 29 30 |
# File 'lib/tensor_stream/monkey_patches/op_patch.rb', line 24 def -(other) if other.is_a?(TensorStream::Tensor) TensorStream.convert_to_tensor(self, dtype: other.data_type) - other else _tensor_stream_sub_orig(other) end end |