holoscan::TensorOutputSpecBuilder
Configure a Tensor or descriptor-backed Tensor schema output.
Every common output method preserves this specialized fluent type. Runtime-pool intent and its finite bounds are declared together in TensorOutputSpec; compilation admits and materializes physical placement in a later component.
Methods
nominal_rate
Declare one fixed nominal output rate.
lifecycle_nominal_rate
Declare the forward lifecycle stage that selects this output’s nominal rate.
max_nominal_rate
Declare the maximum selectable nominal average for a lifecycle-selected output.
follows
Derive this output’s nominal rate from one input owned by the same Operator.
max_emits_per_compute
Set the maximum publications admitted from one compute activation.
Returns: This specialized builder.
Parameters
Positive finite burst bound; the declaration default is one.
late_joiner_history_depth
Set optional retained history for late subscribers.
Returns: This specialized builder.
Parameters
Finite retained sample count; zero disables retained history.
diagnostic_alias
Record an alternate diagnostic display name.
Returns: This specialized builder.
Throws: std::bad_alloc if storage for the copied alias cannot be allocated.
Throws: std::length_error if alias exceeds the implementation’s maximum string size.
Parameters
Display-only name copied into cold metadata.
produces_tensor
Overload 1
Overload 2
Overload 3
Record one normalized producer Tensor spec.
Returns: This specialized builder.
Parameters
Representation, finite bounds, storage intent, and transfer policy.
payload_options
Record schema identity and payload options carried by this output.
Returns: This specialized builder.
Parameters
Complete payload options copied into this builder.
tensor_field
Overload 1
Overload 2
Overload 3
Overload 4
Select one Tensor member for field-scoped output declarations.
The returned non-owning builder must not outlive this parent builder.
Returns: Field-scoped builder for logical, materialization, and allocation facts.
Template parameters
Owning generated descriptor-backed schema type.
Parameters
Generated schema-typed field token.
tensor_fields
Overload 1
Overload 2
Apply one output spec to a statically listed set of Tensor fields.
Returns: This output builder.
Throws: std::bad_alloc if field-record storage cannot be allocated.
Template parameters
Owning generated descriptor-backed schema type.
Number of listed selectors.
Parameters
Generated schema-typed field tokens.
Shared logical, allocation, and optional materialization facts.