MCPcopy Create free account
hub / github.com/chenhaoxing/HDNet / set_input

Method set_input

models/base_model.py:59–65  ·  view source on GitHub ↗

Unpack input data from the dataloader and perform necessary pre-processing steps. Parameters: input (dict): includes the data itself and its metadata information.

(self, input)

Source from the content-addressed store, hash-verified

57
58 @abstractmethod
59 def set_input(self, input):
60 """Unpack input data from the dataloader and perform necessary pre-processing steps.
61
62 Parameters:
63 input (dict): includes the data itself and its metadata information.
64 """
65 pass
66
67 @abstractmethod
68 def forward(self):

Callers 2

evaluateModelFunction · 0.45
train_evaluate.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected