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