Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

mask_tensor

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

Interface to 'fastai'

v2.0.7
Apache License 2.0
Authors
Turgut Abdullayev [ctb, cre, cph, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.