PyTorch itself has 8 different types of tensors; float, double, half, uint8, int16, int32, and int64. I looked at this blog post and they explained how they created these types of tensor:
A Tour of PyTorch Internals (Part I) 30
The type of tensor I want to create is fixed-point tensor instead of float-point that is used by pytorch in float, double and half types.
I was wondering if there is an easier way to create a new type of tensor without modifying the backend (C++) code?