google-research / circuit_training

Apache License 2.0
1.2k stars 189 forks source link

What is the "weight" attribute in the pb.txt input file? #22

Closed Dinple closed 2 years ago

Dinple commented 2 years ago

As stated in the title, I am not sure what is the weight attribute. I believe it is only mentioned in the ariane test case. Is it the edge weight between groups or is it something else?

choltz95 commented 2 years ago

As a quick follow-up, this has been addressed in the new documentation (weight is strictly a net-weight with default value of 1): https://github.com/google-research/circuit_training/blob/main/docs/NETLIST_FORMAT.md

Thanks a lot for the info!