Struct tensorflow::eager::raw_ops::EncodeWav
source · pub struct EncodeWav { /* private fields */ }
Expand description
EncodeWav
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/EncodeWav
Implementations§
source§impl EncodeWav
impl EncodeWav
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>, T1: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
audio: &T0,
sample_rate: &T1
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, audio: &T0, sample_rate: &T1 ) -> Result<TensorHandle<'a>>
Execute encode_wav.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for EncodeWav
impl Send for EncodeWav
impl Sync for EncodeWav
impl Unpin for EncodeWav
impl UnwindSafe for EncodeWav
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