How to let pytorch use Q-format numbers?

I mean I want to use numbers such as 1 integer bits with 15 fractional bits,are there any methods could help?
Thanks.