Spec-Zone.ru › TensorFlow C++

tensorflow::ops::TensorSummary

#include <logging_ops.h>

Выводит протокольный буфер Summary с тензором.

Резюме

Этот оператор постепенно заменяется на TensorSummaryV2, который позволяет вызывающим сторонам передавать тег и сериализованную строку прото SummaryMetadata, содержащую данные, специфичные для плагина. Мы сохраним этот оператор для обеспечения обратной совместимости.

Аргументы:

  • scope: Объект Scope
  • tensor: Тензор для сериализации.

Дополнительные атрибуты (см. Attrs):

  • description: Прото SummaryDescription, закодированный в формате json.
  • labels: Неиспользуемый список строк.
  • display_name: Неиспользуемая строка.

Возвращает:

  • Output: Тензор сводки.
Конструкторы и деструкторы
TensorSummary(const ::tensorflow::Scope & scope, ::tensorflow::Input tensor)
TensorSummary(const ::tensorflow::Scope & scope, ::tensorflow::Input tensor, const TensorSummary::Attrs & attrs)
Общественные атрибуты
operation
Operation
summary
::tensorflow::Output
Общественные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Общественные статические функции
Description(StringPiece x)
Attrs
DisplayName(StringPiece x)
Attrs
Labels(const gtl::ArraySlice<::tensorflow::tstring > & x)
Attrs
Структуры
tensorflow::ops::TensorSummary::Attrs

Дополнительные атрибуты установки для TensorSummary.

Общественные атрибуты

операция

Operation operation

сводка

::tensorflow::Output summary

Общественные функции

TensorSummary

 TensorSummary(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input tensor
)

TensorSummary

 TensorSummary(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input tensor,
  const TensorSummary::Attrs & attrs
)

узел

::tensorflow::Node * node() const 

оператор::tensorflow::Input

operator::tensorflow::Input() const 

оператор::tensorflow::Output

operator::tensorflow::Output() const 

Общественные статические функции

Описание

Attrs Description(
  StringPiece x
)

Имя для отображения

Attrs DisplayName(
  StringPiece x
)

Метки

Attrs Labels(
  const gtl::ArraySlice<::tensorflow::tstring > & x
)

© 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/tensor-summary

Spec-Zone.ru

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