torch.Tensor.flatten ==================== .. currentmodule:: torch .. automethod:: Tensor.flatten