Skip to content

Commit

Permalink
add_gather_nd_
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxiaohehe001 committed Nov 24, 2022
1 parent fee9040 commit fb3efec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/fluid/inference/tensorrt/convert/gather_nd_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class GatherNdOpConverter : public OpConverter {
framework::OpDesc op_desc(op, nullptr);
auto input = engine_->GetITensor(op_desc.Input("X")[0]);
auto index = engine_->GetITensor(op_desc.Input("Index")[0]);
auto output_name = op_desc.Output("Out").front();
auto output_name = op_desc.Output("Out")[0];

// AddGatherV2 is supported by the trt version of 8.2.
#if IS_TRT_VERSION_GE(8200)
Expand Down

0 comments on commit fb3efec

Please sign in to comment.