Skip to content

Commit

Permalink
[PIR] Fix attributes_num of SliceArrayOp (#64013)
Browse files Browse the repository at this point in the history
  • Loading branch information
SigureMo authored May 6, 2024
1 parent 52a811f commit 7504923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/fluid/pir/dialect/operator/ir/manual_op.h
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ class SliceArrayOp
using Op::Op;
static const char *name() { return "pd_op.slice_array"; }
static constexpr const char **attributes_name = nullptr;
static constexpr uint32_t attributes_num = 2;
static constexpr uint32_t attributes_num = 0;
static OpInfoTuple GetOpInfo();

void VerifySig();
Expand Down

0 comments on commit 7504923

Please sign in to comment.