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