public abstract class JTensor extends Object implements Serializable
Tensor that manages memory in JVM heap and closes the underlying Tensor.| Constructor and Description |
|---|
JTensor() |
| Modifier and Type | Method and Description |
|---|---|
static JTensor |
create(Tensor<?> tensor)
|
protected abstract Object |
data() |
double[] |
doubleValue()
|
float[] |
floatValue()
|
int[] |
intValue()
|
long[] |
longValue()
|
String |
stringValue()
|
<T> T |
value()
Value of the underlying
Tensor, lets the caller take care of typing. |
protected abstract Object data()
public <T> T value()
Tensor, lets the caller take care of typing.public String stringValue()
public int[] intValue()
public long[] longValue()
public float[] floatValue()
public double[] doubleValue()
Copyright © 2018. All rights reserved.