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