tensorflow/tensorflow

View on GitHub
tensorflow/python/framework/op_def_library.py

Summary

Maintainability
D
1 day
Test Coverage

File op_def_library.py has 658 lines of code (exceeds 250 allowed). Consider refactoring.
Open

# Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Severity: Major
Found in tensorflow/python/framework/op_def_library.py - About 1 day to fix

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

    def _ExtractInputsAndAttrs(op_type_name, op_def, allowed_list_attr_map,
    Severity: Major
    Found in tensorflow/python/framework/op_def_library.py - About 1 hr to fix

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

      def _ExtractRemainingAttrs(op_type_name, op_def, keywords,
      Severity: Minor
      Found in tensorflow/python/framework/op_def_library.py - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status