19bd6d077b6bfb10989060db1fc29a26fd393a4d
Files Diff
- Added: 17
- Removed: 0
- Renamed: 0
- Modified: 22
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 5 | ||
Change Parameter Type opNum : short to opNum : long in method public addOpNum(builder FlatBufferBuilder, opNum long) : void in class org.nd4j.graph.FlatNode | From | To | |
Change Parameter Type obj : IntTriple to obj : FlatTiming in method public timing(obj FlatTiming, j int) : FlatTiming in class org.nd4j.graph.FlatResult | From | To | |
Change Parameter Type extraBits : Integer[] to extraBits : int[] in method package OpState(n long, opType Op.Type, opName String, opNum int, scalarValue Number, vertexIds String[], id String, axes int[], extraArgs Object[], extraBits int[], extraArgsWithoutInPlace Object[], result NDArrayInformation, differentialFunction DifferentialFunction, arrayField ArrayField, inPlace boolean) in class org.nd4j.autodiff.opstate.OpState | From | To | |
Change Parameter Type obj : FlatNode to obj : org.nd4j.graph.FlatNode in method public nodes(obj org.nd4j.graph.FlatNode, j int) : org.nd4j.graph.FlatNode in class org.nd4j.graph.FlatGraph | From | To | |
Change Parameter Type opNum : short to opNum : long in method public createFlatNode(builder FlatBufferBuilder, id int, nameOffset int, opType byte, opNum long, inputOffset int, inputPairedOffset int, dataType byte, outputOffset int, extraParamsOffset int, extraIntegerOffset int, dimensionsOffset int, device int, scalar float) : int in class org.nd4j.graph.FlatNode | From | To | |
Change Return Type | 5 | ||
Change Return Type FlatNode to org.nd4j.graph.FlatNode in method public nodes(j int) : org.nd4j.graph.FlatNode in class org.nd4j.graph.FlatGraph | From | To | |
Change Return Type short to long in method public opNum() : long in class org.nd4j.graph.FlatNode | From | To | |
Change Return Type IntTriple to FlatTiming in method public timing(j int) : FlatTiming in class org.nd4j.graph.FlatResult | From | To | |
Change Return Type IntTriple to FlatTiming in method public timing(obj FlatTiming, j int) : FlatTiming in class org.nd4j.graph.FlatResult | From | To | |
Change Return Type FlatNode to org.nd4j.graph.FlatNode in method public nodes(obj org.nd4j.graph.FlatNode, j int) : org.nd4j.graph.FlatNode in class org.nd4j.graph.FlatGraph | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute map : val to customOps : Map<String,CustomOpDescriptor> in method public getCustomOperations() : Map<String,CustomOpDescriptor> in class org.nd4j.linalg.cpu.nativecpu.ops.NativeOpExecutioner | From | To | |
Change Variable Type | 1 | ||
Change Variable Type map : val to customOps : Map<String,CustomOpDescriptor> in method public getCustomOperations() : Map<String,CustomOpDescriptor> in class org.nd4j.linalg.cpu.nativecpu.ops.NativeOpExecutioner | From | To | |
Inline Variable | 1 | ||
Inline Variable graph : SDGraph in method public executeGraph(sd SameDiff, configuration ExecutorConfiguration) : INDArray[] from class org.nd4j.autodiff.execution.NativeGraphExecutioner | From | To | |
Extract Method | 1 | ||
Extract Method public convertToFlatBuffers(sd SameDiff, configuration ExecutorConfiguration, intermediate Map<Integer,Node>) : ByteBuffer extracted from public executeGraph(sd SameDiff, configuration ExecutorConfiguration) : INDArray[] in class org.nd4j.autodiff.execution.NativeGraphExecutioner | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type extraBits : Integer[] to extraBits : int[] in class org.nd4j.autodiff.opstate.OpState | From | To |