MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / update_padding_if_needed

Method update_padding_if_needed

src/core/AccessWindowAutoPadding.cpp:75–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75bool AccessWindowAutoPadding::update_padding_if_needed(const Window &window)
76{
77 ARM_COMPUTE_UNUSED(window);
78
79 // Only update the padding if the tensor allows it
80 if (_info == nullptr || !_info->is_resizable())
81 {
82 return false;
83 }
84
85 // Update strides in tensor info
86 return _info->auto_padding();
87}

Callers

nothing calls this directly

Calls 2

is_resizableMethod · 0.45
auto_paddingMethod · 0.45

Tested by

no test coverage detected