d-smirnov commented on code in PR #10189:
URL: https://github.com/apache/tvm/pull/10189#discussion_r894436940
##########
tests/cpp/aot_metadata_test.cc:
##########
@@ -39,9 +40,19 @@ const struct TVMTensorInfo kNormalOutputs[1] = {
const int64_t kNormalPool1Shape[3] = {3, 8, 8};
const struct TVMTensorInfo kNormalPools[1] = {{"pool1", kNormalPool1Shape, 3,
DLDataType{3, 4, 7}}};
+const struct TVMConstantInfo kNormalConsts[1] = {{"consts1", 0, 0, {}}};
const struct TVMMetadata kNormal = {
- TVM_METADATA_VERSION, kNormalInputs, 2, kNormalOutputs, 1, kNormalPools,
1, "default",
+ TVM_METADATA_VERSION,
+ kNormalInputs,
+ 2,
+ kNormalOutputs,
+ 1,
+ kNormalPools,
+ 1,
+ kNormalConsts,
Review Comment:
amended
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]