LatticeX-Foundation / Rosetta

A Privacy-Preserving Framework Based on TensorFlow
GNU Lesser General Public License v3.0
568 stars 110 forks source link

Refine Derived Cryptographic Ops #108

Open Barry-ljf opened 2 years ago

Barry-ljf commented 2 years ago

Divison is an important fundamental part of the machine learning , and it will be used to help compute some activation function or other operation for training or predicting, so I improved the DIV operation using excellent iteration methods based on primitive Ops . During the process of coding thanks for Kelvin's and Vingstar's help. 2022-04-13 09-50-58 的屏幕截图 The picture shows that the fast_div is 2x faster with reciprocal div and is nearly 5-6x with Truediv

Barry-ljf commented 2 years ago

this work has PR in #109