Loading

摘要: 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 阅读全文
posted @ 2023-05-09 01:18 belhomme 阅读(17) 评论(0) 推荐(0) 编辑
摘要: import paddle.nn as nn class ResidualBlock(nn.Layer): def __init__(self, in_channels, out_channels, stride = 1, downsample = None): super(ResidualBloc 阅读全文
posted @ 2023-05-09 01:13 belhomme 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2023-05-09 01:08 belhomme 阅读(40) 评论(0) 推荐(0) 编辑