Skip to content

Circuit without inputs #133

Discussion options

You must be logged in to vote

The prove command currently builds the circuit, based on the model ONNX, then generates a proof from the resulting circuit. However we currently don't have a command for serializing the circuit to disk so that the compiled circuit can be re-used.

Currently, the best way to achieve the effect you're looking for is to simply run prove where the ONNX file is constant but input.json differs -- the intermediate circuit that is built should be the same every time but with each time the arbitrary inputs being assigned to the "input columns" of the circuit. This would be roughly equivalent to the pipeline you're looking for.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sethahrenbach
Comment options

Answer selected by sethahrenbach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants