Spec-Zone.ru › TensorFlow C++ 1.15

tensorflow::ops::SparseSegmentSqrtN

#include <math_ops.h>

Вычисляет сумму по разреженным сегментам тензора, делённую на квадратный корень из N.

Summary

N — это размер сегмента, который уменьшается.

Примеры использования см. в tf.sparse.segment_sum.

Аргументы:

  • scope: Объект Scope
  • indices: Тензор 1-D. Имеет тот же ранг, что и segment_ids.
  • segment_ids: Тензор 1-D. Значения должны быть отсортированы и могут повторяться.

Возвращает:

  • Output: Имеет ту же форму, что и данные, за исключением измерения 0, которое имеет размер k, количество сегментов.
Конструкторы и деструкторы
SparseSegmentSqrtN(const ::tensorflow::Scope & scope, ::tensorflow::Input data, ::tensorflow::Input indices, ::tensorflow::Input segment_ids)
Публичные атрибуты
operation
Operation
output
::tensorflow::Output
Публичные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const

Публичные атрибуты

operation

Operation operation

output

::tensorflow::Output output

Публичные функции

SparseSegmentSqrtN

 SparseSegmentSqrtN(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input data,
  ::tensorflow::Input indices,
  ::tensorflow::Input segment_ids
)

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/sparse-segment-sqrt-n

Spec-Zone.ru

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