@Override public Bfloat16Indexer put(long i, long j, long k, float h) { buffer.put((int)i * (int)strides[0] + (int)j * (int)strides[1] + (int)k, (short)fromFloat(h)); return this; } @Override public Bfloat16Indexer put(long[] indices, float h) {
@Override public Bfloat16Indexer put(long i, float[] h, int offset, int length) { for (int n = 0; n < length; n++) { buffer.put((int)i * (int)strides[0] + n, (short)fromFloat(h[offset + n])); } return this; } @Override public Bfloat16Indexer put(long i, long j, float h) {
@Override public Bfloat16Indexer put(long i, long j, float h) { buffer.put((int)i * (int)strides[0] + (int)j, (short)fromFloat(h)); return this; } @Override public Bfloat16Indexer put(long i, long j, float[] h, int offset, int length) {
@Override public Bfloat16Indexer put(long i, long j, float[] h, int offset, int length) { for (int n = 0; n < length; n++) { buffer.put((int)i * (int)strides[0] + (int)j * (int)strides[1] + n, (short)fromFloat(h[offset + n])); } return this; } @Override public Bfloat16Indexer put(long i, long j, long k, float h) {
@Override public Bfloat16Indexer put(long i, float h) { buffer.put((int)i, (short)fromFloat(h)); return this; } @Override public Bfloat16Indexer put(long i, float[] h, int offset, int length) {
@Override public Bfloat16Indexer put(long[] indices, float h) { buffer.put((int)index(indices), (short)fromFloat(h)); return this; } @Override public Bfloat16Indexer put(long[] indices, float[] h, int offset, int length) {
@Override public Bfloat16Indexer put(long[] indices, float[] h, int offset, int length) { for (int n = 0; n < length; n++) { buffer.put((int)index(indices) + n, (short)fromFloat(h[offset + n])); } return this; }