deeplearning4j/deeplearning4j

View on GitHub

Showing 13,975 of 13,975 total issues

Method iterate has 9 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public static void iterate(int dimension, int n, int[] size, int[] res, int dimension2, int n2, int[] size2,
                               int[] res2, CoordinateFunction func) {

    Method iterate has 9 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public static void iterate(int dimension, int n, long[] size, long[] res, int dimension2, int n2, long[] size2,
                                   long[] res2, CoordinateFunction func) {

      Method dotProductAttentionV2 has 9 arguments (exceeds 4 allowed). Consider refactoring.
      Open

        public INDArray dotProductAttentionV2(INDArray queries, INDArray values, INDArray keys,
            INDArray queryMask, INDArray valueMask, double scaleFactor, double dropoutProbability,
            boolean useCausalMask, boolean training) {

        Method stridedSlice has 9 arguments (exceeds 4 allowed). Consider refactoring.
        Open

          public INDArray stridedSlice(INDArray in, INDArray begin, INDArray end, INDArray strides,
              int beginMask, int endMask, int ellipsisMask, int newAxisMask, int shrinkAxisMask) {

          Method multiHeadDotProductAttention has 9 arguments (exceeds 4 allowed). Consider refactoring.
          Open

            public INDArray multiHeadDotProductAttention(INDArray queries, INDArray keys, INDArray values,
                INDArray Wq, INDArray Wk, INDArray Wv, INDArray Wo, INDArray mask, boolean scaled) {

            Method stridedSlice has 9 arguments (exceeds 4 allowed). Consider refactoring.
            Open

              public INDArray stridedSlice(INDArray in, long[] begin, long[] end, long[] strides, int beginMask,
                  int endMask, int ellipsisMask, int newAxisMask, int shrinkAxisMask) {

              Method extractImagePatches has 9 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                public SDVariable extractImagePatches(String name, SDVariable input, int kH, int kW, int sH,
                    int sW, int rH, int rW, boolean sameMode) {

                Method dotProductAttentionV2 has 9 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                  public SDVariable dotProductAttentionV2(SDVariable queries, SDVariable values, SDVariable keys,
                      SDVariable queryMask, SDVariable valueMask, double scaleFactor, double dropoutProbability,
                      boolean useCausalMask, boolean training) {

                  Method multiHeadDotProductAttention has 9 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                    public SDVariable multiHeadDotProductAttention(SDVariable queries, SDVariable keys,
                        SDVariable values, SDVariable Wq, SDVariable Wk, SDVariable Wv, SDVariable Wo,
                        SDVariable mask, boolean scaled) {

                    Method stridedSlice has 9 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                      public SDVariable stridedSlice(SDVariable in, long[] begin, long[] end, long[] strides,
                          int beginMask, int endMask, int ellipsisMask, int newAxisMask, int shrinkAxisMask) {

                      Method stridedSlice has 9 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                        public SDVariable stridedSlice(SDVariable in, SDVariable begin, SDVariable end,
                            SDVariable strides, int beginMask, int endMask, int ellipsisMask, int newAxisMask,
                            int shrinkAxisMask) {

                        Method asFlatNode has 9 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            public static int asFlatNode(@NonNull SameDiff sameDiff, @NonNull DifferentialFunction node, @NonNull FlatBufferBuilder bufferBuilder, List<SDVariable> variables,
                                                         Map<String, Integer> reverseMap, Map<String, Integer> forwardMap, Map<String, Integer> framesMap, AtomicInteger idCounter, Integer id) {

                          Method compareProfiles has 9 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              public static String compareProfiles(@NonNull File file1, @NonNull File file2, @NonNull ProfileFormat format1, @NonNull ProfileFormat format2,
                                                                   boolean firstIsDir, boolean secondIsDir, String name1, String name2, final SortBy sortBy) {

                            Method createFlatProperties has 9 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                              public static int createFlatProperties(FlatBufferBuilder builder,
                                  int nameOffset,
                                  int iOffset,
                                  int lOffset,
                                  int dOffset,

                              Method createFlatConfiguration has 9 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                public static int createFlatConfiguration(FlatBufferBuilder builder,
                                    long id,
                                    byte executionMode,
                                    byte profilingMode,
                                    byte outputMode,

                                Method initValues has 9 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                            int mtLv,
                                            String superiorModuleCode,
                                            PrintStream out,
                                            PrintStream err,
                                            String fileDrcS,
                                Severity: Major
                                Found in nd4j/nd4j-common/src/main/java/org/nd4j/common/tools/SIS.java - About 1 hr to fix

                                  Method reshape2dTo5d has 9 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      public static INDArray reshape2dTo5d(Convolution3D.DataFormat format, INDArray in2d, long n, long d, long h, long w, long ch, LayerWorkspaceMgr workspaceMgr, ArrayType type){

                                    Method ffToLayerActivationsInWS has 9 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                        protected synchronized Map<String,INDArray> ffToLayerActivationsInWS(boolean train, int layerIndex, int[] excludeIdxs,
                                                                                                             FwdPassType fwdPassType, boolean storeLastForTBPTT,
                                                                                                             INDArray[] input, INDArray[] fMask, INDArray[] lMask, boolean clearInputs) {

                                      Method ffToLayerActivationsDetached has 9 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                          protected synchronized Map<String,INDArray> ffToLayerActivationsDetached(boolean train, @NonNull FwdPassType fwdPassType, boolean storeLastForTBPTT,
                                                                                                                   int layerIndex, int[] excludeIdxs, @NonNull INDArray[] features,
                                                                                                                   INDArray[] fMask, INDArray[] lMask, boolean clearLayers){

                                        Method outputOfLayersDetached has 9 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            protected INDArray[] outputOfLayersDetached(boolean train, @NonNull FwdPassType fwdPassType, @NonNull int[] layerIndexes, @NonNull INDArray[] features,
                                                                                        INDArray[] fMask, INDArray[] lMasks, boolean clearLayerInputs, boolean detachedInputs, MemoryWorkspace outputWorkspace){
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language