Spec-Zone.ru › TensorFlow C++ 2.9

tensorflow::ops::Round

#include <math_ops.h>

Округляет значения тензора до ближайшего целого числа поэлементно.

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

Округление по методу «половина к чётному». Также известен как банковский метод округления. Если нужно округлить в соответствии с текущим режимом округления системы, используйте std::cint.

Аргументы:

  • scope: Объект Scope

Возвращает:

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

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

operation

Operation operation

y

::tensorflow::Output y

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

Round

 Round(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x
)

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/round

Spec-Zone.ru

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