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