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

Method update_padding_if_needed

src/core/IAccessWindow.cpp:227–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227bool AccessWindowRectangle::update_padding_if_needed(const Window &window)
228{
229 // Only update the padding if the tensor allows it
230 if (_info == nullptr || !_info->is_resizable())
231 {
232 return false;
233 }
234 // Update strides in tensor info
235 return _info->extend_padding(get_needed_padding(window));
236}
237
238PaddingSize AccessWindowRectangle::get_needed_padding(const Window &window) const
239{

Callers 1

Calls 2

is_resizableMethod · 0.45
extend_paddingMethod · 0.45

Tested by

no test coverage detected