Skip to content

Merge pull request #2539 from Trusted-AI/development_patch_mask

GitHub Advanced Security / CodeQL succeeded Dec 18, 2024 in 5s

3 new alerts

New alerts in code changed by this pull request

  • 3 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 474 in art/attacks/evasion/rescaling_auto_conjugate_gradient.py

See this annotation in the file changed.

Code scanning / CodeQL

Variable defined multiple times Warning

This assignment to 'cgradk' is unnecessary as it is
redefined
before this value is used.
This assignment to 'cgradk' is unnecessary as it is
redefined
before this value is used.

Check warning on line 477 in art/attacks/evasion/rescaling_auto_conjugate_gradient.py

See this annotation in the file changed.

Code scanning / CodeQL

Variable defined multiple times Warning

This assignment to 'gradk_1_tmp' is unnecessary as it is
redefined
before this value is used.

Check warning on line 478 in art/attacks/evasion/rescaling_auto_conjugate_gradient.py

See this annotation in the file changed.

Code scanning / CodeQL

Variable defined multiple times Warning

This assignment to 'cgradk_1_tmp' is unnecessary as it is
redefined
before this value is used.