| 84 | } |
| 85 | |
| 86 | Status GetWindowedOutputSize(int64 input_size, int64 filter_size, int64 stride, |
| 87 | Padding padding_type, int64* output_size, |
| 88 | int64* padding_size) { |
| 89 | if (padding_type == Padding::EXPLICIT) { |
| 90 | return errors::Internal( |
| 91 | "GetWindowedOutputSize does not handle EXPLICIT padding; call " |
| 92 | "GetWindowedOutputSizeVerbose instead"); |
| 93 | } |
| 94 | int64 padding_after_unused; |
| 95 | return GetWindowedOutputSizeVerbose(input_size, filter_size, stride, |
| 96 | padding_type, output_size, padding_size, |
| 97 | &padding_after_unused); |
| 98 | } |
| 99 | |
| 100 | Status GetWindowedOutputSizeV2(int64 input_size, int64 filter_size, |
| 101 | int64 dilation_rate, int64 stride, |