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 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
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

Открытые статические функции

Description

Attrs Description(
  StringPiece x
)

DisplayName

Attrs DisplayName(
  StringPiece x
)

Labels

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