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

[ONNX 1.10] Fix for compilation error on older compilers #3683

Merged
merged 5 commits into from Sep 3, 2021
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion onnx/shape_inference/implementation.h
Expand Up @@ -273,7 +273,7 @@ struct DataPropagationContextImpl : public DataPropagationContext {
const std::unordered_map<std::string, TypeProto*>& valueTypesByName,
const std::unordered_map<std::string, const TensorProto*>& inputDataByName,
std::unordered_map<std::string, TensorShapeProto>& generatedShapeData)
: generatedShapeData_{generatedShapeData} {
: generatedShapeData_(generatedShapeData) {
size_t input_idx = 0;

for (auto& attr : *n.mutable_attribute()) {
Expand Down