Пример #1
0
 def test_init_raises(self, FeatureWTALayer, input_layer):
     with pytest.raises(ValueError):
         FeatureWTALayer(input_layer, pool_size=3)
Пример #2
0
 def layer(self, FeatureWTALayer, input_layer):
     return FeatureWTALayer(input_layer, pool_size=2)