public class Arrayz extends Object
| Constructor and Description |
|---|
Arrayz() |
| Modifier and Type | Method and Description |
|---|---|
static INDArray |
create(INDArray a) |
static INDArray |
create(Object... data) |
static INDArray |
create(Object object)
Creates an array from the given data
|
static INDArray |
createFromVector(AVector a,
int... shape)
Creates a new array using the elements in the specified vector.
|
static long |
elementCount(int[] shape) |
static boolean |
isPackedLayout(double[] data,
int offset,
int[] shape,
int[] strides) |
static boolean |
isPackedStrides(int[] shape,
int[] strides) |
static INDArray |
load(Reader reader) |
static INDArray |
newArray(int... shape) |
static INDArray |
parse(String ednString) |
static INDArray |
wrap(double[] data,
int[] shape) |
static INDArray |
wrapStrided(double[] data,
int offset,
int[] shape,
int[] strides) |
public static INDArray create(Object object)
object - public static INDArray newArray(int... shape)
public static INDArray wrap(double[] data, int[] shape)
public static INDArray createFromVector(AVector a, int... shape)
data - rows - columns - public static long elementCount(int[] shape)
public static INDArray wrapStrided(double[] data, int offset, int[] shape, int[] strides)
public static boolean isPackedLayout(double[] data,
int offset,
int[] shape,
int[] strides)
public static boolean isPackedStrides(int[] shape,
int[] strides)
Copyright © 2013. All Rights Reserved.