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

Method set_attr

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

Source from the content-addressed store, hash-verified

229@register_class
230class Transpose(CaffeOpExporter):
231 def set_attr(self):
232 perm = refine_value(self.op.attributes['perm'])
233 self.layer.transpose_param.dim.extend(perm)
234
235
236@register_class

Callers

nothing calls this directly

Calls 1

refine_valueFunction · 0.85

Tested by

no test coverage detected