def blockPool(input): tensor = factory.averagePooling(input, (3, 3), (3, 3)) tensor = factory.convolutionBlock(tensor, 'inception_4a_pool_', '', 128, (1, 1)) tensor = factory.zeroPadding(tensor, (2, 2)) return tensor
def blockPool(input): tensor = factory.averagePooling(input, (3, 3), (2, 2)) tensor = factory.zeroPadding(tensor, ((0, 1), (0, 1))) return tensor