Home
last modified time | relevance | path

Searched refs:before_padding (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/
Dpad.cc83 int before_padding = *paddings_data++; in ResizeOutputTensor() local
86 TF_LITE_ENSURE_MSG(context, (before_padding >= 0 && after_padding >= 0), in ResizeOutputTensor()
90 (input_size->data[idx] + before_padding + after_padding); in ResizeOutputTensor()
136 std::vector<int> before_padding; in Eval() local
145 before_padding.push_back(paddings_data[idx * 2]); in Eval()
150 TF_LITE_ENSURE(context, before_padding.size() <= 4); \ in Eval()
153 op_params.left_padding_count = before_padding.size(); \ in Eval()
156 op_params.left_padding[i] = before_padding[op_context.dims - 1 - i]; \ in Eval()
/external/tensorflow/tensorflow/python/kernel_tests/
Dpool_test.py70 before_padding = total_padding_amount // 2
74 before_padding = 0
88 input_start_pos = output_pos * stride - before_padding
/external/tensorflow/tensorflow/cc/gradients/
Darray_grad.cc471 Input before_padding = Reshape(scope, begin, padding_shape); in SliceGrad() local
485 Concat(scope, {before_padding, after_padding}, Const(scope, 1)); in SliceGrad()