models icon indicating copy to clipboard operation
models copied to clipboard

Docs: Add comment for IdentityResizer in image_resizer.proto

Open rajonya-m opened this issue 7 months ago • 3 comments

Description

Summary

This PR adds documentation for the IdentityResizer message in the image_resizer.proto file under the Object Detection API.

Motivation and Context

The IdentityResizer option was previously undocumented, making it unclear what its function was in the image resizing configuration. This update clarifies that it performs no resizing and is appropriate for use cases where the input images are already preprocessed or when using models that support dynamic input sizes.

Dependencies

No new dependencies are introduced.

Type of change

Documentation update

Tests

Since this is a documentation-only change in a .proto file, no runtime tests were needed. The updated comments were manually reviewed in VS Code to ensure correct syntax and formatting.

Test Configuration:

Editor: Visual Studio Code

OS: Windows 10

Environment: Git Bash terminal

Validation: Manual .proto formatting and placement check

Checklist

I have signed the Contributor License Agreement.

I have read guidelines for pull request.

My code follows the coding guidelines.

I have performed a self code review of my own code.

I have commented my code, particularly in hard-to-understand areas.

I have made corresponding changes to the documentation.

My changes generate no new warnings.

[n/a] I have added tests that prove my fix is effective or that my feature works.

rajonya-m avatar Jul 21 '25 12:07 rajonya-m