Struct tensorflow::eager::raw_ops::DecodeWav
source · pub struct DecodeWav { /* private fields */ }
Expand description
DecodeWav
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/DecodeWav
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 target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
contents: &T0
) -> Result<[TensorHandle<'a>; 2]>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, contents: &T0 ) -> Result<[TensorHandle<'a>; 2]>
Execute decode_wav.
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