mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-21 02:18:09 +00:00
fix code error in function.cc (#11148)
This commit is contained in:
parent
901a73d7f0
commit
7c230dbc10
1 changed files with 1 additions and 1 deletions
|
|
@ -226,7 +226,7 @@ void IOTypeConstraintHelper(const ONNX_NAMESPACE::FunctionProto& onnx_func_proto
|
|||
// the requested types.
|
||||
auto& dest_types = type_constraint_map[type_str];
|
||||
if (node_op_schema) {
|
||||
const auto& types = node_op_schema->inputs().at(i).GetTypes();
|
||||
const auto& types = node_op_schema->outputs().at(i).GetTypes();
|
||||
dest_types.reserve(dest_types.size() + types.size());
|
||||
for (auto* data_type : types) {
|
||||
dest_types.emplace_back(*data_type);
|
||||
|
|
|
|||
Loading…
Reference in a new issue