Changed clang-format for nGraph to fix namespace comments (#5269)
* Changed clang-format for nGraph to fix namepace comments * Update comments * Fixed code style
This commit is contained in:
1 parent
a672b9c599
commit
9d37403f89
509 files changed
+1151
-1151
No files matched your search
@@ -51,4 +51,4 @@ IncludeCategories:
|
||||
Priority: 2
|
||||
SortIncludes: true
|
||||
|
||||
FixNamespaceComments: false
|
||||
FixNamespaceComments: true
|
||||
@@ -121,5 +121,5 @@ namespace ngraph
|
||||
///
|
||||
std::shared_ptr<Node>
|
||||
make_constant_from_double(const element::Type& type, const Shape& shape, double num);
|
||||
}
|
||||
}
|
||||
} // namespace builder
|
||||
} // namespace ngraph
|
||||
@@ -84,6 +84,6 @@ namespace ngraph
|
||||
const Output<Node>& reduction_axes,
|
||||
std::size_t p_norm = 2,
|
||||
float bias = 0.f);
|
||||
}
|
||||
} // namespace builder
|
||||
} // namespace opset1
|
||||
} // namespace builder
|
||||
} // namespace ngraph
|
||||
@@ -79,7 +79,7 @@ namespace ngraph
|
||||
const Output<Node>& reduction_axes,
|
||||
bool keep_dims = false,
|
||||
bool bessel_correction = false);
|
||||
}
|
||||
} // namespace opset1
|
||||
|
||||
} // namespace builder
|
||||
} // namespace ngraph
|
||||
@@ -82,6 +82,6 @@ namespace ngraph
|
||||
std::shared_ptr<Node> collapse(const Output<Node>& value,
|
||||
const std::size_t start_axis,
|
||||
const std::size_t end_axis);
|
||||
}
|
||||
} // namespace builder
|
||||
} // namespace opset1
|
||||
} // namespace builder
|
||||
} // namespace ngraph
|
||||
@@ -77,6 +77,6 @@ namespace ngraph
|
||||
/// The vector is output of VariadicSplit:v1 op
|
||||
///
|
||||
OutputVector split(const Output<Node>& value, size_t num_splits, int64_t axis = 0);
|
||||
}
|
||||
} // namespace builder
|
||||
} // namespace opset1
|
||||
} // namespace builder
|
||||
} // namespace ngraph
|
||||
@@ -90,5 +90,5 @@ namespace ngraph
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace builder
|
||||
} // namespace ngraph
|
||||
@@ -54,8 +54,8 @@ namespace ngraph
|
||||
return {make_shared<ngraph::opset1::Power>(values, inv_p_node)
|
||||
->add_provenance_group_members_above({value})};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace opset1
|
||||
} // namespace detail
|
||||
|
||||
shared_ptr<Node> builder::opset1::l0_norm(const Output<Node>& value,
|
||||
const Output<Node>& reduction_axes)
|
||||
|
||||
@@ -113,10 +113,10 @@ namespace ngraph
|
||||
// node_rank-1]
|
||||
return make_shared<ngraph::opset1::Add>(node_rank, axis_node);
|
||||
}
|
||||
} // opset1
|
||||
} // builder
|
||||
} // ngraph
|
||||
}
|
||||
} // namespace
|
||||
} // namespace opset1
|
||||
} // namespace builder
|
||||
} // namespace ngraph
|
||||
|
||||
shared_ptr<Node> builder::opset1::flatten(const Output<Node>& value, int axis)
|
||||
{
|
||||
|
||||
@@ -557,4 +557,4 @@ namespace ngraph
|
||||
static constexpr DiscreteTypeInfo type_info{"AttributeAdapter<vector<string>>", 0};
|
||||
const DiscreteTypeInfo& get_type_info() const override { return type_info; }
|
||||
};
|
||||
}
|
||||
} // namespace ngraph
|
||||
@@ -147,4 +147,4 @@ namespace ngraph
|
||||
std::unordered_map<std::shared_ptr<Node>, node_id_t> m_node_id_map;
|
||||
std::unordered_map<node_id_t, std::shared_ptr<Node>> m_id_node_map;
|
||||
};
|
||||
}
|
||||
} // namespace ngraph
|
||||
@@ -58,4 +58,4 @@ namespace ngraph
|
||||
|
||||
NGRAPH_API
|
||||
std::ostream& operator<<(std::ostream& s, const AxisSet& axis_set);
|
||||
}
|
||||
} // namespace ngraph
|
||||
@@ -56,4 +56,4 @@ namespace ngraph
|
||||
|
||||
NGRAPH_API
|
||||
std::ostream& operator<<(std::ostream& s, const AxisVector& axis_vector);
|
||||
}
|
||||
} // namespace ngraph
|
||||
@@ -42,7 +42,7 @@ namespace ngraph
|
||||
const std::string& context_info,
|
||||
const std::string& explanation);
|
||||
};
|
||||
}
|
||||
} // namespace ngraph
|
||||
|
||||
//
|
||||
// Helper macro for defining custom check macros, which throw custom exception classes and provide
|
||||
|
||||
@@ -57,4 +57,4 @@ namespace ngraph
|
||||
|
||||
NGRAPH_API
|
||||
std::ostream& operator<<(std::ostream& s, const Coordinate& coordinate);
|
||||
}
|
||||
} // namespace ngraph
|
||||
@@ -57,4 +57,4 @@ namespace ngraph
|
||||
|
||||
NGRAPH_API
|
||||
std::ostream& operator<<(std::ostream& s, const CoordinateDiff& coordinate_diff);
|
||||
}
|
||||
} // namespace ngraph
|
||||
@@ -103,5 +103,5 @@ namespace ngraph
|
||||
bool m_is_relevant_to_shape;
|
||||
bool m_is_relevant_to_value;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace descriptor
|
||||
} // namespace ngraph
|
||||
@@ -78,5 +78,5 @@ namespace ngraph
|
||||
RTMap m_rt_info;
|
||||
std::vector<Input*> m_inputs;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace descriptor
|
||||
} // namespace ngraph
|
||||
@@ -89,5 +89,5 @@ namespace ngraph
|
||||
|
||||
NGRAPH_API
|
||||
std::ostream& operator<<(std::ostream&, const ngraph::descriptor::Tensor&);
|
||||
}
|
||||
}
|
||||
} // namespace descriptor
|
||||
} // namespace ngraph
|
||||
@@ -163,4 +163,4 @@ namespace ngraph
|
||||
/// Inserts the string `?` if `dimension` is dynamic; else inserts `dimension.get_length()`.
|
||||
NGRAPH_API
|
||||
std::ostream& operator<<(std::ostream& str, const Dimension& dimension);
|
||||
}
|
||||
} // namespace ngraph
|
||||
@@ -26,7 +26,7 @@ namespace ngraph
|
||||
|
||||
NGRAPH_API
|
||||
std::ostream& operator<<(std::ostream& out, const Type& obj);
|
||||
}
|
||||
} // namespace reduction
|
||||
|
||||
template <>
|
||||
class NGRAPH_API AttributeAdapter<reduction::Type>
|
||||
@@ -41,4 +41,4 @@ namespace ngraph
|
||||
static constexpr DiscreteTypeInfo type_info{"AttributeAdapter<reduction::Type>", 0};
|
||||
const DiscreteTypeInfo& get_type_info() const override { return type_info; }
|
||||
};
|
||||
}
|
||||
} // namespace ngraph
|
||||
@@ -81,4 +81,4 @@ namespace ngraph
|
||||
{
|
||||
return EnumNames<Value>::as_string(value);
|
||||
}
|
||||
}
|
||||
} // namespace ngraph
|
||||
@@ -35,4 +35,4 @@ namespace ngraph
|
||||
/// \return Returns the boolean value of the environment variable.
|
||||
NGRAPH_API
|
||||
bool getenv_bool(const char* env_var, bool default_value = false);
|
||||
}
|
||||
} // namespace ngraph
|
||||
@@ -200,4 +200,4 @@ namespace ngraph
|
||||
op_handler m_default_handler;
|
||||
value_map& m_value_map;
|
||||
};
|
||||
}
|
||||
} // namespace ngraph
|
||||
@@ -39,4 +39,4 @@ namespace ngraph
|
||||
{
|
||||
}
|
||||
};
|
||||
}
|
||||
} // namespace ngraph
|
||||
@@ -51,4 +51,4 @@ namespace ngraph
|
||||
protected:
|
||||
std::shared_ptr<BASE_TYPE>& m_ref;
|
||||
};
|
||||
}
|
||||
} // namespace ngraph
|
||||
@@ -70,5 +70,5 @@ namespace ngraph
|
||||
/// \param path A path to file
|
||||
/// \return A sanitiazed path
|
||||
NGRAPH_API std::string sanitize_path(const std::string& path);
|
||||
}
|
||||
}
|
||||
} // namespace file_util
|
||||
} // namespace ngraph
|
||||
@@ -24,7 +24,7 @@ namespace ngraph
|
||||
{
|
||||
class Input;
|
||||
class Output;
|
||||
}
|
||||
} // namespace descriptor
|
||||
|
||||
namespace op
|
||||
{
|
||||
@@ -32,7 +32,7 @@ namespace ngraph
|
||||
{
|
||||
class Parameter;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
|
||||
NGRAPH_API
|
||||
void traverse_nodes(const std::shared_ptr<const Function> p,
|
||||
@@ -480,4 +480,4 @@ namespace ngraph
|
||||
|
||||
NGRAPH_API
|
||||
bool replace_node_update_name(std::shared_ptr<Node> target, std::shared_ptr<Node> replacement);
|
||||
}
|
||||
} // namespace ngraph
|
||||
@@ -104,4 +104,4 @@ namespace ngraph
|
||||
|
||||
NGRAPH_API
|
||||
std::ostream& operator<<(std::ostream& str, const Interval& interval);
|
||||
}
|
||||
} // namespace ngraph
|
||||
@@ -167,4 +167,4 @@ namespace ngraph
|
||||
#define NGRAPH_DEBUG \
|
||||
::ngraph::NullLogger {}
|
||||
#endif
|
||||
}
|
||||
} // namespace ngraph
|
||||
@@ -32,7 +32,7 @@ namespace ngraph
|
||||
/// \note Throws a runtime_error if there is an error during parsing
|
||||
NGRAPH_API
|
||||
void get_version(size_t& major, size_t& minor, size_t& patch, std::string& extra);
|
||||
}
|
||||
} // namespace ngraph
|
||||
|
||||
/// \namespace ngraph
|
||||
/// \brief The Intel nGraph C++ API.
|
||||
|
||||
@@ -670,7 +670,7 @@ namespace ngraph
|
||||
{
|
||||
}
|
||||
};
|
||||
}
|
||||
} // namespace ngraph
|
||||
#define NODE_VALIDATION_CHECK(node, ...) \
|
||||
NGRAPH_CHECK_HELPER(::ngraph::NodeValidationFailure, (node), __VA_ARGS__)
|
||||
|
||||
|
||||
@@ -115,4 +115,4 @@ namespace ngraph
|
||||
|
||||
NGRAPH_API std::ostream& operator<<(std::ostream& out, const Input<Node>& input);
|
||||
NGRAPH_API std::ostream& operator<<(std::ostream& out, const Input<const Node>& input);
|
||||
}
|
||||
} // namespace ngraph
|
||||
@@ -182,4 +182,4 @@ namespace ngraph
|
||||
|
||||
NGRAPH_API std::ostream& operator<<(std::ostream& out, const Output<Node>& output);
|
||||
NGRAPH_API std::ostream& operator<<(std::ostream& out, const Output<const Node>& output);
|
||||
}
|
||||
} // namespace ngraph
|
||||
@@ -39,7 +39,7 @@ namespace ngraph
|
||||
bool evaluate(const HostTensorVector& outputs,
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::Abs;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -37,7 +37,7 @@ namespace ngraph
|
||||
bool evaluate(const HostTensorVector& outputs,
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::Acos;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -38,7 +38,7 @@ namespace ngraph
|
||||
bool evaluate(const HostTensorVector& outputs,
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
}
|
||||
} // namespace v3
|
||||
using v3::Acosh;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -45,5 +45,5 @@ namespace ngraph
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
} // namespace v1
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -38,7 +38,7 @@ namespace ngraph
|
||||
bool evaluate(const HostTensorVector& outputs,
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::Asin;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -38,7 +38,7 @@ namespace ngraph
|
||||
bool evaluate(const HostTensorVector& outputs,
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
}
|
||||
} // namespace v3
|
||||
using v3::Asinh;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -74,7 +74,7 @@ namespace ngraph
|
||||
private:
|
||||
std::string m_variable_id;
|
||||
};
|
||||
}
|
||||
} // namespace v3
|
||||
namespace v6
|
||||
{
|
||||
/// \brief Assign operation sets an input value to the variable with `variable_id`
|
||||
@@ -106,6 +106,6 @@ namespace ngraph
|
||||
return m_variable->get_info().variable_id;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace v6
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -39,7 +39,7 @@ namespace ngraph
|
||||
bool evaluate(const HostTensorVector& outputs,
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::Atan;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -38,7 +38,7 @@ namespace ngraph
|
||||
bool evaluate(const HostTensorVector& outputs,
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
}
|
||||
} // namespace v3
|
||||
using v3::Atanh;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -91,6 +91,6 @@ namespace ngraph
|
||||
|
||||
double m_epsilon;
|
||||
};
|
||||
} // namespace v0
|
||||
}
|
||||
}
|
||||
} // namespace v5
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -50,6 +50,6 @@ namespace ngraph
|
||||
clone_with_new_inputs(const OutputVector& new_args) const override;
|
||||
bool visit_attributes(AttributeVisitor& visitor) override;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace v1
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -99,8 +99,8 @@ namespace ngraph
|
||||
float m_pad_value;
|
||||
PadType m_auto_pad;
|
||||
};
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace v1
|
||||
} // namespace op
|
||||
|
||||
NGRAPH_API
|
||||
std::ostream& operator<<(std::ostream& s,
|
||||
|
||||
@@ -137,5 +137,5 @@ namespace ngraph
|
||||
AutoBroadcastSpec m_broadcast_spec;
|
||||
};
|
||||
} // namespace v1
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -52,7 +52,7 @@ namespace ngraph
|
||||
element::Type m_output_type;
|
||||
bool m_with_right_bound;
|
||||
};
|
||||
}
|
||||
} // namespace v3
|
||||
using v3::Bucketize;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -31,7 +31,7 @@ namespace ngraph
|
||||
bool evaluate(const HostTensorVector& outputs,
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::Ceiling;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -47,7 +47,7 @@ namespace ngraph
|
||||
double m_min;
|
||||
double m_max;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::Clamp;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -60,7 +60,7 @@ namespace ngraph
|
||||
/// \brief m_concat_axis stores m_axis plus the number of rank for each iteration
|
||||
int64_t m_concat_axis = -1;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::Concat;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -474,7 +474,7 @@ namespace ngraph
|
||||
bool m_all_elements_bitwise_identical;
|
||||
bool m_alloc_buffer_on_visit_attributes = true;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::Constant;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -50,7 +50,7 @@ namespace ngraph
|
||||
protected:
|
||||
ngraph::element::Type m_destination_type;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::Convert;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -31,7 +31,7 @@ namespace ngraph
|
||||
bool evaluate(const HostTensorVector& outputs,
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::Cos;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -31,7 +31,7 @@ namespace ngraph
|
||||
bool evaluate(const HostTensorVector& outputs,
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::Cosh;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -68,6 +68,6 @@ namespace ngraph
|
||||
bool ctc_merge_repeated_;
|
||||
bool unique_;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace v4
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -99,7 +99,7 @@ namespace ngraph
|
||||
bool m_exclusive;
|
||||
bool m_reverse;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::CumSum;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -86,6 +86,6 @@ namespace ngraph
|
||||
int64_t m_group;
|
||||
int64_t m_deformable_group;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace v1
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -91,6 +91,6 @@ namespace ngraph
|
||||
float m_trans_std = 1.f;
|
||||
int64_t m_part_size = 1;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace v1
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -70,9 +70,9 @@ namespace ngraph
|
||||
bool evaluate_depth_to_space(const HostTensorVector& outputs,
|
||||
const HostTensorVector& inputs) const;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::DepthToSpace;
|
||||
}
|
||||
} // namespace op
|
||||
|
||||
NGRAPH_API
|
||||
std::ostream& operator<<(std::ostream& s, const op::v0::DepthToSpace::DepthToSpaceMode& type);
|
||||
@@ -91,4 +91,4 @@ namespace ngraph
|
||||
"AttributeAdapter<op::v0::DepthToSpace::DepthToSpaceMode>", 0};
|
||||
const DiscreteTypeInfo& get_type_info() const override { return type_info; }
|
||||
};
|
||||
}
|
||||
} // namespace ngraph
|
||||
@@ -77,7 +77,7 @@ namespace ngraph
|
||||
private:
|
||||
DetectionOutputAttrs m_attrs;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::DetectionOutput;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -56,6 +56,6 @@ namespace ngraph
|
||||
std::shared_ptr<Node>
|
||||
clone_with_new_inputs(const OutputVector& new_args) const override;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace v7
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -40,7 +40,7 @@ namespace ngraph
|
||||
private:
|
||||
double m_alpha;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::Elu;
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -76,7 +76,7 @@ namespace ngraph
|
||||
static constexpr int DEFAULT_INDEX = 4;
|
||||
static constexpr int PER_SAMPLE_WEIGHTS = 5;
|
||||
};
|
||||
}
|
||||
} // namespace v3
|
||||
using v3::EmbeddingSegmentsSum;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -58,7 +58,7 @@ namespace ngraph
|
||||
virtual std::shared_ptr<Node>
|
||||
clone_with_new_inputs(const OutputVector& new_args) const override;
|
||||
};
|
||||
}
|
||||
} // namespace v3
|
||||
using v3::EmbeddingBagOffsetsSum;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -45,7 +45,7 @@ namespace ngraph
|
||||
virtual std::shared_ptr<Node>
|
||||
clone_with_new_inputs(const OutputVector& new_args) const override;
|
||||
};
|
||||
}
|
||||
} // namespace v3
|
||||
using v3::EmbeddingBagPackedSum;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -56,5 +56,5 @@ namespace ngraph
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
} // namespace v1
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -26,7 +26,7 @@ namespace ngraph
|
||||
bool evaluate(const HostTensorVector& outputs,
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::Erf;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -32,7 +32,7 @@ namespace ngraph
|
||||
bool evaluate(const HostTensorVector& outputs,
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::Exp;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -72,6 +72,6 @@ namespace ngraph
|
||||
private:
|
||||
Attributes m_attrs;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace v6
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -62,6 +62,6 @@ namespace ngraph
|
||||
private:
|
||||
Attributes m_attrs;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace v6
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -65,6 +65,6 @@ namespace ngraph
|
||||
|
||||
void validate();
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace v6
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -59,6 +59,6 @@ namespace ngraph
|
||||
private:
|
||||
Attributes m_attrs;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace v6
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -44,6 +44,6 @@ namespace ngraph
|
||||
private:
|
||||
size_t m_max_rois;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace v6
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -72,7 +72,7 @@ namespace ngraph
|
||||
std::size_t m_levels;
|
||||
AutoBroadcastSpec m_auto_broadcast = op::AutoBroadcastType::NUMPY;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::FakeQuantize;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -31,7 +31,7 @@ namespace ngraph
|
||||
bool evaluate(const HostTensorVector& outputs,
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::Floor;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -39,6 +39,6 @@ namespace ngraph
|
||||
private:
|
||||
int64_t m_axis;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace v6
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -40,6 +40,6 @@ namespace ngraph
|
||||
private:
|
||||
size_t m_batch_dims;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace v5
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -38,6 +38,6 @@ namespace ngraph
|
||||
virtual std::shared_ptr<Node>
|
||||
clone_with_new_inputs(const OutputVector& new_args) const override;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace v1
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -37,7 +37,7 @@ namespace ngraph
|
||||
virtual std::shared_ptr<Node>
|
||||
clone_with_new_inputs(const OutputVector& new_args) const override;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::Gelu;
|
||||
NGRAPH_SUPPRESS_DEPRECATED_END
|
||||
|
||||
@@ -83,8 +83,8 @@ namespace ngraph
|
||||
private:
|
||||
GeluApproximationMode m_approximation_mode = GeluApproximationMode::ERF;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace v7
|
||||
} // namespace op
|
||||
template <>
|
||||
class NGRAPH_API AttributeAdapter<op::GeluApproximationMode>
|
||||
: public EnumAttributeAdapterBase<op::GeluApproximationMode>
|
||||
@@ -99,4 +99,4 @@ namespace ngraph
|
||||
0};
|
||||
const DiscreteTypeInfo& get_type_info() const override { return type_info; }
|
||||
};
|
||||
}
|
||||
} // namespace ngraph
|
||||
@@ -38,5 +38,5 @@ namespace ngraph
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
} // namespace v1
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -39,5 +39,5 @@ namespace ngraph
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
} // namespace v1
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -43,9 +43,9 @@ namespace ngraph
|
||||
protected:
|
||||
float m_bias = 1.0f;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::GRN;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
|
||||
NGRAPH_SUPPRESS_DEPRECATED_END
|
||||
@@ -164,6 +164,6 @@ namespace ngraph
|
||||
///
|
||||
bool m_linear_before_reset;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace v3
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -51,6 +51,6 @@ namespace ngraph
|
||||
op::RecurrentSequenceDirection m_direction;
|
||||
bool m_linear_before_reset;
|
||||
};
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace v5
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -41,9 +41,9 @@ namespace ngraph
|
||||
virtual std::shared_ptr<Node>
|
||||
clone_with_new_inputs(const OutputVector& new_args) const override;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::HardSigmoid;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
|
||||
NGRAPH_SUPPRESS_DEPRECATED_END
|
||||
@@ -36,6 +36,6 @@ namespace ngraph
|
||||
bool evaluate(const HostTensorVector& outputs,
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace v5
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -36,6 +36,6 @@ namespace ngraph
|
||||
bool evaluate(const HostTensorVector& outputs,
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace v4
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -44,6 +44,6 @@ namespace ngraph
|
||||
std::shared_ptr<Node>
|
||||
clone_with_new_inputs(const OutputVector& new_args) const override;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace v7
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -38,5 +38,5 @@ namespace ngraph
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
} // namespace v1
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -31,7 +31,7 @@ namespace ngraph
|
||||
bool evaluate(const HostTensorVector& outputs,
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::Log;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -81,8 +81,8 @@ namespace ngraph
|
||||
|
||||
SpecialBodyPorts m_special_body_ports;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace v5
|
||||
} // namespace op
|
||||
|
||||
template <>
|
||||
class NGRAPH_API AttributeAdapter<op::v5::Loop::SpecialBodyPorts>
|
||||
@@ -98,4 +98,4 @@ namespace ngraph
|
||||
"AttributeAdapter<op::v5::Loop::SpecialBodyPorts>", 0};
|
||||
const DiscreteTypeInfo& get_type_info() const override { return type_info; }
|
||||
};
|
||||
}
|
||||
} // namespace ngraph
|
||||
@@ -67,7 +67,7 @@ namespace ngraph
|
||||
double m_bias;
|
||||
size_t m_size;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::LRN;
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -247,7 +247,7 @@ namespace ngraph
|
||||
static constexpr std::size_t s_gates_count{4};
|
||||
static constexpr std::size_t s_peepholes_count{3};
|
||||
};
|
||||
} // v0
|
||||
} // namespace v0
|
||||
|
||||
namespace v4
|
||||
{
|
||||
@@ -388,7 +388,7 @@ namespace ngraph
|
||||
|
||||
static constexpr std::size_t s_gates_count{4};
|
||||
};
|
||||
} // v4
|
||||
} // namespace v4
|
||||
} // namespace op
|
||||
|
||||
NGRAPH_API
|
||||
|
||||
@@ -134,7 +134,7 @@ namespace ngraph
|
||||
};
|
||||
|
||||
NGRAPH_SUPPRESS_DEPRECATED_END
|
||||
}
|
||||
} // namespace v0
|
||||
|
||||
namespace v5
|
||||
{
|
||||
@@ -194,7 +194,7 @@ namespace ngraph
|
||||
private:
|
||||
direction m_direction;
|
||||
};
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace v5
|
||||
} // namespace op
|
||||
|
||||
} // namespace ngraph
|
||||
@@ -48,7 +48,7 @@ namespace ngraph
|
||||
bool m_transpose_a;
|
||||
bool m_transpose_b;
|
||||
};
|
||||
}
|
||||
} // namespace v0
|
||||
using v0::MatMul;
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -34,6 +34,6 @@ namespace ngraph
|
||||
bool evaluate(const HostTensorVector& outputs,
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace v1
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -41,5 +41,5 @@ namespace ngraph
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
} // namespace v1
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -36,6 +36,6 @@ namespace ngraph
|
||||
bool evaluate_lower(const HostTensorVector& outputs) const override;
|
||||
bool evaluate_upper(const HostTensorVector& outputs) const override;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace v1
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
@@ -41,5 +41,5 @@ namespace ngraph
|
||||
const HostTensorVector& inputs) const override;
|
||||
};
|
||||
} // namespace v1
|
||||
}
|
||||
}
|
||||
} // namespace op
|
||||
} // namespace ngraph
|
||||
Loaded 100 of 509 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user