摘要:
import paddle.nn as nn import paddle class BN_Conv2D(nn.Layer): """ BN_CONV_RELU """ def __init__(self, in_channels, out_channels, kernel_size, stride 阅读全文
摘要:
import paddle.nn as nn class ResidualBlock(nn.Layer): def __init__(self, in_channels, out_channels, stride = 1, downsample = None): super(ResidualBloc 阅读全文
摘要:
import paddle.nn as nn class VGG16(nn.Layer): def __init__(self, num_classes=1000): super(VGG16, self).__init__() self.layer1 = nn.Sequential( nn.Conv 阅读全文