A study of custom BFloat16 data type in PyTorch This is an exact replica of the PyTorch's BFloat16 data type. I worked on this for learning purposes.