modelzoo.transformers.pytorch.bert.bert_model.BertPooler#
- class modelzoo.transformers.pytorch.bert.bert_model.BertPooler[source]#
Bases:
torch.nn.Module
Methods
forward
reset_parameters
- __call__(*args: Any, **kwargs: Any) Any #
Call self as a function.
- __init__(hidden_size, pooler_norm=False, layer_norm_epsilon=1e-05, use_bias=True, activation='gelu', dropout=None, initializer='xavier_uniform')[source]#
- static __new__(cls, *args: Any, **kwargs: Any) Any #