| Package | Description |
|---|---|
| org.tensorflow.ndarray | |
| org.tensorflow.ndarray.impl.dense | |
| org.tensorflow.ndarray.impl.dimension | |
| org.tensorflow.ndarray.index |
| Modifier and Type | Method and Description |
|---|---|
LongNdArray |
LongNdArray.slice(Index... indices) |
ByteNdArray |
ByteNdArray.slice(Index... indices) |
DoubleNdArray |
DoubleNdArray.slice(Index... indices) |
NdArray<T> |
NdArray.slice(Index... indices)
Creates a multi-dimensional view (or slice) of this array by mapping one or more dimensions
to the given index selectors.
|
FloatNdArray |
FloatNdArray.slice(Index... coordinates) |
ShortNdArray |
ShortNdArray.slice(Index... coordinates) |
BooleanNdArray |
BooleanNdArray.slice(Index... indices) |
IntNdArray |
IntNdArray.slice(Index... indices) |
| Modifier and Type | Method and Description |
|---|---|
U |
AbstractDenseNdArray.slice(Index... indices) |
| Modifier and Type | Method and Description |
|---|---|
RelativeDimensionalSpace |
DimensionalSpace.mapTo(Index[] indices) |
default Dimension |
Dimension.withIndex(Index index) |
| Modifier and Type | Method and Description |
|---|---|
static Index |
Indices.all()
An index that returns all elements of a dimension in the original order.
|
static Index |
Indices.at(long coord)
A coordinate that selects a specific element on a given dimension.
|
static Index |
Indices.at(NdArray<? extends Number> coord)
A coordinate that selects a specific element on a given dimension.
|
static Index |
Indices.even()
An index that returns only elements found at an even position in the
original dimension.
|
static Index |
Indices.flip()
An index that returns only elements on a given dimension between two coordinates.
|
static Index |
Indices.from(long start)
An index that returns only elements on a given dimension starting at a
specific coordinate.
|
static Index |
Indices.hyperslab(long start,
long stride,
long count,
long block)
An index that returns elements according to an hyperslab defined by
start,
stride, count, block. |
static Index |
Indices.odd()
An index that returns only elements found at an odd position in the
original dimension.
|
static Index |
Indices.range(long start,
long end)
An index that returns only elements on a given dimension between two coordinates.
|
static Index |
Indices.seq(long... coords)
An index that returns only specific elements on a given dimension.
|
static Index |
Indices.seq(NdArray<? extends Number> coords)
An index that returns only specific elements on a given dimension.
|
static Index |
Indices.step(long stepLength)
An index that skips a fixed amount of coordinates between each values returned.
|
static Index |
Indices.to(long end)
An index that returns only elements on a given dimension up to a
specific coordinate.
|
Copyright © 2015–2020. All rights reserved.