tensorflow/models

View on GitHub
official/projects/qat/vision/modeling/layers/nn_blocks_test.py

Summary

Maintainability
B
4 hrs
Test Coverage

Function test_maybedwinvertedbottleneck_block_forward_pass_no_nans has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

  def test_maybedwinvertedbottleneck_block_forward_pass_no_nans(
Severity: Major
Found in official/projects/qat/vision/modeling/layers/nn_blocks_test.py - About 1 hr to fix

    Function test_maybedwinvertedbottleneck_block_backward_pass_no_nans has 8 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      def test_maybedwinvertedbottleneck_block_backward_pass_no_nans(
    Severity: Major
    Found in official/projects/qat/vision/modeling/layers/nn_blocks_test.py - About 1 hr to fix

      Function test_maybedwinvertedbottleneck_block_creation has 8 arguments (exceeds 4 allowed). Consider refactoring.
      Open

        def test_maybedwinvertedbottleneck_block_creation(
      Severity: Major
      Found in official/projects/qat/vision/modeling/layers/nn_blocks_test.py - About 1 hr to fix

        Function test_invertedbottleneck_block_creation has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

          def test_invertedbottleneck_block_creation(
        Severity: Minor
        Found in official/projects/qat/vision/modeling/layers/nn_blocks_test.py - About 35 mins to fix

          Function test_bottleneck_block_creation has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

            def test_bottleneck_block_creation(self, block_fn, strides, use_projection,
          Severity: Minor
          Found in official/projects/qat/vision/modeling/layers/nn_blocks_test.py - About 35 mins to fix

            There are no issues that match your filters.

            Category
            Status