MCPcopy Create free account
hub / github.com/PaddlePaddle/Knover / get_data_loader

Method get_data_loader

knover/core/task.py:82–95  ·  view source on GitHub ↗

Get the model's DataLoader. Args: model: the trained model. is_infer: whether to run model in inference mode. args: the arguments of Reader.data_generator. kwargs: the arguments of Reader.data_generator. Returns: loader: D

(self, model, *args, is_infer=False, **kwargs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

trainFunction · 0.45
inferFunction · 0.45
evaluateFunction · 0.45
inferFunction · 0.45

Calls 1

data_generatorMethod · 0.80

Tested by

no test coverage detected