add paddle op ceil (#12368)
Co-authored-by: cecilia peng <cecilia.peng@intel.com>
This commit is contained in:
1 parent
df62404473
commit
fbd53ec857
4 files changed
+62
No files matched your search
@@ -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
|
||||
@@ -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},
|
||||
|
||||
Reference in new issue
Block a user