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