Link Search Menu Expand Document

RealDiv


tensorflow C++ API

tensorflow::ops::RealDiv

Returns x / y element-wise for real types.


Summary

Ifxandyare reals, this will return the floating-point division.

NOTE:Divsupports broadcasting. More about broadcasting here

Arguments:

Returns:

Constructor

  • RealDiv(const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y).

Public attributes

  • tensorflow::Output z.

RealDiv block

Source link : https://github.com/EXPNUNI/enuSpaceTensorflow/blob/master/enuSpaceTensorflow/tf_math.cpp

Argument:

  • Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.).
  • Input x:connect Input node.
  • Input y:connect Input node.

Return:

  • Output z: Output object of RealDiv class object.

Result:

  • std::vector(Tensor) product_result : Returned object of executed result by calling session.

Using Method