Intel® oneAPI Data Analytics Library
Learn from community members on how to build compute-intensive applications that run efficiently on Intel® architecture.

pyDAAL maximum_pooling2d Parameter class

Riccardo_Z_
Beginner
339 Views

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
Christophe_H_Intel2
339 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
Gennady_F_Intel
Moderator
339 Views

the problem is escalated. #DPD200591145 for your reference.

0 Kudos
Reply