MCPcopy Index your code
hub / github.com/PaddlePaddle/FastDeploy / print

Method print

fastdeploy/config.py:835–843  ·  view source on GitHub ↗

print all config

(self)

Source from the content-addressed store, hash-verified

833 return json.dumps({key: value for key, value in self.__dict__.items() if value is not None})
834
835 def print(self):
836 """
837 print all config
838
839 """
840 logger.info("Speculative Decoding Configuration Information :")
841 for k, v in self.__dict__.items():
842 logger.info("{:<20}:{:<6}{}".format(k, "", v))
843 logger.info("=============================================================")
844
845 def check_legality_parameters(
846 self,

Callers

nothing calls this directly

Calls 3

itemsMethod · 0.80
infoMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected