torch.nn.RNNCellOptions
export interface RNNCellOptions {
/** If true, adds learnable bias terms. Default: true */
bias?: boolean;
/** Nonlinearity to use: 'tanh' or 'relu'. Default: 'tanh' */
nonlinearity?: 'tanh' | 'relu';
}bias(boolean)optional- – If true, adds learnable bias terms. Default: true
nonlinearity('tanh' | 'relu')optional- – Nonlinearity to use: 'tanh' or 'relu'. Default: 'tanh'
Options for RNN cell layers