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