Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

icevision_FromFloat

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

Interface to 'fastai'

v2.0.7
Apache License 2.0
Authors
Turgut Abdullayev [ctb, cre, cph, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.