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