deeplearning4j/deeplearning4j

View on GitHub
deeplearning4j/deeplearning4j-nn/src/main/java/org/deeplearning4j/nn/conf/layers/BatchNormalization.java

Summary

Maintainability
B
4 hrs
Test Coverage

File BatchNormalization.java has 262 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*
 *  ******************************************************************************
 *  *
 *  *
 *  * This program and the accompanying materials are made available under the

    Method setNIn has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        @Override
        public void setNIn(InputType inputType, boolean override) {
            if (nIn <= 0 || override) {
                switch (inputType.getType()) {
                    case FF:

      Method instantiate has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          public Layer instantiate(NeuralNetConfiguration conf, Collection<TrainingListener> trainingListeners,
                                   int layerIndex, INDArray layerParamsView, boolean initializeParams, DataType networkDataType) {

        There are no issues that match your filters.

        Category
        Status