Variables | |
---|---|
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 |
ret | return |
sample_rate | audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *tag etc frames ** |
summary | |
than | audio **If max_outputs is greater Outputs a Summary protocol buffer with audio. |
Functions | |
---|---|
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 Color to use for pixels with non-finite values. |
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 unit8 D tensor of length channels *Each element must be in the
Max number of batch elements to generate images for. |
Classes | |
---|---|
tensorflow::ops::Assert | Asserts that the given condition is true. |
tensorflow::ops::HistogramSummary | Outputs a |
tensorflow::ops::MergeSummary | Merges summaries. |
tensorflow::ops::Print | Prints a list of tensors. |
tensorflow::ops::ScalarSummary | Outputs a |
tensorflow::ops::TensorSummary | Outputs a |
tensorflow::ops::TensorSummaryV2 | Outputs a |
tensorflow::ops::Timestamp | Provides the time since epoch in seconds. |
audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *tag etc ** Arguments
audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag * audio
TensorProto bad_color_ = Input::Initializer({255, 0, 0, 255}, {4}).AsTensorProto()
image **If max_images is greater the summary value tags are *generated sequentially as *tag * image
int64 max_images_ = 3
ret max_outputs_ = x
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
Outputs a Summary
protocol buffer with audio.
Outputs a Summary
protocol buffer with images.
The summary has up to max_outputs
summary values containing audio. The audio is built from tensor
which must be 3-D with shape [batch_size, frames, channels]
or 2-D with shape [batch_size, frames]
. The values are assumed to be in the range of [-1.0, 1.0]
with a sample rate of sample_rate
.
The tag
argument is a scalar Tensor
of type string
. It is used to build the tag
of the summary values:
max_outputs
is 1, the summary value tag is '*tagThe summary has up to max_images
summary values containing images. The images are built from tensor
which must be 4-D with shape [batch_size, height, width, channels]
and where channels
can be:
tensor
is interpreted as Grayscale.tensor
is interpreted as RGB.tensor
is interpreted as RGBA.The images have the same number of channels as the input tensor. For float input, the values are normalized one image at a time to fit in the range [0, 255]
. uint8
values are unchanged. The op uses two different normalization algorithms:
The tag
argument is a scalar Tensor
of type string
. It is used to build the tag
of the summary values:
max_images
is 1, the summary value tag is '*tag 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 )
TF_MUST_USE_RESULT Attrs BadColor( const TensorProto & x )
Color to use for pixels with non-finite values.
Defaults to Tensor
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 )
Attrs MaxImages( int64 x )
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 unit8 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
Max number of batch elements to generate images for.
Defaults to 3
© 2018 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/api_docs/cc/group/logging-ops