torch.nn.GELUOptions
export interface GELUOptions extends ActivationOptions {
/** Approximation method: 'none', 'tanh', or other. Default: 'none' */
approximate?: string;
}approximate(string)optional- – Approximation method: 'none', 'tanh', or other. Default: 'none'
Options for GELU activation