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


EagerAI/fastai documentation built on April 16, 2024, 12:01 p.m.