Skip to content

blaize::onnx

Namespaces

Name
blaize::onnx::opset13

Functions

Name
vx_status SetConfiguration(vx_context c, std::string name, ConfigurationValue value)
Change configuration item.
ConfigurationMapping GetConfiguration(vx_context c)
Get current configuration state.

Functions Documentation

function SetConfiguration

vx_status SetConfiguration(
    vx_context c,
    std::string name,
    ConfigurationValue value
)

Change configuration item.

Parameters:

  • c The context to set the configuration item on.
  • name Name of configuration item.
  • value New value of configuration item.

Return: VX_SUCCESS if no error occurred. VX_ERROR_INVALID_PARAMETERS if the value is an invalid type or value. Check the vx error log for more information on why a failure occurred.

Modify configuration item on context c.

function GetConfiguration

ConfigurationMapping GetConfiguration(
    vx_context c
)

Get current configuration state.

Parameters:

  • c The context to get the configuration from.

Return: Mapping of configuration item to (type, value) where type is a ConfigurationValue.


Updated on 2023-11-29 at 18:22:22 +0000