Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhenze Wang committed Mar 5, 2024
1 parent 49d1540 commit e8937e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ struct TensorProto final {

bool has_data_location() const { return g_host->TensorProto__has_data_location(this); }
TensorProto_DataLocation data_location() const { return TensorProto_DataLocation(g_host->TensorProto__data_location(this)); }

void set_data_location(TensorProto_DataLocation data_location) { return g_host->TensorProto__set_data_location(this, data_location); }

bool has_raw_data() const { return g_host->TensorProto__has_raw_data(this); }
Expand Down
2 changes: 1 addition & 1 deletion onnxruntime/test/perftest/ort_test_session.cc
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ select from 'TF8', 'TF16', 'UINT8', 'FLOAT', 'ITENSOR'. \n)");
std::string value(token.substr(pos + 1));
vitisai_session_options[key] = value;
}
session_options.AppendExecutionProvider("VitisAI", vitisai_session_options);
session_options.AppendExecutionProvider_VitisAI(vitisai_session_options);
#else
ORT_THROW("VitisAI is not supported in this build\n");
#endif
Expand Down

0 comments on commit e8937e0

Please sign in to comment.