Searched refs:total_padding (Results 1 – 5 of 5) sorted by relevance
37 int total_padding = in ComputePaddingWithOffset() local39 total_padding = total_padding > 0 ? total_padding : 0; in ComputePaddingWithOffset()40 *offset = total_padding % 2; in ComputePaddingWithOffset()41 return total_padding / 2; in ComputePaddingWithOffset()
331 int total_padding = in getTransposeConv2dPaddingValues() local333 total_padding = total_padding > 0 ? total_padding : 0; in getTransposeConv2dPaddingValues()335 pad_before = total_padding / 2; in getTransposeConv2dPaddingValues()336 pad_after = total_padding - pad_before; in getTransposeConv2dPaddingValues()
118 total_padding = max(filter_dim - stride, 0)120 total_padding = max(filter_dim - (input_dim % stride), 0)121 pad_before = total_padding // 2122 pad_after = total_padding - pad_before
1051 int total_padding = ((ifm_size - 1) * dim_stride + effective_filter_size - ofm_size)1052 total_padding = total_padding > 0 ? total_padding : 01054 pad_before = total_padding / 21055 pad_after = total_padding - pad_before
785 int64 total_padding = in GetPadding() local787 return total_padding; in GetPadding()