【深度学习】empty() received an invalid combination of arguments - got (tuple, dtype=NoneType, device=None
构建yoloV3的resblock时,python的一个小坑在构建一个简单的卷积层时,出现如下的错误:代码如下:classresblock(nn.Module):def__init__(self,inputDims):super(resblock,self).__init__()self.inputChannels=inputDimsself.middleChannels=int(inputDim