> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/holoscan/sdk-user-guide/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/holoscan/sdk-user-guide/_mcp/server.

# holoscan::ops::toFormatDType

> Parses dtype string labels used by FormatConverterOp and FormatConverterGpuResidentOp.

```cpp showLineNumbers={false}
FormatDType holoscan::ops::toFormatDType(
    const std::string &str
)
```

Parses dtype string labels used by [FormatConverterOp](../classes/formatconverterop) and [FormatConverterGpuResidentOp](../classes/formatconvertergpuresidentop).