morpheus.config.CppConfig

class CppConfig[source]

Bases: object

Allows setting whether C++ implementations should be used for Morpheus stages and messages. Defaults to True, meaning C++ should be used where an implementation is available. Can be set to False to use Python implementations. This can be useful for debugging but C++ should be preferred for performance.

Methods

get_should_use_cpp()

Gets the global option for whether to use C++ node and message types or otherwise prefer Python.

set_should_use_cpp(value)

Sets the global option for whether to use C++ node and message types or otherwise prefer Python.

static get_should_use_cpp()[source]

Gets the global option for whether to use C++ node and message types or otherwise prefer Python.

static set_should_use_cpp(value)[source]

Sets the global option for whether to use C++ node and message types or otherwise prefer Python.

© Copyright 2023, NVIDIA. Last updated on Apr 11, 2023.