Struct tensorflow::eager::raw_ops::DecodeJpeg
source · pub struct DecodeJpeg { /* private fields */ }
Expand description
DecodeJpeg
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/DecodeJpeg
Implementations§
source§impl DecodeJpeg
impl DecodeJpeg
sourcepub fn fancy_upscaling<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn fancy_upscaling<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the fancy_upscaling
attribute.
sourcepub fn try_recover_truncated<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn try_recover_truncated<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the try_recover_truncated
attribute.
sourcepub fn acceptable_fraction<ArgType: Into<f32>>(self, value: ArgType) -> Self
pub fn acceptable_fraction<ArgType: Into<f32>>(self, value: ArgType) -> Self
Sets the acceptable_fraction
attribute.
sourcepub fn dct_method<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn dct_method<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the dct_method
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_jpeg.
Trait Implementations§
source§impl Clone for DecodeJpeg
impl Clone for DecodeJpeg
source§fn clone(&self) -> DecodeJpeg
fn clone(&self) -> DecodeJpeg
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 DecodeJpeg
impl Debug for DecodeJpeg
Auto Trait Implementations§
impl RefUnwindSafe for DecodeJpeg
impl Send for DecodeJpeg
impl Sync for DecodeJpeg
impl Unpin for DecodeJpeg
impl UnwindSafe for DecodeJpeg
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