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