Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::
ops::
RealDiv
#include <math_ops.h>
Returns x / y element-wise for real types.
Summary
If
x
and
y
are reals, this will return the floating-point division.
NOTE
:
Div
supports broadcasting. More about broadcasting
here
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::RealDiv Class Reference\n\ntensorflow::\nops::\nRealDiv\n==========================\n\n`\n#include \u003cmath_ops.h\u003e\n`\n\n\nReturns x / y element-wise for real types.\n\nSummary\n-------\n\n\nIf\n`\nx\n`\nand\n`\ny\n`\nare reals, this will return the floating-point division.\n\n\n*NOTE*\n:\n`\n`[Div](/versions/r2.5/api_docs/cc/class/tensorflow/ops/div#classtensorflow_1_1ops_1_1_div)`\n`\nsupports broadcasting. More about broadcasting\n[here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)\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 z tensor.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| ` `[RealDiv](#classtensorflow_1_1ops_1_1_real_div_1a0a1cb47d726c4690b1b78ff188df4266)` (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)` x, :: `[tensorflow::Input](/versions/r2.5/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` y) ` ||\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|\n| ` `[operation](#classtensorflow_1_1ops_1_1_real_div_1a594562646d8385174f547d312f11b912)` ` | ` `[Operation](/versions/r2.5/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation)` ` |\n| ` `[z](#classtensorflow_1_1ops_1_1_real_div_1a73b55789e737032c6d90bb85fc11413b)` ` | ` :: `[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_real_div_1a762123de15f132a3651f72a05b7739e3)` () const ` | ` ::tensorflow::Node * ` |\n| ` `[operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_real_div_1a80e9b7cb61763767e49c8a37a31424f7)` () const ` | ` ` |\n| ` `[operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_real_div_1a4441ec4c87a20025dfabf0cb5f2afc96)` () const ` | ` ` |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### z\n\n```text\n::tensorflow::Output z\n``` \n\nPublic functions\n----------------\n\n### RealDiv\n\n```gdscript\n RealDiv(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input x,\n ::tensorflow::Input y\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```"]]