MCPcopy
hub / github.com/OpenPPL/ppq / set_attr

Method set_attr

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

Source from the content-addressed store, hash-verified

236@register_class
237class ReduceL2(CaffeOpExporter):
238 def set_attr(self):
239 self.layer.reducel2_param.axes = refine_value(self.op.attributes.get('axes'))
240 self.layer.reducel2_param.keepdims = refine_value(self.op.attributes.get('keepdims', 1))
241
242
243@register_class

Callers

nothing calls this directly

Calls 1

refine_valueFunction · 0.85

Tested by

no test coverage detected