mask_tensor: Mask_tensor

View source: R/vision_augment.R

mask_tensorR Documentation

Mask_tensor

Description

Mask elements of 'x' with 'neutral' with probability '1-p'

Usage

mask_tensor(x, p = 0.5, neutral = 0, batch = FALSE)

Arguments

x

tensor

p

probability

neutral

neutral

batch

batch

Value

None


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