Spec-Zone.ru › TensorFlow C++ 2.3

tensorflow::ops::Pow

#include <math_ops.h>

Вычисляет степень одного значения по другому.

Summary

Учитывая тензор x и тензор y, эта операция вычисляет \(x^y\) для соответствующих элементов в x и y. Например:

# tensor 'x' is [[2, 2]], [3, 3]]
# tensor 'y' is [[8, 16], [2, 3]]
tf.pow(x, y) ==> [[256, 65536], [9, 27]]

Аргументы:

  • scope: Объект Scope

Возвращает:

  • Output: Тензор z.
Конструкторы и деструкторы
Pow(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

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

Pow

 Pow(
  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/r2.3/api_docs/cc/class/tensorflow/ops/pow

Spec-Zone.ru

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