MCPcopy Create free account
hub / github.com/AIS-SNU/Smart-Infinity / __init__

Method __init__

DeepSpeedExample/megatron/model/module.py:41–43  ·  view source on GitHub ↗
(self, share_word_embeddings=True)

Source from the content-addressed store, hash-verified

39 for pipelining."""
40
41 def __init__(self, share_word_embeddings=True):
42 super(MegatronModule, self).__init__()
43 self.share_word_embeddings = share_word_embeddings
44
45
46 def state_dict_for_save_checkpoint(self, destination=None, prefix='',

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected