remove unnecessary member function

This commit is contained in:
Chi Lo 2025-02-06 16:50:18 -08:00
parent 5f7da9f7f4
commit e610bc88a0
2 changed files with 0 additions and 6 deletions

View file

@ -23,9 +23,4 @@ bool ConstantFoldingDQ::AllowConstantFolding(const Node& node) const {
return false;
}
Status ConstantFoldingDQ::UpdateNodeIndexSet(InlinedHashSet<NodeIndex>& node_index_set) {
node_index_set_ = node_index_set;
return Status::OK();
}
} // namespace onnxruntime

View file

@ -29,7 +29,6 @@ class ConstantFoldingDQ : public ConstantFolding {
const InlinedHashSet<std::string>& excluded_initializers = {}) noexcept;
bool AllowConstantFolding(const Node& node) const;
Status UpdateNodeIndexSet(InlinedHashSet<onnxruntime::NodeIndex>& node_index_set);
private:
InlinedHashSet<NodeIndex> node_index_set_;