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

Method set_attr

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

Source from the content-addressed store, hash-verified

190@register_class
191class AveragePool(_Pooling):
192 def set_attr(self):
193 super(AveragePool, self).set_attr()
194 self.layer.pooling_param.global_pooling = False
195 self.layer.pooling_param.pool = ppl_caffe_pb2.PoolingParameter.AVE
196
197
198@register_class

Callers

nothing calls this directly

Calls 1

set_attrMethod · 0.45

Tested by

no test coverage detected