What can I help you with?
NVIDIA Holoscan SDK v3.4.0

Struct ActivationSpec

struct ActivationSpec

Activation specification struct, using along with activation_map parameter to select a subset models at runtime.

Public Functions

ActivationSpec() = default
inline explicit ActivationSpec(const std::string &model_name, bool active = true)

Construct a new Activation Spec object.

Parameters
  • model_name – Name of model which defined in model_path_map parameter.

  • active – Active model flag (true or false), default true.

inline bool is_active() const
inline std::string model() const
inline void set_active(bool value = true)

Public Members

std::string model_name_
bool active_

Previous Struct CommonGXFParameter
Next Struct InferenceSpecs
© Copyright 2022-2025, NVIDIA. Last updated on Jul 1, 2025.