Code autocomplete problem

torch.FloatTensor is deprecated, so not recommending that is a feature.
There are bugs to be expected, but I see that you(?) already found issue 16996, which is a good place to report those.

Best regards

Thomas