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