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 Freeze for EncodeWav
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