@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.AudioSummary extends Pointer
Summary protocol buffer with audio.
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:
* If max_outputs is 1, the summary value tag is '*tag* /audio'.
* If max_outputs is greater than 1, the summary value tags are
generated sequentially as '*tag* /audio/0', '*tag* /audio/1', etc.
Arguments:
* scope: A Scope object
* tag: Scalar. Used to build the tag attribute of the summary values.
* tensor: 2-D of shape [batch_size, frames].
* sample_rate: The sample rate of the signal in hertz.
Optional attributes (see Attrs):
* max_outputs: Max number of batch elements to generate audio for.
Returns:
* Output: Scalar. Serialized Summary protocol buffer.| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.AudioSummary.Attrs
Optional attribute setters for AudioSummary
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
AudioSummary(Pointer p)
Pointer cast constructor.
|
AudioSummary(tensorflow.Scope scope,
tensorflow.Input tag,
tensorflow.Input tensor,
tensorflow.Input sample_rate) |
AudioSummary(tensorflow.Scope scope,
tensorflow.Input tag,
tensorflow.Input tensor,
tensorflow.Input sample_rate,
tensorflow.AudioSummary.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
static tensorflow.AudioSummary.Attrs |
MaxOutputs(long x) |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.AudioSummary |
operation(tensorflow.Operation operation) |
tensorflow.Output |
summary() |
tensorflow.AudioSummary |
summary(tensorflow.Output summary) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic AudioSummary(Pointer p)
Pointer.Pointer(Pointer).public AudioSummary(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input tag, @ByVal tensorflow.Input tensor, @ByVal tensorflow.Input sample_rate)
public AudioSummary(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input tag, @ByVal tensorflow.Input tensor, @ByVal tensorflow.Input sample_rate, @Const @ByRef tensorflow.AudioSummary.Attrs attrs)
@ByVal @Name(value="operator tensorflow::Output") public tensorflow.Output asOutput()
@ByVal @Name(value="operator tensorflow::Input") public tensorflow.Input asInput()
public tensorflow.Node node()
@ByVal public static tensorflow.AudioSummary.Attrs MaxOutputs(@Cast(value="tensorflow::int64") long x)
@ByRef public tensorflow.Operation operation()
public tensorflow.AudioSummary operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output summary()
public tensorflow.AudioSummary summary(tensorflow.Output summary)
Copyright © 2019. All rights reserved.