MCPcopy Create free account
hub / github.com/NeuralNetworkVerification/Marabou / processGraph

Method processGraph

src/input_parsers/OnnxParser.cpp:759–767  ·  view source on GitHub ↗

* @brief Processes the graph, adding all the generated constraints to the query. * Unlike the Python implementation, at the moment assumes there is only a single output. * * @param inputNames The names of the input nodes to start at. * @param terminalNames The names of the output node to end at. * @param query The query in which to store the generated constraints. */

Source from the content-addressed store, hash-verified

757 * @param query The query in which to store the generated constraints.
758 */
759void OnnxParser::processGraph()
760{
761 initializeShapeAndConstantMaps();
762 for ( String terminalName : _terminalNames )
763 {
764 processNode( terminalName, true );
765 }
766 validateAllInputsAndOutputsFound();
767}
768
769/**
770 * @brief Recursively processes the structure of the graph, adding the relevant

Callers 1

parseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected