Class TFTensorMappers.UInt64TensorMapper
- java.lang.Object
-
- org.nd4j.imports.graphmapper.tf.tensors.TFTensorMappers.BaseTensorMapper<long[],LongBuffer>
-
- org.nd4j.imports.graphmapper.tf.tensors.TFTensorMappers.UInt64TensorMapper
-
- All Implemented Interfaces:
TFTensorMapper<long[],LongBuffer>
- Enclosing class:
- TFTensorMappers
public static class TFTensorMappers.UInt64TensorMapper extends TFTensorMappers.BaseTensorMapper<long[],LongBuffer>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.nd4j.imports.graphmapper.tf.tensors.TFTensorMapper
TFTensorMapper.ValueSource
-
-
Field Summary
-
Fields inherited from class org.nd4j.imports.graphmapper.tf.tensors.TFTensorMappers.BaseTensorMapper
tfTensor
-
-
Constructor Summary
Constructors Constructor Description UInt64TensorMapper(TensorProto tensorProto)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
Methods inherited from class org.nd4j.imports.graphmapper.tf.tensors.TFTensorMappers.BaseTensorMapper
dataType, isEmpty, shape, toNDArray, valueSource
-
-
-
-
Constructor Detail
-
UInt64TensorMapper
public UInt64TensorMapper(TensorProto tensorProto)
-
-
Method Detail
-
valueCount
public int valueCount()
-
newArray
public long[] newArray(int length)
-
getBuffer
public LongBuffer getBuffer(ByteBuffer bb)
-
getValue
public void getValue(long[] jArr, int i)
-
getValue
public void getValue(long[] jArr, LongBuffer buffer, int i)
-
arrayFor
public INDArray arrayFor(long[] shape, long[] jArr)
-
-