Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dxla_conv_op.cc46 const TensorShape padding_shape = context->InputShape("padding"); in Compile() local
61 TensorShapeUtils::IsMatrix(padding_shape) && in Compile()
62 padding_shape.dim_size(1) == 2, in Compile()
65 padding_shape.DebugString())); in Compile()
69 std::vector<std::pair<int64, int64>> padding(padding_shape.dim_size(0)); in Compile()
Dreduce_window_op.cc102 const TensorShape padding_shape = context->InputShape("padding"); in Compile() local
104 TensorShapeUtils::IsMatrix(padding_shape) && in Compile()
105 padding_shape.dim_size(1) == 2, in Compile()
108 padding_shape.DebugString())); in Compile()
112 std::vector<std::pair<int64, int64>> padding(padding_shape.dim_size(0)); in Compile()
Dxla_select_and_scatter_op.cc109 const TensorShape padding_shape = context->InputShape("padding"); in Compile() local
111 TensorShapeUtils::IsMatrix(padding_shape) && in Compile()
112 padding_shape.dim_size(1) == 2, in Compile()
115 padding_shape.DebugString())); in Compile()
119 std::vector<std::pair<int64, int64>> padding(padding_shape.dim_size(0)); in Compile()
/external/tensorflow/tensorflow/cc/gradients/
Darray_grad.cc476 auto padding_shape = Stack(scope, {input_rank, 1}); in SliceGrad() local
480 Input before_padding = Reshape(scope, begin, padding_shape); in SliceGrad()
489 Input after_padding = Reshape(scope, after_padding_sizes, padding_shape); in SliceGrad()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dmodel_builder.cc2248 auto padding_shape = padding.shape; in Parse() local
2250 if (padding_shape.h != 2 && padding_shape.w != 2) { in Parse()