fix undefined attr issue by bowang007 · Pull Request #1783 · pytorch/TensorRT

@bowang007

Description

Some undefined attribute error was observed.

This is because attr::value refers to some other symbol value in some context, which makes the node cannot find the corresponding attribute key.

Fixes #1752 , #1755

@bowang007

github-actions[bot]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code conforms to C++ style guidelines

github-actions[bot]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code conforms to Python style guidelines

narendasan

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

bowang007 added a commit that referenced this pull request

Apr 28, 2023

@bowang007