Skip to content

fix: rename nhwc_data_list to nchw_data_list after preprocess - #561

Open
Hashim Khan (Hashim1999164) wants to merge 1 commit into
microsoft:mainfrom
Hashim1999164:fix/rename-nchw-data-list-124
Open

fix: rename nhwc_data_list to nchw_data_list after preprocess#561
Hashim Khan (Hashim1999164) wants to merge 1 commit into
microsoft:mainfrom
Hashim1999164:fix/rename-nchw-data-list-124

Conversation

@Hashim1999164

@Hashim1999164 Hashim Khan (Hashim1999164) commented Aug 12, 2026

Copy link
Copy Markdown

Summary

  • Rename the cached calibration batch in ResNet50DataReader to nchw_data_list
  • _preprocess_images already returns NCHW tensors after the transpose step

Fixes #124

Test plan

  • Confirm resnet50_data_reader.py only uses nchw_data_list for the post-preprocess batch
  • Naming-only change; quantization behavior is unchanged

_preprocess_images already converts to NCHW before returning, so the calibration reader should name the cached batch nchw_data_list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Minor: typo

1 participant