Fix warnings in nuphar

This commit is contained in:
Changming Sun 2020-03-20 19:21:15 -07:00
parent 403f99cd77
commit 9c3b6d2e4b
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ bool GraphPartitioner::IsNodeSupported(const Node& node) const {
}
}
});
return std::move(symbolic_dimensions);
return symbolic_dimensions;
};
// if there are any output symbols not in input symbols, fallback to CPU
auto input_sym = get_symbolic_dimensions(node, true);

View file

@ -87,7 +87,7 @@ class Partitioner {
const onnxruntime::GraphViewer& graph,
const NodeIndex& node_idx);
virtual void HandleSubgraph(const onnxruntime::GraphViewer& graph) {}
virtual void HandleSubgraph(const onnxruntime::GraphViewer&) {}
protected:
virtual void CreateNewPartition(const Node& node, const std::vector<NodeIndex>& immedidate_rejected_partitions);