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