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

This document is relevant for: Inf2, Trn1, Trn2

nki.language.gelu_dx#

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

Derivative of Gaussian Error Linear Unit (gelu) on the input, element-wise.

Parameters:

Returns:

a tile that has gelu_dx of x.

This document is relevant for: Inf2, Trn1, Trn2