Ctrl+K
Logo image Logo image

  • Introduction to ONNX
  • API Reference
    • Protos
    • Serialization
    • onnx.backend
    • onnx.checker
    • onnx.compose
    • onnx.defs
    • onnx.external_data_helper
    • onnx.helper
    • onnx.hub
    • onnx.mapping
    • onnx.numpy_helper
    • onnx.parser
    • onnx.printer
    • onnx.shape_inference
    • onnx.tools
    • onnx.utils
    • onnx.version_converter
  • ONNX Operators

onnx.checker#

  • check_model

check_model#

onnx.checker.check_model(model: Union[ModelProto, str, bytes], full_check: bool = False) → None[source]#

Check the consistency of a model. An exception is raised if the test fails.

Parameters:
  • model (ModelProto) – model to check

  • full_check (bool) – if True, the function checks shapes can be inferred

previous

onnx.backend

next

onnx.compose

© Copyright 2022.

Created using Sphinx 5.3.0.