public abstract class BaseNativeNDArrayFactory extends BaseNDArrayFactory
| Modifier and Type | Field and Description |
|---|---|
protected NativeOps |
nativeOps |
blas, lapack, level1, level2, level3, orderC, FORTRAN| Constructor and Description |
|---|
BaseNativeNDArrayFactory() |
BaseNativeNDArrayFactory(DataType dtype,
char order) |
BaseNativeNDArrayFactory(DataType dtype,
Character order) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,INDArray> |
_createFromNpzFile(File file) |
org.bytedeco.javacpp.Pointer |
convertToNumpy(INDArray array) |
INDArray |
createFromNpyFile(File file)
Create from a given numpy file.
|
INDArray |
createFromNpyHeaderPointer(org.bytedeco.javacpp.Pointer pointer) |
INDArray |
createFromNpyPointer(org.bytedeco.javacpp.Pointer pointer)
Create from an in memory numpy pointer.
|
Map<String,INDArray> |
createFromNpzFile(File file) |
appendBias, arange, bilinearProducts, blas, concat, copy, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, dtype, eye, hstack, lapack, level1, level2, level3, ones, ones, ones, ones, order, pullRows, pullRows, rand, rand, rand, rand, rand, rand, rand, rand, rand, rand, rand, rand, rand, rand, rand, rand, rand, rand, rand, randn, randn, randn, randn, randn, randn, randn, randn, randn, randn, randn, randn, reverse, rot, rot90, scalar, scalar, scalar, scalar, scalar, scalar, scalar, setDType, setOrder, toFlattened, toFlattened, toFlattened, toFlattened, valueArrayOf, valueArrayOf, valueArrayOf, vstack, zeros, zeros, zeros, zerosclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccumulate, average, average, average, average, convertDataEx, convertDataEx, convertDataEx, convertDataEx, convertDataEx, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, createBlas, createLapack, createLevel1, createLevel2, createLevel3, createUninitialized, createUninitialized, createUninitialized, createUninitializedDetached, empty, pullRows, pullRows, shuffle, shuffle, shuffle, sort, sort, sortCooIndices, specialConcat, tear, toFlattenedprotected NativeOps nativeOps
public BaseNativeNDArrayFactory(DataType dtype, char order)
public BaseNativeNDArrayFactory()
public org.bytedeco.javacpp.Pointer convertToNumpy(INDArray array)
public INDArray createFromNpyPointer(org.bytedeco.javacpp.Pointer pointer)
pointer - the pointer to the
numpy arraypublic INDArray createFromNpyHeaderPointer(org.bytedeco.javacpp.Pointer pointer)
public INDArray createFromNpyFile(File file)
file - the file to create the ndarray frompublic Map<String,INDArray> createFromNpzFile(File file) throws Exception
ExceptionCopyright © 2022. All rights reserved.