Suggestion Description
Add integration tests in plugins/miopen_legacy_plugin/integration_tests/ to verify MIOpen plugin gracefully rejects batchnorm training when batch × spatial ≤ 1.
Test Cases:
- Shape {1, C, 1, 1} (B×S = 1) →
graph.build() returns error
- Shape {0, C, H, W} (zero batch) → rejected
Acceptance Criteria:
Note: This only applies to batchnorm training, not inference.
Reference: See getValidateSpatialDimensionsTestCases() in unit tests