Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
masahi committed May 20, 2021
1 parent 8bfd736 commit 2767591
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/tvm/relay/attrs/transform.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,7 @@ struct GatherNDAttrs : public tvm::AttrsNode<GatherNDAttrs> {
Integer batch_dims;

TVM_DECLARE_ATTRS(GatherAttrs, "relay.attrs.GatherNDAttrs") {
TVM_ATTR_FIELD(batch_dims)
.set_default(Integer(0))
.describe("The number of batch dimensions.");
TVM_ATTR_FIELD(batch_dims).set_default(Integer(0)).describe("The number of batch dimensions.");
}
};
struct TakeAttrs : public tvm::AttrsNode<TakeAttrs> {
Expand Down

0 comments on commit 2767591

Please sign in to comment.