add paddle op ceil (#12368)

Co-authored-by: cecilia peng <cecilia.peng@intel.com>
This commit is contained in:
Netpunkandcecilia peng authored and GitHub committed 2022-09-29 10:46:21 +03:00
1 parent df62404473
commit fbd53ec857
4 files changed
+62

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "default_opset.hpp"
#include "openvino/frontend/paddle/node_context.hpp"
namespace ov {
namespace frontend {
namespace paddle {
namespace op {
NamedOutputs ceil(const NodeContext& node) {
return node.default_single_output_mapping({std::make_shared<default_opset::Ceiling>(node.get_input("X"))}, {"Out"});
}
} // namespace op
} // namespace paddle
} // namespace frontend
} // namespace ov
+2
View File
@@ -15,6 +15,7 @@ OP_CONVERTER(batch_norm);
OP_CONVERTER(bicubic_interp_v2);
OP_CONVERTER(bilinear_interp_v2);
OP_CONVERTER(cast);
OP_CONVERTER(ceil);
OP_CONVERTER(clip);
OP_CONVERTER(concat);
OP_CONVERTER(conv2d);
@@ -111,6 +112,7 @@ std::map<std::string, CreatorFunction> get_supported_ops() {
{"bilinear_interp", op::bilinear_interp_v2},
{"bmm", op::matmul},
{"cast", op::cast},
{"ceil", op::ceil},
{"clip", op::clip},
{"concat", op::concat},
{"conv2d", op::conv2d},