MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / HasStride

Function HasStride

tensorflow/compiler/xla/window_util.cc:138–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138bool HasStride(const Window& window) {
139 for (const auto& dim : window.dimensions()) {
140 if (dim.stride() != 1) {
141 return true;
142 }
143 }
144 return false;
145}
146
147bool HasPadding(const Window& window) {
148 for (const auto& dim : window.dimensions()) {

Callers 4

ToStringFunction · 0.85
HandleReduceWindowMethod · 0.85
SimplifyConvToDotMethod · 0.85

Calls 2

dimensionsMethod · 0.45
strideMethod · 0.45

Tested by

no test coverage detected