c42c258b6f5cdb908eb457a6504206f956805f0a
Files Diff
- Added: 0
- Removed: 16
- Renamed: 0
- Modified: 30
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Replace Attribute | 2 | ||
Replace Attribute public opDimension : int[] from class org.nd4j.linalg.api.ops.BaseScalarOp with protected dimensions : int[] from class org.nd4j.autodiff.functions.DifferentialFunction | From | To | |
Replace Attribute protected num : Number from class org.nd4j.linalg.api.ops.BaseScalarOp with protected scalarValue : Number from class org.nd4j.autodiff.functions.DifferentialFunction | From | To | |
Rename Variable | 8 | ||
Rename Variable values : val to ret : val in method public functions() : DifferentialFunction[] in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Rename Variable exec : List<OpExecAction> to grads : List<SDVariable> in method public define(sameDiff SameDiff, inputs Map<String,INDArray>, variableInputs SDVariable[]) : SDVariable[] in class org.nd4j.autodiff.samediff.SameDiff.execBackwards.defineFunction | From | To | |
Rename Variable nextVertexId : int to idx : int in method public invokeGraphOn(sameDiff SameDiff) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Rename Variable clonedArgs : DifferentialFunction to arg : val in method public invokeGraphOn(sameDiff SameDiff) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Rename Variable opExecActions : List<OpExecAction> to funcs : val in method public exec() : Pair<Map<SDVariable,DifferentialFunction>,List<DifferentialFunction>> in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Rename Variable toVars : val to outputsForFunction : val in method public invokeGraphOn(sameDiff SameDiff) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Rename Variable fromVars : val to argsForFunction : val in method public invokeGraphOn(sameDiff SameDiff) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Rename Variable opOrder : List<OpExecAction> to allFunctions : List<DifferentialFunction> in method public define(sameDiff SameDiff, inputs Map<String,INDArray>, variableInputs SDVariable[]) : SDVariable[] in class org.nd4j.autodiff.samediff.SameDiff.execBackwards.defineFunction | From | To | |
Parameterize Variable | 73 | ||
Parameterize Variable result : SDVariable to varToUpdate : SDVariable in method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Change Variable Type | 5 | ||
Change Variable Type opExecActions : List<OpExecAction> to funcs : val in method public exec() : Pair<Map<SDVariable,DifferentialFunction>,List<DifferentialFunction>> in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Change Variable Type clonedArgs : DifferentialFunction to arg : val in method public invokeGraphOn(sameDiff SameDiff) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Change Variable Type action : OpExecAction to action : DifferentialFunction in method public define(sameDiff SameDiff, inputs Map<String,INDArray>, variableInputs SDVariable[]) : SDVariable[] in class org.nd4j.autodiff.samediff.SameDiff.execBackwards.defineFunction | From | To | |
Change Variable Type opOrder : List<OpExecAction> to allFunctions : List<DifferentialFunction> in method public define(sameDiff SameDiff, inputs Map<String,INDArray>, variableInputs SDVariable[]) : SDVariable[] in class org.nd4j.autodiff.samediff.SameDiff.execBackwards.defineFunction | From | To | |
Change Variable Type exec : List<OpExecAction> to grads : List<SDVariable> in method public define(sameDiff SameDiff, inputs Map<String,INDArray>, variableInputs SDVariable[]) : SDVariable[] in class org.nd4j.autodiff.samediff.SameDiff.execBackwards.defineFunction | From | To | |
Extract Variable | 2 | ||
Extract Variable varName : val in method public eval(inputs Map<String,INDArray>) : INDArray[] from class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Variable oldVarName : val in method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable from class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method | 75 | ||
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public eluDerivative(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public neq(name String, iX SDVariable, iy SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public gte(name String, iX SDVariable, iy double) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public lossL1(name String, iX SDVariable, i_y SDVariable, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public lossHinge(name String, iX SDVariable, i_y SDVariable, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public lossMAE(name String, iX SDVariable, i_y SDVariable, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public exp(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public neg(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public log(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public lossMSE(name String, iX SDVariable, i_y SDVariable, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public mmul(name String, x SDVariable, y SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public relu(name String, iX SDVariable, cutoff double) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public softsignDerivative(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public eq(name String, iX SDVariable, iy SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public cosh(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public lossMSLE(name String, iX SDVariable, i_y SDVariable, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public square(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public tanh(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public tan(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public softplus(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public lossKLD(name String, iX SDVariable, i_y SDVariable, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public leakyReluDerivative(name String, iX SDVariable, wrt SDVariable, cutoff double) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public or(name String, iX SDVariable, iy SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public cosineSimilarity(name String, iX SDVariable, i_y SDVariable, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public lossSquaredHinge(name String, iX SDVariable, i_y SDVariable, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public lt(name String, iX SDVariable, iy double) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public sqrt(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public sum(name String, iX SDVariable, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public gt(name String, iX SDVariable, iy double) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public lossL2(name String, iX SDVariable, i_y SDVariable, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public lossPoisson(name String, iX SDVariable, i_y SDVariable, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public acos(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public min(name String, iX SDVariable, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public lte(name String, iX SDVariable, iy SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public rollAxis(name String, x SDVariable, axis int) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public neq(name String, iX SDVariable, iy double) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public sign(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public reshape(name String, iX SDVariable, shape int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public softmaxDerivative(name String, iX SDVariable, wrt SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public asin(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public hardTanhDerivative(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public gt(name String, iX SDVariable, iy SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public leakyRelu(name String, iX SDVariable, cutoff double) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public softsign(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public mean(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public sigmoidDerivative(name String, iX SDVariable, wrt SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public pow(name String, iX SDVariable, value double) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public prod(name String, iX SDVariable, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public asinh(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public cos(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public gte(name String, iX SDVariable, iy SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public lossMCXENT(name String, iX SDVariable, i_y SDVariable, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public variance(name String, iX SDVariable, biasCorrected boolean, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public standardDeviation(name String, iX SDVariable, biasCorrected boolean, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public lossBinaryXENT(name String, iX SDVariable, i_y SDVariable, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public max(name String, iX SDVariable, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public lossCosineSimilarity(name String, iX SDVariable, i_y SDVariable, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public elu(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public sigmoid(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public euclideanDistance(name String, iX SDVariable, i_y SDVariable, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public softmax(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public transpose(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public sin(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public acosh(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public eq(name String, iX SDVariable, iy double) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public tensorMmul(name String, x SDVariable, y SDVariable, dimensions int[][]) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public atanh(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public gradientBackwardsMarker(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public lt(name String, iX SDVariable, iy SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public floor(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public lte(name String, iX SDVariable, iy double) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public lossNegativeLogLikelihood(name String, iX SDVariable, i_y SDVariable, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public manhattanDistance(name String, iX SDVariable, i_y SDVariable, dimensions int...) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public atan(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public sinh(name String, iX SDVariable) : SDVariable in class org.nd4j.autodiff.samediff.SameDiff | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public updateVariableNameAndReference(varToUpdate SDVariable, newVarName String) : SDVariable extracted from public rdivi(varName String, sameDiffVariable double) : SDVariable in class org.nd4j.autodiff.samediff.SDVariable & moved to class org.nd4j.autodiff.samediff.SameDiff | From | To |