# PB004: attribute-ref-has-value **Code:** `PB004` **Name:** `attribute-ref-has-value` **Severity:** error **Category:** protobuf **Target:** node **Fixable:** No ## Message Attribute referring to a parent attribute has its own value field set. ## Suggestion Remove the value field from the reference attribute. ## Details An attribute that references a parent attribute (ref_attr_name is set) should not have its own value field. In onnx_ir, Attr.is_ref() distinguishes reference attributes.