Fix #53: Resize input width and height in count_mac only when the input has 3 or more dimensions
Resize input width and height in count_mac only when the input has 3 or more dimensions
Resize input width and height in count_mac only when the input has 3 or more dimensions