holoscan::TensorByteSpanExpression
Build one finite Tensor slot byte-capacity expression for compile-time resolution.
Expressions are immutable authoring values. Compilation resolves them from generation-zero Parameters and finite connected-input capacity, then publishes an ordinary concrete pool plan. Changing a recompile-required dependency requires compiling a new execution plan; it does not require rebuilding or relinking the application binary. Runtime never evaluates this value.
Constructors
TensorByteSpanExpression
Default
Overload 2
Methods
invalid_reason
Return the first structural authoring failure retained by this expression.
Returns: TensorByteSpanExpressionInvalidReason::kNone for a valid expression.
multiplied_by
Multiply this expression by another positive expression.
Returns: Combined checked expression, or a structurally invalid value when limits are exceeded.
Parameters
Positive finite expression.
ceiling_divided_by
Divide this expression by another positive expression with ceiling rounding.
Returns: Combined checked expression, or a structurally invalid value when limits are exceeded.
Parameters
Positive finite expression.
maximum_with
Select the maximum of this expression and another positive expression.
Returns: Combined checked expression, or a structurally invalid value when limits are exceeded.
Parameters
Positive finite expression.
aligned_to
Align this expression upward to a positive power-of-two byte boundary.
Returns: Combined checked expression, or a structurally invalid value for bad alignment.
Parameters
Positive power-of-two alignment no larger than 2^30 bytes.