Commit 0df3202b authored by Ewa21's avatar Ewa21

[Py] Fixed code formatting bugs.

parent 809f7f69
......@@ -563,7 +563,7 @@ def clamp(data, min_value, max_value, name=None):
Performs a clipping operation on an input value between a pair of boundary values.
If :code:`data` compares less than :code:`min_value`, sets :code:`min_value`;
else if :code:`max_value` compares less than :code:`data`, sets :code:`max_value`;
else if :code:`max_value` compares more than :code:`data`, sets :code:`max_value`;
otherwise remains unchanged :code:`data`.
Computes clamp:
......@@ -577,7 +577,7 @@ def clamp(data, min_value, max_value, name=None):
:param data: Input tensor. One of: input node, array or scalar.
:param min_value: The lower bound of the <min_value;max_value> range. Scalar value.
:param max_value: The upper bound of the <min_value;max_value> range Scalar value.
:param max_value: The upper bound of the <min_value;max_value> range. Scalar value.
:param name: Optional output node name.
:return: The new node performing a clamp operation on its input data element-wise.
"""
......
......@@ -24,8 +24,8 @@ namespace py = pybind11;
void regclass_pyngraph_op_Clamp(py::module m)
{
py::class_<ngraph::op::Clamp, std::shared_ptr<ngraph::op::Clamp>, ngraph::op::Op>
clamp(m, "Clamp");
py::class_<ngraph::op::Clamp, std::shared_ptr<ngraph::op::Clamp>, ngraph::op::Op> clamp(
m, "Clamp");
clamp.doc() = "ngraph.impl.op.Clamp wraps ngraph::op::Clamp";
clamp.def(py::init<const std::shared_ptr<ngraph::Node>&, const double, const double>());
}
......@@ -31,7 +31,6 @@
#include "pyngraph/ops/broadcast.hpp"
#include "pyngraph/ops/broadcast_distributed.hpp"
#include "pyngraph/ops/ceiling.hpp"
#include "pyngraph/ops/fused/clamp.hpp"
#include "pyngraph/ops/concat.hpp"
#include "pyngraph/ops/constant.hpp"
#include "pyngraph/ops/convert.hpp"
......@@ -40,10 +39,11 @@
#include "pyngraph/ops/cosh.hpp"
#include "pyngraph/ops/divide.hpp"
#include "pyngraph/ops/dot.hpp"
#include "pyngraph/ops/fused/elu.hpp"
#include "pyngraph/ops/equal.hpp"
#include "pyngraph/ops/exp.hpp"
#include "pyngraph/ops/floor.hpp"
#include "pyngraph/ops/fused/clamp.hpp"
#include "pyngraph/ops/fused/elu.hpp"
#include "pyngraph/ops/get_output_element.hpp"
#include "pyngraph/ops/greater.hpp"
#include "pyngraph/ops/greater_eq.hpp"
......
# ******************************************************************************
# Copyright 2018-2019 Intel Corporation
# Copyright 2017-2019 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment