Spec-Zone.ru › TensorFlow C++ 1.15

tensorflow::ops::Mod

#include <math_ops.h>

Возвращает остаток от деления по элементам.

Краткое описание

Это эмулирует семантику C, в том смысле, что

результат здесь соответствует усечению при делении. Например: tf.truncatediv(x, y) * y + truncate_mod(x, y) = x.

ПРИМЕЧАНИЕ: Mod поддерживает вещание. Подробнее о вещании здесь

Аргументы:

  • scope: Объект Scope

Возвращает:

  • Output: Тензор z.
Конструкторы и деструкторы
Mod(const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y)
Общедоступные атрибуты
operation
Operation
z
::tensorflow::Output
Общедоступные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const

Общедоступные атрибуты

operation

Operation operation

z

::tensorflow::Output z

Общедоступные функции

Mod

 Mod(
  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 

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/mod

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API