Change batchnorm expander to use GetDimensionSize.
This is necessary if the input of batchnorm has dynamic dimension. Otherwise the mean calculation would be incorrect. PiperOrigin-RevId: 223840830
Loading
Please sign in to comment
This is necessary if the input of batchnorm has dynamic dimension. Otherwise the mean calculation would be incorrect. PiperOrigin-RevId: 223840830