Typedef torch::nn::functional::GELUFuncOptions¶
Defined in File activation.h
Typedef Documentation¶
-
using torch::nn::functional::GELUFuncOptions = GELUOptions¶
Options for
torch::nn::functional::gelu
.See the documentation for
torch::nn::GELUOptions
class to learn what arguments are supported.Example:
namespace F = torch::nn::functional; F::gelu(input, F::GELUFuncOptions().approximate("none"));