description: The value of the root.
View source on GitHub
|
The value of the root.
s2t.RootNodeTensor(
size: tf.Tensor
)
| `size` | A scalar int64 tensor saying how many root objects there are. |
| `is_repeated` | |
| `size` | |
get_positional_index() -> tf.Tensor
Gets the positional index for this RootNodeTensor.
The positional index relative to the node's parent, and thus is always monotonically increasing at step size 1 for a RootNodeTensor.
| Returns | |
|---|---|
| A tensor of positional indices. |
View source on GitHub