nd4j-backends/nd4j-backend-impls/nd4j-native/src/main/java/org/nd4j/linalg/cpu/nativecpu/CpuMemoryManager.java
@Override
    public void release(@NonNull Pointer pointer, MemoryKind kind) {
        Pointer.free(pointer);
    }
@Override
    public void release(@NonNull Pointer pointer, MemoryKind kind) {
        Pointer.free(pointer);
    }
@ Override public void release ( @ NonNull Pointer pointer , MemoryKind kind ) { Pointer . free ( pointer ) ; }
This method releases previously allocated memory chunk

@param pointer
@param kind
@return
This method releases previously allocated memory chunk