Struct tensorflow::eager::raw_ops::DecodeCompressed
source · pub struct DecodeCompressed { /* private fields */ }
Expand description
DecodeCompressed
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/DecodeCompressed
Implementations§
source§impl DecodeCompressed
impl DecodeCompressed
sourcepub fn compression_type<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn compression_type<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the compression_type
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,
bytes: &T0
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, bytes: &T0 ) -> Result<TensorHandle<'a>>
Execute decode_compressed.
Trait Implementations§
source§impl Clone for DecodeCompressed
impl Clone for DecodeCompressed
source§fn clone(&self) -> DecodeCompressed
fn clone(&self) -> DecodeCompressed
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DecodeCompressed
impl Debug for DecodeCompressed
Auto Trait Implementations§
impl RefUnwindSafe for DecodeCompressed
impl Send for DecodeCompressed
impl Sync for DecodeCompressed
impl Unpin for DecodeCompressed
impl UnwindSafe for DecodeCompressed
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