Home
last modified time | relevance | path

Searched refs:total_padding (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/
Dpadding.h37 int total_padding = in ComputePaddingWithOffset() local
39 total_padding = total_padding > 0 ? total_padding : 0; in ComputePaddingWithOffset()
40 *offset = total_padding % 2; in ComputePaddingWithOffset()
41 return total_padding / 2; in ComputePaddingWithOffset()
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_utils.cc331 int total_padding = in getTransposeConv2dPaddingValues() local
333 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()
/external/tensorflow/tensorflow/python/kernel_tests/
Ddepthwise_conv_op_test.py118 total_padding = max(filter_dim - stride, 0)
120 total_padding = max(filter_dim - (input_dim % stride), 0)
121 pad_before = total_padding // 2
122 pad_after = total_padding - pad_before
/external/tensorflow/tensorflow/compiler/mlir/tosa/g3doc/
Dlegalization.md1051 int total_padding = ((ifm_size - 1) * dim_stride + effective_filter_size - ofm_size)
1052 total_padding = total_padding > 0 ? total_padding : 0
1054 pad_before = total_padding / 2
1055 pad_after = total_padding - pad_before
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Ddistributed_tpu_rewrite_pass.cc785 int64 total_padding = in GetPadding() local
787 return total_padding; in GetPadding()