Method: TensorStream::OpStub#negate

Defined in:
lib/tensor_stream/generated_stub/ops.rb

#negate(input, name: nil) ⇒ Object

Computes numerical negative value element-wise.

Options:

Parameters:

  • input

    tensor X

  • name (Hash) (defaults to: nil)

    a customizable set of options

Options Hash (name:):

  • Optional (Object)

    name

Returns:

  • Tensor



373
374
375
# File 'lib/tensor_stream/generated_stub/ops.rb', line 373

def negate(input, name: nil)
  _op(:negate, input, name: name)
end