Spec-Zone.ru › TensorFlow C++ 2.3

tensorflow::ops::TensorSummary

#include <logging_ops.h>

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

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
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

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

Описание

Attrs Description(
  StringPiece x
)

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

Attrs DisplayName(
  StringPiece x
)

Метки

Attrs Labels(
  const gtl::ArraySlice & x
)

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

Spec-Zone.ru

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