Struct tensorflow::ops::AudioSummary
source · pub struct AudioSummary { /* private fields */ }
Expand description
Builder for the AudioSummary
operation.
Implementations§
source§impl AudioSummary
impl AudioSummary
sourcepub fn sample_rate<ArgType: Into<f32>>(self, value: ArgType) -> Self
pub fn sample_rate<ArgType: Into<f32>>(self, value: ArgType) -> Self
Sets the sample_rate
attribute.
sourcepub fn max_outputs<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn max_outputs<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the max_outputs
attribute.
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>>(
&self,
tag: O0,
tensor: O1,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>>( &self, tag: O0, tensor: O1, scope: &mut Scope ) -> Result<Operation>
Builds the AudioSummary
operation.
sourcepub fn build_instance(
&self,
tag: Output,
tensor: Output,
scope: &mut Scope
) -> Result<AudioSummaryInst>
pub fn build_instance( &self, tag: Output, tensor: Output, scope: &mut Scope ) -> Result<AudioSummaryInst>
Builds a new instance of ‘AudioSummary’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for AudioSummary
impl Debug for AudioSummary
source§impl Default for AudioSummary
impl Default for AudioSummary
source§fn default() -> AudioSummary
fn default() -> AudioSummary
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for AudioSummary
impl Send for AudioSummary
impl Sync for AudioSummary
impl Unpin for AudioSummary
impl UnwindSafe for AudioSummary
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more