FloorMod
tensorflow C++ API
Returns element-wise remainder of division.
Summary
Whenx < 0
xory < 0
is true, this follows Python semantics in that the result here is consistent with a flooring divide. E.g.floor(x / y) * y + mod(x, y) = x
.
NOTE:FloorMod
supports broadcasting. More about broadcasting here
Arguments:
- scope: A Scope object
Returns:
Output
: The z tensor.
Constructor
- FloorMod(const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y).
Public attributes
- tensorflow::Output z.
FloorMod 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 FloorMod class object.
Result:
- std::vector(Tensor) product_result : Returned object of executed result by calling session.