MCPcopy
hub / github.com/deepspeedai/DeepSpeedExamples / eval

Method eval

bing_bert/turing/models.py:127–128  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

125 return batch.to(self.device, non_blocking)
126
127 def eval(self):
128 self.network.eval()
129
130 def train(self):
131 self.network.train()

Callers 7

pretrain_validationFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
evaluateFunction · 0.80
generate_samplesFunction · 0.80
evaluateFunction · 0.80
evaluateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected