Skip to content

Commit

Permalink
Set TOpPattern=kOpaque for scatter_nd
Browse files Browse the repository at this point in the history
  • Loading branch information
apivovarov committed Feb 17, 2021
1 parent fe398bf commit d280118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/relay/op/tensor/transform.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ Given data with shape (Y_0, ..., Y_{K-1}, X_M, ..., X_{N-1}) and indices with sh
.add_argument("indices", "Tensor", "The indices tensor.")
.set_support_level(3)
.add_type_rel("ScatterND", ScatterNDRel)
.set_attr<TOpPattern>("TOpPattern", kInjective);
.set_attr<TOpPattern>("TOpPattern", kOpaque);

// Take
TVM_REGISTER_NODE_TYPE(TakeAttrs);
Expand Down

0 comments on commit d280118

Please sign in to comment.