MCPcopy
hub / github.com/PDFMathTranslate/PDFMathTranslate / load_onnx

Method load_onnx

pdf2zh/doclayout.py:27–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25class DocLayoutModel(abc.ABC):
26 @staticmethod
27 def load_onnx():
28 model = OnnxModel.from_pretrained()
29 return model
30
31 @staticmethod
32 def load_available():

Callers 1

load_availableMethod · 0.80

Calls 1

from_pretrainedMethod · 0.80

Tested by

no test coverage detected