IntToFloatTensor: IntToFloatTensor

View source: R/vision_augment.R

IntToFloatTensorR Documentation

IntToFloatTensor

Description

Transform image to float tensor, optionally dividing by 255 (e.g. for images).

Usage

IntToFloatTensor(div = 255, div_mask = 1)

Arguments

div

divide value

div_mask

divide mask

Value

None


fastai documentation built on March 21, 2022, 9:07 a.m.