get_max_output_len

Function

Obtains the maximum output length.

C++ Prototype

uint32_t GetMaxOutputLen() const

Python Prototype

get_max_output_len()

Parameters

None

Usage Example

Obtain the maximum output length set in a request.

1
output_len = infer_request.get_max_output_len()