pytorch-binary-converter icon indicating copy to clipboard operation
pytorch-binary-converter copied to clipboard

Turning float tensors to binary tensors according to IEEE-754 standard.

Results 2 pytorch-binary-converter issues
Sort by recently updated
recently updated
newest added

After I add float2bit and bit2float to the network, the weight of the convolution model is always 0 when back propagating,I checked that the variables in the code are in...

Hi, when sending a tensor from a Relu activation function to float2bit, f can take the value 0. Then, the log2 will return -inf with all the complications it ensues...