static */
| 132 | } |
| 133 | |
| 134 | /* static */ int64 ReferenceUtil::WindowCount(int64 unpadded_width, |
| 135 | int64 window_len, int64 stride, |
| 136 | Padding padding) { |
| 137 | if (padding == Padding::kValid) { |
| 138 | return window_util::StridedBound(unpadded_width, window_len, stride); |
| 139 | } |
| 140 | return tensorflow::MathUtil::CeilOfRatio(unpadded_width, stride); |
| 141 | } |
| 142 | |
| 143 | /* static */ std::unique_ptr<std::vector<float>> |
| 144 | ReferenceUtil::ReduceWindow1DGeneric( |
nothing calls this directly
no test coverage detected