Package qttorch declares two functions that convert torch.Tensor to QImage and vice-versa.

Loading this package automatically loads packages torch and qt.

Subsections

  1. qt.QImage.fromTensor(tensor)
  2. qimage:toTensor(arg)