def test_pooling_layer(self): maxpool = layer.img_pool(input=conv, pool_size=2, num_channels=16, padding=1, pool_type=pooling.Max()) spp = layer.spp(input=conv, pyramid_height=2, num_channels=16, pool_type=pooling.Max()) maxout = layer.maxout(input=conv, num_channels=16, groups=4) print layer.parse_network(maxpool, spp, maxout)
def test_pooling_layer(self): maxpool = layer.img_pool( input=conv, pool_size=2, num_channels=16, padding=1, pool_type=pooling.Max()) spp = layer.spp(input=conv, pyramid_height=2, num_channels=16, pool_type=pooling.Max()) maxout = layer.maxout(input=conv, num_channels=16, groups=4) print layer.parse_network([maxpool, spp, maxout])