public class TypedINDArrayFactory
extends java.lang.Object
Constructor and Description |
---|
TypedINDArrayFactory() |
Modifier and Type | Method and Description |
---|---|
static org.nd4j.linalg.api.ndarray.INDArray |
arange(double start,
double end,
org.nd4j.linalg.api.buffer.DataBuffer.Type bufferType) |
static org.nd4j.linalg.api.ndarray.INDArray |
create(double[] data,
long[] shape,
org.nd4j.linalg.api.buffer.DataBuffer.Type bufferType) |
static org.nd4j.linalg.api.ndarray.INDArray |
eye(long n,
org.nd4j.linalg.api.buffer.DataBuffer.Type bufferType) |
static org.nd4j.linalg.api.ndarray.INDArray |
linspace(double start,
double end,
int numberOfPoints,
org.nd4j.linalg.api.buffer.DataBuffer.Type bufferType) |
static org.nd4j.linalg.api.ndarray.INDArray |
ones(long[] shape,
org.nd4j.linalg.api.buffer.DataBuffer.Type bufferType) |
static org.nd4j.linalg.api.ndarray.INDArray |
scalar(double scalarValue,
org.nd4j.linalg.api.buffer.DataBuffer.Type bufferType) |
static org.nd4j.linalg.api.ndarray.INDArray |
valueArrayOf(long[] shape,
double value,
org.nd4j.linalg.api.buffer.DataBuffer.Type bufferType) |
static org.nd4j.linalg.api.ndarray.INDArray |
vector(double[] vectorValues,
org.nd4j.linalg.api.buffer.DataBuffer.Type bufferType) |
static org.nd4j.linalg.api.ndarray.INDArray |
zeros(long[] shape,
org.nd4j.linalg.api.buffer.DataBuffer.Type bufferType) |
public static org.nd4j.linalg.api.ndarray.INDArray create(double[] data, long[] shape, org.nd4j.linalg.api.buffer.DataBuffer.Type bufferType)
public static org.nd4j.linalg.api.ndarray.INDArray valueArrayOf(long[] shape, double value, org.nd4j.linalg.api.buffer.DataBuffer.Type bufferType)
public static org.nd4j.linalg.api.ndarray.INDArray scalar(double scalarValue, org.nd4j.linalg.api.buffer.DataBuffer.Type bufferType)
public static org.nd4j.linalg.api.ndarray.INDArray vector(double[] vectorValues, org.nd4j.linalg.api.buffer.DataBuffer.Type bufferType)
public static org.nd4j.linalg.api.ndarray.INDArray ones(long[] shape, org.nd4j.linalg.api.buffer.DataBuffer.Type bufferType)
public static org.nd4j.linalg.api.ndarray.INDArray eye(long n, org.nd4j.linalg.api.buffer.DataBuffer.Type bufferType)
public static org.nd4j.linalg.api.ndarray.INDArray zeros(long[] shape, org.nd4j.linalg.api.buffer.DataBuffer.Type bufferType)
public static org.nd4j.linalg.api.ndarray.INDArray linspace(double start, double end, int numberOfPoints, org.nd4j.linalg.api.buffer.DataBuffer.Type bufferType)
public static org.nd4j.linalg.api.ndarray.INDArray arange(double start, double end, org.nd4j.linalg.api.buffer.DataBuffer.Type bufferType)