mask_tensor: Mask_tensor

Description Usage Arguments Value

View source: R/vision_augment.R

Description

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

Usage

1
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 July 28, 2021, 5:06 p.m.