Package | Description |
---|---|
org.bytedeco.javacpp.indexer |
Contains classes for multidimensional access of arrays and buffers.
|
Modifier and Type | Class and Description |
---|---|
class |
Bfloat16ArrayIndexer
An indexer for a
short[] array, treated as bfloat16. |
class |
Bfloat16BufferIndexer
An indexer for a
ShortBuffer , treated as bfloat16. |
class |
Bfloat16RawIndexer
An indexer for a
ShortPointer using the Raw instance, treated as bfloat16. |
Modifier and Type | Method and Description |
---|---|
static Bfloat16Indexer |
Bfloat16Indexer.create(short[] array)
Returns
new Bfloat16ArrayIndexer(array) |
static Bfloat16Indexer |
Bfloat16Indexer.create(short[] array,
long... sizes)
Returns
new Bfloat16ArrayIndexer(array, sizes) |
static Bfloat16Indexer |
Bfloat16Indexer.create(short[] array,
long[] sizes,
long[] strides)
Returns
new Bfloat16ArrayIndexer(array, sizes, strides) |
static Bfloat16Indexer |
Bfloat16Indexer.create(ShortBuffer buffer)
Returns
new Bfloat16BufferIndexer(buffer) |
static Bfloat16Indexer |
Bfloat16Indexer.create(ShortBuffer buffer,
long... sizes)
Returns
new Bfloat16BufferIndexer(buffer, sizes) |
static Bfloat16Indexer |
Bfloat16Indexer.create(ShortBuffer buffer,
long[] sizes,
long[] strides)
Returns
new Bfloat16BufferIndexer(buffer, sizes, strides) |
static Bfloat16Indexer |
Bfloat16Indexer.create(ShortPointer pointer)
Returns
create(pointer, { pointer.limit() - pointer.position() }, { 1 }, true) |
static Bfloat16Indexer |
Bfloat16Indexer.create(ShortPointer pointer,
long... sizes)
Returns
create(pointer, sizes, strides(sizes)) |
static Bfloat16Indexer |
Bfloat16Indexer.create(ShortPointer pointer,
long[] sizes,
long[] strides)
Returns
create(pointer, sizes, strides, true) |
static Bfloat16Indexer |
Bfloat16Indexer.create(ShortPointer pointer,
long[] sizes,
long[] strides,
boolean direct)
Creates a bfloat16 indexer to access efficiently the data of a pointer.
|
Bfloat16Indexer |
Bfloat16Indexer.get(long[] indices,
float[] h)
Returns
this where s = array/buffer[index(indices)] |
Bfloat16Indexer |
Bfloat16RawIndexer.get(long[] indices,
float[] h,
int offset,
int length) |
Bfloat16Indexer |
Bfloat16BufferIndexer.get(long[] indices,
float[] h,
int offset,
int length) |
Bfloat16Indexer |
Bfloat16ArrayIndexer.get(long[] indices,
float[] h,
int offset,
int length) |
abstract Bfloat16Indexer |
Bfloat16Indexer.get(long[] indices,
float[] h,
int offset,
int length)
Returns
this where s[offset:offset + length] = array/buffer[index(indices)] |
Bfloat16Indexer |
Bfloat16Indexer.get(long i,
float[] h)
Returns
this where s = array/buffer[i] |
Bfloat16Indexer |
Bfloat16RawIndexer.get(long i,
float[] h,
int offset,
int length) |
Bfloat16Indexer |
Bfloat16BufferIndexer.get(long i,
float[] h,
int offset,
int length) |
Bfloat16Indexer |
Bfloat16ArrayIndexer.get(long i,
float[] h,
int offset,
int length) |
abstract Bfloat16Indexer |
Bfloat16Indexer.get(long i,
float[] h,
int offset,
int length)
Returns
this where s[offset:offset + length] = array/buffer[i] |
Bfloat16Indexer |
Bfloat16Indexer.get(long i,
long j,
float[] h)
Returns
this where s = array/buffer[i * strides[0] + j] |
Bfloat16Indexer |
Bfloat16RawIndexer.get(long i,
long j,
float[] h,
int offset,
int length) |
Bfloat16Indexer |
Bfloat16BufferIndexer.get(long i,
long j,
float[] h,
int offset,
int length) |
Bfloat16Indexer |
Bfloat16ArrayIndexer.get(long i,
long j,
float[] h,
int offset,
int length) |
abstract Bfloat16Indexer |
Bfloat16Indexer.get(long i,
long j,
float[] h,
int offset,
int length)
Returns
this where s[offset:offset + length] = array/buffer[i * strides[0] + j] |
Bfloat16Indexer |
Bfloat16Indexer.put(long[] indices,
float... h)
Returns
this where array/buffer[index(indices)] = s |
Bfloat16Indexer |
Bfloat16RawIndexer.put(long[] indices,
float h) |
Bfloat16Indexer |
Bfloat16BufferIndexer.put(long[] indices,
float h) |
Bfloat16Indexer |
Bfloat16ArrayIndexer.put(long[] indices,
float h) |
abstract Bfloat16Indexer |
Bfloat16Indexer.put(long[] indices,
float h)
Returns
this where array/buffer[index(indices)] = s |
Bfloat16Indexer |
Bfloat16RawIndexer.put(long[] indices,
float[] h,
int offset,
int length) |
Bfloat16Indexer |
Bfloat16BufferIndexer.put(long[] indices,
float[] h,
int offset,
int length) |
Bfloat16Indexer |
Bfloat16ArrayIndexer.put(long[] indices,
float[] h,
int offset,
int length) |
abstract Bfloat16Indexer |
Bfloat16Indexer.put(long[] indices,
float[] h,
int offset,
int length)
Returns
this where array/buffer[index(indices)] = s[offset:offset + length] |
Bfloat16Indexer |
Bfloat16Indexer.put(long i,
float... h)
Returns
this where array/buffer[i] = s |
Bfloat16Indexer |
Bfloat16RawIndexer.put(long i,
float h) |
Bfloat16Indexer |
Bfloat16BufferIndexer.put(long i,
float h) |
Bfloat16Indexer |
Bfloat16ArrayIndexer.put(long i,
float h) |
abstract Bfloat16Indexer |
Bfloat16Indexer.put(long i,
float h)
Returns
this where array/buffer[i] = s |
Bfloat16Indexer |
Bfloat16RawIndexer.put(long i,
float[] h,
int offset,
int length) |
Bfloat16Indexer |
Bfloat16BufferIndexer.put(long i,
float[] h,
int offset,
int length) |
Bfloat16Indexer |
Bfloat16ArrayIndexer.put(long i,
float[] h,
int offset,
int length) |
abstract Bfloat16Indexer |
Bfloat16Indexer.put(long i,
float[] h,
int offset,
int length)
Returns
this where array/buffer[i] = s[offset:offset + length] |
Bfloat16Indexer |
Bfloat16Indexer.put(long i,
long j,
float... h)
Returns
this where array/buffer[i * strides[0] + j] = s |
Bfloat16Indexer |
Bfloat16RawIndexer.put(long i,
long j,
float h) |
Bfloat16Indexer |
Bfloat16BufferIndexer.put(long i,
long j,
float h) |
Bfloat16Indexer |
Bfloat16ArrayIndexer.put(long i,
long j,
float h) |
abstract Bfloat16Indexer |
Bfloat16Indexer.put(long i,
long j,
float h)
Returns
this where array/buffer[i * strides[0] + j] = s |
Bfloat16Indexer |
Bfloat16RawIndexer.put(long i,
long j,
float[] h,
int offset,
int length) |
Bfloat16Indexer |
Bfloat16BufferIndexer.put(long i,
long j,
float[] h,
int offset,
int length) |
Bfloat16Indexer |
Bfloat16ArrayIndexer.put(long i,
long j,
float[] h,
int offset,
int length) |
abstract Bfloat16Indexer |
Bfloat16Indexer.put(long i,
long j,
float[] h,
int offset,
int length)
Returns
this where array/buffer[i * strides[0] + j] = s[offset:offset + length] |
Bfloat16Indexer |
Bfloat16RawIndexer.put(long i,
long j,
long k,
float h) |
Bfloat16Indexer |
Bfloat16BufferIndexer.put(long i,
long j,
long k,
float h) |
Bfloat16Indexer |
Bfloat16ArrayIndexer.put(long i,
long j,
long k,
float h) |
abstract Bfloat16Indexer |
Bfloat16Indexer.put(long i,
long j,
long k,
float h)
Returns
this where array/buffer[i * strides[0] + j * strides[1] + k] = s |
Bfloat16Indexer |
Bfloat16Indexer.putDouble(long[] indices,
double s) |
Copyright © 2019. All rights reserved.