原文中 tensorflow 版本的代码有点小问题,在调用 ConvBlock.call 和 DenseBlock.call 时会出错。因为 self.listLayers has no attribute ‘layers’,应该直接遍历 self.listLayers。
原文中 tensorflow 版本的代码有点小问题,在调用 ConvBlock.call 和 DenseBlock.call 时会出错。因为 self.listLayers has no attribute ‘layers’,应该直接遍历 self.listLayers。