node π
Interface to the struct vaccel_tf_node C object.
Node π
Bases: CType
Wrapper for the struct vaccel_tf_node C object.
Manages the creation and initialization of a C struct vaccel_tf_node and provides access to it through Python properties.
Inherits
CType: Abstract base class for defining C data types.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
| str | The name to be passed to the C struct. | required |
| int | The ID to be passed to the C struct. | required |
Source code in vaccel/ops/tf/node.py
value property π
Returns the value of the underlying C struct.
Returns:
| Type | Description |
|---|---|
CData | The dereferenced 'struct vaccel_tf_node` |