onnx_modelΒΆ
Module for formulating an ONNX MLP model into a Model.
Supported ONNX models are simple feed-forward networks composed of Gemm nodes (dense layers) or MatMul`+`Add sequences, along with Relu activations. This mirrors the Keras and PyTorch integrations, which currently handle Dense/Linear + ReLU networks.
Functions
|
Formulate an ONNX MLP model into gp_model. |
Classes
|
Formulate a supported ONNX MLP model as a Gurobi predictor constraint. |