Skip to navigation

holoscan::TensorOutputPortConfigurator

Beta
View as Markdown

Configure a direct Tensor output while preserving specialized fluent type.

#include <holoscan/graph.hpp>

Constructors

TensorOutputPortConfigurator

std::weak_ptr<detail::GraphState> state,
std::shared_ptr<const void> handle_identity
) noexcept

Methods

max_emits_per_compute

std::uint32_t count = 1
)

Override the positive per-compute emission bound.

Returns: This stable Graph-owned configurator.

Throws: RuntimeError if count is zero or the source Graph is unavailable.

Parameters

count
std::uint32_tDefaults to 1

Positive maximum accepted emissions per compute call.

late_joiner_history_depth

TensorOutputPortConfigurator & holoscan::TensorOutputPortConfigurator::late_joiner_history_depth(
std::uint32_t depth
)

Override the finite late-joiner history depth.

Returns: This stable Graph-owned configurator.

Throws: RuntimeError if depth is zero or the source Graph is unavailable.

Parameters

depth
std::uint32_t

Positive retained-sample depth.

produces_tensor

Override this output with one common producer Tensor spec.

Returns: This stable Graph-owned configurator.

Parameters

spec
const TensorOutputSpec &

Representation, finite bounds, storage intent, and transfer policy.

payload_options

Override schema identity and payload options for this output.

Returns: This stable Graph-owned configurator.

Parameters

options
PayloadOptions

Options copied before return.

diagnostic_alias

std::string_view alias
)

Assign an owned diagnostic alias without changing port identity.

Returns: This stable Graph-owned configurator.

Throws: RuntimeError if alias is invalid or the source Graph is unavailable.

Parameters

alias
std::string_view

Nonempty bounded UTF-8 alias copied before return.

state

std::shared_ptr<detail::GraphState> holoscan::TensorOutputPortConfigurator::state() const

apply

static void holoscan::TensorOutputPortConfigurator::apply(
expected<void, Error> result
)

Types

Typedefs

NameDefinitionDescription
graph_authoring_handle_tagvoidOpt this authoring handle out of replayable Graph captures.

Member variables

NameTypeDescription
state_std::weak_ptr< detail::GraphState >
port_GraphPortId
handle_identity_std::shared_ptr< const void >