Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
10 Views

pyDAAL maximum_pooling2d Parameter class

Hi,

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?

Thank you

0 Kudos
2 Replies
Highlighted
10 Views

Hi Riccardo,

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,

Chris

0 Kudos
Highlighted
Moderator
10 Views

the problem is escalated. #DPD200591145 for your reference.

0 Kudos