W3cubDocs

/TensorFlow C++ 2.9

tensorflow::ops::NextAfter

#include <math_ops.h>

Returns the next representable value of x1 in the direction of x2, element-wise.

Summary

This operation returns the same result as the C++ std::nextafter function.

It can also return a subnormal number.

(cpp) Equivalent to C++ std::nextafter function.

Args:

Returns:

Constructors and Destructors
NextAfter(const ::tensorflow::Scope & scope, ::tensorflow::Input x1, ::tensorflow::Input x2)
Public attributes
operation
output
Public functions
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const

Public attributes

operation

Operation operation

output

::tensorflow::Output output

Public functions

NextAfter

 NextAfter(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x1,
  ::tensorflow::Input x2
)

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/next-after