public class NDArray extends BaseNDArray
compressed, data, javaShapeInformation, log, shapeInformation| Constructor and Description |
|---|
NDArray() |
NDArray(org.nd4j.linalg.api.buffer.DataBuffer buffer) |
NDArray(org.nd4j.linalg.api.buffer.DataBuffer data,
int[] shape) |
NDArray(org.nd4j.linalg.api.buffer.DataBuffer buffer,
int[] shape,
char ordering) |
NDArray(org.nd4j.linalg.api.buffer.DataBuffer buffer,
int[] shape,
int[] strides) |
NDArray(org.nd4j.linalg.api.buffer.DataBuffer data,
int[] shape,
int[] stride,
long offset) |
NDArray(org.nd4j.linalg.api.buffer.DataBuffer buffer,
int[] shape,
int[] stride,
long offset,
char ordering) |
NDArray(org.nd4j.linalg.api.buffer.DataBuffer buffer,
int[] shape,
long offset) |
NDArray(double[][] data) |
NDArray(double[][] data,
char ordering) |
NDArray(double[] data,
int[] shape,
char ordering) |
NDArray(double[] data,
int[] shape,
int[] stride,
long offset) |
NDArray(double[] data,
int[] shape,
int[] stride,
long offset,
char ordering) |
NDArray(org.nd4j.linalg.api.buffer.DoubleBuffer buffer,
int[] shape,
char ordering) |
NDArray(org.nd4j.linalg.api.buffer.DoubleBuffer buffer,
int[] shape,
long offset) |
NDArray(float[] data) |
NDArray(float[][] floats) |
NDArray(float[][] data,
char ordering) |
NDArray(float[] data,
char order) |
NDArray(float[] data,
int[] shape)
Create this ndarray with the given data and shape and 0 offset
|
NDArray(float[] data,
int[] shape,
char ordering)
Create this ndarray with the given data and shape and 0 offset
|
NDArray(float[] data,
int[] shape,
int[] stride) |
NDArray(float[] data,
int[] shape,
int[] stride,
char ordering) |
NDArray(float[] data,
int[] shape,
int[] stride,
long offset) |
NDArray(float[] data,
int[] shape,
int[] stride,
long offset,
char ordering) |
NDArray(float[] data,
int[] shape,
long offset) |
NDArray(float[] data,
int[] shape,
long offset,
char ordering) |
NDArray(org.nd4j.linalg.api.buffer.FloatBuffer floatBuffer,
char order) |
NDArray(int[] shape) |
NDArray(int[] shape,
char ordering) |
NDArray(int[] shape,
org.nd4j.linalg.api.buffer.DataBuffer buffer) |
NDArray(int[] shape,
int[] stride)
Create the ndarray with
the specified shape and stride and an offset of 0
|
NDArray(int[] shape,
int[] stride,
char ordering)
Create the ndarray with
the specified shape and stride and an offset of 0
|
NDArray(int[] data,
int[] shape,
int[] strides) |
NDArray(int[] shape,
int[] stride,
long offset)
Construct an ndarray of the specified shape
with an empty data array
|
NDArray(int[] shape,
int[] stride,
long offset,
char ordering)
Construct an ndarray of the specified shape
with an empty data array
|
NDArray(int[] shape,
int[] stride,
long offset,
char ordering,
boolean initialize)
Construct an ndarray of the specified shape, with optional initialization
|
NDArray(int[] shape,
long offset) |
NDArray(int[] shape,
long offset,
char ordering) |
NDArray(int newRows,
int newColumns)
Creates a new n times m DoubleMatrix.
|
NDArray(int newRows,
int newColumns,
char ordering)
Creates a new n times m DoubleMatrix.
|
NDArray(List<INDArray> slices,
int[] shape)
Create an ndarray from the specified slices.
|
NDArray(List<INDArray> slices,
int[] shape,
char ordering)
Create an ndarray from the specified slices.
|
NDArray(List<INDArray> slices,
int[] shape,
int[] stride)
Create an ndarray from the specified slices.
|
NDArray(List<INDArray> slices,
int[] shape,
int[] stride,
char ordering)
Create an ndarray from the specified slices.
|
| Modifier and Type | Method and Description |
|---|---|
INDArray |
unsafeDuplication()
This method does direct array copy.
|
INDArray |
unsafeDuplication(boolean blocking) |
add, add, add, add, add, add, addColumnVector, addi, addi, addi, addi, addi, addi, addiColumnVector, addiRowVector, addRowVector, amax, amaxNumber, amean, ameanNumber, amin, aminNumber, argMax, assertSlice, assign, assign, assignIf, broadcast, checkArrangeArray, checkDimensions, cleanup, columns, cond, condi, create, create, create, create, create, create, create, create, create, create, createScalar, createScalarForIndex, cumsum, cumsumi, data, detach, dimShuffle, distance1, distance2, div, div, div, div, div, div, divColumnVector, divi, divi, divi, divi, divi, divi, diviColumnVector, diviRowVector, divRowVector, doColumnWise, doPermuteSwap, doPermuteSwap, doRowWise, dup, dup, element, elementStride, elementWiseStride, entropy, entropyNumber, eps, eps, epsi, epsi, eq, eq, eqi, eqi, equals, equalsWithEps, fmod, fmod, fmod, fmod, fmodi, fmodi, get, getColumn, getColumns, getDouble, getDouble, getDouble, getDoubleUnsafe, getFloat, getFloat, getFloat, getInt, getLeadingOnes, getPercentile, getRow, getRows, getScalar, getScalar, getScalar, getStrides, getTrailingOnes, gt, gt, gte, gtei, gti, gti, index, init, innerMostStride, isAttached, isCleanedUp, isColumnVector, isCompressed, isInScope, isMatrix, isRowVector, isScalar, isSquare, isValid, isVector, isView, isWrapAround, iterator, javaTensorAlongDimension, length, lengthLong, leverage, leverageTo, linearIndex, linearView, linearViewColumnOrder, logEntropy, logEntropyNumber, lt, lt, lte, ltei, lti, lti, majorStride, markAsCompressed, max, maxComplex, maxNumber, mean, mean, meanComplex, meanNumber, median, medianNumber, migrate, min, minComplex, minNumber, mmul, mmul, mmuli, mmuli, mul, mul, mul, mul, mul, mul, mulColumnVector, muli, muli, muli, muli, muli, muli, muliColumnVector, muliRowVector, mulRowVector, neg, negi, neq, neq, neqi, neqi, newShape, norm1, norm1Complex, norm1Number, norm2, norm2Complex, norm2Number, normmax, normmaxComplex, normmaxNumber, offset, ordering, originalOffset, percentile, percentileNumber, permute, permutei, prod, prodComplex, prodNumber, put, put, put, put, put, put, putColumn, putiColumnVector, putiRowVector, putRow, putScalar, putScalar, putScalar, putScalar, putScalar, putScalar, putScalar, putScalar, putScalar, putScalarUnsafe, putSlice, rank, ravel, ravel, rdiv, rdiv, rdiv, rdiv, rdiv, rdiv, rdivColumnVector, rdivi, rdivi, rdivi, rdivi, rdivi, rdivi, rdiviColumnVector, rdiviRowVector, rdivRowVector, read, remainder, remainder, remainder, remainder, remainderi, remainderi, repeat, replaceWhere, repmat, resetLinearView, reshape, reshape, reshape, reshape, rows, rsub, rsub, rsub, rsub, rsub, rsub, rsubColumnVector, rsubi, rsubi, rsubi, rsubi, rsubi, rsubi, rsubiColumnVector, rsubiRowVector, rsubRowVector, scan, secondaryStride, setData, setOrder, setShape, setStride, setWrapAround, shannonEntropy, shannonEntropyNumber, shape, shapeInfo, shapeInfoDataBuffer, shapeInfoToString, shapeOf, size, slice, slice, slices, sliceVectors, squaredDistance, std, std, stdComplex, stdNumber, stdNumber, stride, stride, strideOf, sub, sub, sub, sub, sub, sub, subArray, subArray, subColumnVector, subi, subi, subi, subi, subi, subi, subiColumnVector, subiRowVector, subRowVector, sum, sum, sumComplex, sumNumber, swapAxes, tensorAlongDimension, tensorssAlongDimension, toString, transpose, transposei, var, var, varComplex, varNumber, vectorAlongDimension, vectorsAlongDimension, writeclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic NDArray()
public NDArray(org.nd4j.linalg.api.buffer.DataBuffer buffer)
public NDArray(org.nd4j.linalg.api.buffer.DataBuffer buffer,
int[] shape,
int[] stride,
long offset,
char ordering)
public NDArray(double[][] data)
public NDArray(double[][] data,
char ordering)
public NDArray(float[] data,
int[] shape,
char ordering)
data - the data to useshape - the shape of the ndarrayordering - public NDArray(float[] data,
int[] shape,
long offset,
char ordering)
data - the data to useshape - the shape of the ndarrayoffset - the desired offsetordering - the ordering of the ndarraypublic NDArray(int[] shape,
int[] stride,
long offset,
char ordering)
shape - the shape of the ndarraystride - the stride of the ndarrayoffset - the desired offsetordering - the ordering of the ndarraypublic NDArray(int[] shape,
int[] stride,
long offset,
char ordering,
boolean initialize)
shape - the shape of the ndarraystride - the stride of the ndarrayoffset - the desired offsetordering - the ordering of the ndarrayinitialize - Whether to initialize the INDArray. If true: initialize. If false: don't.public NDArray(int[] shape,
int[] stride,
char ordering)
shape - the shape of the ndarraystride - the stride of the ndarrayordering - the ordering of the ndarraypublic NDArray(int[] shape,
long offset,
char ordering)
public NDArray(int[] shape)
public NDArray(int newRows,
int newColumns,
char ordering)
newRows - the number of rows (n) of the new matrix.newColumns - the number of columns (m) of the new matrix.ordering - public NDArray(List<INDArray> slices, int[] shape, char ordering)
slices - the slices to mergeshape - the shape of the ndarrayordering - public NDArray(List<INDArray> slices, int[] shape, int[] stride, char ordering)
slices - the slices to mergeshape - the shape of the ndarraystride - ordering - public NDArray(float[] data,
int[] shape,
int[] stride,
char ordering)
public NDArray(float[] data,
int[] shape,
int[] stride,
long offset,
char ordering)
public NDArray(float[] data,
int[] shape)
data - the data to useshape - the shape of the ndarraypublic NDArray(float[] data,
int[] shape,
long offset)
public NDArray(int[] shape,
int[] stride,
long offset)
shape - the shape of the ndarraystride - the stride of the ndarrayoffset - the desired offsetpublic NDArray(int[] shape,
int[] stride)
shape - the shape of the ndarraystride - the stride of the ndarraypublic NDArray(int[] shape,
long offset)
public NDArray(int[] shape,
char ordering)
public NDArray(int newRows,
int newColumns)
newRows - the number of rows (n) of the new matrix.newColumns - the number of columns (m) of the new matrix.public NDArray(List<INDArray> slices, int[] shape)
slices - the slices to mergeshape - the shape of the ndarraypublic NDArray(List<INDArray> slices, int[] shape, int[] stride)
slices - the slices to mergeshape - the shape of the ndarraystride - public NDArray(float[] data,
int[] shape,
int[] stride)
public NDArray(float[] data,
int[] shape,
int[] stride,
long offset)
public NDArray(float[] data)
public NDArray(double[] data,
int[] shape,
int[] stride,
long offset)
public NDArray(float[][] floats)
public NDArray(float[][] data,
char ordering)
public NDArray(org.nd4j.linalg.api.buffer.DataBuffer data,
int[] shape,
int[] stride,
long offset)
public NDArray(int[] data,
int[] shape,
int[] strides)
public NDArray(org.nd4j.linalg.api.buffer.DataBuffer data,
int[] shape)
public NDArray(org.nd4j.linalg.api.buffer.DataBuffer buffer,
int[] shape,
long offset)
public NDArray(org.nd4j.linalg.api.buffer.DataBuffer buffer,
int[] shape,
char ordering)
public NDArray(double[] data,
int[] shape,
char ordering)
public NDArray(double[] data,
int[] shape,
int[] stride,
long offset,
char ordering)
public NDArray(float[] data,
char order)
public NDArray(org.nd4j.linalg.api.buffer.FloatBuffer floatBuffer,
char order)
public NDArray(org.nd4j.linalg.api.buffer.DataBuffer buffer,
int[] shape,
int[] strides)
public NDArray(org.nd4j.linalg.api.buffer.DoubleBuffer buffer,
int[] shape,
char ordering)
public NDArray(org.nd4j.linalg.api.buffer.DoubleBuffer buffer,
int[] shape,
long offset)
public NDArray(int[] shape,
org.nd4j.linalg.api.buffer.DataBuffer buffer)
public INDArray unsafeDuplication()
public INDArray unsafeDuplication(boolean blocking)
Copyright © 2017. All rights reserved.