imagenet_preprocess_input | R Documentation |
Preprocesses a tensor or array encoding a batch of images.
imagenet_preprocess_input(x, data_format = NULL, mode = "caffe")
x |
Input Numpy or symbolic tensor, 3D or 4D. |
data_format |
Data format of the image tensor/array. |
mode |
One of "caffe", "tf", or "torch"
|
Preprocessed tensor or array.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.