Method: TensorStream::OpStub#pow

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

#pow(input_a, input_b, name: nil) ⇒ Object

Computes the power of one value to another X^Y element wise

This operation supports broadcasting

Options:

Parameters:

  • input_a

    tensor X

  • input_b

    tensor Y

  • name (Hash) (defaults to: nil)

    a customizable set of options

Options Hash (name:):

  • Optional (Object)

    name

Returns:

  • Tensor



424
425
426
427
# File 'lib/tensor_stream/generated_stub/ops.rb', line 424

def pow(input_a, input_b, name: nil)
  input_a, input_b = apply_data_type_coercion(input_a, input_b)
  _op(:pow, input_a, input_b, name: name)
end