VALUE
- A Variable must have a value - typically a Tensor
STATE
- A Variable's State can include other fields - for example Vertex
's state includes a boolean isObservedpublic interface Variable<VALUE,STATE extends VariableState>
Modifier and Type | Method and Description |
---|---|
VariableReference |
getReference() |
long[] |
getShape() |
STATE |
getState() |
VALUE |
getValue() |
VariableReference getReference()
VALUE getValue()
long[] getShape()
STATE getState()