icevision_FromFloat: FromFloat

View source: R/icevision_albumentations.R

icevision_FromFloatR Documentation

FromFloat

Description

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

Usage

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 June 22, 2024, 11:15 a.m.