Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
8c2d6c0b
Commit
8c2d6c0b
authored
Aug 21, 2019
by
Adam Procter
Committed by
Scott Cyphers
Aug 21, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Opt /python into the nouveau régime (#3475)
parent
2ee74893
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
61 additions
and
3 deletions
+61
-3
.clang-format
python/.clang-format
+56
-0
arithmetic_reduction.cpp
python/pyngraph/ops/util/arithmetic_reduction.cpp
+3
-1
element_type.hpp
python/pyngraph/types/element_type.hpp
+2
-2
No files found.
python/.clang-format
0 → 100644
View file @
8c2d6c0b
#
# 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
python/pyngraph/ops/util/arithmetic_reduction.cpp
View file @
8c2d6c0b
...
...
@@ -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
);
}
python/pyngraph/types/element_type.hpp
View file @
8c2d6c0b
...
...
@@ -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
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment