Spec-Zone.ru › TensorFlow C++ 1.15

Операции ведения журналов

Обзор

Переменные
Arguments
audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *tag etc **
audio
audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *
bad_color_ = Input::Initializer({255, 0, 0, 255}, {4}).AsTensorProto()
TensorProto
image
image **If max_images is greater the summary value tags are *generated sequentially as *tag *
max_images_ = 3
int64
max_outputs_ = x
ret
operation
Operation
ret
return
sample_rate
audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *tag etc frames **
summary
::tensorflow::Output
than
audio **If max_outputs is greater
Выводит протокол-буфер Summary с аудиоданными.
Функции
AudioSummary(const ::tensorflow::Scope & scope, ::tensorflow::Input tag, ::tensorflow::Input tensor, ::tensorflow::Input sample_rate)
AudioSummary(const ::tensorflow::Scope & scope, ::tensorflow::Input tag, ::tensorflow::Input tensor, ::tensorflow::Input sample_rate, const AudioSummary::Attrs & attrs)
BadColor(const TensorProto & x)
TF_MUST_USE_RESULT Attrs
Цвет для пикселей с не-конечными значениями.
ImageSummary(const ::tensorflow::Scope & scope, ::tensorflow::Input tag, ::tensorflow::Input tensor)
ImageSummary(const ::tensorflow::Scope & scope, ::tensorflow::Input tag, ::tensorflow::Input tensor, const ImageSummary::Attrs & attrs)
MaxImages(int64 x)
Attrs
MaxOutputs(int64 x)
Attrs
node() const
::tensorflow::Node *
range(It represents the value of a *pixel in the output image).Non-finite values in the input tensor are *replaced by this tensor in the output image.The default value is the color *red.**Arguments
image **If max_images is greater the summary value tags are *generated sequentially as *tag *tag etc **The bad_color argument is the color to use in the generated images for *non finite input values It is a uint8 D tensor of length channels *Each element must be in the
Максимальное количество элементов пакета для создания изображений.
Классы
tensorflow::ops::Assert

Утверждает, что заданное условие истинно.

tensorflow::ops::HistogramSummary

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

tensorflow::ops::MergeSummary

Объединяет сводки.

tensorflow::ops::Print

Выводит список тензоров.

tensorflow::ops::PrintV2

Выводит скалярную строку.

tensorflow::ops::ScalarSummary

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

tensorflow::ops::TensorSummary

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

tensorflow::ops::TensorSummaryV2

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

tensorflow::ops::Timestamp

Предоставляет время с эпохи в секундах.

Переменные

Аргументы

audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *tag etc ** Arguments

audio

audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag * audio

bad_color_

TensorProto bad_color_ = Input::Initializer({255, 0, 0, 255}, {4}).AsTensorProto()

image

image **If max_images is greater the summary value tags are *generated sequentially as *tag * image

max_images_

int64 max_images_ = 3

max_outputs_

ret max_outputs_ = x

операция

Operation operation

ret

return ret

частота дискретизации

audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *tag etc frames ** sample_rate

сводка

::tensorflow::Output summary

чем

audio **If max_outputs is greater than

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

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

Сводка содержит до max_outputs значений сводки, содержащих аудио. Аудио построено из tensor, которое должно быть 3-мерным с формой [batch_size, frames, channels] или 2-мерным с формой [batch_size, frames]. Значения предполагаются в диапазоне [-1.0, 1.0] с частотой дискретизации sample_rate.

Аргумент tag — скалярный Tensor типа string. Он используется для построения tag значений сводки:

  • Если max_outputs равно 1, тег значения сводки — '*tag

Сводка содержит до max_images значений сводки, содержащих изображения. Изображения построены из tensor, которое должно быть 4-мерным с формой [batch_size, height, width, channels], где channels может быть:

  • 1: tensor интерпретируется как градации серого.
  • 3: tensor интерпретируется как RGB.
  • 4: tensor интерпретируется как RGBA.

Изображения имеют такое же количество каналов, что и входной тензор. Для входных значений с плавающей точкой значения нормализуются по одному изображению за раз, чтобы поместиться в диапазоне [0, 255]. Значения uint8 остаются неизменными. Операция использует два разных алгоритма нормализации:

  • Если все входные значения положительные, они масштабируются так, чтобы наибольшее значение было 255.
  • Если какое-либо входное значение отрицательное, значения сдвигаются так, чтобы входное значение 0,0 было 127. Затем они масштабируются так, чтобы наименьшее значение было 0 или наибольшее 255.

Аргумент tag — скалярный Tensor типа string. Он используется для построения tag значений сводки:

  • Если max_images равно 1, тег значения сводки — '*tag

Функции

AudioSummary

 AudioSummary(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input tag,
  ::tensorflow::Input tensor,
  ::tensorflow::Input sample_rate
)

AudioSummary

 AudioSummary(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input tag,
  ::tensorflow::Input tensor,
  ::tensorflow::Input sample_rate,
  const AudioSummary::Attrs & attrs
)

BadColor

TF_MUST_USE_RESULT Attrs BadColor(
  const TensorProto & x
)

Цвет для пикселей с не-конечными значениями.

По умолчанию Tensor

ImageSummary

 ImageSummary(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input tag,
  ::tensorflow::Input tensor
)

ImageSummary

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

MaxImages

Attrs MaxImages(
  int64 x
)

MaxOutputs

Attrs MaxOutputs(
  int64 x
)

узел

::tensorflow::Node * node() const 

диапазон

image **If max_images is greater the summary value tags are *generated sequentially as *tag *tag etc **The bad_color argument is the color to use in the generated images for *non finite input values It is a uint8 D tensor of length channels *Each element must be in the range(
  It represents the value of a *pixel in the output image
).Non-finite values in the input tensor are *replaced by this tensor in the output image.The default value is the color *red.**Arguments

Максимальное количество элементов пакета для создания изображений.

По умолчанию 3

© 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/group/logging-ops

Spec-Zone.ru

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