mirror of https://github.com/hpcaitech/ColossalAI
fix Tensor is not defined (#4129)
parent
7e46bc87b6
commit
8abc87798f
|
@ -1,4 +1,5 @@
|
|||
import torch
|
||||
from torch import Tensor
|
||||
|
||||
|
||||
def bias_dropout_add(x, bias, residual, prob, training):
|
||||
|
|
Loading…
Reference in New Issue