View source: R/vision_augment.R
grayscale | R Documentation |
Tensor to grayscale tensor. Uses the ITU-R 601-2 luma transform.
grayscale(x)
x |
tensor |
None
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.