MCPcopy Create free account
hub / github.com/csslc/PiSA-SR / set_input_embeddings

Method set_input_embeddings

ram/models/bert.py:672–673  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

670 return self.embeddings.word_embeddings
671
672 def set_input_embeddings(self, value):
673 self.embeddings.word_embeddings = value
674
675 def _prune_heads(self, heads_to_prune):
676 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected