Hello. pytorch users.
Like title, can torch.Tensor have different precision element-wisely?
for example:
my_tensor = torch.Tensor([1, 1.0, 1.000])
# respectively types are: torch.int8, torch.half, torch.float... etc.

If it is impossible(maybe I think pytorch doesn’t support this semantic), is there another way to implement like this? I’d like to reduce memory usage as much as I can…
Any answers will be helpful for me. Thanks