mask_tensor {fastai} | R 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
[Package fastai version 2.2.2 Index]