public static class TFTensorMappers.Int8TensorMapper extends TFTensorMappers.BaseTensorMapper<int[],ByteBuffer>
TFTensorMapper.ValueSourcetfTensor| Constructor and Description |
|---|
Int8TensorMapper(TensorProto tensorProto) |
| Modifier and Type | Method and Description |
|---|---|
INDArray |
arrayFor(long[] shape,
int[] jArr) |
ByteBuffer |
getBuffer(ByteBuffer bb) |
void |
getValue(int[] jArr,
ByteBuffer buffer,
int i) |
void |
getValue(int[] jArr,
int i) |
int[] |
newArray(int length) |
int |
valueCount() |
dataType, isEmpty, shape, toNDArray, valueSourcepublic Int8TensorMapper(TensorProto tensorProto)
public int valueCount()
public int[] newArray(int length)
public ByteBuffer getBuffer(ByteBuffer bb)
public void getValue(int[] jArr,
int i)
public void getValue(int[] jArr,
ByteBuffer buffer,
int i)
public INDArray arrayFor(long[] shape, int[] jArr)
Copyright © 2021. All rights reserved.