MCPcopy Create free account
hub / github.com/MoonInTheRiver/DiffSinger / validation_step

Method validation_step

tasks/base_task.py:168–175  ·  view source on GitHub ↗

:param sample: :param batch_idx: :return: output: dict

(self, sample, batch_idx)

Source from the content-addressed store, hash-verified

166 f"\n==============\n")
167
168 def validation_step(self, sample, batch_idx):
169 """
170
171 :param sample:
172 :param batch_idx:
173 :return: output: dict
174 """
175 raise NotImplementedError
176
177 def _validation_end(self, outputs):
178 """

Callers 1

test_stepMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_stepMethod · 0.76