Function tensorflow::eager::raw_ops::decode_and_crop_jpeg
source · pub fn decode_and_crop_jpeg<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>(
ctx: &'a Context,
contents: &T0,
crop_window: &T1
) -> Result<TensorHandle<'a>>
Expand description
Shorthand for DecodeAndCropJpeg::new().call(&ctx, &contents, &crop_window)
.
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/DecodeAndCropJpeg