Home
last modified time | relevance | path

Searched refs:left_padding (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dresolve_pad_attributes.cc36 if (!op->left_padding.empty()) return ::tensorflow::Status::OK(); in Run()
51 op->left_padding.push_back(buffer[i * 2]); in Run()
Dresolve_padv2_attributes.cc36 if (!op->left_padding.empty()) return ::tensorflow::Status::OK(); in Run()
51 op->left_padding.push_back(buffer[i * 2]); in Run()
Dpropagate_fixed_sizes.cc1487 if (op->left_padding.empty()) return; in ProcessPadOperator()
1488 CHECK_EQ(op->left_padding.size(), op->right_padding.size()); in ProcessPadOperator()
1495 CHECK_EQ(op->left_padding.size(), dims.size()); in ProcessPadOperator()
1497 for (int i = 0; i < op->left_padding.size(); ++i) { in ProcessPadOperator()
1498 dims[i] += op->left_padding[i] + op->right_padding[i]; in ProcessPadOperator()
1513 if (op->left_padding.empty()) return; in ProcessPadV2Operator()
1514 CHECK_EQ(op->left_padding.size(), op->right_padding.size()); in ProcessPadV2Operator()
1521 CHECK_EQ(op->left_padding.size(), dims.size()); in ProcessPadV2Operator()
1523 for (int i = 0; i < op->left_padding.size(); ++i) { in ProcessPadV2Operator()
1524 dims[i] += op->left_padding[i] + op->right_padding[i]; in ProcessPadV2Operator()
/external/tensorflow/tensorflow/core/kernels/
Dconv_ops_fused_image_transform.cc119 int left_padding; member
228 int64 left_padding, int64 pad_offset, in CalculatePerCachePixelParameters() argument
236 float in_x = (cache_x - left_padding); in CalculatePerCachePixelParameters()
266 int top_padding, int bottom_padding, int left_padding, in operator ()() argument
316 task_params.left_padding = left_padding; in operator ()()
486 task_params.input_depth, task_params.left_padding, in operator ()()
756 const int32 left_padding = paddings_matrix(2, 0); in Compute() local
862 bottom_padding, left_padding, right_padding, offset_); in Compute()
Dconv_ops_test.cc138 const int left_padding = 0; in HandwrittenConv() local
145 {0, 0, top_padding, bottom_padding, left_padding, right_padding, 0, 0}); in HandwrittenConv()
/external/libvpx/libvpx/test/
Dbuffer.h29 Buffer(int width, int height, int top_padding, int left_padding, in Buffer() argument
32 left_padding_(left_padding), right_padding_(right_padding), in Buffer()
36 Buffer(int width, int height, int top_padding, int left_padding, in Buffer() argument
39 left_padding_(left_padding), right_padding_(right_padding), in Buffer()
/external/tensorflow/tensorflow/lite/toco/
Dexport_tensorflow.cc1669 CHECK_EQ(src_op.left_padding.size(), src_op.right_padding.size()); in ConvertPadOperator()
1670 for (int i = 0; i < src_op.left_padding.size(); ++i) { in ConvertPadOperator()
1671 tensor->add_int_val(src_op.left_padding[i]); in ConvertPadOperator()
1675 shape->add_dim()->set_size(src_op.left_padding.size()); in ConvertPadOperator()
1701 CHECK_EQ(src_op.left_padding.size(), src_op.right_padding.size()); in ConvertPadV2Operator()
1702 for (int i = 0; i < src_op.left_padding.size(); ++i) { in ConvertPadV2Operator()
1703 tensor->add_int_val(src_op.left_padding[i]); in ConvertPadV2Operator()
1707 shape->add_dim()->set_size(src_op.left_padding.size()); in ConvertPadV2Operator()
Dmodel.h1019 std::vector<int> left_padding;
1042 std::vector<int> left_padding;
/external/tensorflow/tensorflow/lite/kernels/
Dpad.cc156 op_params.left_padding[i] = before_padding[op_context.dims - 1 - i]; \ in Eval()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dtypes.h901 int32 left_padding[4]; member
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/
Dtypes.h869 int32 left_padding[4]; member
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Doptimized_ops.h2009 const int left_padding = w_offset; in ExtractPatchIntoBufferColumn() local
2012 ((kwidth - (left_padding + right_padding)) * in_depth)); in ExtractPatchIntoBufferColumn()
2024 if ((left_padding == 0) && (right_padding == 0)) { in ExtractPatchIntoBufferColumn()
2033 if (left_padding > 0) { in ExtractPatchIntoBufferColumn()
2034 const int left_start = (out_offset - (left_padding * in_depth)); in ExtractPatchIntoBufferColumn()
2036 (left_padding * in_depth * sizeof(T))); in ExtractPatchIntoBufferColumn()
5889 left_padding_copy[left_padding_extend + i] = op_params.left_padding[i]; in PadImpl()
6039 left_padding_copy[left_padding_extend + i] = op_params.left_padding[i]; in PadImageStyleMemset()
Dlegacy_optimized_ops.h1807 op_params.left_padding[i] = left_paddings[3 - i]; in PadV2()
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/
Doptimized_ops.h1872 const int left_padding = w_offset; in ExtractPatchIntoBufferColumn() local
1875 ((kwidth - (left_padding + right_padding)) * in_depth)); in ExtractPatchIntoBufferColumn()
1887 if ((left_padding == 0) && (right_padding == 0)) { in ExtractPatchIntoBufferColumn()
1896 if (left_padding > 0) { in ExtractPatchIntoBufferColumn()
1897 const int left_start = (out_offset - (left_padding * in_depth)); in ExtractPatchIntoBufferColumn()
1899 (left_padding * in_depth * sizeof(T))); in ExtractPatchIntoBufferColumn()
6214 left_padding_copy[left_padding_extend + i] = op_params.left_padding[i]; in PadImpl()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dlegacy_reference_ops.h1975 op_params.left_padding[i] = left_paddings[3 - i]; in PadV2()
Dreference_ops.h3209 left_padding_copy[i] = op_params.left_padding[i]; in PadImpl()