View source: R/icevision_albumentations.R
icevision_FromFloat | R Documentation |
Take an input array where all values should lie in the range [0, 1.0], multiply them by 'max_value' and then
icevision_FromFloat( dtype = "uint16", max_value = NULL, always_apply = FALSE, p = 1 )
dtype |
dtype |
max_value |
max_value |
always_apply |
always_apply |
p |
p |
cast the resulted value to a type specified by 'dtype'. If 'max_value' is NULL the transform will try to infer the maximum value for the data type from the 'dtype' argument. This is the inverse transform for :class:'~albumentations.augmentations.transforms.ToFloat'.
None
image
float32
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.