tensorflow::ops::FloorMod
#include <math_ops.h>
Возвращает остаток от деления поэлементно.
Summary
Когда x < 0 xor y < 0 является
истинным, это соответствует семантике Python, в том, что результат здесь согласуется с операцией целочисленного деления с округлением вниз. Например, floor(x / y) * y + mod(x, y) = x.
ПРИМЕЧАНИЕ: FloorMod поддерживает векторизацию. Подробнее о векторизации здесь
Args:
- scope: Объект Scope
Returns:
-
Output: Тензор z.
| Конструкторы и деструкторы | |
|---|---|
FloorMod(const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y) |
| Публичные атрибуты | |
|---|---|
operation | |
z | |
| Публичные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
Публичные атрибуты
operation
Operation operation
z
::tensorflow::Output z
Публичные функции
FloorMod
FloorMod( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y )
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/floor-mod