MCPcopy Index your code
hub / github.com/OpenPPL/ppq / set_attr

Method set_attr

ppq/parser/caffe/caffe_export_utils.py:207–210  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

205@register_class
206class MaxPool(_Pooling):
207 def set_attr(self):
208 super(MaxPool, self).set_attr()
209 self.layer.pooling_param.global_pooling = False
210 self.layer.pooling_param.pool = ppl_caffe_pb2.PoolingParameter.MAX
211
212
213@register_class

Callers

nothing calls this directly

Calls 1

set_attrMethod · 0.45

Tested by

no test coverage detected