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

Catapult backend #1003

Closed

Conversation

dgburnette
Copy link
Contributor

Description

Added safeguard for deref of non-existent attribute.

  • Bug fix (non-breaking change that fixes an issue)

No test was added

📝 Please describe the tests that you ran to verify your changes.

  • Provide instructions so we can reproduce.
  • Please also list any relevant details for your test configuration.

Test Configuration:

Checklist

  • I have read the guidelines for contributing.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have installed and run pre-commit on the files I edited or added.
  • I have added tests that prove my fix is effective or that my feature works.

David Burnette and others added 30 commits January 12, 2024 11:51
…t still reorders backends/__init__.py incorrectly
…he HLS tool from the ProjectName which is used for the cpp file and top function name
@@ -589,6 +589,7 @@ def get_ymodel_keras(keras_model, X):
name = layer.name
if (
hasattr(layer, 'activation')
and hasattr(layer.activation, "__name__")
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this really needed? I think there were two parallel fixes for this in two pull requests, and all layer.acitvations that are of type Activation or QActivation should have name defined, right?

@dgburnette
Copy link
Contributor Author

dgburnette commented Apr 18, 2024 via email

@jmitrevs
Copy link
Contributor

I am thinking of closing this, unless you run into the problem again. I believe the addition of the check on the type is sufficient. It fixed the problem when I ran into it.

@jmitrevs jmitrevs closed this Apr 18, 2024
@jmitrevs
Copy link
Contributor

Please reopen it if the problem does not go away.

@dgburnette
Copy link
Contributor Author

dgburnette commented Apr 18, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants