nki.language.dropout — AWS Neuron Documentation (original) (raw)

This document is relevant for: Inf2, Trn1, Trn2

nki.language.dropout#

nki.language.dropout(x, rate, *, dtype=None, mask=None, **kwargs)[source]#

Randomly zeroes some of the elements of the input tile given a probability rate.

Parameters:

Returns:

a tile with randomly zeroed elements of x.

This document is relevant for: Inf2, Trn1, Trn2