Stay organized with collections
Save and categorize content based on your preferences.
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:
Public attributes
Public functions
node
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2021-05-14 UTC.
[null,null,["Last updated 2021-05-14 UTC."],[],[],null,["# tensorflow::ops::NextAfter Class Reference\n\ntensorflow::\nops::\nNextAfter\n============================\n\n`\n#include \u003cmath_ops.h\u003e\n`\n\n\nReturns the next representable value of\n`\nx1\n`\nin the direction of\n`\nx2\n`\n, element-wise.\n\nSummary\n-------\n\n\nThis operation returns the same result as the C++ std::nextafter function.\n\n\nIt can also return a subnormal number.\n\n\n(cpp) Equivalent to C++ std::nextafter function.\n\n\nArgs:\n\n- scope: A [Scope](/versions/r2.5/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n\n\u003cbr /\u003e\n\n\nReturns:\n\n- `\n `[Output](/versions/r2.5/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output)`\n ` : The output tensor.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| ` `[NextAfter](#classtensorflow_1_1ops_1_1_next_after_1ae1a04ef0a54ffad640ba9cc864513073)` (const :: `[tensorflow::Scope](/versions/r2.5/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, :: `[tensorflow::Input](/versions/r2.5/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` x1, :: `[tensorflow::Input](/versions/r2.5/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` x2) ` ||\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|\n| ` `[operation](#classtensorflow_1_1ops_1_1_next_after_1ae4bb641dd38cad4e78398547d90e0f29)` ` | ` `[Operation](/versions/r2.5/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation)` ` |\n| ` `[output](#classtensorflow_1_1ops_1_1_next_after_1a30e79b8af5bd55d4aac789d0bde4fdb7)` ` | ` :: `[tensorflow::Output](/versions/r2.5/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output)` ` |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------|--------------------------|\n| ` `[node](#classtensorflow_1_1ops_1_1_next_after_1a42a793f8d95774b563203564d85a2b5c)` () const ` | ` ::tensorflow::Node * ` |\n| ` `[operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_next_after_1a2830a8a855e467d13590df308cee7372)` () const ` | ` ` |\n| ` `[operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_next_after_1a50c81e91846ea93ff4174b5d2d4a3b26)` () const ` | ` ` |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### output\n\n```text\n::tensorflow::Output output\n``` \n\nPublic functions\n----------------\n\n### NextAfter\n\n```gdscript\n NextAfter(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input x1,\n ::tensorflow::Input x2\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n```"]]