MCPcopy
hub / github.com/appvision-ai/fast-bert / detach

Method detach

fast_bert/summarisation/modeling_bertabs.py:631–634  ·  view source on GitHub ↗

Need to document this

(self)

Source from the content-addressed store, hash-verified

629 """
630
631 def detach(self):
632 """ Need to document this """
633 self.hidden = tuple([_.detach() for _ in self.hidden])
634 self.input_feed = self.input_feed.detach()
635
636 def beam_update(self, idx, positions, beam_size):
637 """ Need to document this """

Callers 11

predictMethod · 0.45
to_listFunction · 0.45
validateMethod · 0.45
predict_batchMethod · 0.45
accuracyFunction · 0.45
roc_aucFunction · 0.45
confusion_matrixFunction · 0.45
predictMethod · 0.45
validateMethod · 0.45
predict_batchMethod · 0.45
detachMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected