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