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