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

Function HasInteriorPadding

tensorflow/compiler/xla/util.cc:192–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192bool HasInteriorPadding(const PaddingConfig& config) {
193 for (const auto& dim : config.dimensions()) {
194 if (dim.interior_padding() != 0) {
195 return true;
196 }
197 }
198 return false;
199}
200
201namespace {
202string HumanReadableNumOps(double flops, double nanoseconds,

Callers 3

HandlePadMethod · 0.85
HandleReduceWindowMethod · 0.85
TEST_FFunction · 0.85

Calls 1

dimensionsMethod · 0.45

Tested by 1

TEST_FFunction · 0.68