| Package | Description |
|---|---|
| org.tensorflow.ndarray | |
| org.tensorflow.ndarray.impl.dense |
| Modifier and Type | Method and Description |
|---|---|
ShortNdArray |
ShortNdArray.copyTo(NdArray<Short> dst) |
ShortNdArray |
ShortNdArray.get(long... coordinates) |
static ShortNdArray |
StdArrays.ndCopyOf(short[] array)
Copy an array of shorts in a new
ShortNdArray |
static ShortNdArray |
StdArrays.ndCopyOf(short[][] array)
Copy a 2-dimensional array of shorts in a new
ShortNdArray |
static ShortNdArray |
StdArrays.ndCopyOf(short[][][] array)
Copy a 3-dimensional array of shorts in a new
ShortNdArray |
static ShortNdArray |
StdArrays.ndCopyOf(short[][][][] array)
Copy a 4-dimensional array of shorts in a new
ShortNdArray |
static ShortNdArray |
StdArrays.ndCopyOf(short[][][][][] array)
Copy a 5-dimensional array of shorts in a new
ShortNdArray |
static ShortNdArray |
StdArrays.ndCopyOf(short[][][][][][] array)
Copy a 6-dimensional array of shorts in a new
ShortNdArray |
static ShortNdArray |
NdArrays.ofShorts(Shape shape)
Creates an N-dimensional array of shorts of the given shape.
|
ShortNdArray |
ShortNdArray.read(DataBuffer<Short> dst) |
ShortNdArray |
ShortNdArray.read(ShortDataBuffer dst) |
static ShortNdArray |
NdArrays.scalarOf(short value)
Creates short scalar (rank 0) initialized with the given value.
|
ShortNdArray |
ShortNdArray.set(NdArray<Short> src,
long... coordinates) |
default ShortNdArray |
ShortNdArray.setObject(Short value,
long... coordinates) |
ShortNdArray |
ShortNdArray.setShort(short value,
long... coordinates)
Assigns the short value of the scalar found at the given coordinates.
|
ShortNdArray |
ShortNdArray.slice(Index... coordinates) |
static ShortNdArray |
NdArrays.vectorOf(short... values)
Creates a short vector (rank 1) initialized with the given values.
|
static ShortNdArray |
NdArrays.wrap(Shape shape,
ShortDataBuffer buffer)
Wraps a buffer in a short N-dimensional array of a given shape.
|
ShortNdArray |
ShortNdArray.write(DataBuffer<Short> src) |
ShortNdArray |
ShortNdArray.write(ShortDataBuffer src) |
| Modifier and Type | Method and Description |
|---|---|
NdArraySequence<ShortNdArray> |
ShortNdArray.elements(int dimensionIdx) |
NdArraySequence<ShortNdArray> |
ShortNdArray.scalars() |
| Modifier and Type | Method and Description |
|---|---|
static short[] |
StdArrays.array1dCopyOf(ShortNdArray ndArray)
Copy a
ShortNdArray in a new 1-dimension standard array of shorts |
static short[][] |
StdArrays.array2dCopyOf(ShortNdArray ndArray)
Copy a
ShortNdArray in a new 2-dimension standard array of shorts |
static short[][][] |
StdArrays.array3dCopyOf(ShortNdArray ndArray)
Copy a
ShortNdArray in a new 3-dimension standard array of shorts |
static short[][][][] |
StdArrays.array4dCopyOf(ShortNdArray ndArray)
Copy a
ShortNdArray in a new 4-dimension standard array of shorts |
static short[][][][][] |
StdArrays.array5dCopyOf(ShortNdArray ndArray)
Copy a
ShortNdArray in a new 5-dimension standard array of shorts |
static short[][][][][][] |
StdArrays.array6dCopyOf(ShortNdArray ndArray)
Copy a
ShortNdArray in a new 6-dimension standard array of shorts |
static void |
StdArrays.copyFrom(ShortNdArray src,
short[] dst)
Copy a
NdArray to an array of shorts |
static void |
StdArrays.copyFrom(ShortNdArray src,
short[][] dst)
Copy a
NdArray to a 2-dimensional array of shorts |
static void |
StdArrays.copyFrom(ShortNdArray src,
short[][][] dst)
Copy a
NdArray to a 3-dimensional array of shorts |
static void |
StdArrays.copyFrom(ShortNdArray src,
short[][][][] dst)
Copy a
NdArray to a 4-dimensional array of shorts |
static void |
StdArrays.copyFrom(ShortNdArray src,
short[][][][][] dst)
Copy a
NdArray to a 5-dimensional array of shorts |
static void |
StdArrays.copyFrom(ShortNdArray src,
short[][][][][][] dst)
Copy a
NdArray to a 6-dimensional array of shorts |
static void |
StdArrays.copyTo(short[][][][][][] src,
ShortNdArray dst)
Copy a 6-dimensional array of shorts into the
dst NdArray |
static void |
StdArrays.copyTo(short[][][][][] src,
ShortNdArray dst)
Copy a 5-dimensional array of shorts into the
dst NdArray |
static void |
StdArrays.copyTo(short[][][][] src,
ShortNdArray dst)
Copy a 4-dimensional array of shorts into the
dst NdArray |
static void |
StdArrays.copyTo(short[][][] src,
ShortNdArray dst)
Copy a 3-dimensional array of shorts into the
dst NdArray |
static void |
StdArrays.copyTo(short[][] src,
ShortNdArray dst)
Copy a 2-dimensional array of shorts into the
dst NdArray |
static void |
StdArrays.copyTo(short[] src,
ShortNdArray dst)
Copy an array of shorts into the
dst NdArray |
| Modifier and Type | Class and Description |
|---|---|
class |
ShortDenseNdArray |
| Modifier and Type | Method and Description |
|---|---|
ShortNdArray |
ShortDenseNdArray.copyTo(NdArray<Short> dst) |
static ShortNdArray |
ShortDenseNdArray.create(ShortDataBuffer buffer,
Shape shape) |
ShortNdArray |
ShortDenseNdArray.read(ShortDataBuffer dst) |
ShortNdArray |
ShortDenseNdArray.setShort(short value,
long... indices) |
ShortNdArray |
ShortDenseNdArray.write(ShortDataBuffer src) |
Copyright © 2015–2020. All rights reserved.