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