Struct tensorflow::eager::raw_ops::DecodeImage
source · pub struct DecodeImage { /* private fields */ }
Expand description
DecodeImage
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/DecodeImage
Implementations§
source§impl DecodeImage
impl DecodeImage
sourcepub fn expand_animations<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn expand_animations<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the expand_animations
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>>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, contents: &T0 ) -> Result<TensorHandle<'a>>
Execute decode_image.
Trait Implementations§
source§impl Clone for DecodeImage
impl Clone for DecodeImage
source§fn clone(&self) -> DecodeImage
fn clone(&self) -> DecodeImage
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 DecodeImage
impl Debug for DecodeImage
Auto Trait Implementations§
impl RefUnwindSafe for DecodeImage
impl Send for DecodeImage
impl Sync for DecodeImage
impl Unpin for DecodeImage
impl UnwindSafe for DecodeImage
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