Commit 5f53b417 authored by Mateusz Bencer's avatar Mateusz Bencer Committed by Scott Cyphers

Rename auto broadcast parameter name in constructors (#3437)

* Renamed auto broadcast name in constructors

* Fixed argument doc for Or op

* Changed names of fields to serialization

* Changed name of auto_broadcast in XOR op

* Clang styles applied
parent 87c421a6
...@@ -21,8 +21,10 @@ using namespace ngraph; ...@@ -21,8 +21,10 @@ using namespace ngraph;
const string op::Add::type_name{"Add"}; const string op::Add::type_name{"Add"};
op::Add::Add(const Output<Node>& arg0, const Output<Node>& arg1, const AutoBroadcastSpec& autob) op::Add::Add(const Output<Node>& arg0,
: BinaryElementwiseArithmetic(arg0, arg1, autob) const Output<Node>& arg1,
const AutoBroadcastSpec& auto_broadcast)
: BinaryElementwiseArithmetic(arg0, arg1, auto_broadcast)
{ {
constructor_validate_and_infer_types(); constructor_validate_and_infer_types();
} }
......
...@@ -41,13 +41,13 @@ namespace ngraph ...@@ -41,13 +41,13 @@ namespace ngraph
/// `[d0, ...]` /// `[d0, ...]`
/// \param arg1 Output that produces the second input tensor.<br> /// \param arg1 Output that produces the second input tensor.<br>
/// `[d0, ...]` /// `[d0, ...]`
/// \param autob Auto broadcast specification /// \param auto_broadcast Auto broadcast specification
/// ///
/// Output `[d0, ...]` /// Output `[d0, ...]`
/// ///
Add(const Output<Node>& arg0, Add(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob = AutoBroadcastSpec()); const AutoBroadcastSpec& auto_broadcast = AutoBroadcastSpec());
std::shared_ptr<Node> copy_with_new_args(const NodeVector& new_args) const override; std::shared_ptr<Node> copy_with_new_args(const NodeVector& new_args) const override;
......
...@@ -21,8 +21,10 @@ using namespace ngraph; ...@@ -21,8 +21,10 @@ using namespace ngraph;
const string op::And::type_name{"And"}; const string op::And::type_name{"And"};
op::And::And(const Output<Node>& arg0, const Output<Node>& arg1, const AutoBroadcastSpec& autob) op::And::And(const Output<Node>& arg0,
: BinaryElementwiseLogical(arg0, arg1, autob) const Output<Node>& arg1,
const AutoBroadcastSpec& auto_broadcast)
: BinaryElementwiseLogical(arg0, arg1, auto_broadcast)
{ {
constructor_validate_and_infer_types(); constructor_validate_and_infer_types();
} }
......
...@@ -41,13 +41,13 @@ namespace ngraph ...@@ -41,13 +41,13 @@ namespace ngraph
/// `[d0, ...]` /// `[d0, ...]`
/// \param arg1 Output that produces the second input tensor.<br> /// \param arg1 Output that produces the second input tensor.<br>
/// `[d0, ...]` /// `[d0, ...]`
/// \param autob Auto broadcast specification /// \param auto_broadcast Auto broadcast specification
/// ///
/// Output `[d0, ...]` /// Output `[d0, ...]`
/// ///
And(const Output<Node>& arg0, And(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob = AutoBroadcastSpec()); const AutoBroadcastSpec& auto_broadcast = AutoBroadcastSpec());
std::shared_ptr<Node> copy_with_new_args(const NodeVector& new_args) const override; std::shared_ptr<Node> copy_with_new_args(const NodeVector& new_args) const override;
......
...@@ -25,8 +25,8 @@ const string op::Divide::type_name{"Divide"}; ...@@ -25,8 +25,8 @@ const string op::Divide::type_name{"Divide"};
op::Divide::Divide(const Output<Node>& arg0, op::Divide::Divide(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob) const AutoBroadcastSpec& auto_broadcast)
: BinaryElementwiseArithmetic(arg0, arg1, autob) : BinaryElementwiseArithmetic(arg0, arg1, auto_broadcast)
{ {
constructor_validate_and_infer_types(); constructor_validate_and_infer_types();
} }
...@@ -34,8 +34,8 @@ op::Divide::Divide(const Output<Node>& arg0, ...@@ -34,8 +34,8 @@ op::Divide::Divide(const Output<Node>& arg0,
op::Divide::Divide(const Output<Node>& arg0, op::Divide::Divide(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
bool pythondiv, bool pythondiv,
const AutoBroadcastSpec& autob) const AutoBroadcastSpec& auto_broadcast)
: BinaryElementwiseArithmetic(arg0, arg1, autob) : BinaryElementwiseArithmetic(arg0, arg1, auto_broadcast)
, m_pythondiv(pythondiv) , m_pythondiv(pythondiv)
{ {
constructor_validate_and_infer_types(); constructor_validate_and_infer_types();
......
...@@ -36,20 +36,20 @@ namespace ngraph ...@@ -36,20 +36,20 @@ namespace ngraph
/// \param arg0 Node that produces the first input tensor. /// \param arg0 Node that produces the first input tensor.
/// \param arg1 Node that produces the second input tensor. /// \param arg1 Node that produces the second input tensor.
/// \param pythondiv Use Python style rounding for integral type /// \param pythondiv Use Python style rounding for integral type
/// \param autob Auto broadcast specification /// \param auto_broadcast Auto broadcast specification
Divide(const Output<Node>& arg0, Divide(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
bool pythondiv, bool pythondiv,
const AutoBroadcastSpec& autob = AutoBroadcastSpec()); const AutoBroadcastSpec& auto_broadcast = AutoBroadcastSpec());
/// \brief Constructs a division operation. /// \brief Constructs a division operation.
/// ///
/// \param arg0 Node that produces the first input tensor. /// \param arg0 Node that produces the first input tensor.
/// \param arg1 Node that produces the second input tensor. /// \param arg1 Node that produces the second input tensor.
/// \param autob Auto broadcast specification /// \param auto_broadcast Auto broadcast specification
Divide(const Output<Node>& arg0, Divide(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob = AutoBroadcastSpec()); const AutoBroadcastSpec& auto_broadcast = AutoBroadcastSpec());
bool is_pythondiv() const { return m_pythondiv; } bool is_pythondiv() const { return m_pythondiv; }
void set_is_pythondiv(bool pythondiv) { m_pythondiv = pythondiv; } void set_is_pythondiv(bool pythondiv) { m_pythondiv = pythondiv; }
......
...@@ -21,8 +21,10 @@ using namespace ngraph; ...@@ -21,8 +21,10 @@ using namespace ngraph;
const string op::Equal::type_name{"Equal"}; const string op::Equal::type_name{"Equal"};
op::Equal::Equal(const Output<Node>& arg0, const Output<Node>& arg1, const AutoBroadcastSpec& autob) op::Equal::Equal(const Output<Node>& arg0,
: BinaryElementwiseComparison(arg0, arg1, autob) const Output<Node>& arg1,
const AutoBroadcastSpec& auto_broadcast)
: BinaryElementwiseComparison(arg0, arg1, auto_broadcast)
{ {
constructor_validate_and_infer_types(); constructor_validate_and_infer_types();
} }
......
...@@ -51,10 +51,10 @@ namespace ngraph ...@@ -51,10 +51,10 @@ namespace ngraph
/// ///
/// \param arg0 Node that produces the first input tensor. /// \param arg0 Node that produces the first input tensor.
/// \param arg1 Node that produces the second input tensor. /// \param arg1 Node that produces the second input tensor.
/// \param autob Auto broadcast specification /// \param auto_broadcast Auto broadcast specification
Equal(const Output<Node>& arg0, Equal(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob = AutoBroadcastSpec()); const AutoBroadcastSpec& auto_broadcast = AutoBroadcastSpec());
virtual std::shared_ptr<Node> virtual std::shared_ptr<Node>
copy_with_new_args(const NodeVector& new_args) const override; copy_with_new_args(const NodeVector& new_args) const override;
......
...@@ -23,8 +23,8 @@ const string op::Greater::type_name{"Greater"}; ...@@ -23,8 +23,8 @@ const string op::Greater::type_name{"Greater"};
op::Greater::Greater(const Output<Node>& arg0, op::Greater::Greater(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob) const AutoBroadcastSpec& auto_broadcast)
: BinaryElementwiseComparison(arg0, arg1, autob) : BinaryElementwiseComparison(arg0, arg1, auto_broadcast)
{ {
constructor_validate_and_infer_types(); constructor_validate_and_infer_types();
} }
......
...@@ -35,10 +35,10 @@ namespace ngraph ...@@ -35,10 +35,10 @@ namespace ngraph
/// ///
/// \param arg0 Node that produces the first input tensor. /// \param arg0 Node that produces the first input tensor.
/// \param arg1 Node that produces the second input tensor. /// \param arg1 Node that produces the second input tensor.
/// \param autob Auto broadcast specification /// \param auto_broadcast Auto broadcast specification
Greater(const Output<Node>& arg0, Greater(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob = AutoBroadcastSpec()); const AutoBroadcastSpec& auto_broadcast = AutoBroadcastSpec());
virtual std::shared_ptr<Node> virtual std::shared_ptr<Node>
copy_with_new_args(const NodeVector& new_args) const override; copy_with_new_args(const NodeVector& new_args) const override;
......
...@@ -23,8 +23,8 @@ const string op::GreaterEq::type_name{"GreaterEq"}; ...@@ -23,8 +23,8 @@ const string op::GreaterEq::type_name{"GreaterEq"};
op::GreaterEq::GreaterEq(const Output<Node>& arg0, op::GreaterEq::GreaterEq(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob) const AutoBroadcastSpec& auto_broadcast)
: BinaryElementwiseComparison(arg0, arg1, autob) : BinaryElementwiseComparison(arg0, arg1, auto_broadcast)
{ {
constructor_validate_and_infer_types(); constructor_validate_and_infer_types();
} }
......
...@@ -35,10 +35,10 @@ namespace ngraph ...@@ -35,10 +35,10 @@ namespace ngraph
/// ///
/// \param arg0 Node that produces the first input tensor. /// \param arg0 Node that produces the first input tensor.
/// \param arg1 Node that produces the second input tensor. /// \param arg1 Node that produces the second input tensor.
/// \param autob Auto broadcast specification /// \param auto_broadcast Auto broadcast specification
GreaterEq(const Output<Node>& arg0, GreaterEq(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob = AutoBroadcastSpec()); const AutoBroadcastSpec& auto_broadcast = AutoBroadcastSpec());
virtual std::shared_ptr<Node> virtual std::shared_ptr<Node>
copy_with_new_args(const NodeVector& new_args) const override; copy_with_new_args(const NodeVector& new_args) const override;
......
...@@ -21,8 +21,10 @@ using namespace ngraph; ...@@ -21,8 +21,10 @@ using namespace ngraph;
const string op::Less::type_name{"Less"}; const string op::Less::type_name{"Less"};
op::Less::Less(const Output<Node>& arg0, const Output<Node>& arg1, const AutoBroadcastSpec& autob) op::Less::Less(const Output<Node>& arg0,
: BinaryElementwiseComparison(arg0, arg1, autob) const Output<Node>& arg1,
const AutoBroadcastSpec& auto_broadcast)
: BinaryElementwiseComparison(arg0, arg1, auto_broadcast)
{ {
constructor_validate_and_infer_types(); constructor_validate_and_infer_types();
} }
......
...@@ -35,10 +35,10 @@ namespace ngraph ...@@ -35,10 +35,10 @@ namespace ngraph
/// ///
/// \param arg0 Node that produces the first input tensor. /// \param arg0 Node that produces the first input tensor.
/// \param arg1 Node that produces the second input tensor. /// \param arg1 Node that produces the second input tensor.
/// \param autob Auto broadcast specification /// \param auto_broadcast Auto broadcast specification
Less(const Output<Node>& arg0, Less(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob = AutoBroadcastSpec()); const AutoBroadcastSpec& auto_broadcast = AutoBroadcastSpec());
virtual std::shared_ptr<Node> virtual std::shared_ptr<Node>
copy_with_new_args(const NodeVector& new_args) const override; copy_with_new_args(const NodeVector& new_args) const override;
......
...@@ -23,8 +23,8 @@ const string op::LessEq::type_name{"LessEq"}; ...@@ -23,8 +23,8 @@ const string op::LessEq::type_name{"LessEq"};
op::LessEq::LessEq(const Output<Node>& arg0, op::LessEq::LessEq(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob) const AutoBroadcastSpec& auto_broadcast)
: BinaryElementwiseComparison(arg0, arg1, autob) : BinaryElementwiseComparison(arg0, arg1, auto_broadcast)
{ {
constructor_validate_and_infer_types(); constructor_validate_and_infer_types();
} }
......
...@@ -35,10 +35,10 @@ namespace ngraph ...@@ -35,10 +35,10 @@ namespace ngraph
/// ///
/// \param arg0 Node that produces the first input tensor. /// \param arg0 Node that produces the first input tensor.
/// \param arg1 Node that produces the second input tensor. /// \param arg1 Node that produces the second input tensor.
/// \param autob Auto broadcast specification /// \param auto_broadcast Auto broadcast specification
LessEq(const Output<Node>& arg0, LessEq(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob = AutoBroadcastSpec()); const AutoBroadcastSpec& auto_broadcast = AutoBroadcastSpec());
virtual std::shared_ptr<Node> virtual std::shared_ptr<Node>
copy_with_new_args(const NodeVector& new_args) const override; copy_with_new_args(const NodeVector& new_args) const override;
......
...@@ -29,8 +29,8 @@ const string op::Maximum::type_name{"Maximum"}; ...@@ -29,8 +29,8 @@ const string op::Maximum::type_name{"Maximum"};
op::Maximum::Maximum(const Output<Node>& arg0, op::Maximum::Maximum(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob) const AutoBroadcastSpec& auto_broadcast)
: BinaryElementwiseArithmetic(arg0, arg1, autob) : BinaryElementwiseArithmetic(arg0, arg1, auto_broadcast)
{ {
constructor_validate_and_infer_types(); constructor_validate_and_infer_types();
} }
......
...@@ -35,10 +35,10 @@ namespace ngraph ...@@ -35,10 +35,10 @@ namespace ngraph
/// ///
/// \param arg0 Node that produces the first input tensor. /// \param arg0 Node that produces the first input tensor.
/// \param arg1 Node that produces the second input tensor. /// \param arg1 Node that produces the second input tensor.
/// \param autob Auto broadcast specification /// \param auto_broadcast Auto broadcast specification
Maximum(const Output<Node>& arg0, Maximum(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob = AutoBroadcastSpec()); const AutoBroadcastSpec& auto_broadcast = AutoBroadcastSpec());
virtual std::shared_ptr<Node> virtual std::shared_ptr<Node>
copy_with_new_args(const NodeVector& new_args) const override; copy_with_new_args(const NodeVector& new_args) const override;
......
...@@ -29,8 +29,8 @@ const string op::Minimum::type_name{"Minimum"}; ...@@ -29,8 +29,8 @@ const string op::Minimum::type_name{"Minimum"};
op::Minimum::Minimum(const Output<Node>& arg0, op::Minimum::Minimum(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob) const AutoBroadcastSpec& auto_broadcast)
: BinaryElementwiseArithmetic(arg0, arg1, autob) : BinaryElementwiseArithmetic(arg0, arg1, auto_broadcast)
{ {
constructor_validate_and_infer_types(); constructor_validate_and_infer_types();
} }
......
...@@ -35,10 +35,10 @@ namespace ngraph ...@@ -35,10 +35,10 @@ namespace ngraph
/// ///
/// \param arg0 Node that produces the first input tensor. /// \param arg0 Node that produces the first input tensor.
/// \param arg1 Node that produces the second input tensor. /// \param arg1 Node that produces the second input tensor.
/// \param autob Auto broadcast specification /// \param auto_broadcast Auto broadcast specification
Minimum(const Output<Node>& arg0, Minimum(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob = AutoBroadcastSpec()); const AutoBroadcastSpec& auto_broadcast = AutoBroadcastSpec());
virtual std::shared_ptr<Node> virtual std::shared_ptr<Node>
copy_with_new_args(const NodeVector& new_args) const override; copy_with_new_args(const NodeVector& new_args) const override;
......
...@@ -23,8 +23,8 @@ const string op::Multiply::type_name{"Multiply"}; ...@@ -23,8 +23,8 @@ const string op::Multiply::type_name{"Multiply"};
op::Multiply::Multiply(const Output<Node>& arg0, op::Multiply::Multiply(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob) const AutoBroadcastSpec& auto_broadcast)
: BinaryElementwiseArithmetic(arg0, arg1, autob) : BinaryElementwiseArithmetic(arg0, arg1, auto_broadcast)
{ {
constructor_validate_and_infer_types(); constructor_validate_and_infer_types();
} }
......
...@@ -35,10 +35,10 @@ namespace ngraph ...@@ -35,10 +35,10 @@ namespace ngraph
/// ///
/// \param arg0 Node that produces the first input tensor. /// \param arg0 Node that produces the first input tensor.
/// \param arg1 Node that produces the second input tensor. /// \param arg1 Node that produces the second input tensor.
/// \param autob Auto broadcast specification /// \param auto_broadcast Auto broadcast specification
Multiply(const Output<Node>& arg0, Multiply(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob = AutoBroadcastSpec()); const AutoBroadcastSpec& auto_broadcast = AutoBroadcastSpec());
virtual std::shared_ptr<Node> virtual std::shared_ptr<Node>
copy_with_new_args(const NodeVector& new_args) const override; copy_with_new_args(const NodeVector& new_args) const override;
......
...@@ -23,8 +23,8 @@ const string op::NotEqual::type_name{"NotEqual"}; ...@@ -23,8 +23,8 @@ const string op::NotEqual::type_name{"NotEqual"};
op::NotEqual::NotEqual(const Output<Node>& arg0, op::NotEqual::NotEqual(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob) const AutoBroadcastSpec& auto_broadcast)
: BinaryElementwiseComparison(arg0, arg1, autob) : BinaryElementwiseComparison(arg0, arg1, auto_broadcast)
{ {
constructor_validate_and_infer_types(); constructor_validate_and_infer_types();
} }
......
...@@ -35,10 +35,10 @@ namespace ngraph ...@@ -35,10 +35,10 @@ namespace ngraph
/// ///
/// \param arg0 Node that produces the first input tensor. /// \param arg0 Node that produces the first input tensor.
/// \param arg1 Node that produces the second input tensor. /// \param arg1 Node that produces the second input tensor.
/// \param autob Auto broadcast specification /// \param auto_broadcast Auto broadcast specification
NotEqual(const Output<Node>& arg0, NotEqual(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob = AutoBroadcastSpec()); const AutoBroadcastSpec& auto_broadcast = AutoBroadcastSpec());
virtual std::shared_ptr<Node> virtual std::shared_ptr<Node>
copy_with_new_args(const NodeVector& new_args) const override; copy_with_new_args(const NodeVector& new_args) const override;
......
...@@ -21,8 +21,10 @@ using namespace ngraph; ...@@ -21,8 +21,10 @@ using namespace ngraph;
const string op::Or::type_name{"Or"}; const string op::Or::type_name{"Or"};
op::Or::Or(const Output<Node>& arg0, const Output<Node>& arg1, const AutoBroadcastSpec& autob) op::Or::Or(const Output<Node>& arg0,
: BinaryElementwiseLogical(arg0, arg1, autob) const Output<Node>& arg1,
const AutoBroadcastSpec& auto_broadcast)
: BinaryElementwiseLogical(arg0, arg1, auto_broadcast)
{ {
constructor_validate_and_infer_types(); constructor_validate_and_infer_types();
} }
......
...@@ -38,13 +38,13 @@ namespace ngraph ...@@ -38,13 +38,13 @@ namespace ngraph
/// `[d0, ...]` /// `[d0, ...]`
/// \param arg1 Node that produces the second input tensor.<br> /// \param arg1 Node that produces the second input tensor.<br>
/// `[d0, ...]` /// `[d0, ...]`
/// \param autob Auto broadcast specification /// \param auto_broadcast Auto broadcast specification
/// ///
/// Output `[d0, ...]` /// Output `[d0, ...]`
/// ///
Or(const Output<Node>& arg0, Or(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob = AutoBroadcastSpec()); const AutoBroadcastSpec& auto_broadcast = AutoBroadcastSpec());
virtual std::shared_ptr<Node> virtual std::shared_ptr<Node>
copy_with_new_args(const NodeVector& new_args) const override; copy_with_new_args(const NodeVector& new_args) const override;
......
...@@ -24,8 +24,10 @@ using namespace ngraph; ...@@ -24,8 +24,10 @@ using namespace ngraph;
const string op::Power::type_name{"Power"}; const string op::Power::type_name{"Power"};
op::Power::Power(const Output<Node>& arg0, const Output<Node>& arg1, const AutoBroadcastSpec& autob) op::Power::Power(const Output<Node>& arg0,
: BinaryElementwiseArithmetic(arg0, arg1, autob) const Output<Node>& arg1,
const AutoBroadcastSpec& auto_broadcast)
: BinaryElementwiseArithmetic(arg0, arg1, auto_broadcast)
{ {
constructor_validate_and_infer_types(); constructor_validate_and_infer_types();
} }
......
...@@ -49,10 +49,10 @@ namespace ngraph ...@@ -49,10 +49,10 @@ namespace ngraph
/// ///
/// \param arg0 Node that produces the first input tensor. /// \param arg0 Node that produces the first input tensor.
/// \param arg1 Node that produces the second input tensor. /// \param arg1 Node that produces the second input tensor.
/// \param autob Auto broadcast specification /// \param auto_broadcast Auto broadcast specification
Power(const Output<Node>& arg0, Power(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob = AutoBroadcastSpec()); const AutoBroadcastSpec& auto_broadcast = AutoBroadcastSpec());
virtual std::shared_ptr<Node> virtual std::shared_ptr<Node>
copy_with_new_args(const NodeVector& new_args) const override; copy_with_new_args(const NodeVector& new_args) const override;
......
...@@ -24,8 +24,8 @@ const string op::Subtract::type_name{"Subtract"}; ...@@ -24,8 +24,8 @@ const string op::Subtract::type_name{"Subtract"};
op::Subtract::Subtract(const Output<Node>& arg0, op::Subtract::Subtract(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob) const AutoBroadcastSpec& auto_broadcast)
: BinaryElementwiseArithmetic(arg0, arg1, autob) : BinaryElementwiseArithmetic(arg0, arg1, auto_broadcast)
{ {
constructor_validate_and_infer_types(); constructor_validate_and_infer_types();
} }
......
...@@ -34,10 +34,10 @@ namespace ngraph ...@@ -34,10 +34,10 @@ namespace ngraph
/// ///
/// \param arg0 Node that produces the first input tensor. /// \param arg0 Node that produces the first input tensor.
/// \param arg1 Node that produces the second input tensor. /// \param arg1 Node that produces the second input tensor.
/// \param autob Auto broadcast specification /// \param auto_broadcast Auto broadcast specification
Subtract(const Output<Node>& arg0, Subtract(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob = AutoBroadcastSpec()); const AutoBroadcastSpec& auto_broadcast = AutoBroadcastSpec());
virtual std::shared_ptr<Node> virtual std::shared_ptr<Node>
copy_with_new_args(const NodeVector& new_args) const override; copy_with_new_args(const NodeVector& new_args) const override;
......
...@@ -21,8 +21,10 @@ using namespace ngraph; ...@@ -21,8 +21,10 @@ using namespace ngraph;
const string op::Xor::type_name{"Xor"}; const string op::Xor::type_name{"Xor"};
op::Xor::Xor(const Output<Node>& arg0, const Output<Node>& arg1, const AutoBroadcastSpec& autob) op::Xor::Xor(const Output<Node>& arg0,
: BinaryElementwiseLogical(arg0, arg1, autob) const Output<Node>& arg1,
const AutoBroadcastSpec& auto_broadcast)
: BinaryElementwiseLogical(arg0, arg1, auto_broadcast)
{ {
constructor_validate_and_infer_types(); constructor_validate_and_infer_types();
} }
......
...@@ -38,13 +38,13 @@ namespace ngraph ...@@ -38,13 +38,13 @@ namespace ngraph
/// `[d0, ...]` /// `[d0, ...]`
/// \param arg1 Node that produces the second input tensor.<br> /// \param arg1 Node that produces the second input tensor.<br>
/// `[d0, ...]` /// `[d0, ...]`
/// \param autob Auto broadcast specification /// \param auto_broadcast Auto broadcast specification
/// ///
/// Output `[d0, ...]` /// Output `[d0, ...]`
/// ///
Xor(const Output<Node>& arg0, Xor(const Output<Node>& arg0,
const Output<Node>& arg1, const Output<Node>& arg1,
const AutoBroadcastSpec& autob = AutoBroadcastSpec()); const AutoBroadcastSpec& auto_broadcast = AutoBroadcastSpec());
virtual std::shared_ptr<Node> virtual std::shared_ptr<Node>
copy_with_new_args(const NodeVector& new_args) const override; copy_with_new_args(const NodeVector& new_args) const override;
......
This diff is collapsed.
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