Commit 8c2d6c0b authored by Adam Procter's avatar Adam Procter Committed by Scott Cyphers

Opt /python into the nouveau régime (#3475)

parent 2ee74893
#
# OVERRIDE TO STYLE: Comments wrap.
#
BasedOnStyle: LLVM
IndentWidth: 4
UseTab: Never
Language: Cpp
Standard: Cpp11
AccessModifierOffset: -4
AlignConsecutiveDeclarations: false
AlignConsecutiveAssignments: false
AlignTrailingComments: true
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: Inline
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BreakBeforeBraces: Allman
BreakConstructorInitializersBeforeComma: true
ColumnLimit: 100
#CommentPragmas: '.*'
IndentCaseLabels: false
IndentWrappedFunctionNames: true
KeepEmptyLinesAtTheStartOfBlocks: false
NamespaceIndentation: All
PointerAlignment: Left
SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
SortIncludes: false
ReflowComments: true
IncludeCategories:
- Regex: '^".*'
Priority: 3
- Regex: '^<.*'
Priority: 2
SortIncludes: true
......@@ -29,7 +29,9 @@ void regclass_pyngraph_op_util_ArithmeticReduction(py::module m)
std::shared_ptr<ngraph::op::util::ArithmeticReduction>,
ngraph::op::Op>
arithmeticReduction(m, "ArithmeticRedection");
// arithmeticReduction.def(py::init<const std::string&, const std::shared_ptr<ngraph::Node>&, const ngraph::AxisSet& >());
// arithmeticReduction.def(py::init<const std::string&,
// const std::shared_ptr<ngraph::Node>&,
// const ngraph::AxisSet& >());
arithmeticReduction.def_property_readonly(
"reduction_axes", &ngraph::op::util::ArithmeticReduction::get_reduction_axes);
}
......@@ -25,10 +25,10 @@ void regclass_pyngraph_Bool(py::module m);
void regclass_pyngraph_Float32(py::module m);
void regclass_pyngraph_Float64(py::module m);
void regclass_pyngraph_Int8(py::module m);
//void regclass_pyngraph_Int16(py::module m);
// void regclass_pyngraph_Int16(py::module m);
void regclass_pyngraph_Int32(py::module m);
void regclass_pyngraph_Int64(py::module m);
void regclass_pyngraph_UInt8(py::module m);
//void regclass_pyngraph_UInt16(py::module m);
// void regclass_pyngraph_UInt16(py::module m);
void regclass_pyngraph_UInt32(py::module m);
void regclass_pyngraph_UInt64(py::module m);
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