mindspore.ops.FastGeLU

class mindspore.ops.FastGeLU[source]
prim = ops.FastGeLU()
out = prim(x)

is equivalent to

ops.fast_gelu(x)

Refer to mindspore.ops.fast_gelu() for more details.