Spec-Zone.ru › TensorFlow C++ 2.9

tensorflow::ops::TensorSummary

#include <logging_ops.h>

Выводит протокол-объект Summary с тензором.

Резюме

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

Аргументы:

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

Необязательные атрибуты (см. Attrs):

  • description: json-кодированный протокол SummaryDescription.
  • 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 operation

summary

::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::Вход

operator::tensorflow::Input() const 

Оператор::tensorflow::Выход

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/versions/r2.9/api_docs/cc/class/tensorflow/ops/tensor-summary

Spec-Zone.ru

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