Protokollierungsoperationen
Zusammenfassung
Variablen | |
---|---|
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 | |
than | audio **If max_outputs is greater Gibt einen Summary mit Audio aus. |
Funktionen | |
---|---|
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 Farbe für Pixel mit nicht endlichen Werten. |
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 Maximale Anzahl von Stapelelementen, für die Bilder generiert werden sollen. |
Klassen | |
---|---|
tensorflow :: ops :: Assert | Behauptet, dass die angegebene Bedingung wahr ist. |
tensorflow :: ops :: HistogramSummary | Gibt einen |
tensorflow :: ops :: MergeSummary | Führt Zusammenfassungen zusammen. |
tensorflow :: ops :: Print | Druckt eine Liste von Tensoren. |
tensorflow :: ops :: PrintV2 | Druckt einen String-Skalar. |
tensorflow :: ops :: ScalarSummary | Gibt einen |
tensorflow :: ops :: TensorSummary | Gibt einen |
tensorflow :: ops :: TensorSummaryV2 | Gibt einen |
tensorflow :: ops :: Timestamp | Gibt die Zeit seit der Epoche in Sekunden an. |
Variablen
Argumente
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()
Bild
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 operation
ret
return ret
Beispielrate
audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *tag etc frames ** sample_rate
Zusammenfassung
::tensorflow::Output summary
als
audio **If max_outputs is greater than
Gibt einen Summary
mit Audio aus.
Gibt einen Summary
mit Bildern aus.
Die Zusammenfassung enthält bis zu max_outputs
Zusammenfassungswerte, die Audio enthalten. Das Audio besteht aus einem tensor
der 3-D mit der Form [batch_size, frames, channels]
oder 2-D mit der Form [batch_size, frames]
. Es wird angenommen, dass die Werte im Bereich von [-1.0, 1.0]
mit einer Abtastrate von sample_rate
.
Das tag
Argument ist ein skalarer Tensor
vom Typ string
. Es wird verwendet, um das tag
der Zusammenfassungswerte zu erstellen:
- Wenn
max_outputs
1 ist, lautet das Zusammenfassungswert-Tag '* tag
Die Zusammenfassung enthält bis zu max_images
Zusammenfassungswerte, die Bilder enthalten. Die Bilder werden aus einem tensor
der 4-D mit der Form [batch_size, height, width, channels]
und wo channels
können:
- 1:
tensor
wird als Graustufen interpretiert. - 3:
tensor
wird als RGB interpretiert. - 4:
tensor
wird als RGBA interpretiert.
Die Bilder haben die gleiche Anzahl von Kanälen wie der Eingangstensor. Für die Float-Eingabe werden die Werte bildweise normalisiert, um in den Bereich [0, 255]
zu passen. uint8
Werte bleiben unverändert. Die Operation verwendet zwei verschiedene Normalisierungsalgorithmen:
- Wenn alle Eingabewerte positiv sind, werden sie neu skaliert, sodass der größte Wert 255 ist.
- Wenn ein Eingabewert negativ ist, werden die Werte verschoben, sodass der Eingabewert 0.0 bei 127 liegt. Sie werden dann neu skaliert, sodass entweder der kleinste Wert 0 oder der größte 255 ist.
Das tag
Argument ist ein skalarer Tensor
vom Typ string
. Es wird verwendet, um das tag
der Zusammenfassungswerte zu erstellen:
- Wenn
max_images
1 ist, lautet das Zusammenfassungswert-Tag '* tag
Funktionen
AudioZusammenfassung
AudioSummary( const ::tensorflow::Scope & scope, ::tensorflow::Input tag, ::tensorflow::Input tensor, ::tensorflow::Input sample_rate )
AudioZusammenfassung
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 )
Farbe für Pixel mit nicht endlichen Werten.
Der Standardwert ist Tensor
ImageZusammenfassung
ImageSummary( const ::tensorflow::Scope & scope, ::tensorflow::Input tag, ::tensorflow::Input tensor )
ImageZusammenfassung
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 )
Knoten
::tensorflow::Node * node() const
Reichweite
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
Maximale Anzahl von Stapelelementen, für die Bilder generiert werden sollen.
Der Standardwert ist 3