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