icevision_FromFloat: FromFloat

Description Usage Arguments Details Value Targets Image types

View source: R/icevision_albumentations.R

Description

Take an input array where all values should lie in the range [0, 1.0], multiply them by 'max_value' and then

Usage

1
2
3
4
5
6
icevision_FromFloat(
  dtype = "uint16",
  max_value = NULL,
  always_apply = FALSE,
  p = 1
)

Arguments

dtype

dtype

max_value

max_value

always_apply

always_apply

p

p

Details

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'.

Value

None

Targets

image

Image types

float32


fastai documentation built on Oct. 25, 2021, 5:08 p.m.