MCPcopy Create free account
hub / github.com/HA-Transformer/MAT / init_bert_params

Function init_bert_params

fairseq/modules/transformer_sentence_encoder.py:19–41  ·  view source on GitHub ↗

Initialize the weights specific to the BERT Model. This overrides the default initializations depending on the specified arguments. 1. If normal_init_linear_weights is set then weights of linear layer will be initialized using the normal distribution and bais w

(module)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected