This is a really beginner question. I'm trying to set the parameters of a maximum_pooling2d layer through python DAAL interface: what I need to do is to obtain the same functionality of this C++ snippet:
SharedPtr<layers::maximum_pooling2d::Batch<> > pool2d1(new layers::maximum_pooling2d::Batch<>(4)); pool2d->parameter = maximum_pooling2d::Parameter(2,3,2,2,2,2,0,0);
I can create the layer with:
pool2d = layers.maximum_pooling2d.forward.Batch( 4 )
and in can have an instance of Parameter through:
pars = Parameter(2,3,2,2,2,2,0,0)
Now, how I can pass pars to pool2d?
Thanks for the report. There appears to be a bug in the parameter initialization that prevents it from being assigned to the Batch object. Unfortunately there is no known workaround and we will have to address this bug in a future release.
Sorry for the inconvenience,