Fix: torch.utils.checkpoint import error. (#9626)

This commit is contained in:
Devrim
2021-01-18 12:33:39 +03:00
committed by GitHub
parent 72fc9abf17
commit 65eb5d9ac5
13 changed files with 13 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ from typing import Optional, Tuple
import torch
import torch.nn.functional as F
import torch.utils.checkpoint
from torch import nn
from torch.nn import CrossEntropyLoss