Struct tensorflow::ops::AudioSpectrogram
source · pub struct AudioSpectrogram { /* private fields */ }
Expand description
Builder for the AudioSpectrogram
operation.
Implementations§
source§impl AudioSpectrogram
impl AudioSpectrogram
sourcepub fn window_size<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn window_size<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the window_size
attribute.
sourcepub fn magnitude_squared<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn magnitude_squared<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the magnitude_squared
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,
input: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>( &self, input: O0, scope: &mut Scope ) -> Result<Operation>
Builds the AudioSpectrogram
operation.
sourcepub fn build_instance(
&self,
input: Output,
scope: &mut Scope
) -> Result<AudioSpectrogramInst>
pub fn build_instance( &self, input: Output, scope: &mut Scope ) -> Result<AudioSpectrogramInst>
Builds a new instance of ‘AudioSpectrogram’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for AudioSpectrogram
impl Debug for AudioSpectrogram
source§impl Default for AudioSpectrogram
impl Default for AudioSpectrogram
source§fn default() -> AudioSpectrogram
fn default() -> AudioSpectrogram
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for AudioSpectrogram
impl Send for AudioSpectrogram
impl Sync for AudioSpectrogram
impl Unpin for AudioSpectrogram
impl UnwindSafe for AudioSpectrogram
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