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.
The picture shows that the fast_div is 2x faster with reciprocal div and is nearly 5-6x with Truediv
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. The picture shows that the fast_div is 2x faster with reciprocal div and is nearly 5-6x with Truediv