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