We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8cea10 commit bfebce1Copy full SHA for bfebce1
test/size_test.cpp
@@ -94,7 +94,7 @@ int main(int argc, char** argv) {
94
// It assumes the outputs are all tensors.
95
for (size_t i = 0; i < method->outputs_size(); i++) {
96
auto output_tensor = output_list[i].toTensor();
97
- auto data_output = output_tensor.const_data_ptr<float>();
+ [[maybe_unused]] auto data_output = output_tensor.const_data_ptr<float>();
98
for (size_t j = 0; j < output_list[i].toTensor().numel(); ++j) {
99
ET_LOG(Info, "%f", data_output[j]);
100
}
0 commit comments