Skip to content

FuzzerTrue-0194896d-22e4-7b63-910d-6258e2323bc3 #6644

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

optimus-primal[bot]
Copy link

Gig seed=8948127177261462410 prob=0.99
Ran track: This automated PR permanently enables the GITAR_PLACEHOLDER feature flag.

Summary of Changes

Gitar found and removed uses of the GITAR_PLACEHOLDER feature flag across 15 files. Some of these files include:

  • datavec/datavec-api/src/main/java/org/datavec/api/records/writer/impl/csv/CSVRecordWriter.java
  • deeplearning4j/deeplearning4j-nlp-parent/deeplearning4j-nlp/src/main/java/org/deeplearning4j/models/sequencevectors/serialization/VocabWordFactory.java
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/DifferentialFunction.java
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/api/iterator/TestDataSetIterator.java
  • platform-tests/src/test/java/org/nd4j/jita/allocator/DeviceLocalNDArrayTests.java

Gitar performed deep cleanup and code optimizations triggered by the feature flag removal in all of these files.

Finally, after propagating cleanups across files, Gitar found additional cleanup opportunities in 60 other files.

Code Cleanup Details
  • codegen/libnd4j-gen/src/main/java/org/nd4j/descriptor/proposal/impl/JavaSourceArgDescriptorSource.java

    • Cleaned up code (53 times)
      • Deleted the unused variable methodInvoked
      • Propagated the value true to calls of the function equals (25 times)
      • Simplified control flow (25 times)
      • Simplified boolean expressions (2 times)
  • datavec/datavec-api/src/main/java/org/datavec/api/records/writer/impl/csv/CSVRecordWriter.java

    • Replaced Feature Flag Usage (7 times)
    • Cleaned up code (12 times)
      • Deleted the unused variable delimBytes
      • Deleted unnecessary assignments to the variable delimBytes
      • Simplified control flow (6 times)
      • Simplified boolean expressions (4 times)
  • datavec/datavec-data/datavec-data-image/src/main/java/org/datavec/image/transform/PipelineImageTransform.java

    • Replaced Feature Flag Usage (5 times)
    • Cleaned up code (5 times)
      • Simplified control flow (5 times)
  • datavec/datavec-local/src/main/java/org/datavec/local/transforms/AnalyzeLocal.java

    • Replaced Feature Flag Usage
    • Cleaned up code
      • Simplified control flow
  • deeplearning4j/deeplearning4j-modelimport/src/main/java/org/deeplearning4j/nn/modelimport/keras/layers/core/KerasActivation.java

    • Replaced Feature Flag Usage
    • Cleaned up code (2 times)
      • Simplified control flow (2 times)
  • deeplearning4j/deeplearning4j-nlp-parent/deeplearning4j-nlp/src/main/java/org/deeplearning4j/models/sequencevectors/serialization/VocabWordFactory.java

    • Replaced Feature Flag Usage (2 times)
    • Cleaned up code (2 times)
      • Deleted the unused variable ret
      • Propagated the value true to uses of the variable ret
  • deeplearning4j/deeplearning4j-nn/src/main/java/org/deeplearning4j/nn/conf/layers/recurrent/Bidirectional.java

    • Cleaned up code (2 times)
      • Deleted unnecessary assignments to the variable layerName
      • Propagated the value true to calls of the function isPretrainParam
  • deeplearning4j/deeplearning4j-nn/src/main/java/org/deeplearning4j/nn/conf/layers/wrapper/BaseWrapperLayer.java

    • Replaced Feature Flag Usage (2 times)
    • Cleaned up code
      • Simplified control flow
  • deeplearning4j/deeplearning4j-nn/src/main/java/org/deeplearning4j/nn/layers/BaseLayer.java

    • Cleaned up code (4 times)
      • Propagated the value true to calls of the function hasBias (2 times)
      • Simplified control flow (2 times)
  • deeplearning4j/deeplearning4j-nn/src/main/java/org/deeplearning4j/nn/layers/BaseOutputLayer.java

    • Replaced Feature Flag Usage (27 times)
    • Cleaned up code (35 times)
      • Deleted the unused variable biasGradView
      • Deleted the unused variable fullNetRegTerm
      • Deleted unnecessary assignments to the variable fullNetRegTerm
      • Deleted unnecessary assignments to the variable solver
      • Propagated the value true to uses of the variable biasGradView (2 times)
      • Propagated the value true to uses of the variable weightGradView (2 times)
      • Simplified control flow (26 times)
      • Deleted unused imports
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/DifferentialFunction.java

    • Replaced Feature Flag Usage (75 times)
    • Cleaned up code (96 times)
      • Deleted the unused function ensureProperType
      • Deleted the unused function isConfigProperties
      • Deleted the unused function needsConfigure
      • Deleted the unused variable args (2 times)
      • Deleted the unused variable f
      • Deleted the unused variable outputVars
      • Deleted the unused variable vals
      • Simplified control flow (83 times)
      • Simplified boolean expressions (4 times)
      • Deleted unused imports
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java

    • Cleaned up code (6 times)
      • Deleted the unused variable a1
      • Deleted the unused variable a2
      • Propagated the value true to calls of the function equals (2 times)
      • Simplified control flow
      • Simplified boolean expressions
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java

    • Cleaned up code (36 times)
      • Deleted the unused variable eqOps
      • Deleted the unused variable eqVars
      • Deleted the unused variable reverseArgs
      • Deleted the unused variable sameDiff
      • Propagated the value true to calls of the function equals (11 times)
      • Propagated the value true to calls of the function needsConfigure
      • Propagated the value true to uses of the variable eqOps
      • Propagated the value true to uses of the variable eqVars
      • Simplified control flow (11 times)
      • Simplified boolean expressions (7 times)
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/internal/AbstractSession.java

    • Cleaned up code (12 times)
      • Propagated the value true to calls of the function equals (5 times)
      • Simplified control flow (2 times)
      • Simplified boolean expressions (5 times)
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/internal/InferenceSession.java

    • Cleaned up code (31 times)
      • Deleted the unused variable inputShapeArr
      • Deleted the unused variable shape (2 times)
      • Propagated the value true to calls of the function equals (10 times)
      • Propagated the value true to calls of the function needsConfigure
      • Simplified control flow (7 times)
      • Simplified boolean expressions (10 times)
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/serde/FlatBuffersMapper.java

    • Cleaned up code (2 times)
      • Propagated the value true to calls of the function equals
      • Simplified control flow
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/transform/GraphTransformUtil.java

    • Cleaned up code (4 times)
      • Propagated the value true to calls of the function equals
      • Propagated the value true to calls of the function matches
      • Simplified control flow
      • Simplified boolean expressions
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/transform/OpPredicate.java

    • Cleaned up code (4 times)
      • Propagated the value true to calls of the function equals (2 times)
      • Propagated the value true to calls of the function matches (2 times)
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/transform/SubGraphPredicate.java

    • Cleaned up code (7 times)
      • Propagated the value true to calls of the function matches (3 times)
      • Simplified control flow
      • Simplified boolean expressions (3 times)
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/util/SameDiffUtils.java

    • Cleaned up code (2 times)
      • Propagated the value true to calls of the function equals
      • Simplified boolean expressions
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/validation/GradCheckUtil.java

    • Cleaned up code (4 times)
      • Propagated the value true to calls of the function equals (2 times)
      • Simplified control flow
      • Simplified boolean expressions
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/imports/converters/DifferentialFunctionClassHolder.java

    • Cleaned up code (2 times)
      • Propagated the value true to calls of the function isConfigProperties
      • Simplified boolean expressions
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/imports/descriptors/properties/adapters/ConditionalFieldValueIntIndexArrayAdapter.java

    • Cleaned up code (3 times)
      • Deleted the unused variable comp
      • Propagated the value true to calls of the function equals
      • Simplified control flow
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/imports/descriptors/properties/adapters/ConditionalFieldValueNDArrayShapeAdapter.java

    • Cleaned up code (3 times)
      • Deleted the unused variable compProperty
      • Propagated the value true to calls of the function equals
      • Simplified control flow
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/imports/descriptors/properties/adapters/StringEqualsAdapter.java

    • Cleaned up code (4 times)
      • Deleted the unused variable b
      • Propagated the value true to calls of the function equals
      • Propagated the value true to uses of the variable b
      • Deleted unused imports
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/imports/descriptors/properties/adapters/StringNotEqualsAdapter.java

    • Cleaned up code (5 times)
      • Deleted the unused variable b
      • Propagated the value false to uses of the variable b
      • Propagated the value true to calls of the function equals
      • Simplified boolean expressions
      • Deleted unused imports
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/BaseOp.java

    • Cleaned up code (10 times)
      • Propagated the value true to calls of the function equals (5 times)
      • Simplified control flow
      • Simplified boolean expressions (4 times)
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/custom/Invoke.java

    • Cleaned up code (3 times)
      • Propagated the value true to calls of the function equals
      • Simplified control flow
      • Simplified boolean expressions
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/controlflow/compat/Exit.java

    • Replaced Feature Flag Usage (2 times)
    • Cleaned up code
      • Simplified boolean expressions
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/layers/convolution/AvgPooling2D.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/layers/convolution/AvgPooling3D.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/layers/convolution/Conv1D.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/layers/convolution/Conv1DDerivative.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/layers/convolution/Conv2D.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/layers/convolution/Conv3D.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/layers/convolution/DeConv2D.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/layers/convolution/DeConv2DTF.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/layers/convolution/DeConv3D.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/layers/convolution/DeConv3DTF.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/layers/convolution/DepthwiseConv2D.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/layers/convolution/DepthwiseConv2DBp.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/layers/convolution/LocalResponseNormalization.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/layers/convolution/MaxPoolWithArgmax.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/layers/convolution/MaxPooling2D.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/layers/convolution/MaxPooling3D.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/layers/convolution/Pooling2D.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/layers/convolution/Pooling3D.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/layers/convolution/SConv2D.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/layers/recurrent/LSTMLayer.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/layers/recurrent/LSTMLayerBp.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/reduce/Mmul.java

    • Cleaned up code
      • Deleted the unused function isConfigProperties
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/reduce/custom/BatchMmul.java

    • Cleaned up code
      • Deleted the unused function needsConfigure
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/transforms/strict/GELU.java

    • Replaced Feature Flag Usage
    • Cleaned up code (2 times)
      • Deleted the unused variable ret
      • Propagated the value true to uses of the variable ret
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/transforms/strict/Swish.java

    • Replaced Feature Flag Usage
    • Cleaned up code (2 times)
      • Deleted the unused variable ret
      • Propagated the value true to uses of the variable ret
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/api/iterator/BaseDatasetIterator.java

    • Cleaned up code (4 times)
      • Propagated the value true to calls of the function hasNext
      • Simplified control flow
      • Simplified boolean expressions
      • Deleted unused imports
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/api/iterator/CachingDataSetIterator.java

    • Cleaned up code (2 times)
      • Propagated the value true to calls of the function hasNext
      • Simplified control flow
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/api/iterator/MultipleEpochsIterator.java

    • Cleaned up code (19 times)
      • Deleted the unused variable log
      • Deleted the unused variable numPasses
      • Deleted the unused variable passes
      • Deleted unnecessary assignments to the variable numPasses
      • Deleted unnecessary assignments to the variable passes
      • Propagated the value true to calls of the function asyncSupported
      • Propagated the value true to calls of the function hasNext (3 times)
      • Propagated the value true to calls of the function resetSupported
      • Simplified control flow (2 times)
      • Simplified boolean expressions (5 times)
      • Deleted unused imports (2 times)
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/api/iterator/StandardScaler.java

    • Cleaned up code
      • Propagated the value true to calls of the function hasNext
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/api/iterator/TestDataSetIterator.java

    • Replaced Feature Flag Usage (6 times)
    • Cleaned up code (5 times)
      • Deleted the unused variable d
      • Propagated the value true to uses of the variable d (2 times)
      • Simplified control flow (2 times)
  • nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/lossfunctions/SameDiffLoss.java

    • Replaced Feature Flag Usage (14 times)
    • Cleaned up code (20 times)
      • Deleted the unused variable gradAtInput
      • Deleted the unused variable labels
      • Deleted the unused variable layerInput
      • Deleted the unused variable output (2 times)
      • Deleted the unused variable scoreArr
      • Propagated the value true to uses of the variable gradAtInput (2 times)
      • Propagated the value true to uses of the variable labels
      • Propagated the value true to uses of the variable layerInput
      • Propagated the value true to uses of the variable output (2 times)
      • Propagated the value true to uses of the variable scoreArr (2 times)
      • Simplified control flow (6 times)
  • nd4j/nd4j-backends/nd4j-backend-impls/nd4j-cpu-backend-common/src/main/java/org/nd4j/linalg/cpu/nativecpu/ops/NativeOpExecutioner.java

    • Cleaned up code (17 times)
      • Deleted the unused variable n
      • Deleted the unused variable shape2
      • Deleted the unused variable stride2
      • Propagated the value true to calls of the function equals (4 times)
      • Simplified control flow (5 times)
      • Simplified boolean expressions (5 times)
  • platform-tests/src/test/java/org/eclipse/deeplearning4j/dl4jcore/nn/layers/convolution/Convolution3DTest.java

    • Cleaned up code (3 times)
      • Deleted the unused function getContainedData
      • Propagated the value true to calls of the function getContainedData
      • Propagated the value true to uses of the variable containedInput
  • platform-tests/src/test/java/org/eclipse/deeplearning4j/dl4jcore/nn/layers/convolution/ConvolutionLayerTest.java

    • Cleaned up code (3 times)
      • Deleted the unused variable input
      • Propagated the value true to calls of the function getContainedData
      • Propagated the value true to uses of the variable input
  • platform-tests/src/test/java/org/eclipse/deeplearning4j/dl4jcore/nn/layers/convolution/SpaceToDepthTest.java

    • Cleaned up code (7 times)
      • Deleted the unused function getContainedData
      • Deleted the unused variable containedInput
      • Propagated the value true to calls of the function getContainedData (3 times)
      • Propagated the value true to uses of the variable containedExpectedOut
      • Propagated the value true to uses of the variable containedInput
  • platform-tests/src/test/java/org/eclipse/deeplearning4j/dl4jcore/nn/layers/convolution/SubsamplingLayerTest.java

    • Cleaned up code (11 times)
      • Deleted the unused variable containedInput (2 times)
      • Deleted the unused variable input
      • Propagated the value true to calls of the function getContainedData (4 times)
      • Propagated the value true to uses of the variable containedInput (2 times)
      • Propagated the value true to uses of the variable input (2 times)
  • platform-tests/src/test/java/org/eclipse/deeplearning4j/dl4jcore/nn/layers/convolution/Upsampling1DTest.java

    • Cleaned up code (6 times)
      • Deleted the unused function getContainedData
      • Deleted the unused variable containedInput
      • Propagated the value true to calls of the function getContainedData (2 times)
      • Propagated the value true to uses of the variable containedInput
      • Propagated the value true to uses of the variable input
  • platform-tests/src/test/java/org/eclipse/deeplearning4j/dl4jcore/nn/layers/convolution/Upsampling2DTest.java

    • Replaced Feature Flag Usage (15 times)
    • Cleaned up code (17 times)
      • Deleted the unused function getContainedData
      • Deleted the unused variable depth
      • Deleted the unused variable expectedContainedEpsilonInput
      • Deleted the unused variable input2
      • Deleted the unused variable ret
      • Deleted unnecessary assertions
      • Propagated the value true to uses of the variable conf
      • Propagated the value true to uses of the variable containedExpectedOut
      • Propagated the value true to uses of the variable containedOutput
      • Propagated the value true to uses of the variable depth (2 times)
      • Propagated the value true to uses of the variable expectedContainedEpsilonInput
      • Propagated the value true to uses of the variable expectedContainedEpsilonResult
      • Propagated the value true to uses of the variable input2
      • Propagated the value true to uses of the variable input
      • Propagated the value true to uses of the variable ret
      • Deleted unused imports
  • platform-tests/src/test/java/org/eclipse/deeplearning4j/frameworkimport/tensorflow/TFGraphTestAllHelper.java

    • Cleaned up code (59 times)
      • Deleted the unused variable configuration
      • Deleted the unused variable sameDiffPredictions
      • Deleted the unused variable sdPredictions
      • Propagated the value true to calls of the function equals (15 times)
      • Propagated the value x -> true to references of the function equals
      • Simplified control flow (13 times)
      • Simplified streams (3 times)
      • Simplified boolean expressions (9 times)
      • Deleted unused imports (15 times)
  • platform-tests/src/test/java/org/eclipse/deeplearning4j/nd4j/autodiff/opvalidation/TestTransformOpValidation.java

    • Cleaned up code (8 times)
      • Deleted the unused variable expectedShape
      • Deleted the unused variable shapeOk
      • Propagated the value true to calls of the function equals (3 times)
      • Propagated the value true to uses of the variable shapeOk
      • Simplified control flow (2 times)
  • platform-tests/src/test/java/org/eclipse/deeplearning4j/nd4j/autodiff/samediff/GraphTransformUtilTests.java

    • Cleaned up code (20 times)
      • Deleted the unused variable sub
      • Deleted unnecessary assertions (9 times)
      • Propagated the value true to calls of the function matches (9 times)
      • Deleted unused imports
  • platform-tests/src/test/java/org/eclipse/deeplearning4j/nd4j/linalg/dataset/NormalizerMinMaxScalerTest.java

    • Cleaned up code
      • Propagated the value true to calls of the function hasNext
  • platform-tests/src/test/java/org/eclipse/deeplearning4j/nd4j/linalg/dataset/NormalizerStandardizeLabelsTest.java

    • Cleaned up code
      • Propagated the value true to calls of the function hasNext
  • platform-tests/src/test/java/org/eclipse/deeplearning4j/nd4j/linalg/dataset/NormalizerStandardizeTest.java

    • Cleaned up code
      • Propagated the value true to calls of the function hasNext
  • platform-tests/src/test/java/org/eclipse/deeplearning4j/nd4j/linalg/dataset/NormalizerTests.java

    • Cleaned up code
      • Propagated the value true to calls of the function hasNext
  • platform-tests/src/test/java/org/nd4j/jita/allocator/DeviceLocalNDArrayTests.java

    • Replaced Feature Flag Usage (6 times)
    • Cleaned up code (10 times)
      • Deleted the unused variable arr (2 times)
      • Deleted the unused variable f (3 times)
      • Propagated the value true to uses of the variable arr (2 times)
      • Propagated the value true to uses of the variable f (3 times)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant