ASSERT_TRUE(THPByteTensor_init(module));
```
These __init() functions add the Tensor object for each type to the ._C module so that they can be used in the module. Let's learn how these methods work.
The THPTensor Type
Much like the underlying TH and THC libraries, PyTorch defines a "generic" Tensor which is then specialized to a number of different types. Before considering how this specialization works, let's first consider how defining a new type in Python works, and how we create the generic THPTensor type.