Struct tensorflow::ops::DecodeWav
source · pub struct DecodeWav { /* private fields */ }
Expand description
Builder for the DecodeWav
operation.
Implementations§
source§impl DecodeWav
impl DecodeWav
sourcepub fn desired_channels<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn desired_channels<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the desired_channels
attribute.
sourcepub fn desired_samples<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn desired_samples<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the desired_samples
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>>(
&self,
contents: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>( &self, contents: O0, scope: &mut Scope ) -> Result<Operation>
Builds the DecodeWav
operation.
sourcepub fn build_instance(
&self,
contents: Output,
scope: &mut Scope
) -> Result<DecodeWavInst>
pub fn build_instance( &self, contents: Output, scope: &mut Scope ) -> Result<DecodeWavInst>
Builds a new instance of ‘DecodeWav’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DecodeWav
impl Send for DecodeWav
impl Sync for DecodeWav
impl Unpin for DecodeWav
impl UnwindSafe for DecodeWav
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