A floating point Tensor or TensorLike.
A float in the range [0, 1). The probability that each element of x is discarded.
Optional
noiseShape: number[]An array of numbers of type int32, representing the shape for randomly generated keep/drop flags. If the noiseShape has null value, it will be automatically replaced with the x's relative dimension size. Optional.
Optional
seed: string | numberUsed to create random seeds. Optional.
A Tensor of the same shape of x.
Generated using TypeDoc
Computes dropout.