W3cubDocs

/TensorFlow C++ 2.9

tensorflow::ops::Inv

#include <math_ops.h>

Computes the reciprocal of x element-wise.

Summary

I.e., \(y = 1 / x\).

Args:

Returns:

Constructors and Destructors
Inv(const ::tensorflow::Scope & scope, ::tensorflow::Input x)
Public attributes
operation
y
Public functions
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const

Public attributes

operation

Operation operation

y

::tensorflow::Output y

Public functions

Inv

 Inv(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.9/api_docs/cc/class/tensorflow/ops/inv