tensorflow::ops::TruncateMod
#include <math_ops.h>
Возвращает остаток от деления поэлементно.
Краткое описание
Это воспроизводит семантику C, при которой
результат согласуется с делением с усечением. Например, truncate(x / y) * y + truncate_mod(x, y) = x.
ПРИМЕЧАНИЕ: TruncateMod поддерживает широковещательную передачу. Подробнее о широковещательной передаче можно узнать здесь
Аргументы:
- scope: объект Scope
Возвращает:
-
Output: тензор z.
| Конструкторы и деструкторы | |
|---|---|
TruncateMod(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
Открытые функции
TruncateMod
TruncateMod( 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/api_docs/cc/class/tensorflow/ops/truncate-mod