Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tvm_utility): add virtual destructor to tvm_utility #7759

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion common/tvm_utility/include/tvm_utility/pipeline.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ class PipelineStage
* @return The output of the pipeline
*/
virtual OutputType schedule(const InputType & input) = 0;
virtual ~PipelineStage() {}
InputType input_type_indicator_;
OutputType output_type_indicator_;
};
Expand Down Expand Up @@ -299,7 +300,7 @@ class InferenceEngineTVM : public InferenceEngine
}
}

TVMArrayContainerVector schedule(const TVMArrayContainerVector & input)
TVMArrayContainerVector schedule(const TVMArrayContainerVector & input) override
{
// Set input(s)
for (uint32_t index = 0; index < input.size(); ++index) {
Expand Down
Loading