MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / print

Method print

fastdeploy/scheduler/config.py:85–92  ·  view source on GitHub ↗

Print the current configuration to logs.

(self)

Source from the content-addressed store, hash-verified

83 pass
84
85 def print(self):
86 """
87 Print the current configuration to logs.
88 """
89 config_logger.info("LocalScheduler Configuration Information :")
90 for k, v in self.__dict__.items():
91 config_logger.info("{:<20}:{:<6}{}".format(k, "", v))
92 config_logger.info("=============================================================")
93
94
95class DPLocalSchedulerConfig(LocalSchedulerConfig):

Callers

nothing calls this directly

Calls 3

itemsMethod · 0.80
infoMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected