Exemplo n.º 1
0
 def _pooling_function(self, inputs, pool_size, strides, padding,
                       data_format):
     output = K.pool2d(inputs,
                       pool_size,
                       strides,
                       padding,
                       data_format,
                       pool_mode='max')
     return output
Exemplo n.º 2
0
 def _pooling_function(self, inputs, pool_size, strides, padding, data_format):
   output = K.pool2d(
       inputs, pool_size, strides, padding, data_format, pool_mode='max')
   return output